TROJ_RAMNIT.C


 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


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.

  TECHNICAL DETAILS

File Size:

192,512 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

04 Dec 2015

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.

Installation

This Trojan drops the following copies of itself into the affected system:

  • %User Temp%\culufdxb.exe

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

It creates the following folders:

  • %Application Data%\ksfaknih
  • :\Documents and Settings
  • :\Documents and Settings\Wilbert
  • :\Documents and Settings\Wilbert\Local Settings
  • :\Documents and Settings\Wilbert\Local Settings\Application Data
  • :\Documents and Settings\Wilbert\Local Settings\Application Data\ksfaknih

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

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
SywPuqox = "%Application Data%\ksfaknih\sywpuqox.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
SywPuqox = ":\Documents and Settings\Wilbert\Local Settings\Application Data\ksfaknih\sywpuqox.ex"

It modifies the following registry entries to ensure it automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
Userinit = "%System%\userinit.exe,,%Application Data%\ksfaknih\sywpuqox.exe"

(Note: The default value data of the said registry entry is %Windows%\system32\userinit.exe,.)

Other System Modifications

This Trojan modifies the following file(s):

  • %Program Files%\COMMON FILES\MSSOAP\BINARIES\RESOURCES\1033\mssoapr.dll
  • %Program Files%\COMMON FILES\SYSTEM\OLE DB\oledb32r.dll

(Note: %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.)

It deletes the following files:

  • %User Temp%\culufdxb.exe:Zone.Identifier
  • %Application Data%\msowwqel.log
  • %Application Data%\vtmxyiqq.log
  • %Application Data%\ajbpdvai.log
  • %Program Files%\COMMON FILES\MSSOAP\BINARIES\RESOURCES\1033\mssoapr.dll
  • %Program Files%\COMMON FILES\SYSTEM\OLE DB\oledb32r.dll
  • %User Temp%\Low\jbskaxmv.exe:Zone.Identifier

(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.. %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.. %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.)

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion
jfghdug_ooetvtgk = "TRUE"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
system
EnableLUA = "0"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
UacDisableNotify = "1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile
EnableFirewall = "0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile
DoNotAllowExceptions = "0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile
DisableNotifications = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\
Adobe ARM\1.0\ARM
iCheckReader = "3"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
AntiVirusOverride = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
AntiVirusDisableNotify = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
FirewallDisableNotify = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
FirewallOverride = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
UpdatesDisableNotify = "1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\wscsvc
Start = "4"

(Note: The default value data of the said registry entry is 2.)

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\wuauserv
Start = "4"

(Note: The default value data of the said registry entry is 2.)

Dropping Routine

This Trojan drops the following files:

  • %User Profile%\Application Data\awknqjyx.log
  • %Application Data%\mvcpsuuw.log
  • %Application Data%\iyfrhrbt.log
  • %User Temp%\~TMF.tmp
  • %Application Data%\mbbbdqvk.log
  • %System%\Macromed\Flash\mms.cfg
  • %Application Data%\vulabmdk.log
  • %Application Data%\tcrdonyh.log
  • %Application Data%\cbe3a02adead.log
  • %User Temp%\jbskaxmv.exe
  • %Application Data%\ksfaknih\sywpuqox.exe
  • %User Startup%\sywpuqox.exe
  • :\Documents and Settings\Wilbert\Local Settings\Application Data\ksfaknih\sywpuqox.ex
  • %User Temp%\culufdxb.exe
  • %User Temp%\Low\jbskaxmv.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.. %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.. %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.. %User Startup% is the current user's Startup folder, which is usually C:\Documents and Settings\{user}\Start Menu\Programs\Startup on Windows 2000 and XP, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows Vista, 7, and 8.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • {BLOCKED}.219.46
  • {BLOCKED}8.117.40
  • {BLOCKED}0.1
  • {BLOCKED}16.8
  • {BLOCKED}8.2.126
  • {BLOCKED}8.2.127
  • {BLOCKED}8.2.128
  • {BLOCKED}8.2.129
  • {BLOCKED}8.2.130
  • {BLOCKED}8.2.131
  • {BLOCKED}8.2.132
  • {BLOCKED}.65.78
  • {BLOCKED}8.2.133
  • {BLOCKED}8.2.134
  • {BLOCKED}8.2.135
  • {BLOCKED}8.2.136
  • {BLOCKED}8.2.137
  • {BLOCKED}8.2.138
  • {BLOCKED}8.2.139
  • {BLOCKED}8.2.140
  • {BLOCKED}8.2.141
  • {BLOCKED}8.2.142
  • {BLOCKED}8.2.143
  • {BLOCKED}8.2.144
  • {BLOCKED}8.2.145
  • {BLOCKED}8.2.146

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.8

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

