BKDR_ANDROM.YYSMMI

 Analysis by: Ryan Paolo Maglaque

 ALIASES:

Backdoor.Win32.Androm.mpoh(Kaspersky);

 PLATFORM:

Windows

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet


This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It executes commands from a remote malicious user, effectively compromising the affected system.

It gathers information and reports it to its servers.

  TECHNICAL DETAILS

File Size:

143,360 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

16 Feb 2016

Payload:

Connects to URLs/IPs, Downloads files, Restarts system

Arrival Details

This backdoor 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 backdoor drops the following copies of itself into the affected system:

  • %All Users Profile%\ms{random}.exe

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

It adds the following processes:

  • msiexec.exe

It injects codes into the following process(es):

  • Created "msiexec.exe"

Autostart Technique

This backdoor adds the following registry entries to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
Explorer\Run
{Random Numbers} = %All Users Profile%\ms{Random}.exe

Other System Modifications

This backdoor adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
ShowSuperHidden = 0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
System
EnableLUA = 0

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = 2

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
HideSCAHealth = 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
HideSCAHealth = 1

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
TaskbarNoNotification = 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
TaskbarNoNotification = 1

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Windows
Load =

Backdoor Routine

This backdoor executes the following commands from a remote malicious user:

  • Download a file directed by C&C server, save it as %User Temp%\KB{8 random numbers}.exe and execute it
  • Download a file directed by C&C server, save it as %All User Profile%\ms{random number}.dat and load it
  • Download a file directed by C&C server, save it as %All User Profile%\ms{random}.exe:{random number}
  • Copy %System%\cdosys.dll to %User Temp%\cdo{random number}.dll and load it
  • Start a process
  • Uninstall itself
  • Perform remote shell commands
  • Restart system

(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.. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • http://api-49.{BLOCKED}ecorazioni.it/new_and/Zjs93jLSk.php
  • http://pronto.{BLOCKED}rocetta.it/new_and/Zjs93jLSk.php

Other Details

This backdoor connects to the following URL(s) to check for an Internet connection:

  • yahoo.com
  • google.com
  • bing.com
  • update.microsoft.com
  • microsoft.com

It does the following:

  • This backdoor connects to the following Network Time Protocol(NTP) servers:
    • pool.ntp.org
    • africa.pool.ntp.org
    • oceania.pool.ntp.org
    • asia.pool.ntp.org
    • south-america.pool.ntp.org
    • north-america.pool.ntp.org
    • europe.pool.ntp.org

It gathers the following information and reports it to its servers:

  • Administrator rights
  • Flag keyboard layout
  • Operating system information
  • Local IP address
  • Root volume serial number

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

13.242.03

FIRST VSAPI PATTERN DATE:

25 Feb 2017

VSAPI OPR PATTERN File:

13.243.00

VSAPI OPR PATTERN Date:

26 Feb 2017

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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • ShowSuperHidden = 0
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • Hidden = 2
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • EnableLUA = 0
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • HideSCAHealth = 1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • HideSCAHealth = 1
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • TaskbarNoNotification = 1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • TaskbarNoNotification = 1
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
    • Load

Step 5

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.  
  • %All User Profile%\ms{Random}.exe
  • %All User Profile%\ms{Random Number}.dat
  • %User Temp%\KB{8 Random Numbers}.exe
  • %User Temp%\cdo{Random Number}.dll

Step 6

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