TROJ_WALEDAC.LEX
TrojanDownloader:Win32/Waledac.C, Trojan:Win32/Fifesock.gen!A, Trojan:Win32/Malagent (Microsoft); Downloader.a!b2c (McAfee); Trojan.Win32.Generic.pak!cobra (Sunbelt); Gen:Variant.Kazy.31534 (FSecure)
Windows 2000, Windows XP, Windows Server 2003
![](/vinfo/imgFiles/legend.jpg)
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.
TECHNICAL DETAILS
702,379 bytes
EXE
Yes
05 Mar 2012
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.
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
wphjx.exe = "%User Profile%\Application Data\wphjx.exe"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
MozillaAgent = "%Temp%\_ex-68.exe"
Other System Modifications
This Trojan deletes the following files:
- %User Profile%\Cookies\index.dat
- %User Profile%\Low\index.dat
- %Application Data%\Google\Chrome\User Data\Default\Cookies
- %Application Data%\Google\Chrome\User Data\Default\Cookies-journal
- %Application Data%\Google\Chrome\User Data\Default\Login Data
(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.. %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_LOCAL_MACHINE\Software\grabber
HKEY_LOCAL_MACHINE\Software\facebook
HKEY_CURRENT_USER\Software\Mozilla
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\grabber
UID = "MFm2bkSrDbJpn1bHSpacWPPG"
HKEY_LOCAL_MACHINE\SOFTWARE\facebook
UID = "pkKITwnxn0EFxPYXlfCRlQm9"
HKEY_CURRENT_USER\Software\Mozilla
AppID = "DLIYJFSVmPD9UJlK7oDdIC34byUuvVvNhF9Bws/BYQOMVTUTghK17xihsg2iUO+2NA=="
HKEY_CURRENT_USER\Software\Mozilla
ID = "5"
HKEY_CURRENT_USER\Software\Mozilla
ID2 = "{random values}"
HKEY_CURRENT_USER\Software\Mozilla
ID3 = "{random values}"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{6D128ACA-CE90-4D8D-B04F-CD01DBA59CE2}
NameServer = "8.8.8.8,8.8.8.8,8.8.4.4"
Dropping Routine
This Trojan drops the following files:
- %User Temp%\ sc.exe
- %User Temp%\ cm1.exe
- %User Temp%\ cm.exe
- %User Temp%\ photo.JPG
- %Temp%\_ex-68.exe
- %Temp%\_ex-08.exe
- %User Temp%\2.tmp
- %User Temp%\3.tmp
- %Windows%\Tasks\fbagent.job
- %System%\Packet.dll
- %System%\wpcap.dll
- %System%\drivers\npf.sys
- %User Profile%\Application Data\wphjx.exe
- %User Temp%\4.tmp
- %User Profile%\Application Data\dyr.exe
(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.. %Temp% is the Windows Temporary folder, which is usually C:\Windows\Temp or C:\WINNT\Temp.. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.. %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.. %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 Details
This Trojan connects to the following possibly malicious URL:
- http://{BLOCKED}1.com/1/setup.php?{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
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\Software
- grabber
- In HKEY_LOCAL_MACHINE\Software
- In HKEY_CURRENT_USER\Software
- Mozilla
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
- wphjx.exe = "%User Profile%\Application Data\wphjx.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- MozillaAgent = "%Temp%\_ex-68.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\grabber
- UID = "MFm2bkSrDbJpn1bHSpacWPPG"
- In HKEY_LOCAL_MACHINE\SOFTWARE\facebook
- UID = "pkKITwnxn0EFxPYXlfCRlQm9"
- In HKEY_CURRENT_USER\Software\Mozilla
- AppID = "DLIYJFSVmPD9UJlK7oDdIC34byUuvVvNhF9Bws/BYQOMVTUTghK17xihsg2iUO+2NA=="
- In HKEY_CURRENT_USER\Software\Mozilla
- ID = "5"
- In HKEY_CURRENT_USER\Software\Mozilla
- ID2 = "{random values}"
- In HKEY_CURRENT_USER\Software\Mozilla
- ID3 = "{random values}"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{6D128ACA-CE90-4D8D-B04F-CD01DBA59CE2}
- NameServer = "8.8.8.8,8.8.8.8,8.8.4.4"
Step 5
Search and delete these files
- %User Temp%\ sc.exe
- %User Temp%\ cm1.exe
- %User Temp%\ cm.exe
- %User Temp%\ photo.JPG
- %Temp%\_ex-68.exe
- %Temp%\_ex-08.exe
- %User Temp%\2.tmp
- %User Temp%\3.tmp
- %Windows%\Tasks\fbagent.job
- %System%\Packet.dll
- %System%\wpcap.dll
- %System%\drivers\npf.sys
- %User Profile%\Application Data\wphjx.exe
- %User Temp%\4.tmp
- %User Profile%\Application Data\dyr.exe
Step 6
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_WALEDAC.LEX. 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 7
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 Profile%\Cookies\index.dat
- %User Profile%\Low\index.dat
- %Application Data%\Google\Chrome\User Data\Default\Cookies
- %Application Data%\Google\Chrome\User Data\Default\Cookies-journal
- %Application Data%\Google\Chrome\User Data\Default\Login Data
Did this description help? Tell us how we did.