Analysis by: Sammy Chua

ALIASES:

Downloader.Win32.Agent.ebvi (Kaspersky); W32/Generic.AC.2003 (Fortinet); Trojan.Agent (Ikarus)

 PLATFORM:

Windows

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

  • 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. It may be manually installed by a user.

  TECHNICAL DETAILS

File Size: 5,033,968 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 20 Aug 2015

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 manually installed by a user.

Installation

This Trojan drops the following files:

  • %User Temp%\nsp7.tmp
  • %User Temp%\nse8.tmp\Banner.dll
  • %User Temp%\nse8.tmp\KPTool.dll
  • %User Temp%\nse8.tmp\System.dll
  • %User Temp%\nse8.tmp\NSISdl.dll
  • %User Temp%\nse8.tmp\nsf9.tmp
  • %User Temp%\nse8.tmp\inetc.dll
  • %User Temp%\nse8.tmp\data.xml
  • %User Temp%\nse8.tmp\nsisXML.dll
  • %User Temp%\nse8.tmp\close.png
  • %User Temp%\nse8.tmp\bg.bmp
  • %User Temp%\nse8.tmp\EmbedWeb.dll
  • %User Temp%\nse8.tmp\sndsock.dll
  • %User Temp%\nse8.tmp\check.png
  • %User Temp%\nse8.tmp\browse.png
  • %User Temp%\nse8.tmp\button.png
  • %User Temp%\nse8.tmp\nsDialogs.dll
  • %User Temp%\nse8.tmp\Button.dll
  • %User Temp%\nse8.tmp\ToolTips.dll
  • %User Temp%\nse8.tmp\img.png
  • %Program Files%\haitunrili\Clock32.dll
  • %Program Files%\haitunrili\Clock64.dll
  • %Program Files%\haitunrili\Power.exe
  • %Program Files%\haitunrili\SoftUpd.exe
  • %Program Files%\haitunrili\Vstart64.exe
  • %Program Files%\haitunrili\clock32.exe
  • %Program Files%\haitunrili\clock64.exe
  • %Program Files%\haitunrili\htrl.exe
  • %Program Files%\haitunrili\online_c.html
  • %Program Files%\haitunrili\uninst.exe
  • %Program Files%\haitunrili\Data\2013.xml
  • %Program Files%\haitunrili\Data\2013JieQi.xml
  • %Program Files%\haitunrili\Data\2014.xml
  • %Program Files%\haitunrili\Data\2014JieQi.xml
  • %Program Files%\haitunrili\Data\HuangLi.mdb
  • %Program Files%\haitunrili\Data\UserNoteText.xml
  • %Program Files%\haitunrili\Data\index.html
  • %Program Files%\haitunrili\360Ini.dll
  • %Program Files%\haitunrili\SoftApp.ini
  • %Program Files%\haitunrili\Vstart32.dll
  • %Program Files%\haitunrili\Vstart64.dll
  • %Program Files%\haitunrili\Config.ini
  • %User Temp%\nse8.tmp\check.png
  • %User Temp%\nse8.tmp\button.png
  • %Program Files%\Common Files\haitunrili\haitunrili.ini
  • %All Users Profile%\Start Menu\Programs\????\????.url
  • %Program Files%\haitunrili\????.url
  • %All Users Profile%\Start Menu\Programs\????\????.lnk
  • %All Users Profile%\Start Menu\Programs\????\????.lnk
  • %All Users Profile%\Start Menu\Programs\????\??????.lnk
  • %User Temp%\nse8.tmp\mem.exe
  • %User Temp%\nse8.tmp\mem.dll
  • %User Temp%\service_log.txt
  • %All Users Profile%\Application Data\005410.ico
  • %User Temp%\360IniVerify.ini
  • %All Users Profile%\Desktop\ÍøÖ·µ¼º½.lnk
  • %All Users Profile%\Start Menu\Programs\ÍøÖ·µ¼º½.lnk
  • %Application Data%\Microsoft\Internet Explorer\Quick Launch\ÍøÖ·µ¼º½.lnk
  • %User Temp%\nse8.tmp\plugin.dll
  • %Favorites%\ÍøÖ·Ö®¼Ò.url
  • %Favorites%\Links\ÍøÖ·Ö®¼Ò.url
  • %Favorites%\ÃÀÅ®Ð㳡.url
  • %Favorites%\Links\ÃÀÅ®Ð㳡.url
  • %Favorites%\ÃÀÅ®ÕæÈËÐã.url
  • %Favorites%\Links\ÃÀÅ®ÕæÈËÐã.url
  • %Favorites%\ÃÀŮֱ²¥Ðã.url
  • %Favorites%\Links\ÃÀŮֱ²¥Ðã.url
  • %Favorites%\90ÃÀÅ®ÊÓƵ.url
  • %Favorites%\Links\90ÃÀÅ®ÊÓƵ.url
  • %Favorites%\ÈÈѪ´«Ææ.url
  • %Favorites%\Links\ÈÈѪ´«Ææ.url
  • %Favorites%\¸ßÊÕÒæÀí²Æ-ÅÄÅÄ´û.url
  • %Favorites%\Links\¸ßÊÕÒæÀí²Æ-ÅÄÅÄ´û.url
  • %Favorites%\1ÔªÇÀiphone6-¶á±¦´ó¿§,×îhighµÄÒ»Ôª¹ºÎïÍøÕ¾.url
  • %Favorites%\Links\1ÔªÇÀiphone6-¶á±¦´ó¿§,×îhighµÄÒ»Ôª¹ºÎïÍøÕ¾.url
  • %Favorites%\ºÚ°µÖ®ÃÅ.url
  • %Favorites%\Links\ºÚ°µÖ®ÃÅ.url
  • %Favorites%\Öйú»é²©»áÃâ·ÑË÷Ʊ.url
  • %Favorites%\Links\Öйú»é²©»áÃâ·ÑË÷Ʊ.url
  • %Favorites%\×ÏÔÆÐÇ×ùÍø.url
  • %Favorites%\Links\×ÏÔÆÐÇ×ùÍø.url
  • %Favorites%\ÿÈÕôÜÊÂ.url
  • %Favorites%\Links\ÿÈÕôÜÊÂ.url
  • %Favorites%\½ñÈÕÍ·ÌõÐÂÎÅ.url
  • %Favorites%\Links\½ñÈÕÍ·ÌõÐÂÎÅ.url
  • %Favorites%\½¡¿µÑøÉú.url
  • %Favorites%\Links\½¡¿µÑøÉú.url
  • %User Temp%\nse8.tmp\rmth.exe
  • %User Temp%\nse8.tmp\xycqby.exe
  • %User Temp%\nse8.tmp\ZipDLL.dll
  • %User Temp%\nse8.tmp\setup.conf
  • %Program Files%\xycqby\setup.conf
  • %Program Files%\xycqby\xy_lander.exe
  • %User Temp%\nse8.tmp\data.xml
  • %Application Data%\xy\cqby\Lander.ini
  • %Desktop%\XY´«Ææ°Ôҵ΢¶Ë.lnk
  • %Program Files%\haitunrili\lnkicon.ico
  • %Program Files%\haitunrili\.url
  • %Desktop%\.lnk
  • %User Temp%\nse8.tmp\rmth.exe
  • %User Temp%\nse8.tmp\bdl.exe

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.. %All Users Profile% is the All Users folder, where it usually is C:\Documents and Settings\All Users on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\ProgramData on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Favorites% is the Favorites folder, where it usually is C:\Documents and Settings\{user name}\Favorites on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\Favorites on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Desktop% is the desktop folder, where it usually is C:\Documents and Settings\{user name}\Desktop in Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\Desktop in Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\International\CpMRU

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\App Paths\
htrl.exe

