Analysis

  • max time kernel
    146s
  • max time network
    125s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-04-2024 01:56

General

  • Target

    28b7e5568fcbab776e1bbb1be485a4299a760240fe4b1c60cb3ce68a0e0c4ba6.exe

  • Size

    3.5MB

  • MD5

    af1082c667a09a0f1f6adb041ca37d34

  • SHA1

    ccb770b00596a1d2fa0d9d7d3dbe9451734a30f9

  • SHA256

    28b7e5568fcbab776e1bbb1be485a4299a760240fe4b1c60cb3ce68a0e0c4ba6

  • SHA512

    4d1c50b42077ec0a8f0060410e75201e920b951f299e8d9a247fb4ba3c920ef5d16f7b30e2decef5323d88e28e3daeee60ae3fcd1e00de36e0185336b1582404

  • SSDEEP

    98304:p99xyD6/xKyfNf6wZsi/0+zqEsf+JQgWq:rXIc7fNf6Y4EsWxR

Malware Config

Extracted

Family

quasar

Version

1.4.1

Botnet

Slave

C2

157.20.182.46:4782

Mutex

a5764ae9-1c39-4533-95ca-a5d90dae860a

Attributes
  • encryption_key

    BA20F732417E96C201B42F315FAD6CF773D77589

  • install_name

    Client.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    Client

  • subdirectory

    SubDir

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 1 IoCs
  • UAC bypass 3 TTPs 1 IoCs
  • Windows security bypass 2 TTPs 2 IoCs
  • Looks for VirtualBox Guest Additions in registry 2 TTPs 2 IoCs
  • Looks for VMWare Tools registry key 2 TTPs 2 IoCs
  • Checks BIOS information in registry 2 TTPs 4 IoCs

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

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Windows security modification 2 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • Maps connected drives based on registry 3 TTPs 4 IoCs

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 27 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 26 IoCs
  • System policy modification 1 TTPs 1 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\28b7e5568fcbab776e1bbb1be485a4299a760240fe4b1c60cb3ce68a0e0c4ba6.exe
    "C:\Users\Admin\AppData\Local\Temp\28b7e5568fcbab776e1bbb1be485a4299a760240fe4b1c60cb3ce68a0e0c4ba6.exe"
    1⤵
    • Looks for VirtualBox Guest Additions in registry
    • Looks for VMWare Tools registry key
    • Checks BIOS information in registry
    • Checks computer location settings
    • Adds Run key to start application
    • Maps connected drives based on registry
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"' & exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:5028
      • C:\Windows\system32\schtasks.exe
        schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"'
        3⤵
        • Creates scheduled task(s)
        PID:3120
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp3A79.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2160
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:3108
      • C:\Users\Admin\AppData\Roaming\svchost.exe
        "C:\Users\Admin\AppData\Roaming\svchost.exe"
        3⤵
        • UAC bypass
        • Windows security bypass
        • Looks for VirtualBox Guest Additions in registry
        • Looks for VMWare Tools registry key
        • Checks BIOS information in registry
        • Checks computer location settings
        • Executes dropped EXE
        • Windows security modification
        • Checks whether UAC is enabled
        • Maps connected drives based on registry
        • Suspicious use of SetThreadContext
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        • System policy modification
        PID:2252
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\svchost.exe" -Force
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3680
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:440
          • C:\Users\Admin\AppData\Roaming\SubDir\Client.exe
            "C:\Users\Admin\AppData\Roaming\SubDir\Client.exe"
            5⤵
            • Executes dropped EXE
            PID:812
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
          4⤵
            PID:4584

    Network

    MITRE ATT&CK Matrix ATT&CK v13

    Execution

    Scheduled Task/Job

    1
    T1053

    Persistence

    Boot or Logon Autostart Execution

    1
    T1547

    Registry Run Keys / Startup Folder

    1
    T1547.001

    Scheduled Task/Job

    1
    T1053

    Privilege Escalation

    Abuse Elevation Control Mechanism

    1
    T1548

    Bypass User Account Control

    1
    T1548.002

    Boot or Logon Autostart Execution

    1
    T1547

    Registry Run Keys / Startup Folder

    1
    T1547.001

    Scheduled Task/Job

    1
    T1053

    Defense Evasion

    Abuse Elevation Control Mechanism

    1
    T1548

    Bypass User Account Control

    1
    T1548.002

    Impair Defenses

    3
    T1562

    Disable or Modify Tools

    3
    T1562.001

    Modify Registry

    5
    T1112

    Virtualization/Sandbox Evasion

    2
    T1497

    Discovery

    Query Registry

    6
    T1012

    Virtualization/Sandbox Evasion

    2
    T1497

    System Information Discovery

    5
    T1082

    Peripheral Device Discovery

    1
    T1120

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_0m5kzfsz.5x5.ps1
      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Local\Temp\tmp3A79.tmp.bat
      Filesize

      151B

      MD5

      60064357abf4c0f49429a7be86c2d742

      SHA1

      1ba1c607f1677022e212d1b1d8eccb13d98e729c

      SHA256

      f7844edb0c59eb5c34ccd4b3e76445b50b584a9dc3ab3a53c49a7cdcd9e57fde

      SHA512

      100aad55bd4f8d4fdbdb11b3fc1b657e8589d00185691f684b709ebdd026d7db6d7a081f29de88e56e05da2af09870d11f35149c302633cf32efd510f5038d9f

    • C:\Users\Admin\AppData\Roaming\SubDir\Client.exe
      Filesize

      256KB

      MD5

      8fdf47e0ff70c40ed3a17014aeea4232

      SHA1

      e6256a0159688f0560b015da4d967f41cbf8c9bd

      SHA256

      ed9884bac608c06b7057037cc91d90e4ae5f74dd2dbce2af476699c6d4492d82

      SHA512

      bd69d092ed4f9c5e1f24eaf5ec79fb316469d53849dc798fae0fcba5e90869b77ee924c23cc6f692198ff25827ab60ad47bb46cadd6e0aadde7731cbafb013be

    • C:\Users\Admin\AppData\Roaming\svchost.exe
      Filesize

      3.5MB

      MD5

      af1082c667a09a0f1f6adb041ca37d34

      SHA1

      ccb770b00596a1d2fa0d9d7d3dbe9451734a30f9

      SHA256

      28b7e5568fcbab776e1bbb1be485a4299a760240fe4b1c60cb3ce68a0e0c4ba6

      SHA512

      4d1c50b42077ec0a8f0060410e75201e920b951f299e8d9a247fb4ba3c920ef5d16f7b30e2decef5323d88e28e3daeee60ae3fcd1e00de36e0185336b1582404

    • memory/440-45-0x0000000074DD0000-0x0000000075580000-memory.dmp
      Filesize

      7.7MB

    • memory/440-36-0x0000000005850000-0x000000000585A000-memory.dmp
      Filesize

      40KB

    • memory/440-31-0x0000000005990000-0x00000000059A0000-memory.dmp
      Filesize

      64KB

    • memory/440-30-0x0000000005860000-0x00000000058F2000-memory.dmp
      Filesize

      584KB

    • memory/440-14-0x0000000000400000-0x0000000000724000-memory.dmp
      Filesize

      3.1MB

    • memory/440-29-0x0000000005D70000-0x0000000006314000-memory.dmp
      Filesize

      5.6MB

    • memory/440-28-0x0000000074DD0000-0x0000000075580000-memory.dmp
      Filesize

      7.7MB

    • memory/812-43-0x0000000000CC0000-0x0000000000D00000-memory.dmp
      Filesize

      256KB

    • memory/812-44-0x0000000074DD0000-0x0000000075580000-memory.dmp
      Filesize

      7.7MB

    • memory/812-49-0x0000000005630000-0x0000000005640000-memory.dmp
      Filesize

      64KB

    • memory/812-50-0x0000000074DD0000-0x0000000075580000-memory.dmp
      Filesize

      7.7MB

    • memory/812-47-0x0000000005640000-0x000000000579A000-memory.dmp
      Filesize

      1.4MB

    • memory/812-46-0x00000000054B0000-0x00000000054CA000-memory.dmp
      Filesize

      104KB

    • memory/2252-13-0x00007FF9DDA10000-0x00007FF9DE4D1000-memory.dmp
      Filesize

      10.8MB

    • memory/2252-34-0x00007FF9DDA10000-0x00007FF9DE4D1000-memory.dmp
      Filesize

      10.8MB

    • memory/2364-3-0x000001DC1E950000-0x000001DC1ECC8000-memory.dmp
      Filesize

      3.5MB

    • memory/2364-0-0x000001DC043C0000-0x000001DC043C8000-memory.dmp
      Filesize

      32KB

    • memory/2364-2-0x000001DC1E940000-0x000001DC1E950000-memory.dmp
      Filesize

      64KB

    • memory/2364-1-0x00007FF9DDC60000-0x00007FF9DE721000-memory.dmp
      Filesize

      10.8MB

    • memory/2364-8-0x00007FF9DDC60000-0x00007FF9DE721000-memory.dmp
      Filesize

      10.8MB

    • memory/3680-35-0x00007FF9DDA10000-0x00007FF9DE4D1000-memory.dmp
      Filesize

      10.8MB

    • memory/3680-23-0x0000023276EF0000-0x0000023276F12000-memory.dmp
      Filesize

      136KB

    • memory/3680-15-0x00007FF9DDA10000-0x00007FF9DE4D1000-memory.dmp
      Filesize

      10.8MB

    • memory/3680-16-0x00000232750D0000-0x00000232750E0000-memory.dmp
      Filesize

      64KB

    • memory/3680-17-0x00000232750D0000-0x00000232750E0000-memory.dmp
      Filesize

      64KB