Analysis

  • max time kernel
    108s
  • max time network
    111s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/03/2024, 17:44

Errors

Reason
Machine shutdown

General

  • Target
    Client-built.exe
  • Size 3.1MB
  • Sample240330-wbj2rsbe64
  • SHA256 de4a1dd69239ae05aa3c20c13872f212c33c846658c54a85202284aa00226f5b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • Office04

C2
  • 8.tcp.eu.ngrok.io:25811

Mutex
  • b3c7fcd1-a61a-466e-800c-816f8c0aae37

Attributes
  • encryption_key

    C5AB2B8BB0BD28D20931C259C0499227818F5667

  • install_name

    Client.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    Quasar Client Startup

  • subdirectory

    SubDir

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 2 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

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

  • Checks processor information in registry 2 TTPs 2 IoCs

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

  • Creates scheduled task(s) 1 TTPs 2 IoCs

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

  • Modifies data under HKEY_USERS 15 IoCs
  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 8 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\Client-built.exe
    "C:\Users\Admin\AppData\Local\Temp\Client-built.exe"
    1⤵
    • Drops file in System32 directory
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3844
    • C:\Windows\SYSTEM32\schtasks.exe
      "schtasks" /create /tn "Quasar Client Startup" /sc ONLOGON /tr "C:\Windows\system32\SubDir\Client.exe" /rl HIGHEST /f
      2⤵
      • Creates scheduled task(s)
      PID:412
    • C:\Windows\system32\SubDir\Client.exe
      "C:\Windows\system32\SubDir\Client.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of FindShellTrayWindow
      • Suspicious use of SendNotifyMessage
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:2204
      • C:\Windows\SYSTEM32\schtasks.exe
        "schtasks" /create /tn "Quasar Client Startup" /sc ONLOGON /tr "C:\Windows\system32\SubDir\Client.exe" /rl HIGHEST /f
        3⤵
        • Creates scheduled task(s)
        PID:1020
      • C:\Windows\System32\shutdown.exe
        "C:\Windows\System32\shutdown.exe" /s /t 0
        3⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:3916
  • C:\Windows\system32\taskmgr.exe
    "C:\Windows\system32\taskmgr.exe" /4
    1⤵
    • Checks SCSI registry key(s)
    • Checks processor information in registry
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    PID:2824
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:376
    • C:\Windows\System32\SubDir\Client.exe
      "C:\Windows\System32\SubDir\Client.exe"
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:4384
    • C:\Windows\system32\LogonUI.exe
      "LogonUI.exe" /flags:0x4 /state0:0xa3972055 /state1:0x41c64e6d
      1⤵
      • Modifies data under HKEY_USERS
      • Suspicious use of SetWindowsHookEx
      PID:2892

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          Client.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\Client.exe.log
          • Size 1KB
          • SHA256 ee954c5d8156fd8890e582c716e5758ed9b33721258f10e758bdc31ccbcb1924
          • MD5 SHA1 SHA512

          Client.exe

          • Path C:\Windows\System32\SubDir\Client.exe
          • Size 3.1MB
          • SHA256 de4a1dd69239ae05aa3c20c13872f212c33c846658c54a85202284aa00226f5b
          • MD5 SHA1 SHA512 SSDEEP

          memory/2204-31-0x00007FFD2EDE0000-0x00007FFD2F8A1000-memory.dmp

          memory/2204-34-0x000000001BD00000-0x000000001BD10000-memory.dmp

          memory/2204-9-0x00007FFD2EDE0000-0x00007FFD2F8A1000-memory.dmp

          memory/2204-45-0x00007FFD2EDE0000-0x00007FFD2F8A1000-memory.dmp

          memory/2204-10-0x000000001BD00000-0x000000001BD10000-memory.dmp

          memory/2204-11-0x000000001C940000-0x000000001C990000-memory.dmp

          memory/2204-12-0x000000001CA50000-0x000000001CB02000-memory.dmp

          memory/2204-15-0x000000001C9D0000-0x000000001C9E2000-memory.dmp

          memory/2204-16-0x000000001D550000-0x000000001D58C000-memory.dmp

          memory/2204-41-0x000000001BD00000-0x000000001BD10000-memory.dmp

          memory/2204-40-0x000000001BD00000-0x000000001BD10000-memory.dmp

          memory/2204-37-0x000000001DEC0000-0x000000001E3E8000-memory.dmp

          memory/2824-19-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-18-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-17-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-27-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-25-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-29-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-28-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-23-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-24-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/2824-26-0x000001D6B6170000-0x000001D6B6171000-memory.dmp

          memory/3844-0-0x0000000000850000-0x0000000000B74000-memory.dmp

          memory/3844-1-0x00007FFD2EDE0000-0x00007FFD2F8A1000-memory.dmp

          memory/3844-8-0x00007FFD2EDE0000-0x00007FFD2F8A1000-memory.dmp

          memory/3844-2-0x000000001B860000-0x000000001B870000-memory.dmp

          memory/4384-33-0x0000000001730000-0x0000000001740000-memory.dmp

          memory/4384-36-0x00007FFD2EDE0000-0x00007FFD2F8A1000-memory.dmp

          memory/4384-32-0x00007FFD2EDE0000-0x00007FFD2F8A1000-memory.dmp