HKEY_LOCAL_MACHINE\SOFTWARE\haitunrili

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\International\CpMRU
Enable = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\International\CpMRU
Size = "10"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\International\CpMRU
InitHits = "100"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\International\CpMRU
Factor = "20"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\App Paths\
htrl.exe
(default) = "%Program Files%\haitunrili\htrl.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\App Paths\
htrl.exe
Path = "%Program Files%\haitunrili"

HKEY_LOCAL_MACHINE\SOFTWARE\haitunrili
InstallPath = "%Program Files%\haitunrili\"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????
DisplayName = "???? 1.2.3.0"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????
UninstallString = "%Program Files%\haitunrili\Uninst.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????
DisplayIcon = "%Program Files%\haitunrili\htrl.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????
DisplayVersion = 1.2.3.0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????
Publisher = ???

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????
URLInfoAbout = ""

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
????
InstallLocation = "%Program Files%\haitunrili\"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
rlbRunByWindowsStart = ""%Program Files%\haitunrili\htrl.exe" RunDateByStartAuto"

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}i.{BLOCKED}ao.com.cn/xml/LinkConfig.xml
  • http://{BLOCKED}new.{BLOCKED}t.com/xml/LinkConfig.php
  • http://{BLOCKED}n1.{BLOCKED}in.net/shichangbu/htrltj1.html?1411287d5ee
  • http://d{BLOCKED}n1.{BLOCKED}in.net/shichangbu/htrltj2.html?1411287d5ee
  • http://{BLOCKED}l.{BLOCKED}e.com/gf/360IniVerify.cab
  • http://{BLOCKED}n1.{BLOCKED}n.net/shichangbu2/icon.ico
  • http://{BLOCKED}l.{BLOCKED}e.com/gf/360ini.cab
  • http://{BLOCKED}1.{BLOCKED}n.net/shichangbu/xycqby.gif
  • http://{BLOCKED}i.{BLOCKED}ao.com.cn/xml/LinkConfig.xml
  • http://{BLOCKED}ew.{BLOCKED}t.com/xml/LinkConfig.php
  • http://{BLOCKED}i.{BLOCKED}2.net/sc/ico/toutiao.ico
  • http://www.{BLOCKED}y.com/lander/cqby2?adkey=10278&refer=xywancom&uid=cqby&version=3000&installtime=20150821&runcount=1&curtime=20150821105455&showlogintype=3®times=1
  • http://{BLOCKED}n1.{BLOCKED}n.net/shichangbu/bdimesetupstandalone.exe
  • http://{BLOCKED}c.{BLOCKED}g.net/cn/static/landers/cqby2/css/style.css?v=3
  • http://{BLOCKED}c.{BLOCKED}g.net/common/js/jquery-1.8.3.min.js
  • http://{BLOCKED} .wanyouxi7.com/xy/cqby/official/app.ini
  • http://{BLOCKED}1.{BLOCKED}n.net/shichangbu/bdimesetupstandalone.exe
  • http://{BLOCKED}1.{BLOCKED}in.net/shichangbu/bdimesetupstandalone.exe
  • http://{BLOCKED}1.{BLOCKED}n.net/shichangbu/bdimesetupstandalone.exe

  SOLUTION

