ALIASES:

TrojanProxy:BAT/Dafterdod.F, Trojan:Win32/Dafterdod.D (Microsoft); RDN/Generic Dropper!xa (McAfee); Trojan.Gen (Symantec); Trojan-Ransom.NSIS.Onion.ut (Kaspersky); Troj/Glupteba-B (Sophos); Trojan.Win32.Generic!BT (Sunbelt); Trojan:W32/Qhost.WE (FSecure); Trojan horse Inject2.CGHU.dropper (AVG)

 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: 453,282 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 11 Jul 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 creates the following folders:

  • %User Temp%\$inst
  • %Program Files%\Napnut
  • %Program Files%\Napnut\Nezavisimo
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nsc12.tmp

(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.. %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.. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %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 Trojan adds the following registry entries to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Nezavisimo = "%Program Files%\Napnut\Nezavisimo\krip.exe"

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\$inst\21.tmp
  • %User Temp%\$inst\51.tmp
  • %User Temp%\nsxE.tmp
  • %User Temp%\nsc12.tmp
  • %User Temp%\$inst\0.tmp
  • %User Temp%\$inst\1.tmp
  • %User Temp%\$inst\3.tmp
  • %User Temp%\$inst\4.tmp
  • %User Temp%\$inst\5.tmp
  • %User Temp%\$inst\6.tmp
  • %User Temp%\$inst\7.tmp
  • %User Temp%\$inst\8.tmp
  • %User Temp%\$inst\9.tmp
  • %User Temp%\$inst\10.tmp
  • %User Temp%\$inst\11.tmp
  • %User Temp%\$inst\12.tmp
  • %User Temp%\$inst\13.tmp
  • %User Temp%\$inst\14.tmp
  • %User Temp%\$inst\15.tmp
  • %User Temp%\$inst\16.tmp
  • %User Temp%\$inst\17.tmp
  • %User Temp%\$inst\20.tmp
  • %User Temp%\$inst\50.tmp

(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 adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5

HKEY_CURRENT_USER\SOFTWARE\NVIDIA Corporation\
Global\nvUpdate

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
DisplayName = "Nezavisimo 1.5"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
DisplayVersion = "1.5"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
VersionMajor = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
VersionMinor = "5"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
Publisher = "Napnut"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
DisplayIcon = "%Program Files%\Napnut\Nezavisimo\Uninstall.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
UninstallString = "%Program Files%\Napnut\Nezavisimo\Uninstall.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
InstallLocation = "%Program Files%\Napnut\Nezavisimo"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
InstallDate = "20150602"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
Language = "49"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
EstimatedSize = "13f"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
NoModify = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Nezavisimo 1.5
NoRepair = "1"

HKEY_CURRENT_USER\Software\NVIDIA Corporation\
Global\nvUpdate
value = "20150407"

HKEY_CURRENT_USER\Software\NVIDIA Corporation\
Global\nvUpdate
GUID = "16e6d933-5947-4e98-8005-ba3226d83a79"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
IpAddress = "0.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
SubnetMask = "255.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
DhcpIPAddress = "0.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
DhcpSubnetMask = "255.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
NameServer = "162.218.233.226,8.8.4.4"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
IpAddress = "0.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
SubnetMask = "255.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
DhcpIPAddress = "0.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
DhcpSubnetMask = "255.0.0.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
EnableDHCP = "1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters\
Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
NameServer = "162.218.233.226,8.8.4.4"

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\$inst\2.tmp
  • %User Temp%\$inst\temp_0.tmp
  • %Program Files%\Napnut\Nezavisimo\Uninstall.ini
  • %User Temp%\nsn10.tmp
  • %User Temp%\tag(3)
  • %User Temp%\photo(3).jpg
  • %User Temp%\photo.jpg
  • %User Temp%\bluekai.js
  • %User Temp%\A Weekend in the City.log
  • %User Temp%\hjadu8i1ouayidna1
  • %User Temp%\nsc12.tmp\Giles.dll

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

Other Details

This Trojan connects to the following possibly malicious URL:

  • {BLOCKED}0.1
  • {BLOCKED}.80.38
  • {BLOCKED}8.233.226

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.750

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\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    • Nezavisimo 1.5
  • In HKEY_CURRENT_USER\SOFTWARE\NVIDIA Corporation\Global
    • nvUpdate

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
    • Nezavisimo = "%Program Files%\Napnut\Nezavisimo\krip.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • DisplayName = "Nezavisimo 1.5"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • DisplayVersion = "1.5"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • VersionMajor = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • VersionMinor = "5"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • Publisher = "Napnut"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • DisplayIcon = "%Program Files%\Napnut\Nezavisimo\Uninstall.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • UninstallString = "%Program Files%\Napnut\Nezavisimo\Uninstall.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • InstallLocation = "%Program Files%\Napnut\Nezavisimo"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • InstallDate = "20150602"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • Language = "49"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • EstimatedSize = "13f"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • NoModify = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Nezavisimo 1.5
    • NoRepair = "1"
  • In HKEY_CURRENT_USER\Software\NVIDIA Corporation\Global\nvUpdate
    • value = "20150407"
  • In HKEY_CURRENT_USER\Software\NVIDIA Corporation\Global\nvUpdate
    • GUID = "16e6d933-5947-4e98-8005-ba3226d83a79"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
    • IpAddress = "0.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
    • SubnetMask = "255.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
    • DhcpIPAddress = "0.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
    • DhcpSubnetMask = "255.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{706C9A23-9058-4780-9179-0EE8467AACB4}
    • NameServer = "162.218.233.226,8.8.4.4"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
    • IpAddress = "0.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
    • SubnetMask = "255.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
    • DhcpIPAddress = "0.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
    • DhcpSubnetMask = "255.0.0.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
    • EnableDHCP = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\{DAE77112-CC69-4B9B-B0BB-8B4C380B15D1}
    • NameServer = "162.218.233.226,8.8.4.4"

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 Temp%\$inst\2.tmp
  • %User Temp%\$inst\temp_0.tmp
  • %Program Files%\Napnut\Nezavisimo\Uninstall.ini
  • %User Temp%\nsn10.tmp
  • %User Temp%\tag(3)
  • %User Temp%\photo(3).jpg
  • %User Temp%\photo.jpg
  • %User Temp%\bluekai.js
  • %User Temp%\A Weekend in the City.log
  • %User Temp%\hjadu8i1ouayidna1
  • %User Temp%\nsc12.tmp\Giles.dll

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.
  • %User Temp%\$inst
  • %Program Files%\Napnut
  • %Program Files%\Napnut\Nezavisimo
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nsc12.tmp

Step 7

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

  • %User Temp%\$inst\0.tmp
  • %User Temp%\$inst\1.tmp
  • %User Temp%\$inst\3.tmp
  • %User Temp%\$inst\4.tmp
  • %User Temp%\$inst\5.tmp
  • %User Temp%\$inst\6.tmp
  • %User Temp%\$inst\7.tmp
  • %User Temp%\$inst\8.tmp
  • %User Temp%\$inst\9.tmp
  • %User Temp%\$inst\10.tmp
  • %User Temp%\$inst\11.tmp
  • %User Temp%\$inst\12.tmp
  • %User Temp%\$inst\13.tmp
  • %User Temp%\$inst\14.tmp
  • %User Temp%\$inst\15.tmp
  • %User Temp%\$inst\16.tmp
  • %User Temp%\$inst\17.tmp
  • %User Temp%\$inst\20.tmp
  • %User Temp%\$inst\50.tmp
  • %User Temp%\$inst\21.tmp
  • %User Temp%\$inst\51.tmp
  • %User Temp%\nsxE.tmp
  • %User Temp%\nsc12.tmp


Did this description help? Tell us how we did.