Exclusive binary files
Joerg Sonnenberger
joerg at britannica.bec.de
Sun Sep 2 04:50:30 PDT 2007
On Sat, Sep 01, 2007 at 06:30:20PM -0400, Mike Meyer wrote:
> On Sat, 1 Sep 2007 14:27:42 -0300 "Klaus Schneider" <klausps at gmail.com> wrote:
> > Well, anybody know a way to make the FreeBSD run just binaries that I have
> > compiled?
>
> In general, it's impossible. There's no way the system can know that
> you compiled a binary. There are a number of things you could do with
> a custom kernel and toolchain to indicate that you compiled the binary
> (like Peter's changing of ELF OSABI), but that's just security through
> obscurity. If someone figures out those changes and replicates them,
> you lose.
You mean using cryptographic hashes to ensure that binaries match those
you compiled is impossible? Something like NetBSD's veriexec?
Joerg
More information about the freebsd-hackers
mailing list