Latest
SMS Appointment RemindersDarrell Stern: Stop Being Invisible, Become UnmissableFree BooksJoe Rockey: Ghostwriting His BookHow to Turn Your Expertise Into a Book People Want to Read | The Expert MethodWhat’s New at The Writing King: Week of October 25, 2026Challenger Remembrance Day: The Engineer Who Wouldn’t SignJoel Salomon: The Truth About MoneyReddit Is Putting Up a Login Wall. Wikipedia Won’t Be Far Behind.Victoria Chemko: The Body Is the First TechnologySir Patrick Stewart: A TributeA Year in the Bank: ADHD, Face Blindness and the Freedom to Walk Out | The Impossible Puzzles Show, Episode 326A Yale Economist Says We Won’t Be Missed. He Forgot the Bread Line.Walter Koenig: A TributeAI Has Paid Off Outside Tech. Apollo Is Reading the Wrong Scoreboard.I Don’t Post Bad ARC Reviews. I Send the Author a Note.The Little Red Book of Stuff That Works!Your Kids Are Your Own FaultGrow a PairYou’re Broke Because You Want to BeIt’s Called Work for a Reason!No Time for TactShut Up, Stop Whining, and Get a LifeWilliam Bessette: AI Enablement and Child Welfare TechnologyFree Book Planning ToolsWhat’s New at The Writing King: Week of October 18, 2026Ghostwriting by the Numbers: Timelines, Word Counts and the First CallPromising Young Woman (2020) ReviewBillions for AI, Pennies for the Plumbing: AI Companies Should Pay to Keep PHP AlivePHP2Shell: AI Found a 22-Year-Old Crack Under Your Website in Two DaysPetrov Day: The Officer Who Didn’t Believe the ComputerKindle Unlimited Is Now Kindle+. AI Audiobooks Just Joined the BuffetMo Gawdat Says the AI Dystopia Starts in 2027. Read the List, Skip the DatesChina Is Using Bots to Fan the Data Center Backlash. The Backlash Is Still Real.The Society of Authors Signed an Ethical AI Charter, Then Ran From It in Eight DaysWhen to Quit Writing a Book: I’ve Abandoned Dozens, and I’d Do It AgainGetty Images Filed for Bankruptcy. Can You Prove You Licensed Your Book’s Images?Fluff Words: Cut Them From Your Prose, Keep Them in Your DialogueWhere Can Writers Learn Storytelling From Movies? Richard Lowe Publishes 1,226 Film and TV Reviews With Writing Craft NotesWhere Are the Independent Bookstores and Public Libraries Worth Visiting in Tampa Bay? Author Richard Lowe Profiles 44 of ThemWhat Should You Know Before Hiring a Ghostwriter? The Writing King Publishes 57 New Answers, Including What to Do When It Goes WrongWhere Can You Hear Founders and Executives Tell Their Own Stories? Richard Lowe’s Leaders and Their Stories Publishes Every Unscripted Interview With a Full TranscriptAuthor Richard Lowe Publishes Eight Volumes of Enemies of You, a Researched Series on the Forces Working Against Ordinary AmericansThe Jackal (1997) ReviewThe Day of the Jackal (2024) ReviewYour First Novel Is an Apprentice Piece: What Beta Readers and Editors Can’t FixWhen the Cloud Gets Bombed: What the AWS Data Center Strikes Teach About BackupsHuman-Written Book Labels Are Gatekeeping With a FeeThe Enshittification of Microsoft Office: Why I Switched to a Free CloneGlobal Encryption Day: The Padlock Every Writer Depends On
The Writing King Your Ethical Ghostwriter. Your Story, Done Right.

The XZ Backdoor: Two Years of Patience, Caught by Luck

TL;DR: In 2024, the world came within days of a disaster it never saw coming. Someone had spent roughly two years posing as a helpful volunteer on a small, unglamorous piece of software that runs on much of the internet. They won the trust of the exhausted lone maintainer, were handed the keys, and slipped in a hidden backdoor that would have let them break into countless computers worldwide. It was caught by one engineer who noticed his login was running half a second slow. This is the twelfth article in a series on attacks that beat isolation, and it’s the one where the attacker didn’t break the trust. They became it.
☰Series Navigation  (13 parts)

