ADW_DOWNWARE.GG

 Analysis by: Pearl Charlaine Espejo

 ALIASES:

Downloader.Win32.Agent.ebvl (Kaspersky); Trojan.Win32.Generic!BT (VIPRE)

 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%\ns{random characters}.tmp
  • %User Temp%\ns{random characters}.tmp\Banner.dll
  • %User Temp%\ns{random characters}.tmp\Button.dll
  • %User Temp%\ns{random characters}.tmp\EmbedWeb.dll
  • %User Temp%\ns{random characters}.tmp\KPTool.dll
  • %User Temp%\ns{random characters}.tmp\NSISdl.dll
  • %User Temp%\ns{random characters}.tmp\System.dll
  • %User Temp%\ns{random characters}.tmp\bg.bmp
  • %User Temp%\ns{random characters}.tmp\browse.png
  • %User Temp%\ns{random characters}.tmp\button.png
  • %User Temp%\ns{random characters}.tmp\check.png
  • %User Temp%\ns{random characters}.tmp\close.png
  • %User Temp%\ns{random characters}.tmp\data.xml
  • %User Temp%\ns{random characters}.tmp\inetc.dll
  • %User Temp%\ns{random characters}.tmp\nsDialogs.dll
  • %User Temp%\ns{random characters}.tmp\ns{random characters}.tmp
  • %User Temp%\ns{random characters}.tmp\nsisXML.dll
  • %User Temp%\ns{random characters}.tmp\sndsock.dll
  • %User Temp%\ns{random characters}.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
  • %Program Files%\haitunrili\{characters}.url
  • %Program Files%\haitunrili\lnkicon.ico
  • %Program Files%\haitunrili\.url
  • %Program Files%\Common Files\haitunrili\haitunrili.ini
  • %Desktop%\.lnk
  • %All Users Profile%\Start Menu\Programs\{characters 1}\{characters 2}.lnk
  • %All Users Profile%\Start Menu\Programs\{characters 1}\{characters 3}.lnk
  • %All Users Profile%\Start Menu\Programs\{characters 1}\{characters 4}.lnk
  • %All Users Profile%\Start Menu\Programs\{characters 1}\{characters 5}.url
  • %User Temp%\nstmp\rmth.exe
  • %User Temp%\nstmp\data.xml
  • %User Temp%\service_log.txt
  • %User Temp%\ns{random characters}.tmp\rmth.exe
  • %User Temp%\360IniVerify.ini
  • %User Temp%\51034B4B\4D7E1883.dll
  • %User Temp%\360ini.cab
  • %User Temp%\TempRilibiao.xml
  • %User Temp%\NetPublicIp.html
  • %User Temp%\netipaddress.json
  • %User Temp%\update.xml
  • %User Temp%\InfoOnServerConf.xml

(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.. %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.. %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.)

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
rlbRunByWindowsStart = "%Program Files%\haitunrili\htrl.exe" RunDateByStartAuto

Other System Modifications

This Trojan adds the following registry keys:

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{characters 1}

HKEY_LOCAL_MACHINE\SOFTWARE\haitunrili

HKEY_LOCAL_MACHINE\SOFTWARE\360Safe

HKEY_LOCAL_MACHINE\SOFTWARE\360Safe\
Liveup

HKEY_LOCAL_MACHINE\SOFTWARE\LiveUpdate360

HKEY_CURRENT_USER\Software\LiveUpdate360

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\App Paths\
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\
{characters 1}
DisplayName = "1.2.3.0"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{characters 1}
UninstallString = "%Program Files%\haitunrili\Uninst.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{characters 1}
DisplayIcon = "%Program Files%\haitunrili\htrl.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{characters 1}
DisplayVersion = "1.2.3.0"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{characters 1}
Publisher = "{characters 1}"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{characters 1}
URLInfoAbout = ""

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{characters 1}
InstallLocation = "%Program Files%\haitunrili\"

HKEY_LOCAL_MACHINE\SOFTWARE\360Safe\
Liveup
mid = "{data}"

