Worm.JS.DUNIHI.AMP


 PLATFORM:

Windows

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

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This Worm 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,733 bytes

File Type:

JS

Memory Resident:

Yes

Initial Samples Received Date:

18 Oct 2019

Arrival Details

This Worm 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 Worm drops the following copies of itself into the affected system:

  • f:\{malware file name}.js
  • %application data%\{malware file name}.js

It adds the following processes:

  • "%System%\wscript.exe" "%Application Data%\9f36ea931c2da5dfb63c8a4a499f3db36657a35a.js"
  • wscript.exe "%Application Data%\9f36ea931c2da5dfb63c8a4a499f3db36657a35a.js"
  • %System%\DllHost.exe /Processid:{F9717507-6651-4EDB-BFF7-AE615179BCCF}
  • %System%\svchost.exe -k netsvcs
  • %Windows%\Microsoft.NET\Framework\v4.0.30319\mscorsvw.exe
  • %System%\svchost.exe -k LocalServiceAndNoImpersonation
  • %Windows%\Microsoft.NET\Framework64\v4.0.30319\mscorsvw.exe
  • %System%\sppsvc.exe
  • "%System Root%\Program Files\Windows Media Player\wmpnetwk.exe"
  • %System%\svchost.exe -k LocalSystemNetworkRestricted

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.)

It creates the following folders:

  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft

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

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
9f36ea931c2da5dfb63c8a4a499f3db36657a35a = "{random characters}"

Other System Modifications

This Worm modifies the following file(s):

  • %Windows%\setupact.log
  • %Windows%\setuperr.log
  • %Windows%\Prefetch\SEARCHPROTOCOLHOST.EXE-0CB8CADE.pf
  • %Windows%\Prefetch\SPPSVC.EXE-B0F8131B.pf
  • %Windows%\Prefetch\DLLHOST.EXE-A8DE6D5B.pf

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

It adds the following registry keys:

HKEY_LOCAL_MACHINE\software\9f36ea931c2da5dfb63c8a4a499f3db36657a35a

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\
9f36ea931c2da5dfb63c8a4a499f3db36657a35a
(Default) = "false - 17/6/2019"

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\
Microsoft\Windows\CurrentVersion\
Run
9f36ea931c2da5dfb63c8a4a499f3db36657a35a = "{random characters}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
StartPage2
ProgramsCache = "{random characters}"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\WMI\Autologger\
ReadyBoot
Start = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\rdyboost\Parameters
ReadyBootVolumeUniqueId = "\xcc@\x91\x13\x00\x00P\x06\x00\x00\x00\x00"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\SESSION MANAGER\MEMORY MANAGEMENT\
PrefetchParameters
EnableBootTrace = "0"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Superfetch
VirtualStoreSize = "900"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\LanmanServer\Shares
Users = "\x00\x00\x00\x00\x00\x00\x00"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\LanmanServer\Parameters
Guid = "\x92\xad\xa0LV\xd6cD\xb9F\x05\xa3\xaf\xfb'g"

(Note: The default value data of the said registry entry is {random values}.)

It deletes the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\LanmanServer\Parameters\
Guid

Dropping Routine

This Worm drops the following files:

  • %Windows%\Prefetch\SEARCHPROTOCOLHOST.EXE-0CB8CADE.pf
  • %Windows%\Prefetch\AgAppLaunch.db
  • %System Root%\DfsServer
  • %Windows%\Prefetch\SPPSVC.EXE-B0F8131B.pf
  • %All Users Profile%\Microsoft\Windows\DRM\v3ks.sec
  • F:\wlines.lnk
  • %Windows%\Prefetch\DLLHOST.EXE-A8DE6D5B.pf
  • %All Users Profile%\Microsoft\Windows\DRM\drmstore.hds
  • F:\mail_client.lnk
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • F:\data.lnk
  • %user startup%\{malware file name}.js

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit). . %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Other Details

This Worm connects to the following possibly malicious URL:

  • http://{BLOCKED}in.com/raw/ZhLVw14Y
  • http://microsoft.{BLOCKED}irect.org

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.850

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.

Step 2

Restart in Safe Mode

[ Learn More ]

Step 3

Identify and terminate files detected as Worm.JS.DUNIHI.AMP

[ Learn More ]
  1. 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.
  2. 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.
  3. 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

[ 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
    • 9f36ea931c2da5dfb63c8a4a499f3db36657a35a

Step 5

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
    • 9f36ea931c2da5dfb63c8a4a499f3db36657a35a = "{random characters}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\9f36ea931c2da5dfb63c8a4a499f3db36657a35a
    • (Default) = "false - 17/6/2019"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
    • 9f36ea931c2da5dfb63c8a4a499f3db36657a35a = "{random characters}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage2
    • ProgramsCache = "{random characters}"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\WMI\Autologger\ReadyBoot
    • Start = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\rdyboost\Parameters
    • ReadyBootVolumeUniqueId = "\xcc@\x91\x13\x00\x00P\x06\x00\x00\x00\x00"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SESSION MANAGER\MEMORY MANAGEMENT\PrefetchParameters
    • EnableBootTrace = "0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Superfetch
    • VirtualStoreSize = "900"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Shares
    • Users = "\x00\x00\x00\x00\x00\x00\x00"

Step 6

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\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters
    • From: Guid = "\x92\xad\xa0LV\xd6cD\xb9F\x05\xa3\xaf\xfb'g"
      To: Guid = ""{random values}""

Step 7

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.
  • %Windows%\Prefetch\SEARCHPROTOCOLHOST.EXE-0CB8CADE.pf
  • %Windows%\Prefetch\AgAppLaunch.db
  • %System Root%\DfsServer
  • %Windows%\Prefetch\SPPSVC.EXE-B0F8131B.pf
  • %All Users Profile%\Microsoft\Windows\DRM\v3ks.sec
  • F:\wlines.lnk
  • %Windows%\Prefetch\DLLHOST.EXE-A8DE6D5B.pf
  • %All Users Profile%\Microsoft\Windows\DRM\drmstore.hds
  • F:\mail_client.lnk
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • F:\data.lnk
  • %user startup%\{malware file name}.js

Step 8

Search and delete this folder

[ 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.
  • %Windows%\ServiceProfiles\NetworkService\AppData\Local\Microsoft

Step 9

Restart in normal mode and scan your computer with your Trend Micro product for files detected as Worm.JS.DUNIHI.AMP. 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 10

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.

    • %Windows%\setupact.log
    • %Windows%\setuperr.log
    • %Windows%\Prefetch\SEARCHPROTOCOLHOST.EXE-0CB8CADE.pf
    • %Windows%\Prefetch\SPPSVC.EXE-B0F8131B.pf
    • %Windows%\Prefetch\DLLHOST.EXE-A8DE6D5B.pf

Step 11

Restore these deleted registry keys/values from backup

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

  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\LanmanServer\Parameters
    • Guid


Did this description help? Tell us how we did.