TROJ_CARBERP.LPO

 Analysis by: Jaime Benigno Reyes

 ALIASES:

TrojanDownloader:Win32/Carberp.R (Microsoft), Trojan.Win32.Badur.iidz (Kaspersky), Downloader-FAEN!2A62323AB787 (McAfee)

 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:
 INFORMATION EXPOSURE:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware


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 downloaded by other malware/grayware from remote sites.

It executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

  TECHNICAL DETAILS

File Size:

Varies

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

19 Jun 2014

Payload:

Downloads files

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 downloaded by the following malware/grayware from remote sites:

  • SWF_EXPLOYT.LDBQ

It may be downloaded from the following remote sites:

  • http://{BLOCKED}ta.orizonturiverzi.ro/excodec/ybeastl/mpocketa.php
  • http://{BLOCKED}ta.orizonturiverzi.ro/excodec/ybeastl/nslowu.php?id=4

Installation

This Trojan adds the following folders:

  • %Program Files%\NVIDIA Corporation
  • %Program Files%\NVIDIA Corporation\Update Center
  • %User Temp%\{random}.tmp

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

It drops the following copies of itself into the affected system:

  • %Program Files%\NVIDIA Corporation\Update Center\nv_update.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 drops the following non-malicious file:

  • %User Temp%\{random}.tmp\System.dll - deleted afterwards

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

Autostart Technique

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv
Type = "16"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv
Start = "2"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv
ErrorControl = "0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv
"%Program Files%\NVIDIA Corporation\Update Center\nv_update.exe /svc" = "%Program Files%\NVIDIA Corporation\Update Center\nv_update.exe /svc"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv
DisplayName = "NVIDIA Update Server"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv
"LocalSystem" = "LocalSystem"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv
Description = "NVIDIA Settings Update Manager service, used to check new updates from NVIDIA server"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv\Security
Security = "{hex value}"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv\Enum
0 = "Root\LEGACY_NVUPDSRV\0000"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv\Enum
Count = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv\Enum
NextInstance = "1"

It 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\NvUpdSrv

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv\Security

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NvUpdSrv\Enum

Other System Modifications

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

HKEY_CURRENT_USER\Software\NVIDIA Corporation\
Global\nvUpdSrv
value = "{year}{month}{day}"

HKEY_CURRENT_USER\Software\NVIDIA Corporation\
Global\nvUpdSrv
"{GUID}" = "{GUID}"

It adds the following registry keys as part of its installation routine:

HKEY_CURRENT_USER\Software\!

HKEY_CURRENT_USER\Software\!\
GridTest

HKEY_CURRENT_USER\Software\!\
GridTest\Recent File List

HKEY_CURRENT_USER\Software\!\
GridTest\Settings

HKEY_CURRENT_USER\Software\NVIDIA Corporation

HKEY_CURRENT_USER\Software\NVIDIA Corporation\
Global

HKEY_CURRENT_USER\Software\NVIDIA Corporation\
Global\nvUpdSrv

Download Routine

