Analysis

  • max time kernel
    266s
  • max time network
    271s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/06/2024, 01:37

General

  • Target
    Update.exe
  • Size 20.4MB
  • Sample240601-b2cedsdc2z
  • SHA256 4a424271b9a191afc76110e2bccd45f23cc281853f223d3e27756e16c14b5019
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • quasar

Version
  • 1.4.1

Botnet
  • EmmasSub

C2
  • 85.23.24.170:4782

  • 85.23.109.34:4782

  • 82.128.254.93:4782

Mutex
  • f82c7021-f558-4f6f-bbb3-fbe420c708e5

Attributes
  • encryption_key

    4DC093FC202D016F95DCEE92AAF2874F56ACC3F2

  • install_name

    RuntimeBroker.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    Windows Update

  • subdirectory

    WindowsSecureManager

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

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

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

  • Executes dropped EXE 3 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Drops file in System32 directory 5 IoCs
  • Drops file in Program Files directory 8 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Creates scheduled task(s) 1 TTPs 2 IoCs

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

  • Modifies registry class 19 IoCs
  • Suspicious behavior: EnumeratesProcesses 59 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 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\Update.exe
    "C:\Users\Admin\AppData\Local\Temp\Update.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:668
    • C:\Users\Admin\AppData\Local\Temp\is-35RJD.tmp\Update.tmp
      "C:\Users\Admin\AppData\Local\Temp\is-35RJD.tmp\Update.tmp" /SL5="$501CC,20549816,832512,C:\Users\Admin\AppData\Local\Temp\Update.exe"
      2⤵
      • Executes dropped EXE
      • Drops file in Program Files directory
      • Modifies registry class
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of FindShellTrayWindow
      • Suspicious use of WriteProcessMemory
      PID:2596
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\system32\cmd.exe" /C ""C:\Program Files (x86)\MyFolder\me.bat""
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3664
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          powershell -Command "Add-MpPreference -ExclusionProcess 'C:\WINDOWS\system32\WindowsSecureManager\RuntimeBroker.exe'"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3484
      • C:\Program Files (x86)\MyFolder\RunMe.exe
        "C:\Program Files (x86)\MyFolder\RunMe.exe"
        3⤵
        • Executes dropped EXE
        • Drops file in System32 directory
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1696
        • C:\Windows\SYSTEM32\schtasks.exe
          "schtasks" /create /tn "Windows Update" /sc ONLOGON /tr "C:\Windows\system32\WindowsSecureManager\RuntimeBroker.exe" /rl HIGHEST /f
          4⤵
          • Creates scheduled task(s)
          PID:2888
        • C:\Windows\system32\WindowsSecureManager\RuntimeBroker.exe
          "C:\Windows\system32\WindowsSecureManager\RuntimeBroker.exe"
          4⤵
          • Executes dropped EXE
          • Drops file in System32 directory
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:1020
          • C:\Windows\SYSTEM32\schtasks.exe
            "schtasks" /create /tn "Windows Update" /sc ONLOGON /tr "C:\Windows\system32\WindowsSecureManager\RuntimeBroker.exe" /rl HIGHEST /f
            5⤵
            • Creates scheduled task(s)
            PID:2044
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:800
    • C:\Windows\system32\taskmgr.exe
      "C:\Windows\system32\taskmgr.exe" /7
      1⤵
      • Checks SCSI registry key(s)
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of FindShellTrayWindow
      • Suspicious use of SendNotifyMessage
      PID:1164

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          RunMe.exe

          • Path C:\Program Files (x86)\MyFolder\RunMe.exe
          • Size 3.1MB
          • SHA256 36be936ba0fc160a314bfaf9be4c8689730ad9c11c3cf6fb7d066c43a934b257
          • MD5 SHA1 SHA512 SSDEEP

          me.bat

          • Path C:\Program Files (x86)\MyFolder\me.bat
          • Size 130B
          • SHA256 b2fce48164d3196f4ec0d85766cb37a9dd12e5a2b478a10583d38c2561616f6b
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_iyfu3kmx.53y.ps1

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

          Update.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\is-35RJD.tmp\Update.tmp
          • Size 3.1MB
          • SHA256 3b9ccf0ba93ecc3640ec5637d3bcfa030c260e6a6222ac7a4bebdd0a91af9a66
          • MD5 SHA1 SHA512 SSDEEP

          memory/668-0-0x0000000000400000-0x00000000004D8000-memory.dmp

          memory/668-2-0x0000000000401000-0x00000000004B7000-memory.dmp

          memory/668-8-0x0000000000400000-0x00000000004D8000-memory.dmp

          memory/668-89-0x0000000000400000-0x00000000004D8000-memory.dmp

          memory/1020-96-0x000000001D170000-0x000000001D1C0000-memory.dmp

          memory/1020-97-0x000000001D7C0000-0x000000001D872000-memory.dmp

          memory/1020-98-0x000000001E0F0000-0x000000001E618000-memory.dmp

          memory/1164-109-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-101-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-111-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-110-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-105-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-99-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-100-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-106-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-107-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1164-108-0x000001394C270000-0x000001394C271000-memory.dmp

          memory/1696-85-0x00000000004D0000-0x00000000007F4000-memory.dmp

          memory/2596-65-0x0000000000400000-0x000000000071C000-memory.dmp

          memory/2596-9-0x0000000000400000-0x000000000071C000-memory.dmp

          memory/2596-6-0x0000000000400000-0x000000000071C000-memory.dmp

          memory/2596-88-0x0000000000400000-0x000000000071C000-memory.dmp

          memory/3484-37-0x00000000060D0000-0x0000000006136000-memory.dmp

          memory/3484-53-0x0000000006DC0000-0x0000000006DF2000-memory.dmp

          memory/3484-71-0x0000000007B10000-0x0000000007B2A000-memory.dmp

          memory/3484-72-0x0000000007BA0000-0x0000000007BAA000-memory.dmp

          memory/3484-73-0x0000000007DB0000-0x0000000007E46000-memory.dmp

          memory/3484-74-0x0000000007D30000-0x0000000007D41000-memory.dmp

          memory/3484-75-0x0000000007D60000-0x0000000007D6E000-memory.dmp

          memory/3484-76-0x0000000007D70000-0x0000000007D84000-memory.dmp

          memory/3484-77-0x0000000007E70000-0x0000000007E8A000-memory.dmp

          memory/3484-78-0x0000000007E50000-0x0000000007E58000-memory.dmp

          memory/3484-81-0x0000000073DB0000-0x0000000074560000-memory.dmp

          memory/3484-69-0x0000000073DB0000-0x0000000074560000-memory.dmp

          memory/3484-68-0x0000000073DB0000-0x0000000074560000-memory.dmp

          memory/3484-70-0x0000000008160000-0x00000000087DA000-memory.dmp

          memory/3484-67-0x00000000079E0000-0x0000000007A83000-memory.dmp

          memory/3484-64-0x0000000073DB0000-0x0000000074560000-memory.dmp

          memory/3484-66-0x00000000079B0000-0x00000000079CE000-memory.dmp

          memory/3484-54-0x0000000070260000-0x00000000702AC000-memory.dmp

          memory/3484-51-0x0000000006820000-0x000000000686C000-memory.dmp

          memory/3484-50-0x00000000067E0000-0x00000000067FE000-memory.dmp

          memory/3484-49-0x0000000006220000-0x0000000006574000-memory.dmp

          memory/3484-48-0x0000000073DB0000-0x0000000074560000-memory.dmp

          memory/3484-38-0x00000000061B0000-0x0000000006216000-memory.dmp

          memory/3484-36-0x0000000005FE0000-0x0000000006002000-memory.dmp

          memory/3484-35-0x00000000059B0000-0x0000000005FD8000-memory.dmp

          memory/3484-34-0x0000000073DB0000-0x0000000074560000-memory.dmp

          memory/3484-33-0x0000000003240000-0x0000000003276000-memory.dmp

          memory/3484-32-0x0000000073DBE000-0x0000000073DBF000-memory.dmp