SPYW_CAIN


 ALIASES:

CainAbel (Symantec); PSWTool.Win32.Cain.284 (Kaspersky); Cain & Abel (not malicious) (Sunbelt)

 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:
 REPORTED INFECTION:
 SYSTEM IMPACT RATING:
 INFORMATION EXPOSURE:

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This spyware 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

File Size:

7,573,628 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

24 Jul 2014

Arrival Details

This spyware 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 spyware creates the following folders:

  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %Program Files%\Cain
  • %Program Files%\Cain\Wordlists
  • %Program Files%\Cain\Winrtgen
  • %Program Files%\Cain\Driver
  • %System Root%\Documents and Settings\Wilbert
  • %Start Menu%\Programs\Cain
  • %User Temp%\nsq35.tmp

(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.. %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.. %Start Menu% is the Start Menu folder, where it usually is C:\Documents and Settings\{user name}\Start Menu on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

Other System Modifications

This spyware deletes the following files:

  • %User Temp%\GL_4.tmp
  • %User Temp%\GLB7.tmp
  • %User Temp%\GLFB.tmp
  • %User Temp%\GLFE.tmp
  • %Program Files%\Cain\UNINSTAL.EXE
  • %Program Files%\Cain\Cain.exe
  • %Program Files%\Cain\Cain.exe.sig
  • %Program Files%\Cain\Whatsnew.txt
  • %Program Files%\Cain\charset.txt
  • %Program Files%\Cain\oui.txt
  • %Program Files%\Cain\Wordlists\Wordlist.txt
  • %Program Files%\Cain\CA_UserManual.chm
  • %Program Files%\Cain\Abel.dll
  • %Program Files%\Cain\Abel.dll.sig
  • %Program Files%\Cain\Abel.exe
  • %Program Files%\Cain\Abel.exe.sig
  • %Program Files%\Cain\Abel64.dll
  • %Program Files%\Cain\Abel64.dll.sig
  • %Program Files%\Cain\Abel64.exe
  • %Program Files%\Cain\Abel64.exe.sig
  • %Program Files%\Cain\Winrtgen\charset.txt
  • %Program Files%\Cain\Winrtgen\Winrtgen.exe
  • %Program Files%\Cain\Winrtgen\Winrtgen.exe.sig
  • %Program Files%\Cain\Driver\WinPcap_4_1_1.exe
  • ØÀ—ëš‘Ôš¿
  • %Windows%\~GLC0000.TMP
  • %User Temp%\nsb33.tmp
  • %User Temp%\nsq35.tmp

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It adds the following registry keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\Uninstall\
Cain & Abel v4.9.35

HKEY_CURRENT_USER\Software\Cain\
Settings

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Cain & Abel v4.9.35
DisplayName = "Cain & Abel v4.9.35"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Cain & Abel v4.9.35
UninstallString = "%Program Files%\Cain\UNINSTAL.EXE %Program Files%\Cain\Install.log"

HKEY_CURRENT_USER\Software\Cain\
Settings
WorkDir = "%Program Files%\Cain"

Dropping Routine

This spyware drops the following files:

  • %Windows%\~GLH0000.TMP
  • %Windows%\~GLH0001.TMP
  • %User Temp%\GL_4.EXE
  • %User Temp%\GLG9.tmp
  • %User Temp%\~GLH0002.TMP
  • %User Temp%\~GLH0003.TMP
  • %System%\GLBSINST.%$D
  • %Program Files%\Cain\~GLH0004.TMP
  • %Program Files%\Cain\~GLH0005.TMP
  • %Program Files%\Cain\~GLH0006.TMP
  • %Program Files%\Cain\~GLH0007.TMP
  • %Program Files%\Cain\~GLH0008.TMP
  • %Program Files%\Cain\~GLH0009.TMP
  • %Program Files%\Cain\Wordlists\~GLH000a.TMP
  • %Program Files%\Cain\~GLH000b.TMP
  • %Program Files%\Cain\~GLH000c.TMP
  • %Program Files%\Cain\~GLH000d.TMP
  • %Program Files%\Cain\~GLH000e.TMP
  • %Program Files%\Cain\~GLH000f.TMP
  • %Program Files%\Cain\~GLH0010.TMP
  • %Program Files%\Cain\~GLH0011.TMP
  • %Program Files%\Cain\~GLH0012.TMP
  • %Program Files%\Cain\~GLH0013.TMP
  • %Program Files%\Cain\Winrtgen\~GLH0014.TMP
  • %Program Files%\Cain\Winrtgen\~GLH0015.TMP
  • %Program Files%\Cain\Winrtgen\~GLH0016.TMP
  • %Program Files%\Cain\Driver\~GLH0017.TMP
  • %Start Menu%\Programs\Cain\Winrtgen.lnk
  • %Start Menu%\Programs\Cain\CA_UserManual.lnk
  • %Start Menu%\Programs\Cain\Cain.lnk
  • %Start Menu%\Programs\Cain\Whatsnew.lnk
  • %Start Menu%\Programs\Cain\Uninstall Cain.lnk
  • %Desktop%\Cain.lnk
  • %Program Files%\Cain\Install.log
  • %User Temp%\nsq35.tmp\UserInfo.dll
  • %User Temp%\CACE_Banner.htm
  • %User Temp%\CACE_Logo.gif
  • %User Temp%\NetSol.jpg
  • %User Temp%\nsq35.tmp\ioSpecial.ini
  • %User Temp%\nsq35.tmp\modern-wizard.bmp
  • %User Temp%\nsq35.tmp\modern-header.bmp
  • %User Temp%\nsq35.tmp\nsWeb.dll

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.. %Start Menu% is the Start Menu folder, where it usually is C:\Documents and Settings\{user name}\Start Menu on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Desktop% is the desktop folder, where it usually is C:\Documents and Settings\{user name}\Desktop in Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\Desktop in Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.700

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

Delete this registry key

[ 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_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
    • Cain & Abel v4.9.35
  • In HKEY_CURRENT_USER\Software\Cain
    • Settings

Step 3

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cain & Abel v4.9.35
    • DisplayName = "Cain & Abel v4.9.35"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cain & Abel v4.9.35
    • UninstallString = "%Program Files%\Cain\UNINSTAL.EXE %Program Files%\Cain\Install.log"
  • In HKEY_CURRENT_USER\Software\Cain\Settings
    • WorkDir = "%Program Files%\Cain"

Step 4

Search and delete these components

[ Learn More ]
There may be some components 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%\~GLH0000.TMP
  • %Windows%\~GLH0001.TMP
  • %User Temp%\GL_4.EXE
  • %User Temp%\GLG9.tmp
  • %User Temp%\~GLH0002.TMP
  • %User Temp%\~GLH0003.TMP
  • %System%\GLBSINST.%$D
  • %Program Files%\Cain\~GLH0004.TMP
  • %Program Files%\Cain\~GLH0005.TMP
  • %Program Files%\Cain\~GLH0006.TMP
  • %Program Files%\Cain\~GLH0007.TMP
  • %Program Files%\Cain\~GLH0008.TMP
  • %Program Files%\Cain\~GLH0009.TMP
  • %Program Files%\Cain\Wordlists\~GLH000a.TMP
  • %Program Files%\Cain\~GLH000b.TMP
  • %Program Files%\Cain\~GLH000c.TMP
  • %Program Files%\Cain\~GLH000d.TMP
  • %Program Files%\Cain\~GLH000e.TMP
  • %Program Files%\Cain\~GLH000f.TMP
  • %Program Files%\Cain\~GLH0010.TMP
  • %Program Files%\Cain\~GLH0011.TMP
  • %Program Files%\Cain\~GLH0012.TMP
  • %Program Files%\Cain\~GLH0013.TMP
  • %Program Files%\Cain\Winrtgen\~GLH0014.TMP
  • %Program Files%\Cain\Winrtgen\~GLH0015.TMP
  • %Program Files%\Cain\Winrtgen\~GLH0016.TMP
  • %Program Files%\Cain\Driver\~GLH0017.TMP
  • %Start Menu%\Programs\Cain\Winrtgen.lnk
  • %Start Menu%\Programs\Cain\CA_UserManual.lnk
  • %Start Menu%\Programs\Cain\Cain.lnk
  • %Start Menu%\Programs\Cain\Whatsnew.lnk
  • %Start Menu%\Programs\Cain\Uninstall Cain.lnk
  • %Desktop%\Cain.lnk
  • %Program Files%\Cain\Install.log
  • %User Temp%\nsq35.tmp\UserInfo.dll
  • %User Temp%\CACE_Banner.htm
  • %User Temp%\CACE_Logo.gif
  • %User Temp%\NetSol.jpg
  • %User Temp%\nsq35.tmp\ioSpecial.ini
  • %User Temp%\nsq35.tmp\modern-wizard.bmp
  • %User Temp%\nsq35.tmp\modern-header.bmp
  • %User Temp%\nsq35.tmp\nsWeb.dll

Step 5

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.
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %Program Files%\Cain
  • %Program Files%\Cain\Wordlists
  • %Program Files%\Cain\Winrtgen
  • %Program Files%\Cain\Driver
  • %System Root%\Documents and Settings\Wilbert
  • %Start Menu%\Programs\Cain
  • %User Temp%\nsq35.tmp

Step 6

Scan your computer with your Trend Micro product to delete files detected as SPYW_CAIN. 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 Temp%\GL_4.tmp
  • %User Temp%\GLB7.tmp
  • %User Temp%\GLFB.tmp
  • %User Temp%\GLFE.tmp
  • %Program Files%\Cain\UNINSTAL.EXE
  • %Program Files%\Cain\Cain.exe
  • %Program Files%\Cain\Cain.exe.sig
  • %Program Files%\Cain\Whatsnew.txt
  • %Program Files%\Cain\charset.txt
  • %Program Files%\Cain\oui.txt
  • %Program Files%\Cain\Wordlists\Wordlist.txt
  • %Program Files%\Cain\CA_UserManual.chm
  • %Program Files%\Cain\Abel.dll
  • %Program Files%\Cain\Abel.dll.sig
  • %Program Files%\Cain\Abel.exe
  • %Program Files%\Cain\Abel.exe.sig
  • %Program Files%\Cain\Abel64.dll
  • %Program Files%\Cain\Abel64.dll.sig
  • %Program Files%\Cain\Abel64.exe
  • %Program Files%\Cain\Abel64.exe.sig
  • %Program Files%\Cain\Winrtgen\charset.txt
  • %Program Files%\Cain\Winrtgen\Winrtgen.exe
  • %Program Files%\Cain\Winrtgen\Winrtgen.exe.sig
  • %Program Files%\Cain\Driver\WinPcap_4_1_1.exe
  • ØÀ—ëš‘Ôš¿
  • %Windows%\~GLC0000.TMP
  • %User Temp%\nsb33.tmp
  • %User Temp%\nsq35.tmp


Did this description help? Tell us how we did.