TROJ_SAFBOT.B


 ALIASES:

TrojanClicker:Win32/Safbot (Microsoft); Backdoor.Win32.Hupigon.ognp (Kaspersky)

 PLATFORM:

Windows

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

  • 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

File Size:

214,332 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

10 Feb 2015

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%\SafeTest.exe

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

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
SafeTest = "%System%\SafeTest.exe /Self"

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CURRENT_USER\Software\Click

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Click
BetweenN = "{malware path and file name}"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfEscapement = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfOrientation = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfWeight = "19"

(Note: The default value data of the said registry entry is 190.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfItalic = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfUnderline = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfStrikeOut = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfCharSet = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfOutPrecision = "1"

(Note: The default value data of the said registry entry is 1.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfClipPrecision = "2"

(Note: The default value data of the said registry entry is 2.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfQuality = "2"

(Note: The default value data of the said registry entry is 2.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfPitchAndFamily = "31"

(Note: The default value data of the said registry entry is 31.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iPointSize = "64"

(Note: The default value data of the said registry entry is 64.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
fWrap = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
StatusBar = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
fSaveWindowPositions = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
lfFaceName = "Lucida Console"

(Note: The default value data of the said registry entry is Lucida Console.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
szHeader = "&f"

(Note: The default value data of the said registry entry is &f.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
szTrailer = "Page &p"

(Note: The default value data of the said registry entry is Page &p.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iMarginTop = "3e8"

(Note: The default value data of the said registry entry is 3e8.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iMarginBottom = "3e8"

(Note: The default value data of the said registry entry is 3e8.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iMarginLeft = "2ee"

(Note: The default value data of the said registry entry is 2ee.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iMarginRight = "2ee"

(Note: The default value data of the said registry entry is 2ee.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
fMLE_is_broken = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iWindowPosX = "84"

(Note: The default value data of the said registry entry is 42.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iWindowPosY = "84"

(Note: The default value data of the said registry entry is 57.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iWindowPosDX = "258"

(Note: The default value data of the said registry entry is 258.)

HKEY_CURRENT_USER\Software\Microsoft\
Notepad
iWindowPosDY = "19b"

(Note: The default value data of the said registry entry is 194.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • {BLOCKED}0.1

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

Restart in Safe Mode

[ Learn More ]

Step 3

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_CURRENT_USER\Software
    • Click

Step 4

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\Run
    • SafeTest = "%System%\SafeTest.exe /Self"
  • In HKEY_CURRENT_USER\Software\Click
    • BetweenN = "{malware path and file name}"

Step 5

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • lfEscapement = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • lfOrientation = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: lfWeight = "19"
      To: lfWeight = ""190""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • lfItalic = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • lfUnderline = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • lfStrikeOut = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • lfCharSet = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: lfOutPrecision = "1"
      To: lfOutPrecision = ""1""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: lfClipPrecision = "2"
      To: lfClipPrecision = ""2""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: lfQuality = "2"
      To: lfQuality = ""2""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: lfPitchAndFamily = "31"
      To: lfPitchAndFamily = ""31""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iPointSize = "64"
      To: iPointSize = ""64""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • fWrap = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • StatusBar = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • fSaveWindowPositions = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: lfFaceName = "Lucida Console"
      To: lfFaceName = ""Lucida Console""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: szHeader = "&f"
      To: szHeader = ""&f""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: szTrailer = "Page &p"
      To: szTrailer = ""Page &p""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iMarginTop = "3e8"
      To: iMarginTop = ""3e8""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iMarginBottom = "3e8"
      To: iMarginBottom = ""3e8""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iMarginLeft = "2ee"
      To: iMarginLeft = ""2ee""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iMarginRight = "2ee"
      To: iMarginRight = ""2ee""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • fMLE_is_broken = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iWindowPosX = "84"
      To: iWindowPosX = ""42""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iWindowPosY = "84"
      To: iWindowPosY = ""57""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iWindowPosDX = "258"
      To: iWindowPosDX = ""258""
  • In HKEY_CURRENT_USER\Software\Microsoft\Notepad
    • From: iWindowPosDY = "19b"
      To: iWindowPosDY = ""194""

Step 6

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