Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
A backdoor is a hidden way into a system that bypasses normal authentication—planted by malware, an intruder, or a compromised supplier—giving an attacker repeat access at will.

What Is a Backdoor?
A backdoor is any hidden method of getting into a system that bypasses the normal authentication and security controls. It might be a malicious program listening for commands, a web shell dropped on a server, a secret administrator account, or code deliberately slipped into legitimate software. Whatever the form, its purpose is the same: to let someone return whenever they like, without being challenged and ideally without being noticed.
This is the most common case. Once attackers gain initial access—through phishing, stolen credentials, or an unpatched vulnerability—they install a backdoor so they keep access even if the original hole is closed. Typical methods include creating new accounts (MITRE ATT&CK T1136), installing services or scheduled tasks (T1543, T1053), and dropping web shells on internet-facing servers (T1505.003).
Remote access trojans such as njRAT and Remcos give an operator full control of an infected machine: file access, screenshots, keystroke capture, and command execution. Many arrive disguised as legitimate software, which is why backdoors and the trojan horse are closely linked.
The most dangerous backdoors arrive through software you trust. A compromised build system or a malicious contributor can place one inside a signed, official update, which then reaches every customer automatically.
Hard-coded support passwords, undocumented debug interfaces, and forgotten maintenance accounts are sometimes left in products by developers. They may not be malicious in intent, but once discovered they behave exactly like a planted backdoor.
| Year | Case | What happened |
|---|---|---|
| 2015 | Juniper ScreenOS | Juniper disclosed unauthorised code in its firewall operating system, including a hard-coded administrative password (CVE-2015-7755). |
| 2020 | SolarWinds Orion | The SUNBURST backdoor was inserted into signed Orion updates, downloaded by up to 18,000 customers. |
| 2021 | Microsoft Exchange | After the ProxyLogon flaws were exploited, web shells were found on tens of thousands of on-premises Exchange servers. |
| 2024 | XZ Utils | A backdoor targeting SSH authentication (CVE-2024-3094) was found in versions 5.6.0 and 5.6.1 of a widely used compression library, planted by a contributor who had spent around two years gaining maintainers’ trust. |
The XZ Utils case was caught almost by accident in March 2024, when Microsoft engineer Andres Freund investigated why SSH logins on a test system were using slightly more CPU than expected. It reached only a few development and testing releases of Linux distributions before being stopped.
A backdoor turns a one-off intrusion into lasting access. Through it, attackers can return to steal more data, deploy ransomware at a time of their choosing, sell access to other criminals, enrol the machine in a botnet, or pivot deeper into the network. Most backdoors also connect outward to command and control infrastructure, because outbound traffic is less likely to be blocked than inbound connections.
authorized_keys files that nobody recognises, or new app registrations in your cloud tenant.Deleting the file you found is rarely enough. Attackers usually leave several footholds, and if you remove one while they are watching, they may switch to another or accelerate their plans. A sound response scopes the intrusion first, identifies every persistence mechanism, rotates all credentials the attacker could have seen, and rebuilds critical systems from trusted media where integrity cannot be guaranteed. Our incident response services handle this end to end, from forensic triage to verified eradication.
The word also appears in policy discussions about giving governments lawful access to encrypted data. In the UK, the Investigatory Powers Act 2016 allows the Home Secretary to issue technical capability notices. In February 2025, Apple withdrew its Advanced Data Protection feature for UK users following a reported notice of this kind. Security researchers widely argue that any deliberate access mechanism weakens security for everyone, because it can be found and abused by others.
A trojan describes how malware gets in: it disguises itself as something legitimate so the user installs it. A backdoor describes what it does once present: it provides hidden, repeatable access. Many trojans install backdoors, but backdoors can also be web shells, rogue accounts, or code inserted into software without any trojan involved.
It can detect many known backdoor families, but often misses custom malware, web shells written for a single target, and backdoors built from legitimate tools such as rogue accounts, SSH keys, or remote management software. Endpoint detection and response, file integrity monitoring, network monitoring, and periodic threat hunting give much better coverage than signature-based antivirus alone.
Do not delete it immediately. Isolate the system if you can do so safely, preserve evidence such as memory and logs, and treat it as a confirmed security incident. The backdoor is evidence of a wider intrusion, so you need to understand how the attacker got in and what else they touched before eradicating it and restoring service.
Code signing proves that software came from the vendor’s build process and has not been altered afterwards. If attackers compromise that build process, or a trusted contributor inserts malicious code into the source, the backdoor is signed along with everything else. Reproducible builds, build system hardening, and reviewing behaviour after updates help reduce this risk.
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.