Everything the modern world runs on is built, in part, out of small pieces of free software that volunteers write and maintain.

Not the big famous programs. The plumbing. The little utilities that compress a file, handle a connection, parse a date, buried so deep in the machinery that almost nobody thinks about them, running on servers and phones and devices in numbers no one can count. One or two unpaid people maintain much of this critical plumbing in their spare time.

Starting in 2021, an attacker went hunting in exactly that blind spot. Of all the attacks in this series, this is the one I can’t shake, because nobody broke anything. The attacker was patient and helpful, and picked on the one person holding the project up, an unpaid volunteer who was tired. I find that uglier than any worm or poisoned update, and I think the companies that built fortunes on that volunteer’s work share the blame. (More on billions for AI, pennies for the plumbing)

What did the XZ backdoor let attackers do?

XZ Utils is one of those invisible pieces of plumbing. It’s a compression tool, software that squeezes files down to a smaller size, and it is so standard that it ends up installed, directly or through other programs, on a huge share of the computers running Linux, the operating system that powers most of the servers on the internet. You’ve never heard of it, and you almost certainly rely on it every day.

Of all the attacks in this series, this is the one I can’t shake, because nobody broke anything.

In early 2024, a hidden backdoor was discovered inside recent versions of XZ Utils. It was built so that an attacker holding a specific secret key could reach through the compression library into a common remote-login program and run their own commands on the machine, silently, bypassing the normal password checks. In plain terms: whoever planted it would have been able to break into an enormous number of computers around the world, at will, and nobody would have known how.

Security professionals rate vulnerabilities on a scale up to ten. This one was rated a ten, the maximum, and the rating almost undersells it. This was a weapon someone deliberately built into the software, wearing the disguise of a routine improvement, and it was days from spreading into the stable versions that the whole world installs.

Anyone who has run production servers knows what a back door into remote login means. You can’t trust a single machine you own, you can’t trust your logs, and you can’t know what was taken, so you rebuild from scratch and hope your backups are older than the infection. I wouldn’t wish that week on anyone, and this back door would have handed it to much of the internet at once.

How do you plant a backdoor in software the whole world uses?

The attacker got in the way a con artist gets into a lonely neighbor’s finances, by being helpful for a long time. That move sets XZ apart from everything else in this series. XZ Utils, like so much critical open-source software, depended largely on one person, a volunteer who had kept it running for years and, by his own accounts, was stretched thin and dealing with his own life.

In 2021, an account under the name “Jia Tan” appeared and began contributing to the project.

Not maliciously, at first. Helpfully. Fixing things, submitting improvements, doing the tedious work that an overstretched maintainer is grateful for. Over roughly two years, this contributor made hundreds of contributions and slowly, patiently, built a reputation as a trusted, valuable member of the project.

Then came the pressure. Alongside the helpful work, other accounts appeared in the project’s discussions, complaining that the software wasn’t being updated fast enough, that the lone maintainer wasn’t keeping up, that the project needed someone more active in charge.

These accounts, widely believed to be part of the same operation, sockpuppets working the same con, pushed on exactly the sore spot of a tired volunteer: you’re not doing enough, and here’s someone who is. The campaign worked. The maintainer, worn down and looking for help, gave Jia Tan expanded control over the project.

Those complaint threads make me angry every time I read them. Somebody deliberately ground down a volunteer doing a thankless job for free, shamed him in public for not doing more, and then offered the cure. The pressure campaign was the cruelest part of the whole operation, and it worked because nobody else was standing next to him.

With the keys in hand, the attacker moved carefully. The malicious code went into the packaged release files, the compiled bundles most systems install from, where anyone reviewing the project’s public source wouldn’t see it. It was tucked into build scripts and disguised test files in a way designed to survive a normal review.

