LmCast :: Stay tuned in

Trusting-Trust Attack against an Entire Linux Distribution

Recorded: Sept. 8, 2026, 6:11 a.m.

Original Summarized

[2607.24888] Trusting-Trust Attack against an Entire Linux Distribution through Binary Manipulation

Skip to main content

Search

Submit
Donate

Log in

Search arXiv

Press Enter to search · Advanced search

Computer Science > Cryptography and Security

arXiv:2607.24888 (cs)

[Submitted on 27 Jul 2026]
Title:Trusting-Trust Attack against an Entire Linux Distribution through Binary Manipulation
Authors:Julien Malka, Aman Sharma, Martin Monperrus, Stefano Zacchiroli, Théo Zimmermann View a PDF of the paper titled Trusting-Trust Attack against an Entire Linux Distribution through Binary Manipulation, by Julien Malka and 4 other authors
View PDF
HTML (experimental)

Abstract:Ken Thompson's trusting-trust attack, in which a compromised compiler backdoors the programs it builds and reproduces the backdoor in subsequent rebuilds of itself, is widely regarded as a threat specific to compilers. We show that it is not. We construct a complete trusting-trust attack around GNU strip, an ordinary build utility that neither inspects nor generates source code, using only manipulations of finished ELF files. In the bootstrap of the NixOS Linux distribution, a single tampered strip in the binary seed implants a payload that propagates from one generation of strip to the next and survives into the final standard environment after the seed leaves the dependency closure. On a real nixpkgs revision, the attack builds a complete graphical installer without failures and backdoors almost every one of its binaries, enabling arbitrary malicious behavior of the subverted packages.

Subjects:

Cryptography and Security (cs.CR); Software Engineering (cs.SE)

Cite as:
arXiv:2607.24888 [cs.CR]

 
(or
arXiv:2607.24888v1 [cs.CR] for this version)

 
https://doi.org/10.48550/arXiv.2607.24888

Focus to learn more

arXiv-issued DOI via DataCite

Submission history From: Aman Sharma [view email] [v1]
Mon, 27 Jul 2026 12:59:15 UTC (1,848 KB)

Full-text links:
Access Paper:

View a PDF of the paper titled Trusting-Trust Attack against an Entire Linux Distribution through Binary Manipulation, by Julien Malka and 4 other authorsView PDFHTML (experimental)TeX Source

view license


Current browse context:
cs.CR

< prev

  |  
next >

new
|
recent
| 2026-07

Change to browse by:

cs
cs.SE

References & Citations

NASA ADSGoogle Scholar
Semantic Scholar

export BibTeX citation
Loading...

BibTeX formatted citation
×

loading...

Data provided by:

Bookmark

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author
Venue
Institution
Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? |
Disable MathJax (What is MathJax?)

We gratefully acknowledge support from
our major funders,
member institutions, ,
and all contributors.

About
·
Help
·
Contact
·
Subscribe
·
Copyright
·
Privacy
·
Accessibility
·
Operational Status (opens in new tab)

Major funding support from

The research investigates extending Ken Thompson's trusting-trust attack, traditionally considered specific to compilers acting as backdoors, to an entire Linux distribution via binary manipulation. The authors demonstrate that this type of vulnerability can be exploited through less scrutinized build utilities rather than just compiler mechanisms. Specifically, they construct a complete trusting-trust attack centered around GNU strip, which is a utility used for building and manipulating ELF files without needing to inspect the source code. This attack relies solely on manipulating the finished ELF files themselves.

The mechanism involves implanting a payload at the initial stage of the process, using a single tampered file within the binary seed of the build process. This implanted payload then propagates across successive generations of the strip utility, enduring until it survives into the final standard environment after the dependency closure is complete. This propagation ensures that the malicious code persists throughout the distribution's construction process.

The demonstration applies this concept to the bootstrap process of the NixOS Linux distribution. By tampering with a single strip file in the binary seed, the attack successfully embeds a payload that propagates across subsequent build steps and remains present in the final standard environment. Furthermore, when executed against a real nixpkgs revision, the technique allows for the construction of a complete graphical installer without encountering failures. This capability enables the insertion of backdoors into almost every compiled binary within the distribution, thereby providing arbitrary malicious behavior for the subverted packages.