How do you ensure that your compiler and libs are clean though?
Re:SSHD: Random boot time relinking, OpenBSD
by codesniperjoe on Friday January 20, 2023 @11:12PM
(#34463808)
The compiler (go) is part of a static read-only (compressed/in-memory) RootFS. Build on a air-gap build server, touching only signed/verified/reviewed code from git-offline mirror snaps. Go has no libs, all static. The resulting runtime only binaries are totally uniq/randomized and dependency free, straight from (signed) source code.
[0] https://github.com/burrowers/garble