What is a backdoor and how do hackers use one?
A backdoor is a hidden second entrance into a computer that skips the normal login, which NIST (National Institute of Standards and Technology) calls an undocumented way of gaining access.

Backdoor
A backdoor is a hidden second entrance into a computer. It skips the normal login. NIST (the National Institute of Standards and Technology) defines it as an undocumented way of gaining access to a computer system, and adds that a backdoor is a potential security risk. Undocumented is the key word. It’s a door that isn’t on the plans.
Normal access goes through the front door: a login with a password or a key. A backdoor works beside it. Attackers don’t always pick the lock. They hide inside something you already trust, like a software update, a system library, or a device straight from the store.
What a backdoor actually does
Most backdoors follow three steps. First, the attacker gets in once, by phishing, through an exploited server, or through a trusted software update. These are possible routes, not a ranking. Second, the backdoor survives reboots by hooking into code that runs at every start-up, such as a service. MITRE ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge) files this under the Persistence tactic, TA0003: the adversary is trying to maintain their foothold. It lists 22 techniques there, including Create Account and Web Shell.
Third, the backdoor takes orders. Some call out. SUNBURST, hidden in SolarWinds updates, made DNS (Domain Name System) lookups of generated subdomains of avsvmcloud[.]com. A CNAME (canonical name) reply pointed it to the command server, and its traffic was disguised as the Orion Improvement Program protocol. Others never call out. They hide their orders inside normal logins.
How the xz backdoor worked
On March 29, 2024, Andres Freund disclosed a backdoor in xz, a Linux compression library. It affected xz and liblzma versions 5.6.0 and 5.6.1 and was found mostly in pre-release distributions.
- It rode in through libsystemd. OpenSSH doesn’t use liblzma directly. Some distributions patch the SSH (Secure Shell) server,
sshd, for systemd notification, and libsystemd depends on lzma. - It redirected a key check. At start-up, in memory, the backdoor used IFUNC resolvers and an audit hook to change a pointer. OpenSSL’s
RSA_public_decrypt, which checks an RSA (Rivest-Shamir-Adleman) key’s signature, then ran the backdoor’s code instead. - It hid a command in N. The attacker’s command sat inside the key’s number,
N, which can reach the server before login through OpenSSH certificates. The backdoor decrypted it with a fixed ChaCha20 key. - It checked the signature first. It passed the command to
system()only if the attacker’s Ed448 key had signed it. Otherwisesshdbehaved normally.
Filippo Valsorda’s preliminary analysis called it remote code execution, not an authentication bypass. It was caught because failed SSH logins went from about 0.3 to 0.8 seconds, roughly half a second slower. It is tracked as CVE-2024-3094 (Common Vulnerabilities and Exposures), with a CVSS (Common Vulnerability Scoring System) 3.1 score of 10.0, Critical.
A new gadget is not always clean
Many people think a brand-new device is clean. In its June 5, 2025 warning, PSA I-060525-PSA, the FBI (Federal Bureau of Investigation) described BADBOX 2.0 as millions of infected devices, many of them cheap Android ones. Some were backdoored before purchase. Others picked up backdoored apps during setup. A sealed box doesn’t prove the software inside is safe. A backdoor doesn’t pick your lock. It hides inside something you already trust.
What to do
- Check your Android device: in the Play Store, tap your profile, then Settings, About, and Play Protect certification. It shows “Device is certified” or “Device is not certified”.
- If it’s not certified, look up the model on Google’s certified list, and disconnect a suspicious device from your network.
- Treat unexpected links and attachments with care, because phishing is one way a backdoor gets in.
- If you run Linux servers, make sure none of them use xz or liblzma 5.6.0 or 5.6.1.
Watch it in 60 seconds