HKEY_LOCAL_MACHINE\SOFTWARE\LiveUpdate360
proxytype = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\LiveUpdate360
ieproxy = "{data}"

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://set56.{BLOCKED}d.com/mediaController.php
  • http://confignew.{BLOCKED}t.com/20141128/14.html
  • http://confignew.{BLOCKED}t.com/14.html
  • http://xiazai.{BLOCKED}ao.com.cn/xml/LinkConfig.xml
  • http://confignew.{BLOCKED}t.com/xml/LinkConfig.php
  • http://downcdn1.{BLOCKED}in.net/shichangbu/htrltj1.html?141128q
  • http://dl.{BLOCKED}e.com/gf/360IniVerify.cab
  • http://xiazai.{BLOCKED}2.net/sc/ico/toutiao.ico
  • http://s.{BLOCKED}0.cn/hips/update/inst.htm
  • http://dl.{BLOCKED}e.com/gf/360ini.cab
  • http://dl.{BLOCKED}e.com/inst_gf_popup.exe
  • http://xiazai.{BLOCKED}ao.com.cn/xml/switch_config.xml
  • http://city.{BLOCKED}8.com/ip2city.asp
  • http://ip.{BLOCKED}o.com/service/getIpInfo.php
  • http://down.{BLOCKED}nli365.com/update/haitun.xml
  • http://xiazai.{BLOCKED}ao.com.cn/xml/info_configex.xml
  • http://downcdn1.{BLOCKED}in.net/shichangbu/xyb/eteidg.html
  • http://s6.{BLOCKED}z.com/z_stat.php
  • http://{BLOCKED}5.{BLOCKED}9.com/mediaController.php
  • http://set56.{BLOCKED}d.com/mediaController.php
  • http://pic183025.{BLOCKED}9999.com/images/close-gray.gif
  • http://set56.{BLOCKED}d.com/mediacode.php

  SOLUTION

Minimum Scan Engine:

9.750

SSAPI PATTERN File:

1.652.17

SSAPI PATTERN Date:

22 Aug 2015

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

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
    • rlbRunByWindowsStart = "%Program Files%\haitunrili\htrl.exe" RunDateByStartAuto

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.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
    • htrl.exe
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    • {characters 1}
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • haitunrili
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • 360Safe
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • LiveUpdate360
  • In HKEY_CURRENT_USER\Software
    • LiveUpdate360

Step 6

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.
  • %Program Files%\haitunrili
  • %Program Files%\Common Files\haitunrili
  • %All Users Profile%\Start Menu\Programs\{characters 1}
  • %User Temp%\nstmp

Step 7

Search and delete these files

[ 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.
  • %User Temp%\ns{random characters}.tmp
  • %User Temp%\ns{random characters}.tmp\Banner.dll
  • %User Temp%\ns{random characters}.tmp\Button.dll
  • %User Temp%\ns{random characters}.tmp\EmbedWeb.dll
  • %User Temp%\ns{random characters}.tmp\KPTool.dll
  • %User Temp%\ns{random characters}.tmp\NSISdl.dll
  • %User Temp%\ns{random characters}.tmp\System.dll
  • %User Temp%\ns{random characters}.tmp\bg.bmp
  • %User Temp%\ns{random characters}.tmp\browse.png
  • %User Temp%\ns{random characters}.tmp\button.png
  • %User Temp%\ns{random characters}.tmp\check.png
  • %User Temp%\ns{random characters}.tmp\close.png
  • %User Temp%\ns{random characters}.tmp\data.xml
  • %User Temp%\ns{random characters}.tmp\inetc.dll
  • %User Temp%\ns{random characters}.tmp\nsDialogs.dll
  • %User Temp%\ns{random characters}.tmp\ns{random characters}.tmp
  • %User Temp%\ns{random characters}.tmp\nsisXML.dll
  • %User Temp%\ns{random characters}.tmp\sndsock.dll
  • %User Temp%\ns{random characters}.tmp\img.png
  • %Desktop%\.lnk
  • %User Temp%\service_log.txt
  • %User Temp%\ns{random characters}.tmp\rmth.exe
  • %User Temp%\360IniVerify.ini
  • %User Temp%\51034B4B\4D7E1883.dll
  • %User Temp%\360ini.cab
  • %User Temp%\TempRilibiao.xml
  • %User Temp%\NetPublicIp.html
  • %User Temp%\netipaddress.json
  • %User Temp%\update.xml
  • %User Temp%\InfoOnServerConf.xml

Step 8

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