TROJ_CUTWAIL.XZO


 ALIASES:

Trojan.Win32.Inject.lwmr (Kaspersky)

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • 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 executes then deletes itself afterward.

  TECHNICAL DETAILS

File Size:

Varies

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

26 Apr 2014

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 files:

  • %All Users Profile%\{random folder name 3}\{random filename 3}.{random extension name 1}
  • %All Users Profile%\{random folder name 4}\{random filename 4}.{random extension name 2}
  • %All Users Profile%\{random folder name 5}\{random filename 5}.{random extension name 3}
  • %ProgramData%\{random folder name 3}\{random filename 3}.{random extension name 1} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 4}\{random filename 4}.{random extension name 2} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 5}\{random filename 5}.{random extension name 3} (Windows Vista and higher versions)
  • %Windows%\xzlj.xzt

(Note: %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.. %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).. %Windows% is the Windows folder, which is usually C:\Windows.)

It drops the following copies of itself into the affected system:

  • %All Users Profile%\{random folder name 1}\{random filename 1}.exe
  • %All Users Profile%\{random folder name 2}\{random filename 2}.exe
  • %ProgramData%\{random folder name 1}\{random filename 1}.exe (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 2}\{random filename 2}.exe (Windows Vista and higher versions)

(Note: %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.. %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).)

It creates the following folders:

  • %All Users Profile%\{random folder name 1}
  • %All Users Profile%\{random folder name 2}
  • %All Users Profile%\{random folder name 3}
  • %All Users Profile%\{random folder name 4}
  • %All Users Profile%\{random folder name 5}
  • %ProgramData%\{random folder name 1} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 2} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 3} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 4} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 5} (Windows Vista and higher versions)

(Note: %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.. %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).)

It executes then deletes itself afterward.

Autostart Technique

This Trojan adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\RunOnce
{random} = "%All Users Profile%\{random folder name 1}\{random filename 1}.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Winlogon
shell = "%All Users Profile%\{random folder name 2}\{random filename 2}.exe,explorer.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\RunOnce
{random} = "%ProgramData%\{random folder name 1}\{random filename 1}.exe" (Windows Vista and higher versions)

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Winlogon
shell = "%ProgramData%\{random folder name 2}\{random filename 2}.exe,explorer.exe" (Windows Vista and higher versions)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}xwithjimmy.org
  • http://{BLOCKED}ephjs.net
  • http://{BLOCKED}ezfk.org

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

10.754.05

FIRST VSAPI PATTERN DATE:

26 Apr 2014

VSAPI OPR PATTERN File:

10.755.00

VSAPI OPR PATTERN Date:

27 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

Restart in Safe Mode

[ Learn More ]

Step 3

Search and delete this file

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %Windows%\xzlj.xzt

Step 4

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %All Users Profile%\{random folder name 1}
  • %All Users Profile%\{random folder name 2}
  • %All Users Profile%\{random folder name 3}
  • %All Users Profile%\{random folder name 4}
  • %All Users Profile%\{random folder name 5}
  • %ProgramData%\{random folder name 1} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 2} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 3} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 4} (Windows Vista and higher versions)
  • %ProgramData%\{random folder name 5} (Windows Vista and higher versions)

Step 5

Delete this registry value

[ Learn More ]

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\RunOnce
    • {random} = "%All Users Profile%\{random folder name 1}\{random filename 1}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
    • shell = "%All Users Profile%\{random folder name 2}\{random filename 2}.exe,explorer.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
    • {random} = "%ProgramData%\{random folder name 1}\{random filename 1}.exe" (Windows Vista and higher versions)
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
    • shell = "%ProgramData%\{random folder name 2}\{random filename 2}.exe,explorer.exe" (Windows Vista and higher versions)

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_CUTWAIL.XZO. 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.