Analysis Overview
SHA256
3d608823e5fe78abfec958f0aeff849f6cfba5f8fa1a5a01a0f325308c81f293
Threat Level: Likely malicious
The file main.ps1 was found to be: Likely malicious.
Malicious Activity Summary
Possible privilege escalation attempt
Modifies file permissions
File and Directory Permissions Modification: Windows File and Directory Permissions Modification
Drops file in System32 directory
Drops file in Windows directory
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-10-04 12:39
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-10-04 12:39
Reported
2024-10-04 12:41
Platform
win11-20240802-en
Max time kernel
40s
Max time network
61s
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 |
| N/A | N/A | C:\Windows\system32\icacls.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\takeown.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 |
| 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\icacls.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\takeown.exe | N/A |
| 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\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 |
| 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\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 |
| N/A | N/A | C:\Windows\system32\icacls.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\takeown.exe | N/A |
| 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 |
| N/A | N/A | C:\Windows\system32\icacls.exe | N/A |
| N/A | N/A | C:\Windows\system32\takeown.exe | N/A |
File and Directory Permissions Modification: Windows File and Directory Permissions Modification
Drops file in System32 directory
| Description | Indicator | Process | Target |
| File opened for modification | C:\Windows\System32\regedt32.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| File opened for modification | C:\Windows\System32\taskmgr.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| File opened for modification | C:\Windows\System32\cmd.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| File opened for modification | C:\Windows\System32\control.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| File opened for modification | C:\Windows\System32\msconfig.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Drops file in Windows directory
| Description | Indicator | Process | Target |
| File opened for modification | C:\Windows\explorer.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| File opened for modification | C:\Windows\regedit.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| File opened for modification | C:\Windows\notepad.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.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
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\WindowsPowerShell\v1.0\powershell.exe
powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\main.ps1
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F C:\Windows\System32\fr-FR\fms.dll.mui
C:\Windows\system32\takeown.exe
takeown /F C:\Windows\System32\fr-FR\fms.dll.mui
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls C:\Windows\System32\fr-FR\fms.dll.mui /grant administrators:F
C:\Windows\system32\icacls.exe
icacls C:\Windows\System32\fr-FR\fms.dll.mui /grant administrators:F
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\explorer.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\explorer.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\explorer.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\explorer.exe" /grant administrators:F /T
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\System32\taskmgr.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\System32\taskmgr.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\System32\taskmgr.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\System32\taskmgr.exe" /grant administrators:F /T
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\System32\cmd.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\System32\cmd.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\System32\cmd.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\System32\cmd.exe" /grant administrators:F /T
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\regedit.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\regedit.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\regedit.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\regedit.exe" /grant administrators:F /T
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\notepad.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\notepad.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\notepad.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\notepad.exe" /grant administrators:F /T
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\System32\control.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\System32\control.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\System32\control.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\System32\control.exe" /grant administrators:F /T
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\System32\msconfig.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\System32\msconfig.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\System32\msconfig.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\System32\msconfig.exe" /grant administrators:F /T
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c takeown /F "C:\Windows\System32\regedt32.exe" /A /R /D Y
C:\Windows\system32\takeown.exe
takeown /F "C:\Windows\System32\regedt32.exe" /A /R /D Y
C:\Windows\system32\cmd.exe
"C:\Windows\system32\cmd.exe" /c icacls "C:\Windows\System32\regedt32.exe" /grant administrators:F /T
C:\Windows\system32\icacls.exe
icacls "C:\Windows\System32\regedt32.exe" /grant administrators:F /T
Network
| Country | Destination | Domain | Proto |
| US | 52.111.227.11:443 | tcp |
Files
memory/5436-0-0x00007FFAF1F63000-0x00007FFAF1F65000-memory.dmp
memory/5436-1-0x0000021F67420000-0x0000021F67442000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rbxgg0di.hec.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/5436-10-0x00007FFAF1F60000-0x00007FFAF2A22000-memory.dmp
memory/5436-11-0x00007FFAF1F60000-0x00007FFAF2A22000-memory.dmp
memory/5436-12-0x00007FFAF1F60000-0x00007FFAF2A22000-memory.dmp
memory/5436-13-0x00007FFAF1F63000-0x00007FFAF1F65000-memory.dmp
memory/5436-14-0x00007FFAF1F60000-0x00007FFAF2A22000-memory.dmp
memory/5436-15-0x00007FFAF1F60000-0x00007FFAF2A22000-memory.dmp
memory/5436-16-0x00007FFAF1F60000-0x00007FFAF2A22000-memory.dmp