Analysis

  • max time kernel
    148s
  • max time network
    125s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/03/2023, 22:18

General

  • Target
    trojan.exe
  • Size 348KB
  • Sample230303-178r8abb3s
  • SHA256 95ed1e3d4d4bc99f1166a9cbe29b34fa7504b8cc355849a0e649e894655eef18
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.3.0.0

Botnet
  • Office04

C2
  • even-lat.at.ply.gg:21969

Mutex
  • QSR_MUTEX_n0f6at7YDD5llBKKrq

Attributes
  • encryption_key

    H5bv6GlCoJoXcX9Q8h6S

  • install_name

    Protect.exe

  • log_directory

    Logs

  • reconnect_delay

    30

  • startup_key

    MS Protect

  • subdirectory

    SubDir

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

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

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

  • Executes dropped EXE 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 2 IoCs

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

  • Runs ping.exe 1 TTPs 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 21 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\trojan.exe
    "C:\Users\Admin\AppData\Local\Temp\trojan.exe"
    1⤵
    • Drops file in System32 directory
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1332
    • C:\Windows\SysWOW64\schtasks.exe
      "schtasks" /create /tn "MS Protect" /sc ONLOGON /tr "C:\Users\Admin\AppData\Local\Temp\trojan.exe" /rl HIGHEST /f
      2⤵
      • Creates scheduled task(s)
      PID:4456
    • C:\Windows\SysWOW64\SubDir\Protect.exe
      "C:\Windows\SysWOW64\SubDir\Protect.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Drops file in System32 directory
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:892
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks" /create /tn "MS Protect" /sc ONLOGON /tr "C:\Windows\SysWOW64\SubDir\Protect.exe" /rl HIGHEST /f
        3⤵
        • Creates scheduled task(s)
        PID:1336
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks" /delete /tn "MS Protect" /f
        3⤵
          PID:4284
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\GWosSenYWsPS.bat" "
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:3220
          • C:\Windows\SysWOW64\chcp.com
            chcp 65001
            4⤵
              PID:3312
            • C:\Windows\SysWOW64\PING.EXE
              ping -n 10 localhost
              4⤵
              • Runs ping.exe
              PID:1516

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            GWosSenYWsPS.bat

            • Path C:\Users\Admin\AppData\Local\Temp\GWosSenYWsPS.bat
            • Size 252B
            • SHA256 e0d8667824a71f1a4b4d5f19446f864a37a28117345bde8b1b48be56813b39c4
            • MD5 SHA1 SHA512

            03-03-~1

            • Path C:\Users\Admin\AppData\Roaming\Logs\03-03-~1
            • Size 224B
            • SHA256 00ef3cc839980238dd7bf0e4543d50222d5e6d33b62ed43f4f15e7bc4aa999c8
            • MD5 SHA1 SHA512

            Protect.exe

            • Path C:\Windows\SysWOW64\SubDir\Protect.exe
            • Size 348KB
            • SHA256 95ed1e3d4d4bc99f1166a9cbe29b34fa7504b8cc355849a0e649e894655eef18
            • MD5 SHA1 SHA512 SSDEEP

            Protect.exe

            • Path C:\Windows\SysWOW64\SubDir\Protect.exe
            • Size 348KB
            • SHA256 95ed1e3d4d4bc99f1166a9cbe29b34fa7504b8cc355849a0e649e894655eef18
            • MD5 SHA1 SHA512 SSDEEP

            memory/892-149-0x0000000005700000-0x0000000005710000-memory.dmp

            memory/892-148-0x0000000006CB0000-0x0000000006CBA000-memory.dmp

            memory/892-146-0x0000000005700000-0x0000000005710000-memory.dmp

            memory/1332-136-0x0000000004C30000-0x0000000004C40000-memory.dmp

            memory/1332-139-0x0000000005F50000-0x0000000005F8C000-memory.dmp

            memory/1332-138-0x0000000005B20000-0x0000000005B32000-memory.dmp

            memory/1332-137-0x0000000004F40000-0x0000000004FA6000-memory.dmp

            memory/1332-133-0x00000000000E0000-0x000000000013E000-memory.dmp

            memory/1332-135-0x0000000004B40000-0x0000000004BD2000-memory.dmp

            memory/1332-134-0x00000000050F0000-0x0000000005694000-memory.dmp