ADW_BADINS
Windows 2000, Windows XP, Windows Server 2003
Threat Type: Adware
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This adware 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
196,408 bytes
EXE
No
07 Mar 2014
Arrival Details
This adware 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 adware drops the following copies of itself into the affected system:
- %User Profile%\Application Data\.exe
- %User Temp%\nsd3.tmp\.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.. %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 creates the following folders:
- %System Root%\DOCUME~1
- %System Root%\DOCUME~1\Wilbert
- %User Profile%\LOCALS~1
- %User Temp%\nsd3.tmp
- %System Root%\Documents and Settings\Wilbert
- %User Profile%\Application Data\viddyhddownload
- %User Temp%\nsf18.tmp
(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %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 System Modifications
This adware modifies the following file(s):
- %System%\WBEM\AutoRecover\88744D2A29102FC88ECF505DD2E984FC.mof
(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)
It deletes the following files:
- %User Temp%\nsd1.tmp
- %User Temp%\nsd3.tmp
- %User Temp%\nsd3.tmp\ns13.tmp
- %User Temp%\nsd3.tmp\ns32.tmp
- %User Temp%\nsd3.tmp\ns37.tmp
- %User Temp%\nsd3.tmp\ns3B.tmp
- %User Temp%\nsd3.tmp\ns40.tmp
- %User Temp%\nsd3.tmp\ns44.tmp
- %User Temp%\nsd3.tmp\ns49.tmp
- %User Temp%\nsd3.tmp\ns4E.tmp
- %User Temp%\nsd3.tmp\ns52.tmp
- %User Temp%\nsv16.tmp
- %User Temp%\nsf18.tmp
(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 adds the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Wbem\WMIC
HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Wbem\WMIC
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
mofcompstatus = "0"
HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
WMICLC = "0"
HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
mofcompMUIStatus = "0"
HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
mofcompMUIStatus = "ffffffff"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
Cli.mof = "127360152460000000"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
CliEgAliases.mof = "127360152460000000"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
CliEgAliases.mfl = "127360152460000000"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
mofcompstatus = "1"
HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
WMICLC = "49"
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs timestamp = "130364130195736250"
(Note: The default value data of the said registry entry is 129689362348742500.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs = "{random characters}"
(Note: The default value data of the said registry entry is {random values}.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs timestamp = "130364130598080000"
(Note: The default value data of the said registry entry is 129689362348742500.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs timestamp = "130364130602767500"
(Note: The default value data of the said registry entry is 129689362348742500.)
Dropping Routine
This adware drops the following files:
- %User Temp%\nsd3.tmp\IpConfig.dll
- %User Temp%\nsd3.tmp\System.dll
- %User Temp%\nsd3.tmp\UserInfo.dll
- %User Temp%\nsd3.tmp\inetc.dll
- %User Temp%\nsd3.tmp\tmp_13242.txt
- %User Temp%\nsd3.tmp\registry.dll
- %User Temp%\nsd3.tmp\nsExec.dll
- %User Temp%\nsd3.tmp\av.vbs
- %User Temp%\nsf18.tmp\IpConfig.dll
- %User Temp%\nsf18.tmp\System.dll
- %User Temp%\nsf18.tmp\UserInfo.dll
- %User Temp%\nsf18.tmp\ThreadTimer.dll
- %User Temp%\nsf18.tmp\inetc.dll
- %User Temp%\nsf18.tmp\request.txt
- %User Temp%\tmp20.tmp
- %User Temp%\tmp27.tmp
- %System%\WBEM\AutoRecover\C8463ECBE33BC240263A0B094E46D510.mof
- %User Temp%\tmp2D.tmp
- %System%\WBEM\AutoRecover\23BDE61F1F4FACE17E9B0C01F2A1FD9B.mof
- TempWmicBatchFile.bat
- %User Temp%\nsd3.tmp\ns13.tmp
- %User Temp%\nsd3.tmp\ns32.tmp
- %User Temp%\nsd3.tmp\ns37.tmp
- %User Temp%\nsd3.tmp\ns3B.tmp
- %User Temp%\nsd3.tmp\ns40.tmp
- %User Temp%\nsd3.tmp\ns44.tmp
- %User Temp%\nsd3.tmp\ns49.tmp
- %User Temp%\nsd3.tmp\ns4E.tmp
- %User Temp%\nsd3.tmp\ns52.tmp
- %User Temp%\nsd3.tmp\ns5B.tmp
(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.. %System% is the Windows system folder, which is usually C:\Windows\System32.)
Other Details
This adware connects to the following possibly malicious URL:
- http://html.{BLOCKED}ddownload.com/installer/requestid.php?uid=00101
- http://html.{BLOCKED}ddownload.com/harvester.php?{random characters}
- http://html.{BLOCKED}ddownload.com/installer/pop_request.php?{random characters}
This report is generated via an automated analysis system.
SOLUTION
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
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.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wbem\
- WMIC
- In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wbem\
- WMIC
Step 3
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\WBEM\WMIC
- mofcompstatus = "0"
- In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
- WMICLC = "0"
- In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
- mofcompMUIStatus = "0"
- In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
- mofcompMUIStatus = "ffffffff"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
- Cli.mof = "127360152460000000"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
- CliEgAliases.mof = "127360152460000000"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
- CliEgAliases.mfl = "127360152460000000"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
- mofcompstatus = "1"
- In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
- WMICLC = "49"
Step 4
Restore these modified registry values
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\WBEM\CIMOM
- From: Autorecover MOFs timestamp = "130364130195736250"
To: Autorecover MOFs timestamp = ""129689362348742500""
- From: Autorecover MOFs timestamp = "130364130195736250"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
- From: Autorecover MOFs = "{random characters}"
To: Autorecover MOFs = ""{random values}""
- From: Autorecover MOFs = "{random characters}"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
- From: Autorecover MOFs timestamp = "130364130598080000"
To: Autorecover MOFs timestamp = ""129689362348742500""
- From: Autorecover MOFs timestamp = "130364130598080000"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
- From: Autorecover MOFs timestamp = "130364130602767500"
To: Autorecover MOFs timestamp = ""129689362348742500""
- From: Autorecover MOFs timestamp = "130364130602767500"
Step 5
Search and delete these components
- %User Temp%\nsd3.tmp\IpConfig.dll
- %User Temp%\nsd3.tmp\System.dll
- %User Temp%\nsd3.tmp\UserInfo.dll
- %User Temp%\nsd3.tmp\inetc.dll
- %User Temp%\nsd3.tmp\tmp_13242.txt
- %User Temp%\nsd3.tmp\registry.dll
- %User Temp%\nsd3.tmp\nsExec.dll
- %User Temp%\nsd3.tmp\av.vbs
- %User Temp%\nsf18.tmp\IpConfig.dll
- %User Temp%\nsf18.tmp\System.dll
- %User Temp%\nsf18.tmp\UserInfo.dll
- %User Temp%\nsf18.tmp\ThreadTimer.dll
- %User Temp%\nsf18.tmp\inetc.dll
- %User Temp%\nsf18.tmp\request.txt
- %User Temp%\tmp20.tmp
- %User Temp%\tmp27.tmp
- %System%\WBEM\AutoRecover\C8463ECBE33BC240263A0B094E46D510.mof
- %User Temp%\tmp2D.tmp
- %System%\WBEM\AutoRecover\23BDE61F1F4FACE17E9B0C01F2A1FD9B.mof
- TempWmicBatchFile.bat
- %User Temp%\nsd3.tmp\ns13.tmp
- %User Temp%\nsd3.tmp\ns32.tmp
- %User Temp%\nsd3.tmp\ns37.tmp
- %User Temp%\nsd3.tmp\ns3B.tmp
- %User Temp%\nsd3.tmp\ns40.tmp
- %User Temp%\nsd3.tmp\ns44.tmp
- %User Temp%\nsd3.tmp\ns49.tmp
- %User Temp%\nsd3.tmp\ns4E.tmp
- %User Temp%\nsd3.tmp\ns52.tmp
- %User Temp%\nsd3.tmp\ns5B.tmp
Step 6
Search and delete these folders
- %System Root%\DOCUME~1
- %System Root%\DOCUME~1\Wilbert
- %User Profile%\LOCALS~1
- %User Temp%\nsd3.tmp
- %System Root%\Documents and Settings\Wilbert
- %User Profile%\Application Data\viddyhddownload
- %User Temp%\nsf18.tmp
Step 7
Scan your computer with your Trend Micro product to delete files detected as ADW_BADINS. 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.
- %System%\WBEM\AutoRecover\88744D2A29102FC88ECF505DD2E984FC.mof
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%\nsd1.tmp
- %User Temp%\nsd3.tmp
- %User Temp%\nsd3.tmp\ns13.tmp
- %User Temp%\nsd3.tmp\ns32.tmp
- %User Temp%\nsd3.tmp\ns37.tmp
- %User Temp%\nsd3.tmp\ns3B.tmp
- %User Temp%\nsd3.tmp\ns40.tmp
- %User Temp%\nsd3.tmp\ns44.tmp
- %User Temp%\nsd3.tmp\ns49.tmp
- %User Temp%\nsd3.tmp\ns4E.tmp
- %User Temp%\nsd3.tmp\ns52.tmp
- %User Temp%\nsv16.tmp
- %User Temp%\nsf18.tmp
Did this description help? Tell us how we did.