Analysis

  • max time kernel
    143s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/11/2024, 07:40

General

  • Target
    Psloramyra.ps1
  • Size 2.1MB
  • Sample241121-jh2tyavjam
  • SHA256 5cc8c3c4d011cdbe7306dfb8ba52b14909ed06db2c1a465c31cc59e6f532cb22
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.3.0.0

Botnet
  • Office04

C2
  • ronymahmoud.casacam.net:4782

  • seznam.hopto.org:4782

Mutex
  • QSR_MUTEX_mn85pQSh0eqrA3kPek

Attributes
  • encryption_key

    EjggXOgdqRrj8wGQ7mTy

  • 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 family
  • Quasar payload 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Looks up external IP address via web service 1 IoCs

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

  • 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 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 12 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:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\Psloramyra.ps1
    1⤵
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:4724
  • C:\Windows\System32\WScript.exe
    C:\Windows\System32\WScript.exe "C:\Users\Public\roox.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3544
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\roox.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:68
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell.exe -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "& 'C:\Users\Public\roox.ps1'"
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2928
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:3592

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 7854010dfa1f008ac8f26493dfbbc378bafb67e4e3dc9d1a13ce408668f2fac4
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_ygadk13l.mb2.ps1

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

        roox.bat

        • Path C:\Users\Public\roox.bat
        • Size 195B
        • SHA256 a3a38fb5090f5b9c951160d60d2fcd0e4488b3e72b1823fc17ef34a15fe9dab7
        • MD5 SHA1 SHA512

        roox.ps1

        • Path C:\Users\Public\roox.ps1
        • Size 2.1MB
        • SHA256 a2fde94bdfe9e8d15478484c3de0314a73618f41591cbffca473708c66899e39
        • MD5 SHA1 SHA512 SSDEEP

        roox.vbs

        • Path C:\Users\Public\roox.vbs
        • Size 686B
        • SHA256 22889b8d447ea679e8b2fb27eca95d0f04056203c9214818758b0a21379ea323
        • MD5 SHA1 SHA512

        memory/2928-34-0x000002CD585C0000-0x000002CD585DA000-memory.dmp

        memory/3592-38-0x00000000055B0000-0x0000000005642000-memory.dmp

        memory/3592-35-0x0000000000400000-0x000000000045E000-memory.dmp

        memory/3592-37-0x0000000005A80000-0x0000000006024000-memory.dmp

        memory/3592-39-0x0000000005680000-0x00000000056E6000-memory.dmp

        memory/3592-40-0x00000000063D0000-0x00000000063E2000-memory.dmp

        memory/3592-41-0x0000000006810000-0x000000000684C000-memory.dmp

        memory/3592-42-0x0000000006F30000-0x0000000006F3A000-memory.dmp

        memory/4724-19-0x00007FFF45D90000-0x00007FFF46851000-memory.dmp

        memory/4724-16-0x00007FFF45D90000-0x00007FFF46851000-memory.dmp

        memory/4724-12-0x00007FFF45D90000-0x00007FFF46851000-memory.dmp

        memory/4724-11-0x00007FFF45D90000-0x00007FFF46851000-memory.dmp

        memory/4724-6-0x00000234AA790000-0x00000234AA7B2000-memory.dmp

        memory/4724-0-0x00007FFF45D93000-0x00007FFF45D95000-memory.dmp