The trap was set, built into official releases, signed and shipped as a legitimate update from a trusted project, and it began making its way toward the stable versions that every major Linux system would soon adopt.

How did one engineer stumble onto the XZ backdoor?

One person caught it by accident, by noticing that something was a little slow. A software engineer named Andres Freund, who worked at Microsoft, was doing unrelated performance testing when he noticed that logging into a machine over the network was taking about half a second longer than it should. Half a second. Most people would never notice, and of the few who did, almost none would chase it.

Freund chased it. He dug into why the login was slow, found that a compression library was eating an odd amount of processor time, kept pulling the thread, and uncovered the backdoor hidden inside XZ Utils. He reported it publicly at the end of March 2024, and the security world’s weekend erupted.

Think about how thin that margin was. One careful engineer caught the most sophisticated software supply chain attack anyone had seen, years in the making and aimed at much of the internet’s infrastructure, because a half-second delay bothered him and he had the curiosity and the skill to run it down.

Had he shrugged, or been busy that week, the backdoored versions would have flowed into the stable releases and onto machines worldwide, and we would be telling a very different story, if we knew to tell it at all. There was no system that caught this. There was a person, and a coincidence.

How the XZ backdoor was planted and caught.
Stage What happened
2021 An account named Jia Tan began contributing helpfully to XZ Utils
About two years Hundreds of contributions built a reputation as a trusted member
Pressure campaign Other accounts, believed to be sockpuppets, complained the lone maintainer wasn’t keeping up
Takeover The worn-down maintainer gave Jia Tan expanded control
The plant Malicious code hidden in release files, build scripts and disguised test files
Severity Rated ten, the maximum; days from reaching stable versions
Discovery Andres Freund chased a half-second login delay and reported it at the end of March 2024

That should embarrass the whole security industry. Enormous sums go into security products every year, and a software engineer doing unrelated testing, who didn’t like a half-second delay, found the most dangerous back door in years. I’d take one person with that kind of curiosity over any product on the market.

My take

Half a second of lag caught the most dangerous back door in years, because one engineer refused to shrug. No product found it. If your company runs on open source, put money and people behind the volunteers who maintain it, before somebody hostile offers them help. And hire for curiosity. I’d take one person who chases a slow login over any tool on the market.

Why is the XZ backdoor the most unsettling attack in this series?

Because it inverts the pattern of every other article here, and the inversion is worse.

In the pager attack, Israel built a company to become a trusted supplier.

In Crypto AG, intelligence agencies bought a company to control a trusted product. Those took money, infrastructure, a nation behind them. The XZ attack achieved the same thing, trusted-supplier access to a critical piece of the world’s software, with almost none of that. It took one persistent person, a couple of fake accounts, and two years of patience. The barrier to becoming trusted was time and social pressure applied to a tired volunteer.

That should change how you think about the software running your life, because the same structural weakness is everywhere. People who are unpaid, overworked, and largely unsupported maintain a staggering amount of the code that runs the modern world, holding up infrastructure that trillion-dollar companies and governments depend on. Every one of those maintainers is a target for exactly the campaign that hit XZ: befriend, help, pressure, take over. We got lucky once, publicly. The question is how many times we haven’t.

The companies that run on this code should be ashamed of how little they give back. They spend fortunes on their own products, leave a critical library to one worn-out volunteer, and act surprised when someone exploits the gap. If your business depends on open-source plumbing, find out who maintains it and help pay for that work. It costs less than one incident response, and it’s the decent thing to do.

Every other article in this series shows an attacker defeating the victim’s trust: crossing the air gap, forging the certificate, poisoning the update.

XZ is the version where the attacker doesn’t defeat trust at all.

They earn it, legitimately, through work indistinguishable from a good contributor’s, and then use it. There’s no technical control that catches that, because at every step the attacker looked exactly like what a trustworthy participant looks like. The only defense is human judgment about who is being trusted with what. That’s exactly the defense that doesn’t scale, and exactly the one the final article in this series argues we’re now handing to machines.

