A backdoor is an information security term for a concealed way of gaining access to a computer system, application, or network while bypassing normal authentication and access controls. Backdoors may be planted by attackers through malicious code, or they may originate as hidden maintenance or testing access left by developers and later abused.
Common forms include secretly registering remote-access accounts or SSH keys, hidden administrator accounts, and reverse connections in which the compromised machine initiates a session to an attacker-controlled server. To maintain persistent access, a backdoor is often registered in the system's startup or scheduled-task mechanisms, so removing the program that delivered it does not necessarily remove the backdoor itself. In software supply chain attacks, code disguised as a legitimate package or extension is frequently used to install one.
In the AI field, the same term also refers to model backdoors: hidden behaviors embedded in training data or model weights that are activated by specific trigger inputs.