Analysis by: Michael Cabel

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel: Propagates via network shares

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

However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

Ports: Port 5190 (unassigned)
File Size: 183,520 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 14 Oct 2010

Arrival Details

This worm may arrive via network shares.

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

  • %System%\{Malware File Name}.EXE

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

Autostart Technique

This worm 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\dfcsvc
Type = "110"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\dfcsvc
Start = "2"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\dfcsvcx
ErrorControl = "0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\dfcsvc
ImagePath = "{Malware File Name}.EXE /dfcsvc"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\dfcsvc
DisplayName = "Distributed File Controller"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\dfcsvc
DependOnService = "RpcSS"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\dfcsvc
DependOnGroup = "0x0000"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\dfcsvc
ObjectName = "LocalSystem"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Osa32 = "{Malware File Name}.EXE"

It modifies the following registry entry(ies) to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Winlogon
GinaDll = "ntgina.dll"

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

Other System Modifications

This worm adds the following registry entries as part of its installation routine:

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Winlogon
Ram32Data = ""

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Winlogon
Ram32ID = ""

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\Winlogon
Ram32Group = ""

It creates the following registry entry(ies) to bypass Windows Firewall:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
{Malware Path and File Name} = "{Malware Path and File Name}:*:Enabled:{Malware File Name}"

Propagation

This worm searches the network for the following shared networks onto which it attempts to drop copies of itself:

  • ADMIN$\System32\NTOSA32.EXE
  • ADMIN$\System32\NTGINA.DLL

Backdoor Routine

This worm opens the following port(s) where it listens for remote commands:

  • TCP 5190

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

  • {BLOCKED}.{BLOCKED}.130.5

However, as of this writing, the said sites are inaccessible.

Dropping Routine

This worm drops the following file(s), which it uses for its keylogging routine:

  • %System%\NTGINA.DLL - also detected as WORM_ANIG.DUKKS

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

Stolen Information

This worm saves the stolen information in the following file:

  • %System%\NTKBH32.DLL

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

NOTES:

It remotely creates this registry entry to ensure that the dropped .EXE file is executed at every system startup:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
Osa32 = "NTOSA32.exe"

It also creates this registry entry to ensure that the dropped .DLL file is executed at every system startup:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
GinaDll = "ntgina.dll"

  SOLUTION

Minimum Scan Engine: 9.200
FIRST VSAPI PATTERN FILE: 7.536.13
FIRST VSAPI PATTERN DATE: 14 Oct 2010

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

Scan your computer with your Trend Micro product and note files detected as WORM_ANIG.DUKKS

Step 3

Identify and delete files detected as WORM_ANIG.DUKKS using the Recovery Console

[ Learn More ]

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
    • Osa32 = "{Malware File Name}.EXE"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
    • {Malware Path and File Name} = "{Malware Path and File Name}:*:Enabled:{Malware File Name}"
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
    • Ram32Data = ""
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
    • Ram32ID = ""
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
    • Ram32Group = ""

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_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
    • From: GinaDll = "ntgina.dll"
      To: GinaDll = "MSGINA.DLL"

Step 6

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
    • dfcsvc

Step 7

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.
  • %System%\NTKBH32.DLL

Step 8

Scan your computer with your Trend Micro product to delete files detected as WORM_ANIG.DUKKS. 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.