Analysis
- user interaction
yes - max time kernel
149s - max time network
114s - platform
windows11-21h2_x64 - resource
win11-20260130-en - resource tags
arch:x64arch:x86image:win11-20260130-enlocale:en-usos:windows11-21h2-x64systemwindows - submitted
19/04/2026, 02:53
Static task
static1
Behavioral task
behavioral1
Sample
badfriendbat.bat
Resource
win11-20260130-en
4 signatures
150 seconds
General
- Target badfriendbat.bat
- Size 760B
- Sample260419-ddhydagz4v
- SHA256 e6cd1c4780acead47e662b30c7cff190671e28663ca04f27ed45aa6045e365d1
- MD5 c89ef56aae28399d4d84d5035dc13b85
- SHA1 c7953b69201c091421718b3013a93221533cc5e3
- SHA512 3527beda6406e2f4056ec22e59c00cfcd35d864cab089be7f1a1b2c7b0c797ad8b91725e6336caf8cb48117e148549504576e9f8215e5e66cc21af561fd5dc55
- TLSH T18101603110E6EA8C02FEB4A6A83920C69034119A3330281EE9E04D390C0C3A9F67F10E
- MD5 SHA1 SHA512 TLSH
Score
6/10
Malware Config
Signatures
-
pid Process 4424 powershell.exe 644 powershell.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4424 powershell.exe 4424 powershell.exe 644 powershell.exe 644 powershell.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 4424 powershell.exe Token: SeDebugPrivilege 644 powershell.exe - Suspicious use of WriteProcessMemory 2 IoCs
description pid Process procid_target PID 4320 wrote to memory of 4424 4320 cmd.exe 80 PID 4424 wrote to memory of 644 4424 powershell.exe 81
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\badfriendbat.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4320 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Invoke-Expression ([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('cABvAHcAZQByAHMAaABlAGwAbAAuAGUAeABlACAALQBOAG8AUAByAG8AZgBpAGwAZQAgAC0ARQB4AGUAYwB1AHQAaQBvAG4AUABvAGwAaQBjAHkAIABCAHkAcABhAHMAcwAgAC0AQwBvAG0AbQBhAG4AZAAgACIAVwByAGkAdABlAC0ASABvAHMAdAAgACcAUABPAFcARQBSAFMASABFAEwATAAgAFIAQQBOACcAOwAgAFMAdABhAHIAdAAtAFMAbABlAGUAcAAgADUAIgAKAHAAYQB1AHMAZQA=')))"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4424 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "Write-Host 'POWERSHELL RAN'; Start-Sleep 5"3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:644
-
-
Network
MITRE ATT&CK Enterprise v16
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_kmqwequz.ge0.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- TLSH T177A02228CC303B200020C0080A000002C00B800C080C8C0220000A00B20B820002F080
- MD5 SHA1 SHA512 TLSH