Identify and delete files detected as TROJ_RAMNIT.C using either the Startup Disk or Recovery Console

[ Learn More ]

Step 3

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\Run
    • SywPuqox = "%Application Data%\ksfaknih\sywpuqox.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • SywPuqox = ":\Documents and Settings\Wilbert\Local Settings\Application Data\ksfaknih\sywpuqox.ex"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    • jfghdug_ooetvtgk = "TRUE"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
    • EnableLUA = "0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • UacDisableNotify = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
    • EnableFirewall = "0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
    • DoNotAllowExceptions = "0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
    • DisableNotifications = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe ARM\1.0\ARM
    • iCheckReader = "3"

Step 4

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • AntiVirusOverride = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • AntiVirusDisableNotify = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • FirewallDisableNotify = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • FirewallOverride = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • UpdatesDisableNotify = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wscsvc
    • From: Start = "4"
      To: Start = ""2""
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wuauserv
    • From: Start = "4"
      To: Start = ""2""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • From: Userinit = "%System%\userinit.exe,,%Application Data%\ksfaknih\sywpuqox.exe"
      To: Userinit = ""%Windows%\system32\userinit.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%\Application Data\awknqjyx.log
  • %Application Data%\mvcpsuuw.log
  • %Application Data%\iyfrhrbt.log
  • %User Temp%\~TMF.tmp
  • %Application Data%\mbbbdqvk.log
  • %System%\Macromed\Flash\mms.cfg
  • %Application Data%\vulabmdk.log
  • %Application Data%\tcrdonyh.log
  • %Application Data%\cbe3a02adead.log
  • %User Temp%\jbskaxmv.exe
  • %Application Data%\ksfaknih\sywpuqox.exe
  • %User Startup%\sywpuqox.exe
  • :\Documents and Settings\Wilbert\Local Settings\Application Data\ksfaknih\sywpuqox.ex
  • %User Temp%\culufdxb.exe
  • %User Temp%\Low\jbskaxmv.exe

Step 6

Search and delete these folders

[ 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.
  • %Application Data%\ksfaknih
  • :\Documents and Settings
  • :\Documents and Settings\Wilbert
  • :\Documents and Settings\Wilbert\Local Settings
  • :\Documents and Settings\Wilbert\Local Settings\Application Data
  • :\Documents and Settings\Wilbert\Local Settings\Application Data\ksfaknih

Step 7

Scan your computer with your Trend Micro product to delete files detected as TROJ_RAMNIT.C. 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 deleted/modified files and/or registry entries from backup

*Note: Only Microsoft-related files/keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

    • %Program Files%\COMMON FILES\MSSOAP\BINARIES\RESOURCES\1033\mssoapr.dll
    • %Program Files%\COMMON FILES\SYSTEM\OLE DB\oledb32r.dll

Step 9

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.

  • %User Temp%\culufdxb.exe:Zone.Identifier
  • %Application Data%\msowwqel.log
  • %Application Data%\vtmxyiqq.log
  • %Application Data%\ajbpdvai.log
  • %Program Files%\COMMON FILES\MSSOAP\BINARIES\RESOURCES\1033\mssoapr.dll
  • %Program Files%\COMMON FILES\SYSTEM\OLE DB\oledb32r.dll
  • %User Temp%\Low\jbskaxmv.exe:Zone.Identifier


Did this description help? Tell us how we did.