Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2015 19:47:46 +0200
From:      Michael Schuster <michaelsprivate@gmail.com>
To:        "Michael B. Eichorn" <ike@michaeleichorn.com>
Cc:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: replace uname -a informational string
Message-ID:  <CADqw_g%2By=xpzvwk7k8oaC=%2Bdi_WJPBsMVbpgSasX2QchPD4OiQ@mail.gmail.com>
In-Reply-To: <1445622325.1169.29.camel@michaeleichorn.com>
References:  <20151023090805.5484ce9b@freyja.zeit4.iv.bundesimmobilien.de> <1445622325.1169.29.camel@michaeleichorn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I seem to remember there's a trick using dtrace where you intercept the
uname syscall/library call  .. that was on Solaris, though, don't know how
that would map onto FreeBSD.

regards
Michael

On Fri, Oct 23, 2015 at 7:45 PM, Michael B. Eichorn <ike@michaeleichorn.com>
wrote:

> On Fri, 2015-10-23 at 09:08 +0200, O. Hartmann wrote:
> > For security purposes, I need to replace the informations given by
> > "uname -a"
> > to hode the kernel build system, name et cetera.
>
> I presume you intendend 'hide' here?
>
> If you want to scrub a binaries of _all_ information about the building
> system this is a problem Debian is actively working on called
> 'reproducible builds' but is not possible today.
>
> https://reproducible.debian.net
>
> If you want to hide the hostname, why not just build with a different
> hostname set?
>
> >
> > Is there a way to achieve this via setting some knobs in the process of
> > a
> > buildkernel?
> >
> > Please CC me, I'm not subscriber of the list.
> >
> > Kind regards and thanks in advance,
> >
> > O. Hartmann
>



-- 
Michael Schuster
http://recursiveramblings.wordpress.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_g%2By=xpzvwk7k8oaC=%2Bdi_WJPBsMVbpgSasX2QchPD4OiQ>