Remote Access Trojan (RAT)

A remote access trojan (RAT) is malware that gives an attacker hidden, hands-on control of an infected computer, so they can browse files, watch the screen, log keystrokes, turn on the webcam and install more tools.

IntermediateCategory: Malware

Also called: RAT, remote administration trojan, backdoor

What is a remote access trojan?

A RAT is a trojan horse whose payload is remote control. Once it's installed, the attacker can use the computer as if sitting in front of it: open files, run commands, watch the screen, record keystrokes, and switch on the microphone or webcam. MITRE ATT&CK tracks remote access tools as one of the main ways attackers control systems they've broken into.

How does a RAT work?

RATs arrive like other trojans, through phishing attachments, fake software downloads or bundled cracked software. After installing, the RAT connects out to the attacker's command and control server, which usually gets past firewalls because outbound connections are allowed. The attacker then explores the network, steals data or sets up ransomware.

Legitimate tools used the same way

Attackers increasingly skip custom malware and use real remote support software instead. CISA, NSA and MS-ISAC warned in 2023 about criminals tricking employees into installing legitimate remote monitoring and management tools, then using them to get into bank accounts. Because the software is genuine, antivirus may not flag it. This is the same technique used in tech support scams.

How to protect your business

  • Allow only the remote access tools your IT team uses, and block the rest.
  • Remove local admin rights so staff can't install new software.
  • Use EDR to catch unusual remote control activity.
  • Tell staff never to install remote support software at the request of an unexpected caller.

Related terms

Sources

  1. Remote Access Tools (T1219) (MITRE ATT&CK)
  2. Protecting Against Malicious Use of Remote Monitoring and Management Software (AA23-025A) (CISA, NSA and MS-ISAC)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.