Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
A remote access trojan gives an attacker the same control over a machine that its owner has, through a connection the machine itself opens outward.

What Is a Remote Access Trojan?
A remote access trojan gives an attacker a live, interactive session on a compromised machine. Not a script that runs once, but a console: browse the file system, run commands, read the screen, log keystrokes, switch on the camera, and pivot onward into the network. The victim’s device makes the outbound connection, so the attacker never has to get through the firewall from the outside.
The distinction from other malware is the human on the other end. An infostealer takes what it was told to take and leaves; a RAT waits, and what happens next depends on who bought the access and what they find.
Back Orifice, released by the Cult of the Dead Cow in 1998, established the genre as a public tool and a public argument about remote administration. Sub7 and Poison Ivy followed. DarkComet became notorious when it was used against activists during the Syrian conflict in 2012, after which its author withdrew it. NanoCore’s developer, Taylor Huddleston, was sentenced to 33 months in 2017 after a prosecution that turned on whether selling the software was itself a crime.
Current activity concentrates on a handful of cheap, widely shared families: njRAT, AsyncRAT, Quasar, Remcos, and Agent Tesla, several of them sold openly as legitimate remote administration products with terms of service nobody reads. On Android, SpyNote and its derivatives request accessibility permissions and achieve much the same control over a handset.
The more significant trend is the use of legitimate software instead. Commercial remote monitoring and management tools give attackers everything a RAT provides, with a valid code signature, a reputable vendor, and traffic that blends into normal administrative activity. CISA has documented campaigns using such tools against government networks, and ransomware affiliates reach for them routinely. A RAT detection policy that only looks for malware misses this entirely.
The payload changes constantly; the behaviour does not. Useful signals include regular outbound connections at fixed intervals to a single destination, especially to dynamic DNS domains or newly registered ones; persistence created in run keys or scheduled tasks within seconds of a document being opened; unsigned executables running from a user profile directory; and remote management agents present on machines where the service desk never installed one. Correlate those with command and control patterns rather than hunting for file names.
Users notice some things first: a cursor that moves on its own, a camera indicator lighting up unexpectedly, or a machine that stays busy overnight. Those reports deserve to be treated as incidents rather than hardware complaints.
Block the delivery routes before worrying about the payload. Most RAT infections begin with an attachment, a cracked application, or a fake installer, so mail filtering, application allowlisting, and removing local administrator rights remove the majority. Maintain an approved list of remote management tools and alert on every other one, which is now as important as the malware signature. Egress filtering and DNS controls limit where a beacon can reach, and network segmentation limits what the operator can do once connected.
When one is found, isolate rather than reimage immediately. The operator had interactive access, so the questions that matter are what they viewed, what they copied, and which credentials they captured, and the answers live in memory and in network records that a rebuild destroys. In the UK, installing a RAT on someone else’s computer breaches the Computer Misuse Act 1990, and buying one has been enough to attract the attention of the National Crime Agency, which has contacted purchasers of such tools directly.
At Privia Security, our intrusion detection and prevention solutions focus on the beaconing and tunnelling behaviour these tools cannot avoid.
Technically, barely at all. Both provide remote control, file transfer, and screen viewing. The differences are consent, visibility, and intent: a RAT installs without the user knowing, hides its presence, and is controlled by someone with no authority to use the machine. This is why attackers increasingly deploy commercial remote management tools instead, gaining the same capability with a trusted signature.
On most modern laptops the indicator is wired to the camera’s power, making it difficult to bypass, though older hardware and some external cameras offered no such guarantee. Treat an indicator that lights up unexpectedly as a serious signal. A physical cover costs almost nothing and removes the question, which is why many organisations issue them with laptops.
Isolate the device from the network while leaving it powered on, so memory evidence survives. Do not reimage before capturing what you need, because the operator had interactive access and the scope of the incident depends on what they did. Reset all credentials used on that machine from a clean device, and review outbound traffic for what may already have been copied.
Possession alone is not automatically an offence, but supplying or obtaining an article intending it to be used to commit computer misuse falls under section 3A of the Computer Misuse Act 1990, and using one against a system you are not authorised to access clearly breaches section 1 or 3. The National Crime Agency has contacted purchasers of such tools directly as a deterrent.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.