The Void Paradox

Where the deepest darkness and reality converge.

Author — Newsletter — About — Contacts — Home

Deadly Compression

Hello, and welcome back. Today we’re following a little unexpected CPU use. No dramatic alarm: an sshd process behaves oddly, and Andres Freund decides to find out why. That thread leads to the XZ Utils backdoor in March 2024. It is a story for anyone who has been tempted to dismiss a small slowdown.

Start with XZ’s position: a trusted dependency distributed alongside other packages. Putting code into its release offers a route towards targeted machines through ordinary updates. The attacker is seeking a path the system administrator has good reason to use.

The XZ Utils 5.6.0 and 5.6.1 release tarballs contained a malicious mechanism. It depended on particular build and runtime conditions. Running Linux, by itself, did not make a machine vulnerable.

On 29 March 2024, Freund posted his initial analysis to oss-security. His testing had turned up unusual CPU use and SSH connection times, along with Valgrind errors. Following those clues led him to liblzma. (Andres Freund, original report)

A slowdown alone can have many explanations. Follow the work that matters next: Freund compares behaviour and traces the package combination and conditions that activate the code. Suspicion begins to turn into a reproducible explanation.

The compromised releases were associated with the maintainer account “Jia Tan”. An account name does not establish the identity of a person, group or state. In targeted configurations, the code sought to interfere with sshd authentication and enable attacker-controlled code execution.

The Spread of Malicious Code

The vulnerability is tracked as CVE-2024-3094 and concerns versions 5.6.0 and 5.6.1. Several distributions caught it in development or testing branches. That is neither a universal guarantee for stable releases nor evidence that every Linux system was affected.

The Devious Plan

Now look at the attack’s longer timescale. The public timeline shows the Jia Tan account gradually gaining trust and responsibility, alongside pressure on original maintainer Lasse Collin. Keep an eye on that relationship of trust; personal blame cannot explain the whole process.

Contributions began in 2021, while maintainer responsibilities developed later. Watch the interval between those stages: it is the time spent building the trust that would make the attack possible. (Russ Cox, documented timeline)

The Fall of XZ Utils

After discovery, the project’s official site collected Collin’s updates and information identifying affected releases. If you need to check a machine, the next step is its distribution’s advisory: versions and configurations matter more than a generic “Linux” label. (XZ Utils, project notice)

Where trust crosses a boundary

Back to that small slowdown. A program could compress a file correctly while its release also carried malicious code. Freund followed behaviour that did not belong until he could explain it. Next time a test passes, one useful question remains: did we also check for things the program was never supposed to do?

On this website we use first or third-party tools that store small files (<i>cookie</i>) on your device. Cookies are normally used to allow the site to run properly (<i>technical cookies</i>), to generate navigation usage reports (<i>statistics cookies</i>) and to suitable advertise our services/products (<i>profiling cookies</i>). We can directly use technical cookies, but <u>you have the right to choose whether or not to enable statistical and profiling cookies</u>. <b>Enabling these cookies, you help us to offer you a better experience</b>.