Resubmissions

09/08/2024, 14:22

240809-rplqas1gpm10

09/08/2024, 14:15

240809-rknzvsvhka10

Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240802-en
  • resource tags

    arch:x64arch:x86image:win11-20240802-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    09/08/2024, 14:15

General

  • Target
    aeec147f490c242e8253ed63a628103cb9e8711ce76c6d2d0de0e6fa372a03b2.exe
  • Size 13KB
  • Sample240809-rknzvsvhka
  • SHA256 aeec147f490c242e8253ed63a628103cb9e8711ce76c6d2d0de0e6fa372a03b2
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • Office04

C2
  • 147.45.44.138:4782

Mutex
  • 74661366-3221-4ef8-a135-99063277201a

Attributes
  • encryption_key

    9F5E83CF4EAD1B51E34A8D5F82E492881AB9FF3B

  • install_name

    Client.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    Yandex.service

  • subdirectory

    SubDir

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

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

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 3 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • 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 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 19 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:\Users\Admin\AppData\Local\Temp\aeec147f490c242e8253ed63a628103cb9e8711ce76c6d2d0de0e6fa372a03b2.exe
    "C:\Users\Admin\AppData\Local\Temp\aeec147f490c242e8253ed63a628103cb9e8711ce76c6d2d0de0e6fa372a03b2.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3928
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:224
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "powershell.exe" Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\SubDir'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2104
      • C:\Users\Admin\AppData\Roaming\SubDir\KS9Cw7sixHp2PL81.exe
        "C:\Users\Admin\AppData\Roaming\SubDir\KS9Cw7sixHp2PL81.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2136
        • C:\Windows\SYSTEM32\schtasks.exe
          "schtasks" /create /tn "Yandex.service" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\Client.exe" /rl HIGHEST /f
          4⤵
          • Scheduled Task/Job: Scheduled Task
          PID:3916
        • C:\Users\Admin\AppData\Roaming\SubDir\Client.exe
          "C:\Users\Admin\AppData\Roaming\SubDir\Client.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:3912
          • C:\Windows\SYSTEM32\schtasks.exe
            "schtasks" /create /tn "Yandex.service" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\Client.exe" /rl HIGHEST /f
            5⤵
            • Scheduled Task/Job: Scheduled Task
            PID:2432

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_w22lzsub.5yk.ps1

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

        memory/224-66-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/224-52-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/224-3-0x0000000000400000-0x000000000040A000-memory.dmp

        memory/224-6-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/224-51-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/224-26-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/2104-28-0x0000000070B10000-0x0000000070B5C000-memory.dmp

        memory/2104-40-0x0000000007770000-0x000000000778A000-memory.dmp

        memory/2104-9-0x0000000005800000-0x0000000005E2A000-memory.dmp

        memory/2104-11-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/2104-12-0x0000000005400000-0x0000000005422000-memory.dmp

        memory/2104-13-0x00000000055A0000-0x0000000005606000-memory.dmp

        memory/2104-14-0x0000000005680000-0x00000000056E6000-memory.dmp

        memory/2104-8-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/2104-23-0x0000000005F30000-0x0000000006287000-memory.dmp

        memory/2104-24-0x00000000063B0000-0x00000000063CE000-memory.dmp

        memory/2104-25-0x00000000063E0000-0x000000000642C000-memory.dmp

        memory/2104-7-0x0000000002B90000-0x0000000002BC6000-memory.dmp

        memory/2104-27-0x0000000007350000-0x0000000007384000-memory.dmp

        memory/2104-50-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/2104-37-0x0000000007590000-0x00000000075AE000-memory.dmp

        memory/2104-38-0x0000000007640000-0x00000000076E4000-memory.dmp

        memory/2104-39-0x0000000007DC0000-0x000000000843A000-memory.dmp

        memory/2104-10-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/2104-41-0x00000000077F0000-0x00000000077FA000-memory.dmp

        memory/2104-42-0x0000000007A00000-0x0000000007A96000-memory.dmp

        memory/2104-43-0x0000000007980000-0x0000000007991000-memory.dmp

        memory/2104-44-0x00000000079B0000-0x00000000079BE000-memory.dmp

        memory/2104-45-0x00000000079C0000-0x00000000079D5000-memory.dmp

        memory/2104-46-0x0000000007AC0000-0x0000000007ADA000-memory.dmp

        memory/2104-47-0x0000000007AB0000-0x0000000007AB8000-memory.dmp

        memory/2136-64-0x0000000000C70000-0x0000000000F94000-memory.dmp

        memory/3912-73-0x000000001B7D0000-0x000000001B820000-memory.dmp

        memory/3912-74-0x000000001C490000-0x000000001C542000-memory.dmp

        memory/3912-75-0x000000001B840000-0x000000001B852000-memory.dmp

        memory/3912-76-0x000000001C3D0000-0x000000001C40C000-memory.dmp

        memory/3928-0-0x00000000745EE000-0x00000000745EF000-memory.dmp

        memory/3928-5-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/3928-2-0x00000000745E0000-0x0000000074D91000-memory.dmp

        memory/3928-1-0x0000000000EA0000-0x0000000000EAA000-memory.dmp