My verdict is that XZ is a people failure dressed up as a software story. We left critical infrastructure in the hands of exhausted volunteers, gave them almost no support, and a patient attacker walked through the gap we made. Until the companies profiting from open source carry some of that weight, I expect to read this story again, and I doubt a half-second delay will give it away next time.

The last article steps back and asks what all twelve of these attacks, taken together, say about the AI systems being built right now, and about the trust we’re placing in things whose behavior no one fully understands. For the wider view, the cybersecurity hub collects the rest of my work on security.

Frequently Asked Questions

What was the XZ Utils backdoor?
The XZ Utils backdoor, tracked as CVE-2024-3094, was malicious code deliberately hidden inside recent versions of XZ Utils, a compression tool installed on a large share of the world’s Linux systems. It let an attacker holding a secret key bypass login security and run their own commands remotely on affected machines. It was rated a maximum severity of ten out of ten and was discovered in March 2024.
How did the attacker get the XZ backdoor into the software?
Through a multi-year social engineering campaign. An account named “Jia Tan” spent about two years making genuine, helpful contributions to XZ Utils, building trust with the project’s overstretched volunteer maintainer. Other accounts, believed to be part of the same operation, pressured the maintainer to hand over more control. Once given it, the attacker hid the backdoor in the packaged release files where routine review would miss it.
How was the XZ backdoor discovered?
By chance. A Microsoft engineer named Andres Freund noticed that logging into a machine over the network was taking about half a second longer than normal. He investigated the slowdown, found a compression library consuming unusual processor time, and traced it to the hidden backdoor in XZ Utils. He reported it publicly at the end of March 2024, days before the backdoored versions would have spread widely.
How bad could the XZ backdoor have been?
Potentially catastrophic. XZ Utils runs on a huge share of internet servers, and the backdoor would have let whoever planted it break into an enormous number of machines worldwide at will, bypassing normal authentication. It was caught days before the affected versions were due to flow into the stable Linux releases that most systems install, so the widespread damage was narrowly avoided.
Who was Jia Tan?
“Jia Tan” was the online identity used to carry out the attack, an account that appeared in 2021 and contributed to XZ Utils for roughly two years before planting the backdoor. Whether it represents a real individual or a cover for a group, likely a well-resourced or state-linked operation given the patience and skill involved, hasn’t been publicly established. The identity is widely believed to be a persona created for the attack.
Why is open-source software vulnerable to this kind of attack?
Because a great deal of critical open-source software is maintained by one or two unpaid volunteers holding up infrastructure that huge companies and governments depend on. An overstretched maintainer is grateful for help and open to pressure, the exact combination the XZ attacker exploited: befriend, contribute, apply pressure, and take over. The same structural weakness exists across much of the software the modern world runs on.
What makes the XZ backdoor different from other supply chain attacks?
Most supply chain attacks defeat trust by forging a certificate, poisoning an update, or breaking into a build system. The XZ attacker never defeated trust; they earned it, through work indistinguishable from that of a good contributor, and then abused it. No technical control catches that, because at every step the attacker looked exactly like a trustworthy participant. It also required only patience and social pressure.
☰Continue the Series  (13 parts)

About the Author
Richard Lowe, professional ghostwriter

Richard Lowe is a professional ghostwriter and author with 113+ books authored and 54+ ghostwritten. Before writing full time he spent 33 years in enterprise technology, including 20 years as Director of Computer Operations and Technical Services at Trader Joe's. He writes nonfiction, fiction and memoir, and works with executives and experts on books that build authority.

More about Richard Lowe →

Disclaimer

The views and opinions expressed in this blog post are solely those of Richard Lowe and are based on personal experience and research. This content is for informational purposes only and should not be construed as professional legal, financial, accounting, or business advice. Always consult with qualified professionals before making important business or legal decisions. Richard Lowe is not a lawyer, accountant, or licensed professional advisor, and this content does not establish any professional relationship.

0 comments

No comments yet. Yours can be the first.

Was this useful?

Leave a comment