TrojanSpy.Win32.TRICKBOT.AF
Trojan.GenericKD.40564384 (BitDefender)
Windows
Threat Type: Trojan Spy
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This Trojan Spy arrives as an attachment to email messages mass-mailed by other malware/grayware or malicious users. It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
TECHNICAL DETAILS
Arrival Details
This Trojan Spy arrives as an attachment to email messages mass-mailed by other malware/grayware or malicious users.
It 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 Trojan Spy drops the following copies of itself into the affected system and executes them:
- %Application Data%\{Random Folder Name}\{Random File Name.exe}
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)
It drops the following files:
- %Application Data%\{Random Folder Name}\info.dat
- %Application Data%\{Random Folder Name}\Modules\networkDll32
- %Application Data%\{Random Folder Name}\Modules\systeminfo32
- %Application Data%\{Random Folder Name}\FAQ
- %Application Data%\{Random Folder Name}\Modules\injectDll32
- %Application Data%\{Random Folder Name}\README.md
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs\dinj
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs\Dpost
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs\sinj
- %Application Data%\{Random Folder Name}\Modules\mailsearcher32
- %Application Data%\{Random Folder Name}\Modules\importDll32
- %Application Data%\{Random Folder Name}\Modules\mailsearcher32_configs\mailconf
- %Application Data%\{Random Folder Name}\Modules\networkDll32_configs\dpost
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)
It adds the following processes:
- svchost.exe
- %System%\cmd.exe /c sc stop WinDefend
- %System%\cmd.exe /c sc delete WinDefend
- %System%\cmd.exe /c powershell Set-MpPreference -DisableRealtimeMonitoring $true
- %Application Data%\{Random Folder Name}\{Random File Name}.exe
(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)
It creates the following folders:
- %Application Data%\{Random Folder Name}
- %Application Data%\{Random Folder Name}\Modules
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs
- %Application Data%\{Random Folder Name}\Modules\networkDll32_configs
- %Application Data%\{Random Folder Name}\Modules\mailsearcher32_configs
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)
Autostart Technique
The scheduled task executes the malware every:
- Task Name: Msnetc
- Task Trigger: System startup & Every 10 minutes since first triggered.
- Task command: %Application Data%\ncssd\{malware file name}
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, and 8.)
Other Details
This Trojan Spy connects to the following URL(s) to get the affected system's IP address:
- http://checkip.amazonaws.com/
- http://ip.anysrc.net/plain/clientip
- http://ipinfo.io/ip
- http://api.ipify.org/
- http://wtfismyip.com/text
- http://icanhazip.com/
It connects to the following possibly malicious URL:
- 78.{BLOCKED}9.102
- 54.2{BLOCKED}3.39
- 47.5{BLOCKED}55
- 34.2{BLOCKED}.38
- 37.1{BLOCKED}.208
- 216.5{BLOCKED}.206
- 198.{BLOCKED}146
- 176.{BLOCKED}.25
- 107.{BLOCKED}.217
- 54.{BLOCKED}9.137
It executes the following command to disable/stop/delete Windows components:
- sc stop WinDefend
- sc delete WinDefend
- powershell Set-MpPreference -DisableRealtimeMonitoring $true
SOLUTION
Step 1
Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.
Step 2
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 3
Restart in Safe Mode
Step 4
Deleting Scheduled Tasks
The following {Task Name} - {Task to be run} listed should be used in the steps identified below:
- Msnetc - "%Application Data%\{Random Folder Name}\{malware file name}"
For Windows 2000, Windows XP, and Windows Server 2003:
- Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
System Tools>Scheduled Tasks. - Locate each {Task Name} values listed above in the Name column.
- Right-click on the said file(s) with the aforementioned value.
- Click on Properties. In the Run field, check for the listed {Task to be run}.
- If the strings match the list above, delete the task.
For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:
- Open the Windows Task Scheduler. To do this:
• On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
• On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter. - In the left panel, click Task Scheduler Library.
- In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
- In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
- If the said string is found, delete the task.
Step 5
Search and delete this file
- %Application Data%\{Random Folder Name}\info.dat
- %Application Data%\{Random Folder Name}\Modules\networkDll32
- %Application Data%\{Random Folder Name}\Modules\systeminfo32
- %Application Data%\{Random Folder Name}\FAQ
- %Application Data%\{Random Folder Name}\Modules\injectDll32
- %Application Data%\{Random Folder Name}\README.md
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs\dinj
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs\Dpost
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs\sinj
- %Application Data%\{Random Folder Name}\Modules\mailsearcher32
- %Application Data%\{Random Folder Name}\Modules\importDll32
- %Application Data%\{Random Folder Name}\Modules\mailsearcher32_configs\mailconf
- %Application Data%\{Random Folder Name}\Modules\networkDll32_configs\dpost
Step 6
Search and delete these folders
- %Application Data%\{Random Folder Name}
- %Application Data%\{Random Folder Name}\Modules
- %Application Data%\{Random Folder Name}\Modules\injectDll32_configs
- %Application Data%\{Random Folder Name}\Modules\networkDll32_configs
- %Application Data%\{Random Folder Name}\Modules\mailsearcher32_configs
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TrojanSpy.Win32.TRICKBOT.AF. 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.