Quasar

Category: rat · Aliases: QuasarRAT, Backdoor:MSIL/Quasar, Trojan.MSIL.Quasar, Win32/Quasar.RAT, Quasar Client, Quasar Remote Administration Tool · Sample count (EMBER 2018): 148 · Enrichment: curated_sourced · Updated: 2026-10-16
Category: RatStatus: Automated SignaturePlatform: WINDOWS, WINDOWS_PEStage: Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Collection, Command And Control, Exfiltration🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows Server 2022
Executive Summary
Quasar (broadly tracked as Quasar RAT, QuasarRAT, Backdoor:MSIL/Quasar, and Trojan.MSIL.Quasar) is a high-performance open-source remote access trojan (RAT) developed in C# (.NET) and publicly hosted on GitHub under an MIT license.

Table of Contents

Overview

Quasar (broadly tracked as Quasar RAT, QuasarRAT, Backdoor:MSIL/Quasar, and Trojan.MSIL.Quasar) is a high-performance open-source remote access trojan (RAT) developed in C# (.NET) and publicly hosted on GitHub under an MIT license. Originally intended by its creator as a lightweight remote management and systems administration tool, Quasar was swiftly co-opted, modified, and weaponized by commercial cybercriminals and sophisticated nation-state advanced persistent threat (APT) groups. Notable state-sponsored threat actors utilizing custom variants of Quasar include APT10 (Stone Panda, MenuPass), APT33 (Elfin), the Syrian Electronic Army, and the Lazarus Group. Quasar operates over TCP/IP socket connections utilizing TLS-encrypted command-and-control streams, providing operators with a robust suite of remote management and surveillance features. Its capabilities include full reverse desktop remote control (Reverse RDP), SOCKS5 reverse proxy tunneling, real-time keystroke logging via SetWindowsHookEx, webcam and microphone capture, audio recording, interactive remote command shell execution (cmd.exe and PowerShell), process injection and termination, file upload and download, and registry manipulation. Cyber threat actors frequently deploy Quasar using weaponized phishing attachments delivering malicious Word documents exploiting equation editor vulnerabilities (CVE-2017-11882) or archived LNK shortcuts. Once executed, the initial stager utilizes process hollowing (T1055.012) to inject the compiled .NET assembly directly into legitimate Windows processes such as InstallUtil.exe, RegSvcs.exe, or MSBuild.exe to evade traditional signature-based antivirus solutions. In October 2018, CISA released Advisory AA18-337A warning organizations that nation-state cyber actors were routinely weaponizing open-source tools like Quasar RAT against critical infrastructure.

Known aliases

Threat reports may refer to this family under multiple names:

Family Pedigree & Lineage

Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:

Derived From / Upstream Ancestry: Quasar_Client_Github

Known Derivatives & Downstream Variants: Quasar_V1.3 · Quasar_V1.4 · Cinedoor · Apt10_Quasar_Fork

MITRE ATT&CK Techniques

This family has been observed using the following ATT&CK techniques: T1056.001 · T1113 · T1125 · T1123 · T1059.003 · T1071.001 · T1547.001 · T1555.003 · T1105 · T1055.012 · T1090.001

→ Explore the complete 226-Technique ATT&CK Threat Matrix

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-PHAProcess Hollowing AnalysisDetectT1055.012Inspect unbacked executable memory regions (PAGE_EXECUTE_READWRITE) for replaced PE image headers inside legitimate host processes.
D3-MFAMulti-factor AuthenticationHardenT1056.001Enforce FIDO2 / WebAuthn physical tokens to render keystroke-intercepted passwords useless.
D3-PBAProcess Spawn AnalysisDetectT1059.003Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe.
D3-WAFWeb Content Filtering & InspectionFilterT1071.001Block newly registered domains (NRDs) and inspect HTTP Host and URI headers for known C2 profiles.
D3-OAAOutbound Network Traffic FilteringIsolateT1090.001Restrict outbound connections to known external proxy relays and enforce enterprise forward proxy authentication.
D3-NTINetwork Traffic InspectionDetectT1105Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols.
D3-SDScreen Capture DetectionDetectT1113Monitor desktop graphics API calls (BitBlt, GetDC) triggered by non-standard background threads.
D3-HACHardware Device Access ControlIsolateT1125Enforce Group Policy hardware access restrictions on integrated webcams and microphones.
D3-RPMRegistry Persistence MonitoringDetectT1547.001Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management.
D3-CVHCredential Vault HardeningHardenT1555.003Enable DPAPI master key audit logging and isolate browser SQLite database files within virtualization-based security containers.

Exploited Vulnerabilities (CVEs)

This malware family is documented weaponizing the following common vulnerabilities and exposures:

Indicators of Compromise

Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.

File hashes (SHA-256, sample)

Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.

Delivery vectors

Persistence mechanisms

SIEM / EDR Ingestion: Need these reference indicators for threat hunting?

Tiered Detection Rules (Cisco CAIRN Model)

Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:

Tier 1 Primitive Artifact Rule (Fast Triage)

Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.

