Open-source remote access trojan (RAT)

Quasar RAT

Quasar is an open-source remote administration tool written in .NET, first published around 2014 by a developer going by MaxXor and still maintained on GitHub. It hands an operator a Windows client with remote desktop, keylogging, file transfer, and a reverse proxy, all over a TLS connection that defaults to port 4782.

It was released for legitimate administration and adopted almost immediately by espionage crews and commodity operators, which is why its controllers keep surfacing in the wild.

  • Actively tracked
  • First seen 2014
Overview

A .NET RAT that still anchors both espionage and commodity crews

Quasar started life as xRAT and has been public and free since the beginning, which is most of the reason it spread. The code has been forked and borrowed from repeatedly, and several later .NET RATs trace parts of their design back to it. For a defender the draw is simple: a Quasar controller is usually not the whole intrusion, it is the remote-control layer sitting behind a phishing lure, and it often shares a host or a campaign with a loader, a miner, or a second RAT.

What makes it trackable is that the controller speaks TLS on a fixed default port and ships a recognizable self-signed certificate unless the operator changes it. The client authenticates back to the server, so the server side is the part exposed to the internet and the part Hunt.io watches.

Hunt.io tracks Quasar in its C2 Infrastructure view, where a month of live IP activity sits beside the family description:

Quasar in Hunt.io's C2 Infrastructure view, with the past month of live IP activity and the family descriptionFigure 01. The Quasar profile in Hunt.io's C2 Infrastructure view, with the past month of live IP activity above the family description.
Reference

The basics on Quasar RAT, for quick reference

  • Aliases: QuasarRAT, xRAT (its original name)

  • Type: open-source remote administration tool, widely abused as a RAT

  • Lineage: .NET family; its code has been reused and forked by later RATs

  • Written in: C# / .NET

  • First seen: 2014 (as xRAT)

  • Default port: 4782 (TLS C2)

  • MITRE ATT&CK: S0262; T1219 remote access software, T1056.001 keylogging, T1071.001 web protocols

  • Project: github.com/quasar/Quasar

Live servers

Quasar IOC feed: live controllers

Over the trailing 30 days Hunt.io has — live Quasar controllers in the C2 infrastructure data. Last updated on —.

The full set, with the ports, hosting, and history behind each controller, is free with an account.

HuntSQL

Pulling live Quasar controllers with HuntSQL

Quasar has its own family tag, so the count of live controllers is one query over the malware table:

count unique active servers
SELECT uniq(ip) AS unique_ips
FROM malware
WHERE malware.name = 'Quasar'
  AND is_active = true

Quasar defaults to TLS on port 4782, but plenty of operators move it, so a port grouping shows how much of the live set still answers there before you lean on that port as a filter:

group results
SELECT port, uniq(ip) AS controllers
FROM malware
WHERE malware.name = 'Quasar'
  AND is_active = true
GROUP BY port
ORDER BY controllers DESC

The default accounts for the single biggest cluster, with the rest spread across 8080, 443, 80, and a scatter of high ports, so 4782 is a strong first filter but not the whole picture.

And the controllers themselves, newest first:

list the active servers, newest first
SELECT ip, port, asn.name, asn.country_code, timestamp
FROM malware
WHERE malware.name = 'Quasar'
  AND is_active = true
ORDER BY timestamp DESC

Output example:

Live Quasar controllers in Hunt.io's SQL results, with the default 4782 port recurring among a spread of high portsFigure 02. The active Quasar controllers the query returns, newest first, with the 4782 default recurring across mixed hosting and a range of high ports.
Recent campaigns

Quasar RAT campaigns and the crews using it

Across these, Quasar is rarely alone. It rides in beside ransomware, miners, and sibling .NET RATs like VenomRAT and XenoRAT, so a confirmed controller is usually a thread into a larger operation.

Triage

Confirming a Quasar controller you have found

A live host on 4782 is the obvious starting point, but the certificate is what separates a real Quasar server from anything else sitting on that port. A default build serves a self-signed TLS certificate with a recognizable Quasar subject, and the client authenticates against it, so the cert is both the confirmation and the pivot. Take its hash into the SSL history data and it pulls the wider cluster, including controllers an operator moved to a non-standard port but never re-keyed.

From the panel an operator gets remote desktop, a keylogger, a file manager, a reverse SOCKS proxy, and password recovery, which is why Quasar shows up as the hands-on-keyboard layer rather than the delivery stage. On the host, treat a confirmed controller as an anchor: pull the connect-back certificate, pivot on the hosting, and check for the co-located tooling the campaigns above keep pairing it with, a ransomware builder, an XMRig miner, or a second RAT.

Operators also leave open directories behind. A malware-name search in AttackCapture returns exposed Quasar hosts, some of them spilling hundreds of files:

Exposed Quasar operator directories in Hunt.io's AttackCapture, including a Singapore host serving hundreds of filesFigure 03. A malware-name search for Quasar in Hunt.io's AttackCapture, with a Singapore host (202.61.160.229) exposing more than 800 files, including a leaked Cloudflare API token.
FAQ

Quasar RAT detection FAQs

What port does Quasar RAT use?

The controller defaults to TLS on port 4782, and that is where most live servers answer. Operators do relocate it onto 8080, 443, 80, and high random ports, so confirm on the certificate rather than the port alone.

Is Quasar a virus?

Quasar is an open-source remote administration tool, not malware by design, but it is abused so often as a RAT that an exposed controller is worth running down. The project itself is legitimate; the host running it may not be.

How do you detect Quasar?

Look for the default 4782 TLS service and the recognizable self-signed Quasar certificate, then confirm against Hunt.io's feed of live controllers. On a victim host, a Quasar client beacons back to that server over TLS.

Who uses Quasar RAT?

Both ends of the spectrum. State-aligned crews like Kimsuky have folded it into phishing chains, while commodity operators run it beside AsyncRAT, DCRat, and Remcos in large shared-infrastructure campaigns.

Is Quasar the same as AsyncRAT?

No, they are separate projects, but they share the open-source .NET RAT lineage and routinely appear together in the same campaigns, which is why reporting often names them side by side.