Minimum Scan Engine: 9.750

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

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 3

Identifying the Grayware Files

Download the latest spyware pattern file and scan your computer. Note the path and file name of all files detected as ADW_DOWNWARE.GF.

Step 4

Restart in Safe Mode

[ Learn More ]

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_CURRENT_USER\Software\Microsoft\Internet Explorer\International\CpMRU
    • Enable = 1
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International\CpMRU
    • Size = 10
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International\CpMRU
    • InitHits = 100
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International\CpMRU
    • Factor = 20
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\htrl.exe
    • (default) = %Program Files%\haitunrili\htrl.exe
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\htrl.exe
    • Path = %Program Files%\haitunrili
  • In HKEY_LOCAL_MACHINE\SOFTWARE\haitunrili
    • InstallPath = %Program Files%\haitunrili\
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????
    • DisplayName = ???? 1.2.3.0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????
    • UninstallString = %Program Files%\haitunrili\Uninst.exe
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????
    • DisplayIcon = %Program Files%\haitunrili\htrl.exe
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????
    • DisplayVersion = 1.2.3.0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????
    • Publisher = ????
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????
    • URLInfoAbout
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????
    • InstallLocation = %Program Files%\haitunrili\
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • rlbRunByWindowsStart = "%Program Files%\haitunrili\htrl.exe" RunDateByStartAuto

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_CURRENT_USER\Software\Microsoft\Internet Explorer\International\CpMRU
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\htrl.exe
  • In HKEY_LOCAL_MACHINE\SOFTWARE\haitunrili
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\????

Step 7

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

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