XZ backdoor
- Type
- Backdoor
- Capabilities
- Initial accessDefense evasion
- Platforms
- Linux
XZ Backdoor is a software supply-chain backdoor embedded in XZ Utils release tarballs for versions 5.6.0 and 5.6.1, tracked as CVE-2024-3094. It targets selected Linux environments where distribution-specific OpenSSH integration with systemd causes the SSH daemon to load the compromised liblzma compression library indirectly. The backdoor enables attacker-authorized remote command execution before SSH authentication; it is not a vulnerability in upstream OpenSSH source code.
The malicious build process reconstructs an obfuscated payload concealed in binary test data and incorporates it into liblzma. Essential activation components were included in distributed release tarballs rather than entirely in the Git repository. Build and runtime checks restrict activation to particular environments, including targeted architecture and Debian or RPM packaging conditions. Within the SSH daemon, the payload intercepts cryptographic operations during pre-authentication processing. Specially crafted requests authenticated using the private counterpart of an embedded Ed448 public key can trigger command execution. Obfuscation, selective activation, and suppression of normal logging help conceal its operation.
The compromise was introduced through the contributor and maintainer persona Jia Tan, also associated with the account JiaT75, following a multiyear effort to gain project trust and release privileges. The underlying operator's identity and organizational affiliation remain unestablished. Andres Freund publicly disclosed the compromise on March 29, 2024, after investigating anomalous SSH CPU usage, latency, and diagnostic errors. Exposure was concentrated in testing, experimental, and rolling-release Linux distributions rather than broadly deployed stable releases.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The backdoor is designed to circumvent authentication controls in sshd via systemd and attempts to execute code within a pre-authentication context.
Techniques & procedures
2 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The XZ Utils compromise fundamentally changed how many Linux developers and security teams think about package integrity. The attack wasn’t hidden inside obvious source code changes. Instead, malicious code was introduced into release artifacts that diverged from the reviewed source repository.
Even if the source code appears legitimate, users still need a reliable way to verify that the binaries they install were actually built from that source and not modified somewhere in the release pipeline.
Observables
14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.