BKDR_XTRAT.BF


 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 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.

  TECHNICAL DETAILS

File Size:

201,728 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

09 Sep 2013

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:

  • %User Profile%\system\system.exe

(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

It creates the following folders:

  • %User Profile%\Application Data\system

(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

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\Run
HKLM = "%User Profile%\system\system.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
HKCU = "%User Profile%\system\system.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{BX84084N-517N-AHO7-5F7P-XJ2E411KCN36}
StubPath = "%User Profile%\system\system.exe restart"

Other System Modifications

This backdoor deletes the following files:

  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.164.42953
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.164.42968
  • %User Profile%\v2.0.50727.42\security.config.cch.164.43125
  • %User Profile%\Windows\H8KLk.xtr
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2020.98921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2020.98921
  • %User Profile%\v2.0.50727.42\security.config.cch.2020.101656
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.128.100703
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.128.100703
  • %User Profile%\v2.0.50727.42\security.config.cch.128.103828
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1520.98640
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1520.98640
  • %User Profile%\v2.0.50727.42\security.config.cch.1520.101390
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1260.103328
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1260.103531
  • %User Profile%\v2.0.50727.42\security.config.cch.1260.107812
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.468.104062
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.468.104328
  • %User Profile%\v2.0.50727.42\security.config.cch.468.107906
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.596.108921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.596.109187
  • %User Profile%\v2.0.50727.42\security.config.cch.596.112734
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.632.110546
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.632.110890
  • %User Profile%\v2.0.50727.42\security.config.cch.632.115046
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.336.119343
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.336.119359
  • %User Profile%\v2.0.50727.42\security.config.cch.336.123281
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1376.118171
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1376.118171
  • %User Profile%\v2.0.50727.42\security.config.cch.1376.122390
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.756.129875
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.756.130453
  • %User Profile%\v2.0.50727.42\security.config.cch.756.135125
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.164.124781
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.164.124968
  • %User Profile%\v2.0.50727.42\security.config.cch.164.129437
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1840.128500
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1840.128500
  • %User Profile%\v2.0.50727.42\security.config.cch.1840.133750
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1980.130515
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1980.130515
  • %User Profile%\v2.0.50727.42\security.config.cch.1980.134562
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2068.135921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2068.135921
  • %User Profile%\v2.0.50727.42\security.config.cch.2068.141203
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2100.133812
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2100.133812
  • %User Profile%\v2.0.50727.42\security.config.cch.2100.140921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2140.136750
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2140.137062
  • %User Profile%\v2.0.50727.42\security.config.cch.2140.144625
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2128.143343
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2128.143343
  • %User Profile%\v2.0.50727.42\security.config.cch.2128.147078
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2188.146703
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2188.146703
  • %User Profile%\v2.0.50727.42\security.config.cch.2188.152953
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2244.150406
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2244.151156
  • %User Profile%\v2.0.50727.42\security.config.cch.2244.155750
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2320.148093
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2320.148390
  • %User Profile%\v2.0.50727.42\security.config.cch.2320.152937
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2396.154312
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2396.154578
  • %User Profile%\v2.0.50727.42\security.config.cch.2396.158265
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2456.154296
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2456.154921
  • %User Profile%\v2.0.50727.42\security.config.cch.2456.158546

(Note: %Windows% is the Windows folder, which is usually C:\Windows.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

It adds the following registry keys:

HKEY_CURRENT_USER\SOFTWARE\H8KLk

HKEY_LOCAL_MACHINE\Software\Microsoft\
Active Setup\Installed Components\{BX84084N-517N-AHO7-5F7P-XJ2E411KCN36}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\H8KLk
ServerStarted = "8/26/2013 23:31:01 PM"

HKEY_CURRENT_USER\Software\H8KLk
InstalledServer = "%User Profile%\system\system.exe"

Dropping Routine

This backdoor drops the following files:

  • %User Profile%\Windows\H8KLk.cfg
  • %User Temp%\x.html

(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.)

Other Details

This backdoor connects to the following possibly malicious URL:

  • http://mda.{BLOCKED}p.org:300/1234567890.functions

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.300

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_CURRENT_USER\SOFTWARE
    • H8KLk
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components
    • {BX84084N-517N-AHO7-5F7P-XJ2E411KCN36}

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
    • HKLM = "%User Profile%\system\system.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • HKCU = "%User Profile%\system\system.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{BX84084N-517N-AHO7-5F7P-XJ2E411KCN36}
    • StubPath = "%User Profile%\system\system.exe restart"
  • In HKEY_CURRENT_USER\Software\H8KLk
    • ServerStarted = "8/26/2013 23:31:01 PM"
  • In HKEY_CURRENT_USER\Software\H8KLk
    • InstalledServer = "%User Profile%\system\system.exe"

Step 5

Search and delete these components

[ Learn More ]
There may be some components 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 Profile%\Windows\H8KLk.cfg
  • %User Temp%\x.html

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.
  • %User Profile%\Application Data\system

Step 7

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

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.164.42953
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.164.42968
  • %User Profile%\v2.0.50727.42\security.config.cch.164.43125
  • %User Profile%\Windows\H8KLk.xtr
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2020.98921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2020.98921
  • %User Profile%\v2.0.50727.42\security.config.cch.2020.101656
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.128.100703
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.128.100703
  • %User Profile%\v2.0.50727.42\security.config.cch.128.103828
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1520.98640
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1520.98640
  • %User Profile%\v2.0.50727.42\security.config.cch.1520.101390
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1260.103328
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1260.103531
  • %User Profile%\v2.0.50727.42\security.config.cch.1260.107812
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.468.104062
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.468.104328
  • %User Profile%\v2.0.50727.42\security.config.cch.468.107906
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.596.108921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.596.109187
  • %User Profile%\v2.0.50727.42\security.config.cch.596.112734
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.632.110546
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.632.110890
  • %User Profile%\v2.0.50727.42\security.config.cch.632.115046
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.336.119343
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.336.119359
  • %User Profile%\v2.0.50727.42\security.config.cch.336.123281
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1376.118171
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1376.118171
  • %User Profile%\v2.0.50727.42\security.config.cch.1376.122390
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.756.129875
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.756.130453
  • %User Profile%\v2.0.50727.42\security.config.cch.756.135125
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.164.124781
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.164.124968
  • %User Profile%\v2.0.50727.42\security.config.cch.164.129437
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1840.128500
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1840.128500
  • %User Profile%\v2.0.50727.42\security.config.cch.1840.133750
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.1980.130515
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.1980.130515
  • %User Profile%\v2.0.50727.42\security.config.cch.1980.134562
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2068.135921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2068.135921
  • %User Profile%\v2.0.50727.42\security.config.cch.2068.141203
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2100.133812
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2100.133812
  • %User Profile%\v2.0.50727.42\security.config.cch.2100.140921
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2140.136750
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2140.137062
  • %User Profile%\v2.0.50727.42\security.config.cch.2140.144625
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2128.143343
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2128.143343
  • %User Profile%\v2.0.50727.42\security.config.cch.2128.147078
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2188.146703
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2188.146703
  • %User Profile%\v2.0.50727.42\security.config.cch.2188.152953
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2244.150406
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2244.151156
  • %User Profile%\v2.0.50727.42\security.config.cch.2244.155750
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2320.148093
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2320.148390
  • %User Profile%\v2.0.50727.42\security.config.cch.2320.152937
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2396.154312
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2396.154578
  • %User Profile%\v2.0.50727.42\security.config.cch.2396.158265
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.2456.154296
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.2456.154921
  • %User Profile%\v2.0.50727.42\security.config.cch.2456.158546


Did this description help? Tell us how we did.