Skip to content
Minute Campus.

How they got inLesson 031 min

How did a half-second delay expose a hidden backdoor?

On 29 March 2024, Andres Freund reported that SSH logins on Debian installations were slower than they should be. He traced it to xz, a common compression package, whose release tarballs carried hidden code that was not in the project's own source. That code sat in a library the SSH server loads on some systems. His post measured about three tenths of a second before and about eight tenths after.

Remember

When something you rely on suddenly behaves differently, investigate before you ignore it.

Sources

Checked at the source.

Every claim in the lesson was checked against these before it was recorded.

  1. 1backdoor in upstream xz/liblzma leading to ssh server compromiseAndres Freund · oss-security mailing list · 29 Mar 2024 · read 14 Nov 2026Reports the backdoored xz tarballs and logins slowing from about 0.3 to about 0.8 seconds.
  2. 2CVE-2024-3094National Vulnerability Database · read 14 Nov 2026Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0.

Transcript

The lesson, word for word.

Read it at your own pace, or search the page for a term.

Logins that took half a second longer were the first clue to a backdoor in Linux systems. On the twenty-ninth of March, twenty twenty-four, Andres Freund reported that SSH logins on Debian installations were slower than they should be. He traced the cause to xz, a common compression package. Its release tarballs carried hidden code that was not in the project's own source. That code sat inside a library that the SSH server loads on some systems, which put it within reach of remote logins. Freund's post measured the delay: about three tenths of a second before, and about eight tenths after. The affected releases started with version five point six point zero. The hidden code sat in test files that the tests did not even use. The lesson is simple. When something you rely on suddenly behaves differently, investigate before you ignore it.

Questions? Comment on the lesson on YouTube

New lessons every day.

Follow Minute Campus where you already scroll.