BKDR_SOGU.A

 Analysis by: kathleenno
 Modified by: Kathleen Notario

 ALIASES:

Backdoor.Sogu (Symantec); Trojan.Win32.Agent.ofvk (Kaspersky); Generic BackDoor.u (Mcafee); W32/Agent.OFVK!tr (Fortinet)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: No

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

It executes commands from a remote malicious user, effectively compromising the affected system.

  TECHNICAL DETAILS

File Size:

166,912 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

02 Aug 2011

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 component file(s):

  • %System Root%\Documents and Settings\All Users\winsvcfs.DLL - also detected as BKDR_SOGU.A

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

It executes then deletes itself afterward.

Autostart Technique

This backdoor registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\winsvcfs

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\winsvcfs\Parameters
ServiceDll = "%System Root%\Documents and Settings\All Users\winsvcfs.dll"

Other System Modifications

This backdoor modifies the following registry key(s)/entry(ies) as part of its installation routine:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\SvcHost
LocalService = "{user defined} winsvcfs"

(Note: The default value data of the said registry entry is {user defined}.)

Backdoor Routine

This backdoor executes the following commands from a remote malicious user:

  • access a database in the infected machine, fetch and display specific data
  • access a specified server which is possibly malicious
  • enumerate registry value of an specified registry key
  • stop a service
  • start a service
  • get drive space of drives except floppy drives
  • lock the desktop
  • shutdown the system
  • list files in a specified directory

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • {BLOCKED}n.duamlive.com

As of this writing, the said sites are inaccessible.

  SOLUTION

Minimum Scan Engine:

8.900

FIRST VSAPI PATTERN FILE:

8.330.02

FIRST VSAPI PATTERN DATE:

03 Aug 2011

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

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\SYSTEM\CurrentControlSet\Services
    • winsvcfs

Step 4

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost
    • From: LocalService = "{user defined} winsvcfs"
      To: LocalService = "{user defined}"

Step 5

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