This Trojan connects to the following URL(s) to download its component file(s):

  • {BLOCKED}.{BLOCKED}.8.132
  • {BLOCKED}.{BLOCKED}.220.132
  • {BLOCKED}.{BLOCKED}.94.2
  • {BLOCKED}.{BLOCKED}.137.229
  • {BLOCKED}.{BLOCKED}.223.11
  • {BLOCKED}.{BLOCKED}.1.99
  • {BLOCKED}.{BLOCKED}.149.16
  • {BLOCKED}.{BLOCKED}.96.17
  • {BLOCKED}.{BLOCKED}.96.151
  • {BLOCKED}.{BLOCKED}.4.167
  • {BLOCKED}.{BLOCKED}.221.232
  • {BLOCKED}.{BLOCKED}.11.50
  • {BLOCKED}.{BLOCKED}.249.243
  • {BLOCKED}.{BLOCKED}.73.170
  • {BLOCKED}.{BLOCKED}.113.145
  • {BLOCKED}.{BLOCKED}.177.172
  • {BLOCKED}.{BLOCKED}.49.35
  • {BLOCKED}.{BLOCKED}.122.65
  • {BLOCKED}.{BLOCKED}.86.71
  • {BLOCKED}.{BLOCKED}.228.36
  • {BLOCKED}.{BLOCKED}.94.44
  • {BLOCKED}.{BLOCKED}.197.36
  • {BLOCKED}.{BLOCKED}.197.56
  • {BLOCKED}.{BLOCKED}.218.194
  • {BLOCKED}.{BLOCKED}.205.159
  • {BLOCKED}.{BLOCKED}.155.234
  • {BLOCKED}.{BLOCKED}.156.4
  • {BLOCKED}.{BLOCKED}.119.254
  • {BLOCKED}.{BLOCKED}.9.220
  • {BLOCKED}.{BLOCKED}.186.236
  • {BLOCKED}.{BLOCKED}.233.189
  • {BLOCKED}.{BLOCKED}.71.36
  • {BLOCKED}.{BLOCKED}.16.140
  • {BLOCKED}.{BLOCKED}.196.144
  • {BLOCKED}.{BLOCKED}.9.198
  • {BLOCKED}.{BLOCKED}.214.110
  • {BLOCKED}.{BLOCKED}.56.156
  • {BLOCKED}.{BLOCKED}.225.5
  • {BLOCKED}.{BLOCKED}.192.21
  • {BLOCKED}.{BLOCKED}.49.22
  • {BLOCKED}.{BLOCKED}.72.1
  • {BLOCKED}.{BLOCKED}.213.177
  • {BLOCKED}.{BLOCKED}.149.176
  • {BLOCKED}.{BLOCKED}.137.149
  • {BLOCKED}.{BLOCKED}.143.129
  • {BLOCKED}.{BLOCKED}.119.203
  • {BLOCKED}.{BLOCKED}.70.40
  • {BLOCKED}.{BLOCKED}.4.190
  • {BLOCKED}.{BLOCKED}.138.236
  • {BLOCKED}.{BLOCKED}.227.1
  • {BLOCKED}.{BLOCKED}.46.11
  • {BLOCKED}.{BLOCKED}.197.130
  • {BLOCKED}.{BLOCKED}.199.36
  • {BLOCKED}.{BLOCKED}.115.196
  • {BLOCKED}.{BLOCKED}.130.99
  • {BLOCKED}.{BLOCKED}.112.72
  • {BLOCKED}.{BLOCKED}.145.16
  • {BLOCKED}.{BLOCKED}.255.157
  • {BLOCKED}.{BLOCKED}.49.215
  • {BLOCKED}.{BLOCKED}.54.156
  • {BLOCKED}.{BLOCKED}.0.72
  • {BLOCKED}.{BLOCKED}.53.165
  • {BLOCKED}.{BLOCKED}.54.133
  • {BLOCKED}.{BLOCKED}.28.66
  • {BLOCKED}.{BLOCKED}.67.39
  • {BLOCKED}.{BLOCKED}.35.102
  • {BLOCKED}.{BLOCKED}.202.226
  • {BLOCKED}.{BLOCKED}.227.159
  • {BLOCKED}.{BLOCKED}.57.194
  • {BLOCKED}.{BLOCKED}.132.140
  • {BLOCKED}.{BLOCKED}.1.171
  • {BLOCKED}.{BLOCKED}.62.4
  • {BLOCKED}.{BLOCKED}.167.0
  • {BLOCKED}.{BLOCKED}.223.12
  • {BLOCKED}.{BLOCKED}.25.160
  • {BLOCKED}.{BLOCKED}.120.18
  • {BLOCKED}.{BLOCKED}.184.178
  • {BLOCKED}.{BLOCKED}.88.151
  • {BLOCKED}.{BLOCKED}.233.83
  • {BLOCKED}.{BLOCKED}.151.187
  • {BLOCKED}.{BLOCKED}.49.140
  • {BLOCKED}.{BLOCKED}.104.178
  • {BLOCKED}.{BLOCKED}.118.200
  • {BLOCKED}.{BLOCKED}.118.230
  • {BLOCKED}.{BLOCKED}.188.228
  • {BLOCKED}.{BLOCKED}.240.170
  • {BLOCKED}.{BLOCKED}.173.34
  • {BLOCKED}.{BLOCKED}.26.250
  • {BLOCKED}.{BLOCKED}.80.55
  • {BLOCKED}.{BLOCKED}.11.115
  • {BLOCKED}.{BLOCKED}.32.138
  • {BLOCKED}.{BLOCKED}.146.134
  • {BLOCKED}.{BLOCKED}.146.1
  • {BLOCKED}.{BLOCKED}.209.226
  • {BLOCKED}.{BLOCKED}.61.112
  • {BLOCKED}.{BLOCKED}.192.11
  • {BLOCKED}.{BLOCKED}.102.29
  • {BLOCKED}.{BLOCKED}.83.215
  • {BLOCKED}.{BLOCKED}.250.32
  • {BLOCKED}.{BLOCKED}.139.225
  • {BLOCKED}.{BLOCKED}.208.226

It saves the files it downloads using the following names:

  • %User Temp%\{random}.tmp.exe

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

It then executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

NOTES:

It downloads files by connecting to the IP address mentioned above and sending an HTTP GET request. It does this by appending the following strings:

  • /stat?uid={value}&downlink={value}&uplink={value}&id={value}&statpass={value}&version={value}&features={value}&guid={value}&comment={value}&p={value}&s={value}

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

10.872.03

FIRST VSAPI PATTERN DATE:

19 Jun 2014

VSAPI OPR PATTERN File:

10.873.00

VSAPI OPR PATTERN Date:

20 Jun 2014

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

Remove malware/grayware files that dropped/downloaded TROJ_CARBERP.LPO. (Note: Please skip this step if the threats listed below have already been removed.)

     
    • SWF_EXPLOYT.LDBQ

Step 3

Restart in Safe Mode

[ Learn More ]

Step 4

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • NvUpdSrv
  • In HKEY_CURRENT_USER\Software
    • !
  • In HKEY_CURRENT_USER\Software\NVIDIA Corporation\Global
    • nvUpdSrv

Step 5

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 Temp%\{random}.tmp

Step 6

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.
  • %User Temp%\{random}.tmp.exe

Step 7

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