rule MALWARE_WIN_QUASAR_T1_ARTIFACT {
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Quasar"
        tier = "T1 - Primitive Artifact"
        confidence = "Low-Medium (Fast Triage)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        $s1 = "quasar" ascii wide nocase
        $s2 = "quasarrat" ascii wide nocase
        $s3 = "backdoor:msil/quasar" ascii wide nocase
        $s4 = "trojan.msil.quasar" ascii wide nocase
        $s5 = "win32/quasar.rat" ascii wide nocase
        $s6 = "quasar client" ascii wide nocase
        $s7 = "quasar remote administration tool" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.

title: SystemHelpDesk Detection - Quasar (Rat) Execution & Triage
id: efbad2a6-f5d1-5b98-a177-aaecc9356ff8
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
  with the Quasar malware family. Detects unauthorized persistence creation via Windows
  Registry Run keys, scheduled tasks, and privilege escalation indicative of RAT installations.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/quasar
- https://malware-families-catalog.systemhelpdesk.com/defensive/backdoor-rat-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.rat
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1056_001
- attack.t1113
- attack.t1125
- attack.t1123
- attack.t1059_003
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \reg.exe
    - \schtasks.exe
    - \cmd.exe
    - \powershell.exe
    CommandLine|contains:
    - \CurrentVersion\Run
    - /create /tn
    - bypass -enc
    - net user /add
    - net localgroup administrators
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: high

Tier 3 Attribution Fingerprint Rule (High Fidelity)

Deep signature matching distinctive operational fingerprints and payload characteristics.

rule MALWARE_WIN_QUASAR_T3_ATTRIBUTION {
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Quasar tradecraft"
        tier = "T3 - Attribution Fingerprint"
        confidence = "High (Confirmed Family Signature)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        // Core family identifier & heuristic payload signatures
        $attrib_str = "quasar" ascii wide nocase
        $pe_magic = "MZ" ascii
        $net_marker = "http" ascii nocase
    condition:
        uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

References & External Analysis

North American Authority Advisory (CISA / NIST)

The Cybersecurity and Infrastructure Security Agency (CISA) has published an official US federal advisory on this family, which can be mapped to NIST Cybersecurity Framework (CSF) incident response controls: AA18-337A ↗

Frequently Asked Questions

What is Quasar RAT and why is it so prevalent?

Quasar RAT is an open-source C# (.NET) remote access tool available on GitHub. Its stability, full feature set, and open source code make it an attractive framework for cybercriminals and nation-state threat actors looking for disposable, customizable backdoors.

Which nation-state threat actors use Quasar RAT?

Nation-state groups including APT10 (Stone Panda, China), APT33 (Elfin, Iran), the Syrian Electronic Army, and North Korea-nexus actors have weaponized modified versions of Quasar for espionage and enterprise reconnaissance.

What surveillance capabilities does Quasar provide?

Quasar provides comprehensive administrative control: live desktop viewing, webcam and audio recording, SetWindowsHookEx keystroke logging, file management, registry editing, and reverse SOCKS5 proxy tunneling.

How does Quasar encrypt its network traffic?

Quasar utilizes TLS encryption over TCP sockets to communicate with its operator console. Commands, file transfers, and video streams are encrypted in transit to evade network intrusion detection systems.

How do attackers execute Quasar in memory without touching disk?

Attackers frequently use PowerShell or .NET reflection to load the compiled Quasar assembly directly from memory, or use process hollowing into trusted Windows utilities like InstallUtil.exe or RegSvcs.exe.

What detection strategies are recommended in CISA Advisory AA18-337A?

CISA recommends monitoring process injection into system binaries, auditing outbound TLS connections to unfamiliar dynamic DNS domains, and employing application whitelisting (AppLocker/WDAC) to block unauthorized .NET execution.

How do threat actors weaponize the open-source Quasar RAT framework with custom crypters and loaders?

Because Quasar is an open-source C# project maintained on GitHub, cybercriminals and nation-state threat groups (such as APT10 and Gorgon Group) regularly download the source code, modify its network beacons, strip default branding metadata, and wrap the compiled binary in sophisticated commercial crypters or multi-stage ISO/LNK loaders to bypass static antivirus detection while retaining Quasar's reliable remote administration capabilities.

What network serialization libraries and TLS encryption protocols does Quasar use for its reverse connection C2 channel?

Quasar establishes reverse TCP client connections secured with standard TLS/SSL encryption using self-signed or customized X.509 certificates. For network message serialization, Quasar utilizes Protocol Buffers (protobuf-net) or custom binary serializers, packaging telemetry, keystrokes, and screen frames into compact binary payloads that mimic legitimate encrypted enterprise software communication.

How do I remove the Quasar Rat from Windows?

Manual removal of Quasar is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

Is Quasar a virus or a Rat?

Quasar is classified as a Rat. Unlike traditional viruses that infect files, modern malware like Quasar typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Quasar infection?

Symptoms of Quasar can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Protect Your Network Against Rats

Want to prevent Quasar and similar threats from compromising your organization? Read our comprehensive defensive guide: Backdoor & RAT Protection for Businesses.

📣 Threat Intel Correction or Update?

Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.

Need help with an active incident? Published by the SystemHelpdesk threat intelligence team.

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/quasar.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.