Re:Working towards a source-based bootstrapping path to a GN...
by pabs3 on Monday August 23, 2021 @04:29AM
(#28273486)
There definitely have been compromised build toolchains before:
Re:Working towards a source-based bootstrapping path to a GN...
by tremon on Monday August 23, 2021 @05:26AM
(#28273762)
That's only half of the trusting trust-attack though; the other half is being able to make the compiler compromise propagate itself, i.e. not just inserting any backdoor in compiled code, but inserting itself in any compiler built using the compromised tool.
Re:Working towards a source-based bootstrapping path to a GN...
by selfhoster11 on Monday August 23, 2021 @12:45PM
(#28278593)
Mobile and Electron apps often weight hundreds of megs. That's enough data to hide an entire classic-style OS in the spaces between the data. While I don't know whether someone did insert such a recursive compiler, they certainly can do it unobtrusively enough that it doesn't raise any suspicion.
Re:Working towards a source-based bootstrapping path to a GN...
by selfhoster11 on Monday August 23, 2021 @04:57AM
(#28273646)
Thank you, I wasn't familiar with this case.
I'm 50/50 on whether someone at some point hasn't executed a successful Trusting Trust attack (see Ken Thompson). With modern machines that have megabytes of binary blobs, different co-processors that have access to the RAM while they can't be reprogrammed to be on the user's side, and techniques that can actually tell when sensitive operations are happening, such attacks are becoming more feasible.