oss-sec mailing list archives
Re: Mitigating malicious packages in gnu/linux
From: Tim Kuijsten <info+oss-security () netsend nl>
Date: Tue, 19 Nov 2019 15:37:23 +0100
There is not a definitive solution here. But there are multiple efforts and research going on. The most important one, in my opinion, is the reproducible builds project [1]. We need to ensure we are not inserting random or non-deterministic data into our build artifacts. This stretches from upstream developers providing tarballs, to pre-compiled sources and packages from distributions. There is no distribution today that has full reproducible builds, but there are many projects that work towards this and work on reproducible builds.
One attack that is not solved by reproducible builds is one on the toolchain. This can be solved with bootstrappable builds[1] which is about minimizing the number of trusted binaries that are needed to produce the toolchain, that produced the toolchain, ... that was used to build your package. There was a talk this year called "Bitcoin Build System Security" by Carl Dong about this topic[2]. [1] https://bootstrappable.org [2] https://www.youtube.com/watch?v=I2iShmUTEl8
Current thread:
- Mitigating malicious packages in gnu/linux Georgi Guninski (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Morten Linderud (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Stuart D. Gathman (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Tim Kuijsten (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Ludovic Courtès (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Morten Linderud (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Pavel Heimlich (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Jakub Wilk (Nov 19)
- Re: Mitigating malicious packages in gnu/linux Solar Designer (Nov 20)
- Re: Mitigating malicious packages in gnu/linux Russ Allbery (Nov 20)
- Re: Mitigating malicious packages in gnu/linux Solar Designer (Nov 20)
- Re: Mitigating malicious packages in gnu/linux Mark Hatle (Nov 20)
- Re: Mitigating malicious packages in gnu/linux Russ Allbery (Nov 20)
- Re: Mitigating malicious packages in gnu/linux Aditya Sirish Arunkumar Yelgundhalli (Nov 20)
- Re: Mitigating malicious packages in gnu/linux Bob Friesenhahn (Nov 20)
- Re: Mitigating malicious packages in gnu/linux Morten Linderud (Nov 19)