ALIASES:

Worm:Win32/Autorun.AFL (Microsoft); W32/Autorun.worm.c (McAfee); W32.SillyFDC (Symantec); Worm.Win32.AutoIt.aes (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan.Agent.AROM (FSecure)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It disables Task Manager, Registry Editor, and Folder Options.

  TECHNICAL DETAILS

File Size: 305,653 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 28 Jul 2012

Arrival Details

This backdoor 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 backdoor drops the following copies of itself into the affected system:

  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346\2346\23\46\services.exe
  • %System Root%\system\service.exe

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

It creates the following folders:

  • %System Root%\system32
  • %System Root%\system32\891249
  • %System Root%\system32\891249\154
  • %System Root%\system32\891249\154\2
  • %System Root%\system32\891249\154\2\4
  • %System Root%\system32\891249\154\2\4\52
  • %System Root%\system32\891249\154\2\4\52\34
  • %System Root%\system32\891249\154\2\4\52\34\5
  • %System Root%\system32\891249\154\2\4\52\34\5\5
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346\2346
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346\2346\23
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346\2346\23\46
  • %System Root%\system
  • %System Root%\GoodNight
  • %System Root%\GoodNight\Fucking_Hero

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
system = "%System Root%\system32\system.com"

Other System Modifications

This backdoor adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
calc.exe

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
system

HKEY_CLASSES_ROOT\CLSID\{00020D75-0000-0000-C000-0000000000AA}

HKEY_CLASSES_ROOT\CLSID\{00020D75-0000-0000-C000-0000000000AA}\
DefaultIcon

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
MyComputer\NameSpace\{00020D75-0000-0000-C000-0000000000AA}

HKEY_CLASSES_ROOT\CLSID\{00020D75-0000-0000-C000-0000000000AA}\
shell\open\command

HKEY_CLASSES_ROOT\.bd

HKEY_CLASSES_ROOT\.bd\DefaultIcon

HKEY_CLASSES_ROOT\.bd\shell\
open\command

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
calc.exe
Debugger = "{random characters}"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = "2"

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoDriveTypeAutoRun = "5b"

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
ctfmon.exe = "%System Root%\system32\ctfmon.com"

(Note: The default value data of the said registry entry is %Windows%\system32\ctfmon.exe.)

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
exefile
InfoTip = "prop:Type;Size"

(Note: The default value data of the said registry entry is prop:FileDescription;Company;FileVersion;Create;Size.)

It creates the following registry entry(ies) to disable Task Manager, Registry Tools and Folder Options:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoFolderOptions = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
system
DisableRegistryTools = "1"

Dropping Routine

This backdoor drops the following files:

  • %System Root%\system32\system.com
  • %System Root%\system32\cmd.com
  • %System Root%\system32\ctfmon.com
  • %System Root%\GoodNight\Fucking_Hero\file.com

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 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

[ Learn More ]

Step 3

Enable Registry Editor, Task Manager, and Folder options

[ Learn More ]
By doing this step, you also enable other applications/programs disabled by this malware/grayware.

Step 4

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 NT\CurrentVersion\Image File Execution Options
    • calc.exe
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
    • system
  • In HKEY_CLASSES_ROOT\CLSID
    • {00020D75-0000-0000-C000-0000000000AA}
  • In HKEY_CLASSES_ROOT\CLSID\{00020D75-0000-0000-C000-0000000000AA}
    • DefaultIcon
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace
    • {00020D75-0000-0000-C000-0000000000AA}
  • In HKEY_CLASSES_ROOT\CLSID\{00020D75-0000-0000-C000-0000000000AA}\shell\open
    • command
  • In HKEY_CLASSES_ROOT
    • .bd
  • In HKEY_CLASSES_ROOT\.bd
    • DefaultIcon
  • In HKEY_CLASSES_ROOT\.bd\shell\open
    • command

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\Run
    • system = "%System Root%\system32\system.com"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\calc.exe
    • Debugger = "{random characters}"

Step 6

Restore this modified 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\Explorer\Advanced
    • From: Hidden = "2"
      To: Hidden = ""2""
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • From: NoDriveTypeAutoRun = "5b"
      To: NoDriveTypeAutoRun = ""91""
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • From: ctfmon.exe = "%System Root%\system32\ctfmon.com"
      To: ctfmon.exe = ""%Windows%\system32\ctfmon.exe""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile
    • From: InfoTip = "prop:Type;Size"
      To: InfoTip = ""prop:FileDescription;Company;FileVersion;Create;Size""

Step 7

Search and delete these files

[ Learn More ]
There may be some component 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.
  • %System Root%\system32\system.com
  • %System Root%\system32\cmd.com
  • %System Root%\system32\ctfmon.com
  • %System Root%\GoodNight\Fucking_Hero\file.com

Step 8

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%\system32
  • %System Root%\system32\891249
  • %System Root%\system32\891249\154
  • %System Root%\system32\891249\154\2
  • %System Root%\system32\891249\154\2\4
  • %System Root%\system32\891249\154\2\4\52
  • %System Root%\system32\891249\154\2\4\52\34
  • %System Root%\system32\891249\154\2\4\52\34\5
  • %System Root%\system32\891249\154\2\4\52\34\5\5
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346\2346
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346\2346\23
  • %System Root%\system32\891249\154\2\4\52\34\5\5\2\34\5\234\5234\523452345\234\52345\23462\362\34\6523\452\346\234\52\345\24\624\36\234\62\346\2346\23\46
  • %System Root%\system
  • %System Root%\GoodNight
  • %System Root%\GoodNight\Fucking_Hero

Step 9

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