Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
xz-backdoor-scan — Scan for files containing the signature from the `xz` backdoor (CVE-2024-3094) | Kitploit
Tools/GitHubGitHub/juul/xz-backdoor-scan
General Purpose UtilitiesVulnerability AnalysisForensicsMalware AnalysisBinary AnalysisIncident Response
GitHubjuul/xz-backdoor-scan

xz-backdoor-scan

Scan for files containing the signature from the `xz` backdoor (CVE-2024-3094)

View Repository
2 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Scan for files containing the signature from the xz backdoor (CVE-2024-3094).

Rapidly scans files and reports back with any files found to contain the signature used in the backdoor.

WARNING: Do not trust this program to be correct or alert you about the presence of a backdoor. This is a proof of concept only. Do not rely on it for any security.

This program was not written by juul. It was written by stderr. See authorship section at the bottom.

Usage

root@kitploit:~
Usage:
	./xz-backdoor-scan [options] <filenames> [...]

Where [options] are:

	-h / --help
		This text

	-f / --file <filename>
		Search for content of "filename" instead of the xz-backdoor signature
	-n / --needle <needle>
		Search for "needle" instead of the xz-backdoor signature
		This is mostly useful for searching for text strings.
		For binary data, see -f / --file

To scan files in a directory non-recursively:

root@kitploit:~
~# ./xz-backdoor-scan *

Note that the above assumes that there are only files in the currenty directory.

If files containing the signature are found, the output will look something like this:

root@kitploit:~
BAD_liblzma.so.5.6.0_from_liblzma5-udeb_5.6.0-0.1_amd64.udeb: CONTAINS THE SIGNATURE
BAD_liblzma.so.5.6.0_from_liblzma5-udeb_5.6.0-0.2_amd64.udeb: CONTAINS THE SIGNATURE

To rapidly scan your entire local filesystem recursively:

root@kitploit:~
find $(df -P | awk '/^\/dev\// { print $6 }') -mount -type f -exec ./xz-backdoor-scan {} + 

Signature

The signature being searched for is in signature.c.

Copyright and license

Copyright 2024 stderr

License: AGPLv3

Authorship

This program was written by stderr who can be found here:

  • Twitch
  • Twitter
  • Bluesky
  • Mastodon
  • Discord
Download Tool