Analysis

  • max time kernel
    147s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    31/03/2024, 01:38

General

  • Target
    6ce9c0ea355a3baed90c8ac4807f89069789ff03e105838002dd3ee7ce1b5830.exe
  • Size 633KB
  • Sample240331-b2tzfabe2y
  • SHA256 6ce9c0ea355a3baed90c8ac4807f89069789ff03e105838002dd3ee7ce1b5830
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • Office04

C2
  • 185.196.10.233:4782

Mutex
  • a244256d-314d-4857-83fe-790ac24d7897

Attributes
  • encryption_key

    0EC03133971030F6D05E6D59F71626F6543BBE65

  • install_name

    gfdgfdg.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    fgfdhdgg

  • subdirectory

    gfgfgf

Signatures

  • Detect ZGRat V1 1 IoCs
  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 3 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Downloads MZ/PE file
  • Executes dropped EXE 3 IoCs
  • Loads dropped DLL 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Creates scheduled task(s) 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 WriteProcessMemory 22 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\6ce9c0ea355a3baed90c8ac4807f89069789ff03e105838002dd3ee7ce1b5830.exe
    "C:\Users\Admin\AppData\Local\Temp\6ce9c0ea355a3baed90c8ac4807f89069789ff03e105838002dd3ee7ce1b5830.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:2236
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {07134341-3057-42BA-9D62-EE7AAABD3115} S-1-5-21-330940541-141609230-1670313778-1000:KXIPPCKF\Admin:Interactive:[1]
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:1260
    • C:\Users\Admin\AppData\Roaming\XsdType\BaseDirectory.exe
      C:\Users\Admin\AppData\Roaming\XsdType\BaseDirectory.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1760
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe
        C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:776
        • C:\Users\Admin\AppData\Local\Temp\aggxy.exe
          "C:\Users\Admin\AppData\Local\Temp\aggxy.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:2552
          • C:\Windows\system32\schtasks.exe
            "schtasks" /create /tn "fgfdhdgg" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\gfgfgf\gfdgfdg.exe" /rl HIGHEST /f
            5⤵
            • Creates scheduled task(s)
            PID:2556
          • C:\Users\Admin\AppData\Roaming\gfgfgf\gfdgfdg.exe
            "C:\Users\Admin\AppData\Roaming\gfgfgf\gfdgfdg.exe"
            5⤵
            • Executes dropped EXE
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of WriteProcessMemory
            PID:2644
            • C:\Windows\system32\schtasks.exe
              "schtasks" /create /tn "fgfdhdgg" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\gfgfgf\gfdgfdg.exe" /rl HIGHEST /f
              6⤵
              • Creates scheduled task(s)
              PID:1868

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        aggxy.exe

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

        BaseDirectory.exe

        • Path \Users\Admin\AppData\Roaming\XsdType\BaseDirectory.exe
        • Size 633KB
        • SHA256 6ce9c0ea355a3baed90c8ac4807f89069789ff03e105838002dd3ee7ce1b5830
        • MD5 SHA1 SHA512 SSDEEP

        memory/776-45-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-30-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-21-0x000007FFFFFDF000-0x000007FFFFFE0000-memory.dmp

        memory/776-37-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp

        memory/776-51-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-32-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-52-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-50-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-31-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-29-0x000000001B410000-0x000000001B490000-memory.dmp

        memory/776-18-0x0000000140000000-0x00000001400A2000-memory.dmp

        memory/776-17-0x0000000140000000-0x00000001400A2000-memory.dmp

        memory/776-28-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp

        memory/776-20-0x0000000140000000-0x00000001400A2000-memory.dmp

        memory/776-23-0x0000000140000000-0x00000001400A2000-memory.dmp

        memory/1760-14-0x000000013F050000-0x000000013F0F2000-memory.dmp

        memory/1760-24-0x000000001B450000-0x000000001B4D0000-memory.dmp

        memory/1760-27-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp

        memory/1760-19-0x000000001B450000-0x000000001B4D0000-memory.dmp

        memory/1760-16-0x000000001B450000-0x000000001B4D0000-memory.dmp

        memory/1760-15-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp

        memory/2236-9-0x000007FEF64E0000-0x000007FEF6ECC000-memory.dmp

        memory/2236-3-0x000000001BA10000-0x000000001BB14000-memory.dmp

        memory/2236-6-0x00000000023F0000-0x0000000002444000-memory.dmp

        memory/2236-5-0x00000000023A0000-0x00000000023EC000-memory.dmp

        memory/2236-1-0x000007FEF64E0000-0x000007FEF6ECC000-memory.dmp

        memory/2236-0-0x000000013FE10000-0x000000013FEB2000-memory.dmp

        memory/2236-2-0x000000001B4D0000-0x000000001B550000-memory.dmp

        memory/2236-4-0x0000000002290000-0x00000000022E6000-memory.dmp

        memory/2552-39-0x0000000000390000-0x00000000006B4000-memory.dmp

        memory/2552-49-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp

        memory/2552-40-0x000000001B340000-0x000000001B3C0000-memory.dmp

        memory/2552-38-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp

        memory/2644-48-0x0000000000B90000-0x0000000000C10000-memory.dmp

        memory/2644-47-0x0000000000D60000-0x0000000001084000-memory.dmp

        memory/2644-46-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp

        memory/2644-53-0x000007FEF5AF0000-0x000007FEF64DC000-memory.dmp