TROJ_BANLOAD.AFM
TrojanDownloader:Win32/Banload.ZBC (Microsoft); PWS-Banker (McAfee); Downloader.Bancos!gen (Symantec); PAK:Petite, Trojan-Downloader.Win32.Banload.ow (Kaspersky); Trojan.Win32.Generic.pak!cobra (Sunbelt); GenPack:Trojan.Downloader.Banload.OW (FSecure)
Windows 2000, XP, Server 2003
Threat Type: Trojan
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It modifies files, disabling programs and applications from properly running.
TECHNICAL DETAILS
14,858 bytes
EXE
Yes
06 Oct 2011
Arrival Details
This Trojan 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 drops the following copies of itself into the affected system:
- %System%\win32.exe
(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)
It creates the following folders:
- %Application Data%\Microsoft
- %Application Data%\Microsoft\Windows Media
- %Application Data%\Microsoft\Windows Media\9.0
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)
Autostart Technique
This Trojan adds the following registry entries to enable its automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
MSWinupd = "%System%\win32.exe"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
MSWinupd = "%System%\win32.exe"
Other System Modifications
This Trojan modifies the following files:
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.DTD
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)
It deletes the following files:
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML.bak
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNSD.XML
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNSR.XML
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML.done
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)
It adds the following registry keys:
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Health\{C3216FC3-C46B-46CA-9578-465EC71BA34B}
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings\
MMS
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings\
HTTP
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings\
RTSP
It adds the following registry entries:
HKEY_CURRENT_USER\Software\Microsoft\
Windows Media\WMSDK\General
UniqueID = "{DF4C4E5F-7ADA-47D6-ACE6-8113AD83135C}"
HKEY_CURRENT_USER\Software\Microsoft\
Windows Media\WMSDK\General
ComputerName = "BRIAN-FC8F61544"
HKEY_CURRENT_USER\Software\Microsoft\
Windows Media\WMSDK\General
VolumeSerialNumber = fbdff95
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings\
MMS
ProxyPort = 6db
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings\
HTTP
ProxyStyle = 1
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings\
HTTP
ProxyPort = 5
HKEY_CURRENT_USER\Software\Microsoft\
MediaPlayer\Preferences\ProxySettings\
RTSP
ProxyPort = 22a
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
DirectDraw\MostRecentApplication
Name = "iexplore.exe"
(Note: The default value data of the said registry entry is mshta.exe.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
DirectDraw\MostRecentApplication
ID = 4117b81
(Note: The default value data of the said registry entry is 41107b3f.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows Media\WMSDK\Namespace
LocalBase = "%Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML"
(Note: The default value data of the said registry entry is %System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNS.XML.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows Media\WMSDK\Namespace
DTDFile = "%Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.DTD"
(Note: The default value data of the said registry entry is %System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNS.DTD.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows Media\WMSDK\Namespace
LocalDelta = "%Application Data%\Microsoft\Windows Media\9.0\WMSDKNSD.XML"
(Note: The default value data of the said registry entry is %System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNSD.XML.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows Media\WMSDK\Namespace
RemoteDelta = "%Application Data%\Microsoft\Windows Media\9.0\WMSDKNSR.XML"
(Note: The default value data of the said registry entry is %System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNSR.XML.)
Dropping Routine
This Trojan drops the following files:
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML.bak
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML.done
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNSD.XML
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)
Other Details
This Trojan connects to the following possibly malicious URL:
- http://pacotes003.{BLOCKED}p.com.br/lopes01.jpg
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
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_CURRENT_USER\Software\Microsoft\MediaPlayer\Health
- {C3216FC3-C46B-46CA-9578-465EC71BA34B}
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences
- ProxySettings
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\ProxySettings
- MMS
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\ProxySettings
- HTTP
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\ProxySettings
- RTSP
Step 4
Delete this registry value
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\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- MSWinupd="%System%\win32.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- MSWinupd="%System%\win32.exe"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\General
- UniqueID="{DF4C4E5F-7ADA-47D6-ACE6-8113AD83135C}"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\General
- ComputerName="BRIAN-FC8F61544"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\General
- VolumeSerialNumber=fbdff95
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\ProxySettings\MMS
- ProxyPort=6db
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\ProxySettings\HTTP
- ProxyStyle=1
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\ProxySettings\HTTP
- ProxyPort=5
- In HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences\ProxySettings\RTSP
- ProxyPort=22a
Step 5
Restore this modified registry value
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\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
- From: Name="iexplore.exe"
To: Name=mshta.exe
- From: Name="iexplore.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
- From: ID=4117b81
To: ID=41107b3f
- From: ID=4117b81
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\Namespace
- From: LocalBase="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML"
To: LocalBase=%System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNS.XML
- From: LocalBase="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\Namespace
- From: DTDFile="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.DTD"
To: DTDFile=%System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNS.DTD
- From: DTDFile="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.DTD"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\Namespace
- From: LocalDelta="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNSD.XML"
To: LocalDelta=%System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNSD.XML
- From: LocalDelta="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNSD.XML"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Media\WMSDK\Namespace
- From: RemoteDelta="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNSR.XML"
To: RemoteDelta=%System Root%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0\WMSDKNSR.XML
- From: RemoteDelta="%Application Data%\Microsoft\Windows Media\9.0\WMSDKNSR.XML"
Step 6
Search and delete these folders
- %Application Data%\Microsoft
- %Application Data%\Microsoft\Windows Media
- %Application Data%\Microsoft\Windows Media\9.0
Step 7
Search and delete these files
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML.bak
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML.done
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNSD.XML
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML
Step 8
Restore deleted/modified files and/or registry entries from backup
*Note: Only Microsoft-related files/keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.XML
- %Application Data%\Microsoft\Windows Media\9.0\WMSDKNS.DTD
Step 9
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_BANLOAD.AFM. 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.