Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-12-2024 09:19

General

  • Target

    x.ps1

  • Size

    2.0MB

  • MD5

    97646b99bb7245a7be3bbe8a0ff06348

  • SHA1

    33edac8a75cac4a0a1d084174b3dc912b9744386

  • SHA256

    3496b253962f9fad33450751e615e676ad8f847d11c50df45a35647b2534755d

  • SHA512

    066b635e03bf515f75327388d7118560fbf84fe4d5b64740c3b5a101123650ccb9d9252597301b78bf3a4849a57d73bd3f12192531e856fc6fbbce4b66571b2b

  • SSDEEP

    24576:bSgmuyXfET5YN3b2LLG1z/7E4/KpdMJczdsrbI8:biMSNKLq1zjA2

Malware Config

Extracted

Family

quasar

Version

1.3.0.0

Botnet

MuGz

C2

feature-ssa.mywire.org:1177

Mutex

QSR_MUTEX_nCFXZUEaa8h2uJHNCI

Attributes
  • encryption_key

    1aBF7porNDMtf63sHjM2

  • 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
  • Executes dropped EXE 2 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.

  • Suspicious use of SetThreadContext 8 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • System Location Discovery: System Language Discovery 1 TTPs 8 IoCs

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 4 IoCs
  • Suspicious use of SendNotifyMessage 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 64 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\x.ps1
    1⤵
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:412
    • C:\Users\Public\Documents\AutoHotkey64.exe
      "C:\Users\Public\Documents\AutoHotkey64.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of FindShellTrayWindow
      • Suspicious use of SendNotifyMessage
      • Suspicious use of WriteProcessMemory
      PID:4796
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        PID:1512
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        PID:2776
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
        3⤵
          PID:3404
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          PID:1728
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          3⤵
            PID:1788
        • C:\Windows\system32\schtasks.exe
          "C:\Windows\system32\schtasks.exe" /create /tn 3losh /tr C:\Users\Public\Documents\AutoHotkey64.exe /sc minute /mo 2 /st 09:21 /f
          2⤵
          • Scheduled Task/Job: Scheduled Task
          PID:1808
      • C:\Users\Public\Documents\AutoHotkey64.exe
        C:\Users\Public\Documents\AutoHotkey64.exe
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of SendNotifyMessage
        • Suspicious use of WriteProcessMemory
        PID:2836
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          2⤵
          • System Location Discovery: System Language Discovery
          PID:3204
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          2⤵
          • System Location Discovery: System Language Discovery
          PID:1744
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          2⤵
          • System Location Discovery: System Language Discovery
          PID:772
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          2⤵
          • System Location Discovery: System Language Discovery
          PID:1404
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          2⤵
          • System Location Discovery: System Language Discovery
          PID:2892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        609B

        MD5

        f78129c2d7c98a4397fa4931b11feef4

        SHA1

        ea26f38d12515741651ff161ea8393d5fa41a5bd

        SHA256

        29830390784d06271342237443b6224bb98be0539e34b64e7344c78d7cdd93d9

        SHA512

        cbca1d486c2bd7655752930b9020ccf3f8ae67a67dcb2cca51c31763a51fea8fb951d617c31a3746680303a8c6d45361c120f15ef06c30b417202949728b5b35

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mfhrntxl.gad.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Public\Documents\A.txt

        Filesize

        335KB

        MD5

        9b901a1386e04b0b0e5cc79a145c0e61

        SHA1

        53555bc6be482b80dce9bb175474abf48b72bd40

        SHA256

        17409213d1370b4b30c07cd73b33ec7ee7ceb78245082654831bcd35b555b290

        SHA512

        8572814fb3b14fb3adf2f36263c13d7a38603e53754bdba78ae16fa908a921c8c36f110a45778a76152c0698f545538454a5eef2fb2daca3146985b35b43ec36

      • C:\Users\Public\Documents\AutoHotkey64.ahk

        Filesize

        6KB

        MD5

        a51d3cc02396652ac39de494e7d725d6

        SHA1

        e4659a4561ac38659f7786f78485086aa1573036

        SHA256

        d2fb28bbafa9b105bed3334225778451529cbb2f847594021cccfab7f7d69c5d

        SHA512

        a4d2d3ca7d4d7ca7dcdcd8f7a46004ade1cff22f335b488972070d83602fb30d0b684fda4cd2677ccefb7afdabceb1d642152759b2f6c1796f3011dad272dda8

      • C:\Users\Public\Documents\AutoHotkey64.exe

        Filesize

        1.3MB

        MD5

        2d0600fe2b1b3bdc45d833ca32a37fdb

        SHA1

        e9a7411bfef54050de3b485833556f84cabd6e41

        SHA256

        effdea83c6b7a1dc2ce9e9d40e91dfd59bed9fcbd580903423648b7ca97d9696

        SHA512

        9891cd6d2140c3a5c20d5c2d6600f3655df437b99b09ae0f9daf1983190dc73385cc87f02508997bb696ac921eee43fccdf1dc210cc602938807bdb062ce1703

      • memory/412-13-0x0000024873910000-0x0000024873986000-memory.dmp

        Filesize

        472KB

      • memory/412-14-0x00007FF8BCD30000-0x00007FF8BD7F1000-memory.dmp

        Filesize

        10.8MB

      • memory/412-15-0x0000024873410000-0x000002487342E000-memory.dmp

        Filesize

        120KB

      • memory/412-0-0x00007FF8BCD33000-0x00007FF8BCD35000-memory.dmp

        Filesize

        8KB

      • memory/412-12-0x00007FF8BCD30000-0x00007FF8BD7F1000-memory.dmp

        Filesize

        10.8MB

      • memory/412-11-0x00007FF8BCD30000-0x00007FF8BD7F1000-memory.dmp

        Filesize

        10.8MB

      • memory/412-32-0x00007FF8BCD30000-0x00007FF8BD7F1000-memory.dmp

        Filesize

        10.8MB

      • memory/412-1-0x000002485AF10000-0x000002485AF32000-memory.dmp

        Filesize

        136KB

      • memory/1512-34-0x00000000054C0000-0x0000000005A64000-memory.dmp

        Filesize

        5.6MB

      • memory/1728-36-0x0000000005980000-0x0000000005992000-memory.dmp

        Filesize

        72KB

      • memory/1728-35-0x0000000005A00000-0x0000000005A92000-memory.dmp

        Filesize

        584KB

      • memory/1728-39-0x00000000066C0000-0x00000000066FC000-memory.dmp

        Filesize

        240KB

      • memory/1728-40-0x0000000006D60000-0x0000000006D6A000-memory.dmp

        Filesize

        40KB

      • memory/1728-41-0x0000000006D70000-0x0000000006DD6000-memory.dmp

        Filesize

        408KB

      • memory/1728-42-0x0000000007200000-0x0000000007212000-memory.dmp

        Filesize

        72KB

      • memory/2776-33-0x0000000000400000-0x000000000041A000-memory.dmp

        Filesize

        104KB