Quasar (Backdoor:MSIL/Quasar)
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
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.001: Implement Endpoint Detection and Response (EDR) to monitor for suspicious API calls related to keystroke interception. Enforce Multi-Factor Authentication (MFA) to render stolen passwords useless.
- T1059.003: Restrict execution of Windows Command Shell (cmd.exe) and block unauthorized batch scripts.
- T1071.001: Implement web filtering and SSL/TLS inspection to detect malicious command and control (C2) traffic hiding in HTTP/HTTPS.
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
- T1113: Monitor for frequent or unauthorized screen captures or clipboard reads. Restrict background applications from accessing desktop APIs.
- T1125: Restrict access to local camera or microphone APIs. Utilize endpoint protection that monitors hardware access.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-PHA | Process Hollowing Analysis | Detect | T1055.012 | Inspect unbacked executable memory regions (PAGE_EXECUTE_READWRITE) for replaced PE image headers inside legitimate host processes. |
D3-MFA | Multi-factor Authentication | Harden | T1056.001 | Enforce FIDO2 / WebAuthn physical tokens to render keystroke-intercepted passwords useless. |
D3-PBA | Process Spawn Analysis | Detect | T1059.003 | Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe. |
D3-WAF | Web Content Filtering & Inspection | Filter | T1071.001 | Block newly registered domains (NRDs) and inspect HTTP Host and URI headers for known C2 profiles. |
D3-OAA | Outbound Network Traffic Filtering | Isolate | T1090.001 | Restrict outbound connections to known external proxy relays and enforce enterprise forward proxy authentication. |
D3-NTI | Network Traffic Inspection | Detect | T1105 | Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols. |
D3-SD | Screen Capture Detection | Detect | T1113 | Monitor desktop graphics API calls (BitBlt, GetDC) triggered by non-standard background threads. |
D3-HAC | Hardware Device Access Control | Isolate | T1125 | Enforce Group Policy hardware access restrictions on integrated webcams and microphones. |
D3-RPM | Registry Persistence Monitoring | Detect | T1547.001 | Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management. |
D3-CVH | Credential Vault Hardening | Harden | T1555.003 | Enable 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:
- CVE-2017-11882 — In-depth exploitation analysis and catalog intelligence (NIST NVD ↗).
- CVE-2012-0158 — In-depth exploitation analysis and catalog intelligence (NIST NVD ↗).
Recorded indicators and context
Fields and notes stored in this catalog record may describe historical artifacts, behaviors or general context. Their presence does not establish a current, independently verified indicator. Check sources and evidence limits before operational use.
Recorded file hashes
These are values stored in the record, not a guarantee of specimen identity or current detection coverage. Review their cited provenance before use; this catalog does not distribute malware binaries.
5b508f72a4209bf26efba098b671a52028ddc87c14a22ad31737be70d8a57102a172776c59b67195721118182969b761a17387f5df2307ef086915091219b671
Recorded delivery context
Spear-phishing emails containing malicious Office documents exploiting formula editor flaw CVE-2017-11882ISO or RAR archive attachments containing weaponized LNK shortcuts executing PowerShellStaged multi-stage loaders dropping obfuscated .NET assemblies into user profile directories
Recorded persistence context
Scheduled task creation executing with highest privileges via schtasks /create /sc onlogonHKCU\Software\Microsoft\Windows\CurrentVersion\Run\Quasar ClientProcess hollowing into trusted Windows utilities: InstallUtil.exe, RegSvcs.exe, or MSBuild.exe
Record export: Categories, original JSON values and notes for review. This is not a verified indicator feed or a ready-to-import SIEM/EDR format. Spreadsheet formula prefixes in record/category cells are protected with a leading apostrophe.
Detection rule examples
These generated examples are starting points for local testing. Their detection rate and false-positive rate have not been measured. Correlate any match with endpoint evidence and the primary reports cited below.
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 (Rat)"
category = "Rat"
tier = "T1 - Primitive Artifact"
confidence = "Medium (Fast Triage)"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/quasar"
date = "2026-11-21"
strings:
$fam_name = "quasar" ascii wide nocase
$alias_1 = "quasarrat" ascii wide nocase
$alias_2 = "backdoor:msil/quasar" ascii wide nocase
$alias_3 = "trojan.msil.quasar" ascii wide nocase
$alias_4 = "win32/quasar.rat" ascii wide nocase
$alias_5 = "quasar client" ascii wide nocase
$alias_6 = "quasar remote administration tool" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Looks for selected process and command-line patterns. Validate the fields against your event source and review approved administration activity.
title: SystemHelpDesk Detection - Quasar (Rat) Execution & Triage
id: efbad2a6-f5d1-5b98-a177-aaecc9356ff8
status: experimental
description: Experimental process-event hunting example associated with Quasar (Backdoor:MSIL/Quasar).
Measure detection and false-positive rates in your own environment. Shared administration
behavior needs additional incident evidence.
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
- attack.t1071_001
- attack.t1547_001
- attack.t1555_003
- attack.t1105
- attack.t1055_012
- attack.t1090_001
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 String and PE-marker example
Combines a family-name string with common PE markers. A match needs investigation before family attribution.
rule MALWARE_WIN_QUASAR_T3_ATTRIBUTION
{
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Quasar tradecraft"
category = "Rat"
tier = "T3 - Attribution Fingerprint"
confidence = "Experimental example; validation pending"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/quasar"
date = "2026-11-21"
strings:
$attrib_str = "quasar" ascii wide nocase
$rat_marker1 = "SetWindowsHookEx" ascii
$rat_marker2 = "CurrentVersion\\Run" ascii wide nocase
$shell_marker = "cmd.exe" ascii wide nocase
condition:
uint16(0) == 0x5a4d and $attrib_str and (2 of ($rat_marker*, $shell_marker))
}
References & External Analysis
- CISA Alert AA18-337A: Open Source Tools Weaponized by Threat Actors
- Palo Alto Networks Unit 42: Quasar RAT Profile and APT10 Campaigns
- Mandiant: QuasarRAT In-Memory Evasion and Threat Actor Usage
- CISA Analysis Report AR18-337A: Quasar RAT Technical Architecture
- CISA Advisory: AA18-337A
- Search "quasar" on VirusTotal (External Analysis)
- Search "quasar" on Any.Run (Sandbox Sandbox)
- Search "quasar" on MalwareBazaar (Malware Samples)
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 Quasar (Backdoor:MSIL/Quasar) from Windows?
Manual removal of Quasar (Backdoor:MSIL/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.
What are the main symptoms of a Quasar (Backdoor:MSIL/Quasar) infection?
Symptoms of Quasar (Backdoor:MSIL/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 (Backdoor:MSIL/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.
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,982 malware families. The catalog is also published across our ecosystem: Hugging Face, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.