Analysis by: Jeanne Jocson

ALIASES:

Trojan:Win32/WipMBR.A (Microsoft), W32/DistTrack (McAfee)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Propagates via network shares

This worm executes the dropped file(s). As a result, malicious routines of the dropped files are exhibited on the affected system.

  TECHNICAL DETAILS

File Size: 989,184 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 16 Aug 2012
Payload: Drops files

Arrival Details

This worm may arrive via network shares.

Installation

This worm drops the following copies of itself into the affected system:

  • %System%\trksvr.exe

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

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\TrkSvr
Type = "10"

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

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TrkSvr
ImagePath = "%System\trksvr.exe"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TrkSvr
DisplayName = "Distributed Link Tracking Server"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TrkSvr
DependOnService = "RpcSs"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TrkSvr
DependOnGroup = "0"

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TrkSvr
Description = "Enables the Distributed Link Tracking Client service within the same domain to provide more reliable and efficient maintenance of links within the domain. If this service is disabled, any services that explicitly depend on it will fail to start."

It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TrkSvr

Other System Modifications

This worm adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\lanmanworkstation
DependOnService = "TrkSvr"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\lanmanworkstation
DependOnGroup = "0"

Propagation

This worm drops copies of itself in the following shared folders:

  • \\{IP address}\ADMIN$\system32\{random file name}.exe
  • \\{IP address}\C$\WINDOWS\system32\{random file name}.exe
  • \\{IP address}\D$\WINDOWS\system32\{random file name}.exe
  • \\{IP address}\E$\WINDOWS\system32\{random file name}.exe

Dropping Routine

This worm drops the following files:

  • %System%\{random file name}.exe ← used to overwrite the disk(TROJ_WIPMBR.A)
      where {random file name} is randomly selected from the following:
    • caclsrv
    • certutl
    • clean
    • ctrl
    • dfrag
    • dnslookup
    • dvdquery
    • event
    • extract
    • findfile
    • fsutl
    • gpget
    • iissrv
    • ipsecure
    • msinit
    • netx
    • ntdsutl
    • ntfrsutil
    • ntnw
    • power
    • rdsadmin
    • regsys
    • routeman
    • rrasrv
    • sacses
    • sfmsc
    • sigver
    • smbinit
    • wcscript
  • %System%\netinit.exe ← used for reporting (WORM_DISTTRACK.SMA)

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

It executes the dropped file(s). As a result, malicious routines of the dropped files are exhibited on the affected system.

NOTES:

  • If command-line parameters are specified, it drops copies of itself to the following:
  • \\{command-line parameter}\ADMIN$\system32\{random file name}.exe
  • \\{command-line parameter}\C$\WINDOWS\system32\{random file name}.exe
  • \\{command-line parameter}\D$\WINDOWS\system32\{random file name}.exe
  • \\{command-line parameter}\E$\WINDOWS\system32\{random file name}.exe

    The component Drdisk.sys enables this malware to overwrite all disk partitions with a JPEG image file. This renders the system unusable after reboot.

    This malware overwrites files with the same JPEG image file used for the disk corruption. The overwritten file retains its file size, thus, the image file becomes corrupted. The files that it overwrites are the following:

  • All files in C:\Documents and Settings containing the words in the file name:
    • download
    • document
  • All files in C:\Users containing the following words in the file name:
    • desktop
    • download
    • document
    • picture
    • video
    • music
  • All files in C:\Windows\System32\Drivers
  • All files in C:\Windows\System32\Config containing the word "systemprofile" in the file name

    It also creates the file %Windows%\inf\netfb3318.pnf. The said file contains the number of files to be compromised. It is used for reporting to its server.

    The file %System%\netinit.exe is responsible for:

    • sending information about the infection back to the server
    • receiving files from the remote server and execute it on the affected system
    • connecting to the following URL: http://{BLOCKED}.{BLOCKED}.252.19/ajax_modal/modal/data.asp?mydata={FILES}&uid={IP Address}&state={INFECTION ID}

  •   SOLUTION

    Minimum Scan Engine: 9.8
    FIRST VSAPI PATTERN FILE: 13.178.02
    FIRST VSAPI PATTERN DATE: 24 Jan 2017
    VSAPI OPR PATTERN File: 13.179.00
    VSAPI OPR PATTERN Date: 25 Jan 2017

    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

    Remove malware/grayware files dropped/downloaded by WORM_DISTTRACK.SMA. (Note: Please skip this step if the threats listed below have already been removed.)

    Step 3

    Restart in Safe Mode

    [ Learn More ]

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

    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_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation
      • DependOnService = "TrkSvr"
    • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation
      • DependOnGroup = "0"

    Step 6

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