BKDR_ZEGOST.MX
Backdoor:Win32/Zegost.AD(Microsoft), Win32/Farfli.AEE trojan(Eset)
Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)
Threat Type: Backdoor
Destructiveness: No
Encrypted: Yes
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. It connects to a website to send and receive information.
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 the following copies of itself into the affected system and executes them:
- %Windows%\{random}.exe
(Note: %Windows% is the Windows folder, which is usually C:\Windows.)
It drops the following files:
- %System%\MODIf.html
(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)
Autostart Technique
This backdoor registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Ghijkl Nopqrstu Wxy
Image Path = "%Windows%\qagmse.exe"
It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Ghijkl Nopqrstu Wxy
Backdoor Routine
This backdoor executes the following commands from a remote malicious user:
- Logs Keystroke
- Get clipboard data
- Clear clipboard data
- Logs Mouse event
- Capture screenshot
- Download and Execute files
- List/start services
- Create hidden administrative user
- Perform remote shell
It connects to the following websites to send and receive information:
- {BLOCKED}.39.40:8001
- aspkeyee.{BLOCKED}p.net
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
Restart in Safe Mode
Step 3
Delete this registry key
Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- Ghijkl Nopqrstu Wxy
- Ghijkl Nopqrstu Wxy
Step 4
Search and delete this file
- %System%\MODIf.html
Step 5
Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_ZEGOST.MX. 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.