BKDR_EMDIVI.G
a variant of Win32/Agent.WGN trojan(NOD32),Found Win32/DH{gRKBEx59IA8iWyU}(AVG)
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
Dropped by other malware
This backdoor may be dropped by other malware.
It does not have any propagation routine.
It executes commands from a remote malicious user, effectively compromising the affected system.
TECHNICAL DETAILS
204,288 bytes
EXE
Yes
26 Sep 2014
Compromises system security, Executes files
Arrival Details
This backdoor may be dropped by the following malware:
- TROJ_AGENT.XXTVH
Installation
This backdoor adds the following mutexes to ensure that only one of its copies runs at any one time:
- 9419a911dd211fba4fd81dd417ef3f47
Autostart Technique
This backdoor drops the following shortcut pointing to its copy in the User Startup folder to enable its automatic execution at every system startup:
- %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup\FlashUtil_ActiveX.lnk-lnk to the malware(Windows 7 and Vista)
- %User Startup%\FlashUtil_ActiveX.lnk-lnk to the malware(Windows XP)
- %Application Data%\Microsoft\Windows\Start Menu\Programs\Startup\FlashUtil_ActiveX.lnk-lnk to the malware(Windows 7 and Vista)
- %All Users Profile%\Start Menu\Programs\Startup\FlashUtil_ActiveX.lnk-lnk to the malware(Windows XP)
(Note: %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This is usually C:\ProgramData in Windows Vista and 7, or C:\Program Files on Windows 2000, XP (32-bit), and Server 2003, or C:\Program Files (x86) on Windows XP (64-bit).. %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup.. %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 and 7.. %All Users Profile% is the All Users or Common profile folder, which is C:\Documents and Settings\All Users in Windows 2000, XP, and Server 2003, and C:\ProgramData in Windows Vista and 7.)
It modifies the following registry entries to ensure it automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
Userinit = "%System%\userinit.exe,{malware path}\{malware filename},"
(Note: The default value data of the said registry entry is %System%\userinit.exe,.)
Propagation
This backdoor does not have any propagation routine.
Backdoor Routine
This backdoor executes the following commands from a remote malicious user:
- Enumerate files and folders
- Delete files and folders
- Download files
- Upload files
- Execute files
- Get file attributes
- Enumerate processes
- Perform remote shell
- Loads a library using LoadLibrary API
- Import functions from a library using GetProcAddress API
- Gather credentials using CredEnumerate or PStoreCreateInstance API
- Gather Firefox settings from prefs.js
- Gather proxy settings from proxy.pac
- Gather proxy settings from windows registry
- Sleep
It connects to the following URL(s) to send and receive commands from a remote malicious user:
- http://www.{BLOCKED}kokan.jp/2008/12/home/index.php
- http://www.{BLOCKED}c.{BLOCKED}o.jp/view6/viewdata/book/index.php
NOTES:
It enumerates all visible windows and compares each window's title bar text with the following strings:
- Ollydbg
- W32Dasm
- WireShark
- SoftICE
- Process Explorer
- Process Monitor
- Process Hacker
If a window's title bar text contains the said strings, it will pause the execution of its malicious routine by performing a Sleep command.
It does not have rootkit capabilities.
It does not exploit any vulnerability.
SOLUTION
9.700
11.182.03
30 Sep 2014
11.183.00
01 Oct 2014
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
Remove the malware/grayware file that dropped/downloaded BKDR_EMDIVI.G. (Note: Please skip this step if the threat(s) listed below have already been removed.)
- TROJ_AGENT.XXTVH
Step 4
Identify and delete files detected as BKDR_EMDIVI.G using either the Startup Disk or Recovery Console
Step 5
Restore these modified registry values
Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- From: Userinit = "%System%\userinit.exe,{malware path}\{malware filename},"
To: Userinit = %System%\userinit.exe,
- From: Userinit = "%System%\userinit.exe,{malware path}\{malware filename},"
Step 6
Search and delete these files
- %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup\FlashUtil_ActiveX.lnk-lnk to the malware(Windows 7 and Vista)
- %User Startup%\FlashUtil_ActiveX.lnk-lnk to the malware(Windows XP)
- %Application Data%\Microsoft\Windows\Start Menu\Programs\Startup\FlashUtil_ActiveX.lnk-lnk to the malware(Windows 7 and Vista)
- %All Users Profile%\Start Menu\Programs\Startup\FlashUtil_ActiveX.lnk-lnk to the malware(Windows XP)
Step 7
Scan your computer with your Trend Micro product to delete files detected as BKDR_EMDIVI.G. 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.