Backdoor.Win64.MUDDYROT.THGAFBD
Trojan:Win64/Malgent!MSR (MICROSOFT)
Windows
Threat Type: Backdoor
Destructiveness: No
Encrypted: No
In the wild: Yes
OVERVIEW
This Backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It executes commands from a remote malicious user, effectively compromising the affected system. However, as of this writing, the said sites are inaccessible.
It gathers certain information on the affected computer.
TECHNICAL DETAILS
Arrival Details
This Backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
Installation
This Backdoor drops a copy of itself in the following folders using different file names:
- c:\programdata\packagemanager\packagemanager.exe
Backdoor Routine
This Backdoor executes the following commands from a remote malicious user:
- 0x1 → Upload file (filename: "exit")
- 0x2 → Download file (filename: "exit")
- 0x3 → Reverse shell
- 0x4 → Update socket optval
- 0x5 → Kill process
- 0x8 → Delete Task
- 0x9 → Check if task exists
- 0xA → Create scheduled task
- 0x60 → Update sleep interval
- 0x61 → Change socket optval
- 0x62 → PingBack C2 with same message
It connects to the following URL(s) to send and receive commands from a remote malicious user:
- {BLOCKED}.{BLOCKED}.{BLOCKED}.14:443 → after connecting, sleeps for 2 minutes before reconnecting. Repeats indefinitely.
However, as of this writing, the said sites are inaccessible.
Information Theft
This Backdoor gathers the following information on the affected computer:
- Computer Name
- Username
Other Details
This Backdoor does the following:
- It uses the following fingerprint when connecting to the IP address:
- {Computer Name}/{Username}
It adds the following scheduled tasks:
- Location: {Root Directory}
Name: PackageManager
Trigger: Daily at {Scheduled Task Create Time} → After triggered, repeat every 00:43:00 for a duration of 1 day.
Action: Start a program → c:\programdata\packagemanager\packagemanager.exe
SOLUTION
Step 1
Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:
- Troj.Win32.TRX.XXPE50FFF082
Step 2
Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.
Step 3
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 4
Restart in Safe Mode
Step 5
Deleting Scheduled Tasks while in Safe Mode
- Still in safe mode, the following {Task Name}-{Task to be run} listed should be used in the steps identified below:
- {Task Name} → {Root Location}\PackageManager
- {Task to be run} → c:\programdata\packagemanager\packagemanager.exe
- For Windows 7 and Server 2008 (R2) users, click Start>Computer.
- For Windows 8, 8.1, 10, and Server 2012 users, right-click on the lower left corner of the screen, then click File Explorer.
- In the Search Computer/This PC input box, type:
- %System%\Tasks\{Task Name}
- Once located, select the file then press SHIFT+DELETE to delete it.
- Open Registry Editor. To do this:
- For Windows 7 and Server 2008 (R2) users, click the Start button, type regedit in the Search input field, and press Enter.
- For Windows 8, 8.1, 10, and Server 2012 (R2) users, right-click on the lower left corner of the screen, click Run, type regedit in the text box
- In the left panel of the Registry Editor window, double-click the following:
- HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows NT>CurrentVersion>Schedule>TaskCache>Tree>{Task Name}
- Locate the created entry and take note of the registry value's data:
- ID={Task Data}
- After taking note of the data, delete the registry key:
- HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows NT>CurrentVersion>Schedule>TaskCache>Tree>{Task Name}
- In the left panel of the Registry Editor window, double-click the following:
- HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows NT>CurrentVersion>Schedule>TaskCache>Tasks
- Still in the left panel, locate and delete the registry key with the same name as the located Task Data in step #6:
- ={Task Data}
- Close Registry Editor.
Step 6
Search and delete this file
- c:\programdata\packagemanager\packagemanager.exe
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as Backdoor.Win64.MUDDYROT.THGAFBD. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.
Did this description help? Tell us how we did.