QuasarRAT
- Type
- RAT
- Capabilities
- Credential theftKeyloggingExfiltrationPersistencePost exploitationDefense evasionReconnaissance
- Delivery
- PhishingSpearphishingLure
- Platforms
- Windows
QuasarRAT is an open-source Windows remote administration tool widely abused as a remote access trojan by cybercriminals and state-aligned threat actors. First released in 2014 as xRAT, it is written in C# for the .NET Framework. Its publicly available source code allows operators to modify, recompile, and customize the implant for criminal and espionage operations.
QuasarRAT supports remote command execution, system-information collection, file management and transfer, remote desktop access, and keylogging. It can recover passwords stored by common FTP clients, enabling credential theft alongside surveillance and data collection. It supports TCP command-and-control communications. Analyzed builds protect configuration settings with AES-256-CBC encryption and PBKDF2-based key derivation, and obfuscated variants complicate static analysis. Deployment chains have established persistence through scheduled tasks, including tasks triggered at user logon.
Distribution includes spearphishing, malicious documents, deceptive software downloads, and staged scripts that retrieve and execute the RAT. Blind Eagle has distributed QuasarRAT through spearphishing against Latin American targets. Kimsuky-linked operations have deployed it through multistage, résumé-themed Hangul document chains and subsequently used it to execute Funhouse ransomware. The financially motivated actor UAT-10147 has also deployed QuasarRAT on compromised Windows web servers. Its use across unrelated operators makes it a general-purpose intrusion tool rather than a reliable indicator of any single threat actor or industry focus.
Associated vulnerabilities
17 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
5 more CVEs associated with this family tracked in Mallory.
Associated threat actors
31 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Exfiltration that hides in admin noise: the actor routes data to a legitimate cloud-based Nacos configuration-management service, polling its own instance to confirm exploitation rather than holding noisy reverse shells, and a Quasar RAT chain persists under a scheduled task named 'Google Chrome Start' after certutil pulls payloads from adminapi.tippusoni[.]in.
The Funhouse ransomware was identified as a variant of previously disclosed endpoint ransomware, and the tools used in this attack — such as Quasar RAT — as well as the overall attack chain shared numerous similarities with Kimsuky’s endpoint ransomware distribution cases observed since the first half of 2026
Blind Eagle (aka APT-C-36) has a track record of using spear-phishing lures to distribute commodity RATs like AsyncRAT, BitRAT, Lime RAT, NjRAT, Quasar RAT, and Remcos RAT.
“It was built as a legitimate admin tool, but its public code has made it a regular in criminal and espionage campaigns.”
“It was built as a legitimate admin tool, but its public code has made it a regular in criminal and espionage campaigns.”
Patchwork has obtained and used open-source tools such as QuasarRAT.
+25 more in the app. View in Mallory
Techniques & procedures
112 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
Volt Typhoon has obtained the victim's system current location.
Resource Development
6 techniques
Resource Development
"Cyber criminals are spending millions buying up expired domains to repurpose them for malware..." and "estimated to have invested more than $7 million in acquiring over 10,000 expired domains now used for ... malware distribution."
MITRE ATT&CK T1583.003 — Virtual Private Server (PFCLOUD, ThinkHuge, OMEGATECH)
Attackers are buying expired domains to exploit their reputation, traffic and DNS history, using them for malware delivery, scams and C2 infrastructure.
Adversaries may buy, steal, or download software tools that can be used during targeting. Tools can be open or closed source, free or commercial.
MITRE ATT&CK T1588.004 — Digital Certificates (fake Microsoft Publisher certs)
T1608 — Stage Capabilities (Resource Development)
Initial Access
9 techniques
Initial Access
초기 침투에 성공한 위협 행위자는 장기간 내부 정찰과 원격 모니터링을 수행하며, 이 과정에서 피해자의 민감 정보와 주요 계정 자격증명을 수집·탈취하여 Google 및 Naver 계정의 접근 권한을 확보합니다.
The initial dropper (which varies across attacks) is delivered to the victim via email or web
The actor leveraged publicly disclosed vulnerabilities to gain initial access at scale.
Hackers targeted cybersecurity researchers and developers this week in a sophisticated malware campaign distributing a malicious version of the dnSpy .NET application to install cryptocurrency stealers, remote access trojans, and miners.
"malicious packages on the npm registry..."; "Malicious Obfuscated NPM Package... drops ... Quasar RAT"; "typosquats of legitimate npm packages"; "PyPI versions ... compromised to deliver a cryptocurrency miner"
The use of Microsoft OneNote documents to deliver malware via email is increasing. Multiple cybercriminal threat actors are using OneNote documents to deliver malware.
Proofpoint has observed threat actors deliver malware via OneNote documents, which are .one extensions, via email attachments.
a possibly linked YouTube account... one of the videos instructing users to disable Windows Defender before installing the Synapse X RAR file. In the same video, several comments vouched for the legitimacy of the files
QuasarRAT can generate a UAC pop-up Window to prompt the target user to run a command as the administrator. RTM can attempt to run the program as admin, then show a fake error message and a legitimate UAC bypass prompt to the user in an attempt to socially engineer the user into escalating privileges.
Execution
13 techniques
Execution
Using the secondary batch script to silently execute Quasar RAT and establish persistence using a deceptive scheduled task named "Google Chrome Start"
Persistance via tâche planifiée nommée Google Chrome Start
In one case, the threat actor is said to have successfully exploited a website and collected information about the victim host using Linux commands.
TA427 was still using BabyShark, QuasarRAT, PCRat, browser extensions (Chrome, Edge and Firefox), and numerous PowerShell scripts (keylogging, exfiltration of emails and more).
File name back.bat Alternate name for the main Windows deployment script File name bai.bat Secondary batch script used for backdoor execution and persistence File name user.bat Script used to create a privileged local account
Quasar is a .NET Framework-based open-source RAT... Earlier Downeks samples were all written in native code. However, among our Downeks samples, we found new versions apparently written in .NET.
MITRE ATT&CK T1059.007 — JavaScript (sysupdate.js)
The reflectively loaded DLL begins by resolving its API dependencies at runtime... CreateProcessA, VirtualAllocEx, WriteProcessMemory, and CreateRemoteThread.
A typical infection would consist of a malicious document, such as an RTF file exploiting CVE-2017-11882, a stack overflow vulnerability that enables arbitrary code execution on a vulnerable version of Microsoft Office.
In order to detonate the payload, an end-user must interact with the OneNote document.
« claude-ai[.]us distribue Claude_x64-setup.exe depuis GitHub. »
side-loading Callback function hijacking
Quasar server is vulnerable to a simple DLL hijacking attack... When the attacker restarts the Quasar application, our uploaded 'dnsapi.dll' will instead be loaded.
Persistence
8 techniques
Persistence
Using the secondary batch script to silently execute Quasar RAT and establish persistence using a deceptive scheduled task named "Google Chrome Start"
Persistance via tâche planifiée nommée Google Chrome Start
초기 침투에 성공한 위협 행위자는 장기간 내부 정찰과 원격 모니터링을 수행하며, 이 과정에서 피해자의 민감 정보와 주요 계정 자격증명을 수집·탈취하여 Google 및 Naver 계정의 접근 권한을 확보합니다.
ADVSTORESHELL is capable of setting and deleting Registry values. Agent Tesla can achieve persistence by modifying Registry key entries. APT41 used a malware variant called GOODLUCK to modify the registry in order to steal credentials.
the threat context is reconfigured ... At last, the RunPE payload simply resumes the thread and the final RAT payload is executed in the remote process "AppLaunch.exe" injected via process hollowing.
T1543.003 — Create or Modify System Process: Windows Service (Persistence)
MITRE ATT&CK Mapping Technique ID Usage Boot/Logon Autostart Execution T1547 Registry Run keys, Startup shortcuts
Downeks achieves host persistence through either the registry 'run' key or with a shortcut in the start-up folder.
Privilege Escalation
14 techniques
Privilege Escalation
Using the secondary batch script to silently execute Quasar RAT and establish persistence using a deceptive scheduled task named "Google Chrome Start"
Persistance via tâche planifiée nommée Google Chrome Start
Injects the decrypted payload into the targeted processes.
It opens the target with full access, allocates an executable memory region inside it, writes the assembled payload, and starts a remote thread at the payload's entry point.
The loader compiles the RunPE source code at runtime ... to perform Process Hollowing to execute the RAT... inject the RAT payload into the remote process "AppLaunch.exe"
Researchers observed attackers leveraging Zerologon, or CVE-2020-1472, a Microsoft zero-day elevation-of-privilege vulnerability first disclosed and patched on Aug. 11.
초기 침투에 성공한 위협 행위자는 장기간 내부 정찰과 원격 모니터링을 수행하며, 이 과정에서 피해자의 민감 정보와 주요 계정 자격증명을 수집·탈취하여 Google 및 Naver 계정의 접근 권한을 확보합니다.
MITRE ATT&CK TTPs ... T1134.001 Access Token Manipulation Token Impersonation/Theft Elevation via runas
The injector enumerates all active terminal sessions and, for each one, spawns a suspended svchost.exe process under a duplicated token whose session ID has been reassigned to match the target session.
the threat context is reconfigured ... At last, the RunPE payload simply resumes the thread and the final RAT payload is executed in the remote process "AppLaunch.exe" injected via process hollowing.
T1543.003 — Create or Modify System Process: Windows Service (Persistence)
MITRE ATT&CK Mapping Technique ID Usage Boot/Logon Autostart Execution T1547 Registry Run keys, Startup shortcuts
Downeks achieves host persistence through either the registry 'run' key or with a shortcut in the start-up folder.
The content repeatedly describes malware and threat actors that 'bypass UAC,' 'perform UAC bypass,' or use specific Windows components such as fodhelper.exe, eventvwr.exe, sdclt.exe, CMSTPLUA COM interface, SilentCleanup, and registry hijacks to gain elevated privileges.
Stealth
30 techniques
Stealth
This vulnerability carries a high severity score of 8.4 and affects WinRAR on Windows operating systems due to a path traversal flaw.
The attackers invested significant effort in attempting to hide the tool by changing the source code of the RAT and the RAT server, and by using an obfuscator and packer.
The decrypted output is a .NET assembly (MSIL) protected with .NET Reactor.
The malware then fetches a file from its infrastructure that looks like an ordinary JPEG image but actually hides multiple encrypted payloads appended after the picture data.
String Protection : C2 host, port, mutex, installation path, and other configuration strings are encrypted ... The C2 host/port cannot be extracted statically
The reflectively loaded DLL begins by resolving its API dependencies at runtime to avoid static imports.
The downloaded file is a polyglot... The malware, however, disregards the picture entirely and reads only the data appended after the image, where the real payload is stored.
The data that is sent in the POST is serialized with json, which is then is encrypted, and finally encoded in base64.
establish persistence using a deceptive scheduled task named "Google Chrome Start"
Persistance via tâche planifiée nommée Google Chrome Start
Injects the decrypted payload into the targeted processes.
It opens the target with full access, allocates an executable memory region inside it, writes the assembled payload, and starts a remote thread at the payload's entry point.
The loader compiles the RunPE source code at runtime ... to perform Process Hollowing to execute the RAT... inject the RAT payload into the remote process "AppLaunch.exe"
Deleting initial payloads to cover its tracks and thwart forensic analysis
With elevation confirmed, the downloader prepares its staging directory under C:\Program Files\Windows Media Player, a legitimate-looking path, and removes any artifacts left by a previous run.
초기 침투에 성공한 위협 행위자는 장기간 내부 정찰과 원격 모니터링을 수행하며, 이 과정에서 피해자의 민감 정보와 주요 계정 자격증명을 수집·탈취하여 Google 및 Naver 계정의 접근 권한을 확보합니다.
MITRE ATT&CK TTPs ... T1134.001 Access Token Manipulation Token Impersonation/Theft Elevation via runas
The injector enumerates all active terminal sessions and, for each one, spawns a suspended svchost.exe process under a duplicated token whose session ID has been reassigned to match the target session.
Each of the GClass65.string_8 values reference a value that have been encrypted using AES and then encoded using base64... By setting appropriate breakpoints and watch windows. The configuration can be obtained with minimal analysis of the encryption.
MSBuild is normally used to compile and execute coding projects; it can be passed project files or XML files containing scripts on the command line... Since the file is a trusted Microsoft binary, it can be packed into a dropper to mask the malicious nature of the malware.
Check strings and observe multiple references to ZwWriteVirtualMemory and InstallUtil.exe Assume entropy=Loader , Assume InstallUtil.exe = Injection Target Execute malware inside the Virtual Machine Utilise Process Hacker to observe new spawns of installutil.exe
MITRE ATT&CK T1218.005 — Mshta (OneDriveSync.hta, COM scriptlet)
The decrypted PowerShell command performs some rudimentary anti-virtual machine checks, downloads and opens a decoy image and the actual payload to the endpoint.
DarkGate queries system locale information during execution. Later versions of DarkGate query GetSystemDefaultLCID for locale information to determine if the malware is executing in Russian-speaking countries.
This variant of AsyncRAT hides itself inside the .iso file format to dodge extra scanning and is a known technique.
The content repeatedly describes malware and threat actors creating hidden folders, adding dot prefixes to filenames, and setting file attributes such as hidden/system to conceal files and directories from users and defenders.
Agent Tesla has used ProcessWindowStyle.Hidden to hide windows. APT-C-36 has set the ShowWindow property of the Win32_ProcessStartup object to zero to hide PowerShell execution. APT19 used -W Hidden to conceal PowerShell windows by setting the WindowStyle parameter to hidden.
side-loading Callback function hijacking
Quasar server is vulnerable to a simple DLL hijacking attack... When the attacker restarts the Quasar application, our uploaded 'dnsapi.dll' will instead be loaded.
The injected shellcode reflective loads in-memory an executable it reconstructs from data that it is bundled with it.
Defense Impairment
4 techniques
Defense Impairment
ADVSTORESHELL is capable of setting and deleting Registry values. Agent Tesla can achieve persistence by modifying Registry key entries. APT41 used a malware variant called GOODLUCK to modify the registry in order to steal credentials.
Threat actors are using stolen NVIDIA code signing certificates to sign malware to appear trustworthy and allow malicious drivers to be loaded in Windows. | According to samples uploaded to the VirusTotal malware scanning service, the stolen certificates were used to sign various malware and hacking tools, such as Cobalt Strike beacons, Mimikatz, backdoors, and remote access trojans.
The ISO format is a deliberate choice. ISOs auto-mount on Windows 10/11 without third-party software, bypassing Mark-of-the-Web (MOTW) protections that would otherwise trigger SmartScreen warnings on downloaded executables (T1553.005).
add specific directories to the Windows Defender exclusion list, effectively hiding the malware from antivirus scans
Credential Access
5 techniques
Credential Access
The content is a catalog of malware families and threat actors that 'can perform keylogging,' 'log keystrokes,' 'capture keystrokes,' or use 'keylogger' modules/tools.
Attackers are increasingly turning to stealing the “cookies” associated with credentials to clone active or recent web sessions—bypassing MFA in the process.
FTP/SFTP Clients: FileZilla: {AppData}\FileZilla\recentservers.xml , sitemanager.xml WinSCP: SOFTWARE\\Martin Prikryl\\WinSCP 2\\Sessions (registry)
Password stealing
Agent Tesla can gather credentials from a number of browsers... APT3 has used tools to dump passwords from browsers... APT41 used BrowserGhost, a tool designed to obtain credentials from browsers, to retrieve information from password stores... TrickBot can obtain passwords stored in files from web browsers such as Chrome, Firefox, Internet Explorer, and Microsoft Edge
Discovery
12 techniques
Discovery
RAT commands... Edit registry
The content repeatedly describes malware and threat actors using commands and APIs such as ipconfig /all, ifconfig, arp -a, route print, nbtstat, netsh, GetAdaptersInfo, and GetIpNetTable to gather IP addresses, MAC addresses, DNS, DHCP, gateways, routing tables, ARP cache, proxy settings, domains, and network adapter/interface details.
The content repeatedly describes malware and threat actors collecting the username, identifying the current user, enumerating logged-on users, or running commands such as whoami, query user, and quser to determine user context on compromised systems.
Researchers observed a “large-scale attack campaign targeting multiple Japanese companies” across 17 regions and various industry sectors that engaged in a range of malicious activity, such as credential theft, data exfiltration and network reconnaissance.
Open task manager
Several entries describe identifying whether the current user has admin privileges, determining privilege level, identifying groups the user belongs to, or verifying execution as SYSTEM.
The client returns data to the server about the victim computer... Get system information
Get file system
Examples include 'Caterpillar WebShell can obtain a list of user accounts from a victim's machine,' 'Woody RAT can retrieve a list of user accounts and usernames,' and 'APT38 has identified primary users, currently logged in users, sets of users that commonly use a system, or inactive users.'
The decrypted PowerShell command performs some rudimentary anti-virtual machine checks, downloads and opens a decoy image and the actual payload to the endpoint.
DarkGate queries system locale information during execution. Later versions of DarkGate query GetSystemDefaultLCID for locale information to determine if the malware is executing in Russian-speaking countries.
IP geolocation APIs: https://ipwho.is/ — returns hostname, country, country_code, continent_code, timezone
Lateral Movement
6 techniques
Lateral Movement
The content references repeated use of remote administration and remote execution tools such as PsExec, AnyDesk, Atera, ConnectWise, RemoteUtilities, SimpleHelp, PcShare, VNC, and commodity remote access tools.
Open remote desktop connection Observe the desktop and actions of active user Issue remote mouse clicks and keyboard strokes
Other tools attackers leveraged in the campaign included: ... WMIExec, used for lateral movement and to execute commands remotely;
The HVNC module is the critical escalation. Hidden VNC creates an invisible desktop session, allowing the operator to interact with the victim's browser — including crypto wallet extensions, exchange sessions, and 2FA prompts — without the victim seeing any visual activity.
"allowing unauthenticated attackers to execute arbitrary code on vulnerable servers via a single crafted HTTP request" / "manipulating prototype chains" / "trigger the `Function()` constructor with attacker-controlled code"
we realized this sample checks the current path on which it is executed and copy itself in a new directory named “PDF Reader” into the %PROGRAMFILES% directory.
Collection
4 techniques
Collection
The content is a catalog of malware families and threat actors that 'can perform keylogging,' 'log keystrokes,' 'capture keystrokes,' or use 'keylogger' modules/tools.
T1113 Screen Capture Mentioned RAT functionality
T1125 Video Capture Mentioned RAT functionality
Other tools attackers leveraged in the campaign included: RAR archiving, which can transfer files to staging servers before exfiltration;
Command and Control
16 techniques
Command and Control
The most significant technical change is where the malware stores its core configuration. Rather than embedding C2 URLs as readable strings, the authors have moved that data into the .NET resource section, scrambled with XOR encoding.
часть инфраструктуры Sable Squirrel используется для работы малвари: к доменам хак-группы обращались более 31 000 образцов вредоносов... некоторые сайты одновременно показывали посетителям спортивные трансляции и работали в качестве управляющих серверов для малвари.
T1071.001 — Application Layer Protocol: Web Protocols (Command and Control)
T1090 Proxy Quasar uses SOCKS5 to communicate over a reverse proxy
Remote Control Features ... Reverse Proxy TCP tunneling through victim machine
Reverse Proxy
T1090.004 Proxy Domain Fronting ngrok tunnel hides true C2 destination
Adversaries may use a non-application layer protocol for communication between host and C2 server or among infected hosts within a network. Specific examples include use of network layer protocols, such as the Internet Control Message Protocol (ICMP), transport layer protocols, such as the User Datagram Protocol (UDP), session layer protocols, such as Socket Secure (SOCKS), as well as redirected/tunneled protocols, such as Serial over LAN (SOL).
Rather than hardcoding a payload URL, the resolver retrieves text from public platforms, searches it for the marker string 'LastW,' then decrypts the trailing blob with a hardcoded key to recover the actual download location. Primary dead drops include Pastebin and a paste service called Rlim, with fallbacks across YouTube, Instagram, Telegram, Google Docs, and GitCode.
Using a batch script that employs certutil to download a privilege escalation tool ("EfsPotato"), a secondary batch script, and Quasar RAT from a remote server
Useful starting points are MITRE ATT&CK techniques for remote access software (T1219)
The use of dynamic DNS domains for C2 communications is a central technique in the arsenal of the DDGroup actor.
Connected to 0.tcp.eu.ngrok.io on port 18107
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
Its configuration strings, visible after deobfuscation, are encrypted with AES-256-CBC using an encrypt-then-HMAC scheme.
[C2 Beaconing] └─→ RSA-2048 key exchange using embedded public key └─→ AES-256 encrypted channel established
Exfiltration
3 techniques
Exfiltration
T1041 — Exfiltration Over C2 Channel (Exfiltration)
MITRE ATT&CK T1567 — Exfiltration Over Web Service (GitHub payload hosting)
The campaign also used legitimate cloud file-hosting service for exfiltration, researchers said.
Impact
3 techniques
Impact
Kill / start processes
Shutdown / restart the computer
Scammers running business email compromise (BEC) fraud have grown in number, attack more often, and turn to remote access trojans as the preferred malware type to accompany their raids.
Observables
1,281 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.