Main menu
Definition

Backdoor

A backdoor is a hidden access method for circumventing security mechanisms, such as authentication. Learn how backdoors work, how they end up in systems, how they differ from Trojans, and why they are so hard to spot.

DTDevolutions Team·November 12, 2026·2 min read

What is a backdoor?

A backdoor is any secret way into a system, application, or device that bypasses normal security controls. Instead of signing in through the usual authentication process, whoever knows about the backdoor can get access directly, often with administrative rights and without leaving the usual traces.

Some backdoors are intentional, such as an undocumented maintenance account left in by a developer. Others are planted by attackers after a compromise so they can come back later.

Backdoors can exist at any layer: in an application, an operating system, a network device's firmware, or even in hardware.

How does a backdoor work?

Backdoors take several forms:

  • Hidden accounts or hard-coded credentials built into software or firmware.
  • Malicious code that listens for a connection or a special command and then grants access.
  • Modified system files or services that quietly accept a secret password or key.
  • Remote access tools installed and configured to stay out of sight.

Once in place, a backdoor gives persistent access that survives password changes and often reboots, so an attacker can return whenever they want.

Backdoor vs. Trojan horse

A Trojan horse is a delivery method: malware disguised as legitimate software. A backdoor is what it often installs. In other words, a Trojan gets onto the system by tricking the user, and the backdoor keeps the door open afterward. Backdoors can also be introduced without a Trojan, through a vulnerable service, a compromised update, or an insider.

Why does a backdoor matter?

A backdoor undermines every other control because it skips them entirely. Finding one is difficult, since it is designed to look normal. Reviewing accounts regularly, removing default and hard-coded credentials, monitoring privileged activity, and checking software sources reduce the chance that a backdoor goes unnoticed.

Frequently asked questions

What is a backdoor in cybersecurity?

A backdoor is a hidden access method for circumventing security mechanisms, such as authentication, giving someone entry to a system without going through normal controls.

How do backdoors get installed?

Through malware such as Trojans, compromised software updates, exploited vulnerabilities, insiders, or developers who leave undocumented access or hard-coded credentials in a product.

How can you detect a backdoor?

Look for unknown accounts, unexpected services or listening ports, unusual outbound connections, and privileged activity that does not match approved work. Regular account reviews and activity monitoring make these signs easier to see.

Keep privileged access visible and accountable

Secure, rotate, and audit every privileged account across your infrastructure.

Explore Devolutions PAM

Related terms

Trojan horse

A Trojan horse is well-disguised malware that appears legitimate.

Read now →

Malware

Malware is malicious software: a generic term for software designed to execute harmful or disruptive attacks on a server, network, or computer.

Read now →

Privileged access

The authority to make elevated changes and view sensitive information.

Read now →