ALIASES:

Backdoor:Win32/Zegost.BX (Microsoft); BackDoor-AWQ!D136859CB6D2 (McAfee); Trojan.Win32.Staser.vyq (Kaspersky); Mal/Emogen-E (Sophos); Trojan.Win32.Zegost.lt (v) (Sunbelt); Trojan horse BackDoor.Generic18.WFN (AVG)

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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 deletes itself after execution.

  TECHNICAL DETAILS

File Size: 101,412 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 08 Sep 2014

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:

  • %Program Files%\Rueagv koymc\Mqowtit.exe

(Note: %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000, Server 2003, and XP (32-bit), Vista (32-bit), and 7 (32-bit), or C:\Program Files (x86) in Windows XP (64-bit), Vista (64-bit), and 7 (64-bit).)

It creates the following folders:

  • %Program Files%\Rueagv koymc

(Note: %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000, Server 2003, and XP (32-bit), Vista (32-bit), and 7 (32-bit), or C:\Program Files (x86) in Windows XP (64-bit), Vista (64-bit), and 7 (64-bit).)

Autostart Technique

This backdoor registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Ruywyy aalycays

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Qcqlze aajewa

Other System Modifications

This backdoor adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Ruywyy aalycays
ReleiceName = "Qcqlze aajewa"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Qcqlze aajewa
ConnectGroup = "0316"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Qcqlze aajewa
MarkTime = "2014-03-16 21:45"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Qcqlze aajewa
Description = "Mqoxey ebvumrmh ememzugioqm"

Dropping Routine

This backdoor drops the following files:

  • %System Root%\7268.vbs

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

Other Details

This backdoor connects to the following possibly malicious URL:

  • http://xiaoxiao530.{BLOCKED}8.com
  • {BLOCKED}0.1
  • {BLOCKED}8.1.122

It deletes itself after execution.

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.700

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

Restart in Safe Mode

[ Learn More ]

Step 3

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\SYSTEM\CurrentControlSet\Services
    • Ruywyy aalycays
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • Qcqlze aajewa

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\SYSTEM\ControlSet001\Services\Ruywyy aalycays
    • ReleiceName = "Qcqlze aajewa"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Qcqlze aajewa
    • ConnectGroup = "0316"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Qcqlze aajewa
    • MarkTime = "2014-03-16 21:45"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Qcqlze aajewa
    • Description = "Mqoxey ebvumrmh ememzugioqm"

Step 5

Search and delete this file

[ 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.
  • %System Root%\7268.vbs

Step 6

Search and delete this folder

[ 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%\Rueagv koymc

Step 7

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