ADW_WAJAM


 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 OVERALL RISK RATING:
 REPORTED INFECTION:
 SYSTEM IMPACT RATING:
 INFORMATION EXPOSURE:

  • 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

File Size:

471,928 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

16 Jan 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 creates the following folders:

  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nso3.tmp
  • %Program Files%\Wajam
  • %User Temp%\nsc37.tmp

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

This Adware modifies the following file(s):

  • %System%\WBEM\AutoRecover\88744D2A29102FC88ECF505DD2E984FC.mof

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It deletes the following files:

  • %User Temp%\nsy1.tmp
  • %User Temp%\nso3.tmp
  • %User Temp%\nso3.tmp\ns8.tmp
  • %User Temp%\nso3.tmp\ns27.tmp
  • %User Temp%\nsc35.tmp
  • %User Temp%\nsc37.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\Wajam

HKEY_LOCAL_MACHINE\Software\Wajam\
Update

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Wbem\WMIC

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Wbem\WMIC

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
reb = "3"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
reb-x = "3"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
rec = "2"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
rec-x = "2"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam\
Update
ch_pref_path = "%Application Data%\Google\Chrome\User Data\Default\Preferences"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
red = "4"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
red-x = "4"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
machine_id = "B1E0143D3BB4F61C0BB46994BB4AA771"

HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
res = "1"

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 = "130342574501306250"

(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 = "130342574921150000"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs timestamp = "130342574937712500"

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

Dropping Routine

This Adware drops the following files:

  • %User Temp%\nso3.tmp\nsRandom.dll
  • %User Temp%\nso3.tmp\nsExec.dll
  • %User Temp%\nso3.tmp\inetc.dll
  • /end
  • %User Temp%\nso3.tmp\chrome.exe
  • %User Temp%\nso3.tmp\IpConfig.dll
  • %User Temp%\nso3.tmp\System.dll
  • %User Temp%\nso3.tmp\DcryptDll.dll
  • %User Temp%\tmpB.tmp
  • %User Temp%\tmpF.tmp
  • %System%\WBEM\AutoRecover\C8463ECBE33BC240263A0B094E46D510.mof
  • %User Temp%\tmp13.tmp
  • %System%\WBEM\AutoRecover\23BDE61F1F4FACE17E9B0C01F2A1FD9B.mof
  • TempWmicBatchFile.bat
  • %User Temp%\nsc37.tmp\nsJSON.dll
  • %User Temp%\nso3.tmp\ns8.tmp
  • %User Temp%\nso3.tmp\ns27.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.. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

Other Details

This Adware connects to the following possibly malicious URL:

  • http://www.{BLOCKED}m.com/update/reb?{random characters}
  • http://www.{BLOCKED}m.com/update/rec?{random characters}

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

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

[ 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
    • Wajam
  • In HKEY_LOCAL_MACHINE\Software\Wajam
    • Update
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wbem\
    • WMIC
  • In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wbem\
    • WMIC

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_LOCAL_MACHINE\SOFTWARE\Wajam
    • reb = "3"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
    • reb-x = "3"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
    • rec = "2"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
    • rec-x = "2"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam\Update
    • ch_pref_path = "%Application Data%\Google\Chrome\User Data\Default\Preferences"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
    • red = "4"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
    • red-x = "4"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
    • machine_id = "B1E0143D3BB4F61C0BB46994BB4AA771"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wajam
    • res = "1"
  • 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

[ 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\WBEM\CIMOM
    • From: Autorecover MOFs timestamp = "130342574501306250"
      To: Autorecover MOFs timestamp = ""129689362348742500""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
    • From: Autorecover MOFs = "{random characters}"
      To: Autorecover MOFs = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
    • From: Autorecover MOFs timestamp = "130342574921150000"
      To: Autorecover MOFs timestamp = ""129689362348742500""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
    • From: Autorecover MOFs timestamp = "130342574937712500"
      To: Autorecover MOFs timestamp = ""129689362348742500""

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%\nso3.tmp\nsRandom.dll
  • %User Temp%\nso3.tmp\nsExec.dll
  • %User Temp%\nso3.tmp\inetc.dll
  • /end
  • %User Temp%\nso3.tmp\chrome.exe
  • %User Temp%\nso3.tmp\IpConfig.dll
  • %User Temp%\nso3.tmp\System.dll
  • %User Temp%\nso3.tmp\DcryptDll.dll
  • %User Temp%\tmpB.tmp
  • %User Temp%\tmpF.tmp
  • %System%\WBEM\AutoRecover\C8463ECBE33BC240263A0B094E46D510.mof
  • %User Temp%\tmp13.tmp
  • %System%\WBEM\AutoRecover\23BDE61F1F4FACE17E9B0C01F2A1FD9B.mof
  • TempWmicBatchFile.bat
  • %User Temp%\nsc37.tmp\nsJSON.dll
  • %User Temp%\nso3.tmp\ns8.tmp
  • %User Temp%\nso3.tmp\ns27.tmp

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.
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nso3.tmp
  • %Program Files%\Wajam
  • %User Temp%\nsc37.tmp

Step 7

Scan your computer with your Trend Micro product to delete files detected as ADW_WAJAM. 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%\nsy1.tmp
  • %User Temp%\nso3.tmp
  • %User Temp%\nso3.tmp\ns8.tmp
  • %User Temp%\nso3.tmp\ns27.tmp
  • %User Temp%\nsc35.tmp
  • %User Temp%\nsc37.tmp


Did this description help? Tell us how we did.