Analysis

  • max time kernel
    192s
  • max time network
    194s
  • 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:33

Errors

Reason
Machine shutdown

General

  • Target

    Psloramyra.ps1

  • Size

    2.1MB

  • MD5

    032ea6f45fdd2fa1bd9b6cb5f425dc54

  • SHA1

    aaac83baf4a939a4c3b9ff5a16dbcb472cab9592

  • SHA256

    5cc8c3c4d011cdbe7306dfb8ba52b14909ed06db2c1a465c31cc59e6f532cb22

  • SHA512

    222ca7941b7df2d2e4d7310a557cc6cdb43c33368d9632610b428b1a117a5c272504dae677216b678e4c65887f779f60078dd6096a1280aa834b1a3fcb97c379

  • SSDEEP

    6144:ccVzJb1d4aU/hQVBJ2A7Is2Csr1l5mH9OdHUb3ngo1:v

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 2 IoCs

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

  • Modifies data under HKEY_USERS 15 IoCs
  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 15 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:452
  • 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:4880
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\roox.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4368
      • 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:2568
        • 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
          • Suspicious use of WriteProcessMemory
          PID:1404
          • C:\Windows\SysWOW64\shutdown.exe
            "C:\Windows\System32\shutdown.exe" /s /t 0
            5⤵
            • System Location Discovery: System Language Discovery
            • Suspicious use of AdjustPrivilegeToken
            PID:4484
  • C:\Windows\system32\LogonUI.exe
    "LogonUI.exe" /flags:0x4 /state0:0xa393c855 /state1:0x41c64e6d
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of SetWindowsHookEx
    PID:4536

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

    Filesize

    2KB

    MD5

    2f57fde6b33e89a63cf0dfdd6e60a351

    SHA1

    445bf1b07223a04f8a159581a3d37d630273010f

    SHA256

    3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55

    SHA512

    42857c5f111bfa163e9f4ea6b81a42233d0bbb0836ecc703ce7e8011b6f8a8eca761f39adc3ed026c9a2f99206d88bab9bddb42da9113e478a31a6382af5c220

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    1KB

    MD5

    e5bfec1063a497048fffb231a0621403

    SHA1

    97cf6a89f237f43b9c22e3e081f7d45924d435ba

    SHA256

    325d1ffa65e9593a834f3662168d0c1950de148c63f1e43b86727087f3881d6f

    SHA512

    e38c5189054cf09fb15de017d0bbe226338124ee02bb04530943c8fcfc303dbe5fe5fd28c9c1aea1b552d1a2b0b76cabbedd284a38a07d41ec9cf9e55b44dd0e

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ui4uk35d.kqf.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Public\roox.bat

    Filesize

    195B

    MD5

    0344d401c7266a2bc6d19f5a2bc90040

    SHA1

    d3bf5a4b55b523429f3c7cb58ffa19504bececfc

    SHA256

    a3a38fb5090f5b9c951160d60d2fcd0e4488b3e72b1823fc17ef34a15fe9dab7

    SHA512

    59b448d02dadd2934abf88c40e25fec741724112e1320770b06df9b862643f2eba9cedee9d58244145fbece6d0d366380d6d2d6b56082a97649683ca10f9bc07

  • C:\Users\Public\roox.ps1

    Filesize

    2.1MB

    MD5

    9ba3e0c0ba321f160209023c4fdcc3d4

    SHA1

    55f876754d36ab08a3e8f0a47d39c48b8a84fb61

    SHA256

    a2fde94bdfe9e8d15478484c3de0314a73618f41591cbffca473708c66899e39

    SHA512

    cd551a87d48421748a9e8c90eeecbd48a185be5b7439e2d35ac994da07bc94ee77f48678b7f617423bb9356dabc20f62ec77be24ddbd60e34d0927fde350e650

  • C:\Users\Public\roox.vbs

    Filesize

    686B

    MD5

    a0a3c05080df4421295e559291304405

    SHA1

    286e02a003b7e26a381e41d2127ffb0ed371f5b4

    SHA256

    22889b8d447ea679e8b2fb27eca95d0f04056203c9214818758b0a21379ea323

    SHA512

    ee9971cda442f9dd305e0810babd0a5f94589a966b2a4f10421b341d6e7914fed3f2a12821dc56d338f7ec5ba9a38830727d0e17fd18257e45ebabd7612e99b4

  • memory/452-16-0x00007FFFD6ED0000-0x00007FFFD7991000-memory.dmp

    Filesize

    10.8MB

  • memory/452-19-0x00007FFFD6ED0000-0x00007FFFD7991000-memory.dmp

    Filesize

    10.8MB

  • memory/452-0-0x00007FFFD6ED3000-0x00007FFFD6ED5000-memory.dmp

    Filesize

    8KB

  • memory/452-12-0x00007FFFD6ED0000-0x00007FFFD7991000-memory.dmp

    Filesize

    10.8MB

  • memory/452-11-0x00007FFFD6ED0000-0x00007FFFD7991000-memory.dmp

    Filesize

    10.8MB

  • memory/452-6-0x000001BB71240000-0x000001BB71262000-memory.dmp

    Filesize

    136KB

  • memory/1404-35-0x0000000000400000-0x000000000045E000-memory.dmp

    Filesize

    376KB

  • memory/1404-37-0x0000000005C80000-0x0000000006224000-memory.dmp

    Filesize

    5.6MB

  • memory/1404-38-0x00000000056D0000-0x0000000005762000-memory.dmp

    Filesize

    584KB

  • memory/1404-39-0x0000000005770000-0x00000000057D6000-memory.dmp

    Filesize

    408KB

  • memory/1404-40-0x0000000005C10000-0x0000000005C22000-memory.dmp

    Filesize

    72KB

  • memory/1404-41-0x0000000006910000-0x000000000694C000-memory.dmp

    Filesize

    240KB

  • memory/1404-42-0x0000000007030000-0x000000000703A000-memory.dmp

    Filesize

    40KB

  • memory/2568-34-0x00000168E1E30000-0x00000168E1E4A000-memory.dmp

    Filesize

    104KB