Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/12/2024, 13:00

General

  • Target
    Nowe zamówienie - 0072291855.pdf (243KB).com.exe
  • Size 3.7MB
  • Sample241203-p8nb5awngx
  • SHA256 e14c8cd3613b5d94cd5ca407fd329b61954add690c779edbd41b362d035f7879
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • JEKWU

C2
  • Zyg.ydns.eu:5829

  • Opy.ydns.eu:5829

Mutex
  • 9c58b2ba-07eb-415a-b48b-21bbb68d32285e

Attributes
  • encryption_key

    C5B555A83D127A9553D4FB1FCECB35CE8E91A447

  • install_name

    outlooks.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    Outlooks

  • subdirectory

    WindowsUpdates

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar family
  • Quasar payload 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 12 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 4 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 43 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Nowe zamówienie - 0072291855.pdf (243KB).com.exe
    "C:\Users\Admin\AppData\Local\Temp\Nowe zamówienie - 0072291855.pdf (243KB).com.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3756
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\Nowe zamówienie - 0072291855.pdf (243KB).com.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2912
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\EPhabVgXw.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5040
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\EPhabVgXw" /XML "C:\Users\Admin\AppData\Local\Temp\tmpD1B7.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3016
    • C:\Users\Admin\AppData\Local\Temp\Nowe zamówienie - 0072291855.pdf (243KB).com.exe
      "C:\Users\Admin\AppData\Local\Temp\Nowe zamówienie - 0072291855.pdf (243KB).com.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1420
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks" /create /tn "Outlooks" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe" /rl HIGHEST /f
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:1716
      • C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe
        "C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe"
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4084
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2640
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\EPhabVgXw.exe"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1816
        • C:\Windows\SysWOW64\schtasks.exe
          "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\EPhabVgXw" /XML "C:\Users\Admin\AppData\Local\Temp\tmp1C7C.tmp"
          4⤵
          • System Location Discovery: System Language Discovery
          • Scheduled Task/Job: Scheduled Task
          PID:4776
        • C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe
          "C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe"
          4⤵
          • Executes dropped EXE
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:2336
          • C:\Windows\SysWOW64\schtasks.exe
            "schtasks" /create /tn "Outlooks" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe" /rl HIGHEST /f
            5⤵
            • System Location Discovery: System Language Discovery
            • Scheduled Task/Job: Scheduled Task
            PID:5008

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Nowe zamówienie - 0072291855.pdf (243KB).com.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Nowe zamówienie - 0072291855.pdf (243KB).com.exe.log
        • Size 1KB
        • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
        • MD5 SHA1 SHA512

        powershell.exe.log

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

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 d5af2c7d25b3a0a45206863a6c60db52c4cef7d6ace72998f5d288608f5b05e8
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 bbd26fcf7ca88b0f797e9a3c7aa63c617e2787ff3c244a2992ace820cd5c65ad
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_a5ir22mc.4y0.ps1

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

        tmpD1B7.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpD1B7.tmp
        • Size 1KB
        • SHA256 6146e80b5a8bdac2c50526bf1766a535eda6124ce544c6e84800823e7aa76f17
        • MD5 SHA1 SHA512

        outlooks.exe

        • Path C:\Users\Admin\AppData\Roaming\WindowsUpdates\outlooks.exe
        • Size 3.7MB
        • SHA256 e14c8cd3613b5d94cd5ca407fd329b61954add690c779edbd41b362d035f7879
        • MD5 SHA1 SHA512 SSDEEP

        memory/1420-28-0x0000000000400000-0x0000000000724000-memory.dmp

        memory/1816-135-0x0000000071650000-0x000000007169C000-memory.dmp

        memory/2336-133-0x0000000006890000-0x0000000006EA8000-memory.dmp

        memory/2336-136-0x0000000006680000-0x0000000006732000-memory.dmp

        memory/2336-134-0x0000000006410000-0x0000000006460000-memory.dmp

        memory/2640-132-0x0000000006E40000-0x0000000006EE3000-memory.dmp

        memory/2640-146-0x0000000007170000-0x0000000007184000-memory.dmp

        memory/2640-122-0x0000000071650000-0x000000007169C000-memory.dmp

        memory/2640-121-0x00000000061C0000-0x000000000620C000-memory.dmp

        memory/2640-98-0x0000000005530000-0x0000000005884000-memory.dmp

        memory/2912-24-0x0000000006250000-0x00000000062B6000-memory.dmp

        memory/2912-25-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/2912-15-0x0000000002F40000-0x0000000002F76000-memory.dmp

        memory/2912-22-0x0000000005880000-0x00000000058A2000-memory.dmp

        memory/2912-23-0x00000000059A0000-0x0000000005A06000-memory.dmp

        memory/2912-26-0x00000000062C0000-0x0000000006614000-memory.dmp

        memory/2912-19-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/2912-16-0x0000000005B20000-0x0000000006148000-memory.dmp

        memory/2912-72-0x0000000075780000-0x00000000757CC000-memory.dmp

        memory/2912-91-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/2912-17-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/3756-3-0x0000000007B50000-0x0000000007BE2000-memory.dmp

        memory/3756-0-0x0000000074EFE000-0x0000000074EFF000-memory.dmp

        memory/3756-8-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/3756-10-0x000000000CF50000-0x000000000CFEC000-memory.dmp

        memory/3756-30-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/3756-4-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/3756-5-0x0000000005110000-0x000000000511A000-memory.dmp

        memory/3756-6-0x0000000007E90000-0x0000000007EA8000-memory.dmp

        memory/3756-7-0x0000000074EFE000-0x0000000074EFF000-memory.dmp

        memory/3756-9-0x00000000096B0000-0x0000000009A18000-memory.dmp

        memory/3756-2-0x0000000008020000-0x00000000085C4000-memory.dmp

        memory/3756-1-0x0000000000910000-0x0000000000CBC000-memory.dmp

        memory/5040-50-0x00000000063F0000-0x000000000643C000-memory.dmp

        memory/5040-85-0x0000000007860000-0x000000000786E000-memory.dmp

        memory/5040-86-0x0000000007870000-0x0000000007884000-memory.dmp

        memory/5040-87-0x0000000007970000-0x000000000798A000-memory.dmp

        memory/5040-88-0x0000000007950000-0x0000000007958000-memory.dmp

        memory/5040-84-0x0000000007830000-0x0000000007841000-memory.dmp

        memory/5040-83-0x00000000078B0000-0x0000000007946000-memory.dmp

        memory/5040-82-0x00000000076B0000-0x00000000076BA000-memory.dmp

        memory/5040-95-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/5040-68-0x0000000007630000-0x000000000764A000-memory.dmp

        memory/5040-67-0x0000000007C80000-0x00000000082FA000-memory.dmp

        memory/5040-64-0x00000000074E0000-0x0000000007583000-memory.dmp

        memory/5040-52-0x00000000068E0000-0x0000000006912000-memory.dmp

        memory/5040-63-0x00000000068C0000-0x00000000068DE000-memory.dmp

        memory/5040-53-0x0000000075780000-0x00000000757CC000-memory.dmp

        memory/5040-49-0x0000000006310000-0x000000000632E000-memory.dmp

        memory/5040-27-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/5040-21-0x0000000074EF0000-0x00000000756A0000-memory.dmp

        memory/5040-20-0x0000000074EF0000-0x00000000756A0000-memory.dmp