Not every cyberattack starts with an alarm. Some begin quietly, disguised as something you trust. The trojan horse, usually just called a trojan, is one of the most common examples: malware that pretends to be legitimate so that you install it yourself. One of the most dangerous kinds, the remote access trojan (RAT), lets an attacker control your computer as if they were sitting in front of it.
What is a trojan?
A trojan is malware disguised as something safe or useful. Its aim is simple: to get you to open it. Once it runs, it may:
- Steal information, such as passwords, files and browsing data
- Install more malware, such as spyware, ransomware or keyloggers
- Open a hidden “back door” so that the attacker can return later
- Change system settings or weaken your security
Trojans rely on deception, not force.
How trojans get onto your device
Trojans spread through social engineering: the attacker gives you a believable reason to click or install. Common examples include:
- Email attachments posing as invoices, quotations, HR documents or delivery notes
- Links to “shared files” that download malware
- Fake updates, such as browser update pop-ups or “security patch required” alerts
- Cracked or pirated software with hidden malware
- USB drives and other devices containing hidden programs
Rule of thumb: if something creates urgency or looks too good to be true, such as a free premium tool, stop and check.
Watch: trojans and RATs explained
What is a remote access trojan?
A remote access trojan (RAT) is a trojan designed to give an attacker remote control of the infected device, like a hidden remote-control tool installed without your permission. Once active, a RAT can let the attacker:
- Browse and copy your files
- Steal passwords and logged-in sessions
- Record your keystrokes and take screenshots
- Switch on the webcam or microphone, depending on permissions
- Install more malware, including ransomware
- Use your device as a stepping stone to attack other company systems
RATs are built for stealth and long-term access, and can stay hidden for weeks or months.
How a RAT attack unfolds
- Infection: someone opens an attachment, installs a fake tool or runs a disguised file.
- Silent installation: the RAT installs in the background and sets itself to start automatically.
- Command and control: it connects to a server run by the attacker and waits for instructions.
- Remote control: the attacker operates the device, steals data, moves to other systems and installs further malware.
Warning signs not to ignore
- Your computer is slow even when you are not using it
- Security software is switched off unexpectedly
- Unknown programs or remote access tools appear
- Your browser redirects you or has new extensions you did not add
- Your webcam light comes on unexpectedly, or unusual permission requests appear
- Unexplained network activity or repeated login prompts
If you notice several of these signs, report them to your IT or security team straight away.
How to protect yourself
Do
- Check the sender and the context before opening attachments
- Download software only from approved sources
- Keep your operating system, browser and applications updated
- Use strong passwords and multi-factor authentication (MFA)
- Report suspicious emails early, even if you did not click
Do not
- Enable macros in documents from unknown senders
- Install “free tools” or cracked software from unofficial websites
- Click urgent links without checking them first
- Ignore security warnings that appear suddenly