A remote access trojan, or RAT, is malware that lets an attacker control a computer from a distance. MITRE describes one well-known example as a remote access tool whose capabilities include running commands and working with files. It is a type of Trojan, meaning it hides its purpose.
- Also Called3other namesRAT · remote access tool · remote administration trojan
- Related Terms3linked entriesCommand and control (C2) · Persistence · Credential theft
What Is a Remote Access Trojan?
A remote access trojan, often shortened to RAT, is malware that gives an attacker remote control over a computer. The word trojan points to the disguise. The word remote access points to the goal. MITRE ATT&CK calls gh0st RAT a remote access tool. Its entry says the source code is public and several groups have used it.
The letters RAT are also used for the phrase remote access tool. Both versions of the name appear in practice, and they refer to the same idea of controlling a machine from afar.
How Does a RAT Work?
MITRE lists what the gh0st RAT can do. Its capabilities include remote command execution, file operations, system reconnaissance and keylogging. It also includes persistence through registry changes and service creation. MITRE also notes that it uses encrypted communications to hide its command and control traffic. Command and control is the link an attacker uses to send orders to the infected machine and receive results.
Not every RAT has the same features. This list describes one documented example, not all of them.
Why Is a Public RAT Not a Sign of One Group?
A RAT gives an attacker an interactive foothold on a machine. MITRE lists remote command execution, file operations and keylogging for one example, so a single infected computer can expose files and typed information. Because the code of the gh0st RAT is public and used by multiple groups, a tool of this kind is not limited to one actor. Defenders therefore should not treat a RAT as a sign of a single known group.
How Do You Spot Unapproved Remote Control?
MITRE also describes a related technique called remote access tools, where adversaries use legitimate remote access software to set up interactive command and control. MITRE says such software may be installed after a compromise as an alternate communications channel. It adds that installing many of these tools can include persistence, for example when the installer creates a Windows service.
- Know which remote access software is approved in your organization, so unapproved tools stand out.
- Review services and registry changes for entries nobody can explain.
- Watch for network traffic to destinations that make no sense for the machine.
- Treat an unexpected remote session as a possible sign of compromise.
- Keep approved remote access software patched too. In TeamViewer before 15.83, a malicious host could attack the technician who connects to it, as our TeamViewer update guide for support teams explains.
What Does gh0st RAT Do on a Machine?
MITRE ties these techniques to gh0st RAT. They work as a checklist of traces. Remote tools also connect to remote services and valid accounts.
| ATT&CK ID | Technique | What MITRE says |
|---|---|---|
| T1547.001 | Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder | gh0st RAT has added a Registry Run key to establish persistence. |
| T1543.003 | Create or Modify System Process: Windows Service | gh0st RAT can create a new service to establish persistence. |
| T1573 | Encrypted Channel | gh0st RAT has encrypted TCP communications to evade detection. |
| T1105 | Ingress Tool Transfer | gh0st RAT can download files to the victim machine. |
| T1056.001 | Input Capture: Keylogging | gh0st RAT has a keylogger. |
| T1113 | Screen Capture | gh0st RAT can capture the victim screen remotely. |
Is a RAT the Same as Legitimate Remote Access Software?
No, though they can look alike. Legitimate remote access software is made for support and administration. MITRE notes that adversaries abuse such software after a compromise. A RAT is malware, and it is installed without the owner’s knowledge. The difference is consent, not the technology.
Is a RAT the Same as a Backdoor?
They overlap. A backdoor is any hidden way into a system. A RAT is a specific kind of program that offers remote control, and it can serve as a backdoor.
Related Terms
See also trojan, backdoor and command and control. For our own research, read the Xeno RAT analysis.
Related Pages in the Knowledge Hub
Sources
- MITRE ATT&CK: MITRE describes gh0st RAT as a remote access tool with public source code used by multiple groups, with remote command execution, file operations, keylogging and persistence.
- MITRE ATT&CK: MITRE says remote access tools may be installed post-compromise as an alternate communications channel, and installation can include persistence such as a Windows service.
Also Called.
- NameRAT
- Nameremote access tool
- Nameremote administration trojan
Questions.
-
What is a remote access trojan (RAT)?
A remote access trojan, or RAT, is malware that gives an attacker remote control over a computer. The word trojan points to the disguise, and remote access points to the goal.
-
What can a RAT do?
MITRE lists capabilities of the gh0st RAT such as remote command execution, file operations, system reconnaissance, keylogging, persistence through registry changes and service creation, and encrypted command and control traffic. Not every RAT has the same features.
-
How can I detect a RAT?
Know which remote access software is approved in your organization, so unapproved tools stand out. Review services and registry changes nobody can explain, and watch for network traffic to destinations that make no sense for the machine.
-
Is a RAT the same as legitimate remote access software?
No, though they can look alike. Legitimate remote access software is made for support and administration, and MITRE notes adversaries abuse it after a compromise. A RAT is malware installed without the owner's knowledge.
In Our Research
- 1 Lindnor Backdoor and EDR Killers: A Hunt Plan in Seven Steps November 2026
- 2 TeamViewer Update for Support Teams: When the Host Attacks the Technician October 2026
- 3 Turn a Threat Report Into ATT&CK Mappings and Sigma Rules With an AI Agent October 2026
- 4 BlackX UEFI Bootkit Step by Step: Why Patched Windows Still Fell October 2026
- 5 CISA KEV additions, 13 to 16 Oct 2026: patch order October 2026
- 6 Akira ransomware advisory AA24-109A: stages and tools October 2026