TROJ_LEMIR.JK


 ALIASES:

PWS:Win32/QQRob (Microsoft); PWS-QQRob (McAfee); Infostealer.Lemir (Symantec); PAK:PE_Patch, PAK:UPX, Trojan-PSW.Win32.QQRob.16 (Kaspersky); BehavesLike.Win32.Malware.ssc (mx-v) (Sunbelt); Generic.PWStealer.B0B362DB (FSecure)

 PLATFORM:

Windows 2000, XP, Server 2003

 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:

27,807 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

30 Dec 2011

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

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

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
NTdhcp = "%System%\NTdhcp.exe"

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\RsRavMon

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\RsCCenter

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\kavsvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\KVSrvXP

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\KPfwSvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\KWatchSvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SNDSrvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\ccProxy

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\ccEvtMgr

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\ccSetMgr

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SPBBCSvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Symantec Core LC

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\navapsvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NPFMntor

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\MskService

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\FireSvc

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\McShield

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\McTaskManager

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\McAfeeFramework

Other System Modifications

This Trojan adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\RsRavMon
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\RsCCenter
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\kavsvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\KVSrvXP
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\wscsvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\KPfwSvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\KWatchSvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SNDSrvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\ccProxy
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\ccEvtMgr
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\ccSetMgr
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SPBBCSvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Symantec Core LC
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\navapsvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\NPFMntor
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\MskService
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\FireSvc
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\McShield
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\McTaskManager
Start = 4

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\McAfeeFramework
Start = 4

Dropping Routine

This Trojan drops the following files:

  • %Windows%\Deleteme.bat

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

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.200

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_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • RsRavMon
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • RsCCenter
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • kavsvc
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • KVSrvXP
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • KPfwSvc
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • KWatchSvc
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • SNDSrvc
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • ccProxy
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • ccEvtMgr
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • ccSetMgr
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • SPBBCSvc
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • Symantec Core LC
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • navapsvc
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • NPFMntor
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • MskService
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • FireSvc
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • McShield
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • McTaskManager
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • McAfeeFramework

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
    • NTdhcp="%System%\NTdhcp.exe"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\RsRavMon
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\RsCCenter
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\kavsvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KVSrvXP
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wscsvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KPfwSvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KWatchSvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNDSrvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ccProxy
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ccEvtMgr
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ccSetMgr
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SPBBCSvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Symantec Core LC
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\navapsvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NPFMntor
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MskService
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\FireSvc
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\McShield
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\McTaskManager
    • Start=4
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\McAfeeFramework
    • Start=4

Step 5

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. %Windows%\Deleteme.bat

Step 6

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