BKDR_AGENT.DMS
ERROR (Sunbelt); Gen:Trojan.Heur.bq0@xGv2xCai (FSecure)
Windows 2000, Windows XP, Windows Server 2003
Threat Type: Backdoor
Destructiveness: No
Encrypted:
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.
TECHNICAL DETAILS
704,000 bytes
EXE
No
20 Apr 2012
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 creates the following folders:
- %User Profile%\Application Data\Common Files
- %User Profile%\Microsoft\Plugins
- %User Profile%\Common Files\Plugins
(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)
Other System Modifications
This backdoor deletes the following files:
- %User Temp%\tst2.tmp
- %User Temp%\tst4.tmp
- %User Temp%\tst5.tmp
- %User Temp%\tst6.tmp
- %User Temp%\tst7.tmp
- %User Temp%\tst1.tmp
- %User Temp%\tst3.tmp
- %User Temp%\tst8.tmp
- %User Temp%\tst9.tmp
- %User Temp%\tstA.tmp
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.)
It adds the following registry keys:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\Options
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\Text
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\RTF
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\Word6
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\Write
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\IP
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\Recent File List
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad\Settings
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Applets\
Wordpad
Dropping Routine
This backdoor drops the following files:
- %User Temp%\trifcs.exe
- %User Temp%\20120420.doc
- %User Temp%\ms4859.tmp
- %User Temp%\ms4901.tmp
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.)
Other Details
This backdoor connects to the following possibly malicious URL:
- http://touber.{BLOCKED}a.net/_vti_y2/index.html?{random characters}
This report is generated via an automated analysis system.
SOLUTION
9.200
Step 1
For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.
Step 2
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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- Options
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- Text
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- RTF
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- Word6
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- Write
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- IP
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- Recent File List
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad
- Settings
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets
- Wordpad
Step 3
Search and delete these files
- %User Temp%\trifcs.exe
- %User Temp%\20120420.doc
- %User Temp%\ms4859.tmp
- %User Temp%\ms4901.tmp
Step 4
Search and delete these folders
- %User Profile%\Application Data\Common Files
- %User Profile%\Microsoft\Plugins
- %User Profile%\Common Files\Plugins
Step 5
Scan your computer with your Trend Micro product to delete files detected as BKDR_AGENT.DMS. 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.
Step 6
Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.
- %User Temp%\tst2.tmp
- %User Temp%\tst4.tmp
- %User Temp%\tst5.tmp
- %User Temp%\tst6.tmp
- %User Temp%\tst7.tmp
- %User Temp%\tst1.tmp
- %User Temp%\tst3.tmp
- %User Temp%\tst8.tmp
- %User Temp%\tst9.tmp
- %User Temp%\tstA.tmp
Did this description help? Tell us how we did.