Analysis by: Janus Agcaoili

ALIASES:

Trojan:Win32/Kovter (Microsoft), Trojan/Win32.Kovter (AhnLab-V3)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware, Downloaded from the Internet

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. It may be downloaded from remote sites by other malware.

It executes then deletes itself afterward.

It does not have any propagation routine.

It does not have any backdoor routine.

It modifies the Internet Explorer Zone Settings.

It connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size: 304,865 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 24 Jan 2016
Payload: Connects to URLs/IPs

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.

It may be downloaded from remote site(s) by the following malware:

Installation

This Trojan adds the following processes:

  • regsvr32.exe

It executes then deletes itself afterward.

It injects codes into the following process(es):

  • regsvr32.exe

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
{Null} = "mshta javascript:lyq3c6kZkC="nlxiGn6Se";z4V=new%20ActiveXObject("WScript.Shell");q7HRKGFV3="vwbkIS";z6MQD=z4V.RegRead("HKLM\software\6f77bb644b\5d4b99eb");FRaGl2J5Yp="Hv";eval(z6MQD);Ujhy7Nic="s07m";;"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
Explorer\Run
{Null} = "mshta javascript:Yv37aBBETL="MAfuSkMS9P";A8U=new%20ActiveXObject("WScript.Shell");Ms3xJup="8HAMr";jK8H0c=A8U.RegRead("HKLM\software\6f77bb644b\5d4b99eb");NrU1xDPMj="gjWTRSuT";eval(jK8H0c);W3lkcY0t="CdWdXYkkqo";;"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{Null} = "mshta javascript:Z2jPMQ0dP="BvdhoB";Q6K=new%20ActiveXObject("WScript.Shell");o3ZBwGoPV="bYMWvinhTv";JDQm3=Q6K.RegRead("HKCU\software\6f77bb644b\5d4b99eb");bcp8AYe4T="1gBKLOswNm";eval(JDQm3);OKe4ah0Y="E7USEq";;"

Other System Modifications

This Trojan also creates the following registry entry(ies) as part of its installation routine:

HKEY_LOCAL_MACHINE\SOFTWARE\{Random Hex Value 1}
{Random Hex Value 2} = "{Random Hex Value 2}"

HKEY_LOCAL_MACHINE\SOFTWARE\{Random String}

HKEY_LOCAL_MACHINE\SOFTWARE\{Hex Value 1}
{Hex Value 2} = "{3 Random Number}"

HKEY_CURRENT_USER\Software\{Hex Value 1}
{Hex Value 2} = "{3 Random Number}"

HKEY_LOCAL_MACHINE\SOFTWARE\{Hex Value 1}
{Hex Value 3} = "{16 Hex Numbers}"

HKEY_CURRENT_USER\Software\{Hex Value 1}
{Hex Value 3} = "{16 Hex Numbers}"

HKEY_LOCAL_MACHINE\SOFTWARE\{Hex Value 1}
{Hex Value 4} = "{10 random number}"

HKEY_CURRENT_USER\Software\{Hex Value 1}
{Hex Value 4} = "{10 Random Number}"

HKEY_LOCAL_MACHINE\SOFTWARE\{Hex Value 1}
{Hex Value 5} = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2);"

HKEY_CURRENT_USER\Software\{Hex Value 1}
{Hex Value 5} = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2);"

HKEY_LOCAL_MACHINE\SOFWARE\POLICIES\
Microsoft\Windows\WindowsUpdate
DisableOSUpgrade = "1"

HKEY_LOCAL_MACHINE\SOFWARE\POLICIES\
Microsoft\Windows\WindowsUpdate\
OSUpgrade
ReservationsAllowed = "0"

Propagation

This Trojan does not have any propagation routine.

Backdoor Routine

This Trojan does not have any backdoor routine.

Web Browser Home Page and Search Page Modification

This Trojan modifies the Internet Explorer Zone Settings.

Other Details

This Trojan connects to the following website to send and receive information:

  • http://{BLOCKED}.{BLOCKED}.69.66/upload.php - inaccessible
  • http://{BLOCKED}.{BLOCKED}.213.57 - used for click-fraud activity

It does the following:

  • Connects to certain IP address for its click-fraud activity
  • Uses power shell to execute the obfuscated javascript codes in the registry

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 12.298.06
FIRST VSAPI PATTERN DATE: 26 Jan 2016
VSAPI OPR PATTERN File: 12.299.00
VSAPI OPR PATTERN Date: 27 Jan 2016

Step 1

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 2

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 3

Restart in Safe Mode

[ 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
    • {Null} = "mshta javascript:lyq3c6kZkC="nlxiGn6Se";z4V=new%20ActiveXObject("WScript.Shell");q7HRKGFV3="vwbkIS";z6MQD=z4V.RegRead("HKLM\software\6f77bb644b\5d4b99eb");FRaGl2J5Yp="Hv";eval(z6MQD);Ujhy7Nic="s07m";;"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
    • {Null} = "mshta javascript:Yv37aBBETL="MAfuSkMS9P";A8U=new%20ActiveXObject("WScript.Shell");Ms3xJup="8HAMr";jK8H0c=A8U.RegRead("HKLM\software\6f77bb644b\5d4b99eb");NrU1xDPMj="gjWTRSuT";eval(jK8H0c);W3lkcY0t="CdWdXYkkqo";;"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {Null} = "mshta javascript:Z2jPMQ0dP="BvdhoB";Q6K=new%20ActiveXObject("WScript.Shell");o3ZBwGoPV="bYMWvinhTv";JDQm3=Q6K.RegRead("HKCU\software\6f77bb644b\5d4b99eb");bcp8AYe4T="1gBKLOswNm";eval(JDQm3);OKe4ah0Y="E7USEq";;"

Step 5

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • {Random Hex Value 1}
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • {Random String}
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • {Hex Value 1}
  • In HKEY_CURRENT_USER\Software
    • {Hex Value 1}

Step 6

Remove the malware/grayware file that dropped/downloaded TROJ_KOVTER.XYZD. (Note: Please skip this step if the threat(s) listed below have already been removed.)

Step 7

Reset Internet security settings

[ Learn More ]

Step 8

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

Related Malware