BKDR_CRUGUP.AF
Backdoor:Win32/Crugup.A (Microsoft), Trojan.Win32.Reconyc.eoun (Kaspersky), RDN/Downloader.a!vt (McAfee)
Windows
Threat Type: Backdoor
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
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 sends the information it gathers to remote users via HTTP Post.
TECHNICAL DETAILS
83495 bytes
EXE
Yes
10 Jun 2015
Steals information, Connects to URLs/IPs
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 and executes them:
- %Application Data%\{Folder Name}\svchost.exe
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming 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 creates the following folders:
- %Application Data%\{Folder Name}
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming 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 mutexes to ensure that only one of its copies runs at any one time:
- GH5K-GKL8-CPP4-DE24
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
z64_kernel = %Application Data%\{Folder Name}\svchost.exe
HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
z64_kernel = %Application Data%\{Folder Name}\svchost.exe
Other System Modifications
This backdoor adds the following registry entries:
HKEY_CURRENT_USER\Software\cppguru
mv = Mi4wNQ== (base64 encoded version = 2.05)
It creates the following registry entry(ies) to bypass Windows Firewall:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
for Windows XP and Windows 2003
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\
services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
for Windows XP and Windows 2003
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\
services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
for Windows XP and Windows 2003
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
for Windows XP and Windows 2003
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\SharedAccess\Parameters\
FirewallPolicy\FirewallRules
{GUID} = v{version number}|Action=Allow|Active=TRUE|Dir=In|App=%Application Data%\{Folder Name}\svchost.exe|Name=madservice|
for Windows 7, Windows 8 and Windows Vista
Backdoor Routine
This backdoor executes the following commands from a remote malicious user:
- Use Internet Explorer to connect to remote sites
- Download and execute file
- Update itself
- Delete itself
- Perform denial of service attacks
It connects to the following URL(s) to send and receive commands from a remote malicious user:
- http://{BLOCKED}egtxx.ws/gamers/index.php
As of this writing, the said sites are inaccessible.
Download Routine
This backdoor saves the files it downloads using the following names:
- %Application Data%\sqlite3.dll
- %Application Data%\mg.exe
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming 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.)
Information Theft
This backdoor gathers the following data:
- Volume serial number
- OS Version
- If the machine is running with administrative priviliges
Drop Points
This backdoor sends the information it gathers to remote users via HTTP Post.
NOTES:
The variable {Folder Name} in the entries above is the first eight digits of the Volume Serial Number.
It uses the following User Agents:
- Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060731 Firefox/1.5.0.5 Flock/0.7.4.1
- Mozilla/5.0 (X11; U; Linux 2.4.2-2 i586; en-US; m18) Gecko/20010131 Netscape6/6.01
- Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.2; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
- Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
- Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.6) Gecko/20011128
- Mozilla/4.0 (MobilePhone SCP-5500/US/1.0) NetFront/3.0 MMP/2.0 (compatible; Googlebot/2.1; http://www.google.com/bot.html)
- Mozilla/4.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
- Mozilla/4.0 (Windows NT 5.1; U; en) Presto/2.5.22 Version/10.50
- Mozilla/4.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020326
- Opera/10.80 (SunOS 5.8 sun4u; U) Opera 10.8 [en]
It restarts the affected system if it is able to find these following files in the process folder path of running processes:
- ollydbg.ini
- Symsrv.dll
- SDRemote.dll
- icedat.dll
- nmtrans.dll
- srcsrv.dll
- ImmunityDebugger.ini
- ida.key
- libdwarf.dll
It creates the following files then deletes it afterwards:
- {malware path}\per which contains the following strings:
- "{registry key} [7]" - to make the registry key have a Full Access permission
- "{registry key} [8]" - to make the registry key Read Access permission
The variable {registry key} may be any of the following:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
It executes the following commands to change the registry access permission:
- regini per
It prevents the manual removal of the dropped copy of itself by executing the following command to change the permission to read or execute:
- cmd /c echo Y|CACLS {%Application Data%\(Folder Name)\svchost.exe} /P {User Name}:R
- cmd /c echo Y|CACLS {%Application Data%\(Folder Name)} /P {User Name}:R
SOLUTION
9.800
11.752.04
25 Jun 2015
11.753.00
26 Jun 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
Identify and terminate files detected as BKDR_CRUGUP.AF
- Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
- If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
- If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.
Step 4
Delete this registry key
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.
- HKEY_CURRENT_USER\Software\cppguru
Step 5
Delete this registry value
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
- z64_kernel = %Application Data%\{Folder Name}\svchost.exe
- z64_kernel = %Application Data%\{Folder Name}\svchost.exe
- In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- z64_kernel = %Application Data%\{Folder Name}\svchost.exe
- z64_kernel = %Application Data%\{Folder Name}\svchost.exe
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- %Application Data%\{Folder Name}\svchost.exe = %Application Data%\{Folder Name}\svchost.exe:*:Enabled:svchost.exe
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules
- {GUID} = v{version number}|Action=Allow|Active=TRUE|Dir=In|App=%Application Data%\{Folder Name}\svchost.exe|Name=madservice|
- {GUID} = v{version number}|Action=Allow|Active=TRUE|Dir=In|App=%Application Data%\{Folder Name}\svchost.exe|Name=madservice|
Step 6
Search and delete these folders
- %Application Data%\{Folder Name}
Step 7
Scan your computer with your Trend Micro product to delete files detected as BKDR_CRUGUP.AF. 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.