Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/02/2024, 19:55

Errors

Reason
Machine shutdown

General

  • Target
    RBypass.exe
  • Size 3.1MB
  • Sample240227-ynbl9sac4s
  • SHA256 4cb1ad9188a93cc51b8a41d69b1fd8217ea2e16e6f94616ffc759737abda8755
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • Office04

C2
  • 86.13.66.89:4782

Mutex
  • 584f887c-7024-4e16-a56b-684919f2613f

Attributes
  • encryption_key

    F478C43DE74A681AD4F5AF6B28E598051B310CDC

  • install_name

    WPShell.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    Windows PowerShell

  • 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
  • Enumerates physical storage devices 1 TTPs

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

  • 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
  • Suspicious use of AdjustPrivilegeToken 4 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\RBypass.exe
    "C:\Users\Admin\AppData\Local\Temp\RBypass.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1132
    • C:\Windows\SYSTEM32\schtasks.exe
      "schtasks" /create /tn "Windows PowerShell" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\WPShell.exe" /rl HIGHEST /f
      2⤵
      • Creates scheduled task(s)
      PID:3204
    • C:\Users\Admin\AppData\Roaming\SubDir\WPShell.exe
      "C:\Users\Admin\AppData\Roaming\SubDir\WPShell.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:3552
      • C:\Windows\SYSTEM32\schtasks.exe
        "schtasks" /create /tn "Windows PowerShell" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\WPShell.exe" /rl HIGHEST /f
        3⤵
        • Creates scheduled task(s)
        PID:2544
      • C:\Windows\System32\shutdown.exe
        "C:\Windows\System32\shutdown.exe" /s /t 0
        3⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:4336
  • C:\Windows\system32\LogonUI.exe
    "LogonUI.exe" /flags:0x4 /state0:0xa395e855 /state1:0x41c64e6d
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of SetWindowsHookEx
    PID:1804

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        WPShell.exe

        • Path C:\Users\Admin\AppData\Roaming\SubDir\WPShell.exe
        • Size 320KB
        • SHA256 e4186d42fc9735b7b6d6f48e3c3958b4e1a2f68a9ee1f9930f2a2733cf4f96b8
        • MD5 SHA1 SHA512 SSDEEP

        WPShell.exe

        • Path C:\Users\Admin\AppData\Roaming\SubDir\WPShell.exe
        • Size 64KB
        • SHA256 e47eb204c2c9c2a9b9e551e73e00e1ca23d3effb05ab4c7387a23f73a55bde61
        • MD5 SHA1 SHA512 SSDEEP

        memory/1132-10-0x00007FF98D160000-0x00007FF98DC21000-memory.dmp

        memory/1132-2-0x000000001B7D0000-0x000000001B7E0000-memory.dmp

        memory/1132-1-0x00007FF98D160000-0x00007FF98DC21000-memory.dmp

        memory/1132-0-0x00000000007D0000-0x0000000000AF4000-memory.dmp

        memory/3552-9-0x00007FF98D160000-0x00007FF98DC21000-memory.dmp

        memory/3552-11-0x0000000002900000-0x0000000002910000-memory.dmp

        memory/3552-12-0x000000001BBF0000-0x000000001BC40000-memory.dmp

        memory/3552-13-0x000000001BD00000-0x000000001BDB2000-memory.dmp

        memory/3552-14-0x00007FF98D160000-0x00007FF98DC21000-memory.dmp

        memory/3552-15-0x0000000002900000-0x0000000002910000-memory.dmp

        memory/3552-16-0x000000001BC60000-0x000000001BC72000-memory.dmp

        memory/3552-17-0x000000001BCC0000-0x000000001BCFC000-memory.dmp

        memory/3552-19-0x00007FF98D160000-0x00007FF98DC21000-memory.dmp