Glossary

Backdoor.

Also called back door, backdoor malware

In Short

A backdoor is an undocumented way of gaining access to a computer system, and NIST says it is a potential security risk. The word can also describe a malicious program that listens on a network port and waits for commands from an attacker. Because the way in is undocumented, defenders may not know it exists, so they may not watch it or close it.

Last updated October 9, 2026
Profile MapGlossary Term
  1. Also Called2other namesback door · backdoor malware
  2. Related Terms3linked entriesPersistence · Command and control (C2) · Remote access trojan (RAT)

What is a backdoor?

A backdoor is an undocumented way of getting into a computer system. NIST says plainly that a backdoor is a potential security risk. The reason is simple. If a way in is not documented, the people who run the system may not know it exists, so they may not watch it or close it.

NIST also uses the word for a specific kind of malicious program. In one of its publications, a backdoor is a malicious program that listens for commands on a certain Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) port. A port is a numbered channel that a computer uses to send and receive network traffic.

How does a backdoor work?

A backdoor gives someone a path into a system that does not use the normal login. A program of this kind can sit on a machine and wait. When the attacker sends a command to the port it is listening on, the program acts on it.

Web shells are one example that MITRE ATT&CK describes. MITRE says a web shell is a web script placed on an openly accessible web server so that an adversary can use the server as a gateway into a network. MITRE lists this technique under the persistence tactic, which means keeping access over time.

Why does it matter?

A backdoor gives an attacker a way back in that does not depend on the first break-in. NIST describes the risk in general terms: an undocumented way in is a potential security risk. If defenders fix only the first problem they find, a separate backdoor can remain. For this reason, an investigation often needs to look for more than one way in.

How can you detect or reduce backdoors?

NIST describes a backdoor as a program that listens on a port. That gives defenders a place to look. Reviewing which services listen for connections, and asking whether each one is expected, can show something that should not be there. In general terms, the same idea applies to web servers. Scripts on a public web server that nobody can explain deserve a closer look.

  • Know which ports and services should be open on each system.
  • Question any listener that nobody can explain.
  • Review the files on public web servers, since MITRE describes web shells as scripts placed on openly accessible web servers.
  • When you respond to an intrusion, look for additional ways in, not only the first one.

Is a backdoor the same as a Trojan?

No. A Trojan is a program that appears useful but hides a malicious function. A backdoor is about the access it gives. A Trojan can be one way that a backdoor ends up on a system, but the two words describe different things. One describes how the program disguises itself. The other describes the way in.

Is a backdoor the same as a web shell?

Not exactly. A web shell is a specific kind of script that sits on a web server. A backdoor is the wider idea of any undocumented or hidden way in. A web shell can act as a backdoor, but a backdoor does not have to be a web shell.

See also persistence, command and control, and remote access trojan.

Sources

  • NIST: NIST defines a backdoor as an undocumented way of gaining access to a computer system and a potential security risk, and as a malicious program that listens for….
  • MITRE ATT&CK: MITRE describes a web shell as a web script placed on an openly accessible web server to give an adversary a gateway into a network, under the persistence tactic.

Also Called.

  • Nameback door
  • Namebackdoor malware

Questions.

  • What is a backdoor in cyber security?

    A backdoor is an undocumented way of getting into a computer system. NIST says it is a potential security risk, and also uses the word for a malicious program that listens for commands on a certain TCP or UDP port.

  • How does a backdoor work?

    A backdoor gives someone a path into a system that does not use the normal login. A program of this kind can sit on a machine and act when the attacker sends a command to the port it listens on.

  • How can you find a backdoor?

    Review which services listen for connections and ask whether each one is expected. Question any listener nobody can explain, and review files on public web servers, since MITRE describes web shells as scripts placed there.

  • Is a backdoor the same as a web shell?

    Not exactly. A web shell is a specific kind of script on a web server. A backdoor is the wider idea of any undocumented or hidden way in, and a web shell can act as one.

In Our Research

  1. 1 BugSleep Backdoor Technical Analysis December 2025
  2. 2 Oyster Backdoor Technical Analysis September 2025
  3. 3 UNC1549 MINIBUS Backdoor Technical Analysis March 2025
  4. 4 Sandworm’s New Arsenal: Kapeka Backdoor Technical Analysis October 2024
  5. 5 APT34’s New Backdoor SideTwist Variant Technical Analysis June 2024
  6. 6 Sandworm’s New Arsenal: Kapeka Backdoor Technical Analysis June 2024