TROJ_MEGYA.A


 ALIASES:

Trojan:Win32/Sinis.C, HackTool:Win32/Keygen (Microsoft); [2.nsis]:Generic BackDoor.ti, [4.nsis]:Generic KeyGen. (McAfee); Trojan.ADH (Symantec); ARC:NSIS, ARC:[data0002]:NSIS, [data0002/data0001]:Trojan-Dropper.Win32.NSIS.ve, PAK:[data0002/data0 (Kaspersky); Trojan.Win32.Generic.pak!cobra (Sunbelt); Dropped:Trojan.Generic.5598591 (FSecure)

 PLATFORM:

Windows 2000, Windows XP, Windows 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:

770,954 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

07 Nov 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 creates the following folders:

  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\ADMINI~1
  • %User Profile%\LOCALS~1
  • %Program Files%\Common Files
  • %Program Files%\Common Files\Microsoft Shared
  • %Program Files%\Common Files\Microsoft Shared\Web Components
  • %User Temp%\nsv3.tmp

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.. %Program Files% is the default Program Files folder, usually C:\Program Files.. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.)

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
jkss.exe = "%Program Files%\Common Files\Microsoft Shared\Web Components\jkss.exe"

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\nsd1.tmp
  • %User Temp%\nsa2.tmp
  • %User Temp%\nsv3.tmp

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.)

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\svchost.exe
  • %User Temp%\hosts
  • %User Temp%\AAC2010_Keygen-64bits.exe
  • %Program Files%\jkss.exe
  • %User Temp%\nsv3.tmp\NSISArray.dll
  • %User Temp%\nsv3.tmp\NSISdl.dll
  • %User Temp%\Microsoft Visual C++ 2010 Redistributable Package.txt
  • %User Temp%\nsv3.tmp\blowfish.dll
  • %Program Files%\setup01.cab
  • %Program Files%\bfw.exe
  • %Program Files%\setup_.cab

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.. %Program Files% is the default Program Files folder, usually C:\Program Files.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}yltd.net/html/license_43EC922A3D0E1F403834E5456BAC1A12683D6F6CE3D7CF5C5B42E32E9B504B752F1741098BD8D605E4C1D8B64990528D3E21F4805B031E3609A4E5815B41D93262C32829119C74593BB07584AE629155AFAAD023EDF983A90F585277BA50F3F89B5A36DE2ED589C16E04B906E24EDB1DA66119B6089B65E6CE

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

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
    • jkss.exe="%Program Files%\Common Files\Microsoft Shared\Web Components\jkss.exe"

Step 4

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%\DOCUME~1
  • %System Root%\DOCUME~1\ADMINI~1
  • %User Profile%\LOCALS~1
  • %Program Files%\Common Files
  • %Program Files%\Common Files\Microsoft Shared
  • %Program Files%\Common Files\Microsoft Shared\Web Components
  • %User Temp%\nsv3.tmp

Step 5

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.
  • %User Temp%\svchost.exe
  • %User Temp%\hosts
  • %User Temp%\AAC2010_Keygen-64bits.exe
  • %Program Files%\jkss.exe
  • %User Temp%\nsv3.tmp\NSISArray.dll
  • %User Temp%\nsv3.tmp\NSISdl.dll
  • %User Temp%\Microsoft Visual C++ 2010 Redistributable Package.txt
  • %User Temp%\nsv3.tmp\blowfish.dll
  • %Program Files%\setup01.cab
  • %Program Files%\bfw.exe
  • %Program Files%\setup_.cab

Step 6

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

Step 7

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %User Temp%\nsd1.tmp
  • %User Temp%\nsa2.tmp
  • %User Temp%\nsv3.tmp


Did this description help? Tell us how we did.