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

next in thread | previous in thread | raw e-mail | index | archive | help

--=-2O+BW23vZDTlqzYIYPZM
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 2015-10-23 at 19:47 +0200, Michael Schuster wrote:
> 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.
>=20
> regards
> Michael

But doesn't that only block uname? What about 'strings'?

If the concern is security I would think it would be best not to compile
the information in at all.

The build system was designed to share the build hostname not hide it
after all.

>=20
> On Fri, Oct 23, 2015 at 7:45 PM, Michael B. Eichorn <
> ike@michaeleichorn.com>
> wrote:
>=20
> > 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.
> >=20
> > I presume you intendend 'hide' here?
> >=20
> > 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.
> >=20
> > https://reproducible.debian.net
> >=20
> > If you want to hide the hostname, why not just build with a different
> > hostname set?
> >=20
> > >=20
> > > Is there a way to achieve this via setting some knobs in the
> > > process of
> > > a
> > > buildkernel?
> > >=20
> > > Please CC me, I'm not subscriber of the list.
> > >=20
> > > Kind regards and thanks in advance,
> > >=20
> > > O. Hartmann
> >=20
>=20
>=20
>=20
--=-2O+BW23vZDTlqzYIYPZM
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw
ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK
Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu
dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo
YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s
crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j
drgeU1nHst0qxwsIofRD7nC4dakT6exnrVndlBmLrf/bLPh2qOM8YK5qKK6m33fE7AyYrwiYAWFT
3fERI7LakjaabrIoS/Y1rCdL5FaCTMOlRbZyduc8HkrgjT2JW+i4fVcKyGL5gExBJWfS3q1uGFaB
ie6pYtl8lZPtvN0JSfibP003RBoLgzqHJKW91RL0qNeDjKZi/5nrlU398l9UoVvLLO3KxoPBXKCx
AgMBAAGjggLcMIIC2DAJBgNVHRMEAjAAM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0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p
bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50
IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAt0HLXMXnTmMqc3GVO/rVdZN9uEhFYWCkzsLrLQKN
pcA3Nw9+tuowD+4CHAQEYxospdrd4C8xgypBDTa8GAY0dFemYkFlGsCafOv3rIJwXqDIPIuo0IlY
RjmT7ScSBCNWNvl98tIgkSka15JvUA6kCjS046OnD7pPU6weMg5TvvSElFuSfM5Qcpu2jB8hdovY
85vXaRV9R3Sl+S1sSn5BrtKtgxbD2sFhQkC8c50PILUA9HLsJL3XN3Kl8gSAr/ZJf/LFuQNlmLE+
E2pNlpUARDuVLJIap1RkmOcY430ALu4NSAvbpsbvvlTUfgBXbObGBwCYBbAOt+B443PtovQ91gAA
AAAAAA==


--=-2O+BW23vZDTlqzYIYPZM--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1445623830.1169.44.camel>