XZ Utils liblzma Upstream Linux Supply Chain Backdoor (CVE-2024-3094)
Key Facts
- Legal Status: INVESTIGATION in Cybersecurity and Infrastructure Security Agency Alert.
- Primary Target Sector: Open Source Software & Linux Ecosystem.
- Documented Financial Loss: $150.0 million.
- 2 verified MITRE ATT&CK techniques substantiated with verbatim court excerpts.
Incident Overview
Sophisticated multi-year social engineering and software supply chain operation where persona Jia Tan gained co-maintainer status on the foundational open-source xz compression project, embedding a multi-stage obfuscated backdoor into liblzma tarballs that hijacked OpenSSH sshd authentication to enable unauthorized pre-auth remote code execution.
Root Cause & Infiltration Vector
Multi-year social engineering operation where the persona Jia Tan gained co-maintainer trust on the open-source xz compression project, committing malicious build macros into release tarballs.
Operational Impact & Financial Blast Radius
Placed upstream Linux distributions on the verge of universal OpenSSH authentication bypass. Intercepted by PostgreSQL developer Andres Freund before widespread deployment to production enterprise Linux servers.
Executive Risk Checklist
- 1. Are 100% of external and administrative access portals protected by phishing-resistant MFA?
- 2. Is network microsegmentation enforced between user workstations and core database enclaves?
- 3. Have immutable offline backups and incident escalation procedures been validated within 90 days?
Incident Execution & Kill-Chain Lifecycle
Sequential reconstruction of intrusion stages from initial infiltration to resolution.
Persona Jia Tan built trust over several years with pressured sole maintainer Lasse Collin, gradually securing commit rights and release publishing permissions.
Attacker committed disguised binary test files containing extractable payload segments into the repository under the guise of compression test cases.
During release tarball generation for xz 5.6.0 and 5.6.1, modified configure scripts extracted payload segments and injected binary object code into liblzma.so.
Backdoor used ELF indirect function (IFUNC) resolution to hook OpenSSH RSA_public_decrypt, enabling pre-authentication RCE via custom signed public keys.
Engineer Andres Freund observed 500ms CPU latency increases and valgrind memory errors during sshd profiling, leading to immediate public disclosure and emergency package rollbacks.
Standard of Care Remediation & Hardening
Empirical engineering takeaways and preventative controls derived from this incident.
Procedural & Incident Timeline
Jia Tan pushes commits containing backdoored release tarballs xz-5.6.0 and xz-5.6.1.
PostgreSQL developer Andres Freund discovers CPU micro-benchmarking latency anomalies in sshd, exposing the backdoor.
CISA issues emergency advisory urging immediate downgrade of Linux packages.
Substantiated MITRE ATT&CK Techniques
| Technique ID | Technique Name & Tactic | Primary Source Evidence Excerpt | Locator | Verification |
|---|---|---|---|---|
| T1195.001 | Compromise Software Dependencies and Development Tools Initial Access | "The attacker inserted malicious M4 macros into build test files during tarball release generation, modifying the build pipeline to inject binary code into liblzma.so." | Openwall Disclosure by Andres Freund | reviewed |
| T1574.006 | Dynamic Linker Hijacking Persistence | "The backdoor hooked the OpenSSH RSA_public_decrypt function via ELF indirect functions (IFUNC) before main execution, allowing custom signed payloads to bypass authentication." | CISA Alert AL24-089A | reviewed |