From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 2 16:13:45 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0B6916A418; Sun, 2 Sep 2007 16:13:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id 8C30E13C4A5; Sun, 2 Sep 2007 16:13:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from dslb-088-066-007-217.pools.arcor-ip.net [88.66.7.217] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1IRs4n3Jru-0006K2; Sun, 02 Sep 2007 18:13:30 +0200 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Sun, 2 Sep 2007 18:13:19 +0200 User-Agent: KMail/1.9.7 References: <45910cf20709011027o546363e2h4f5646b15e0f84a2@mail.gmail.com> In-Reply-To: <45910cf20709011027o546363e2h4f5646b15e0f84a2@mail.gmail.com> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1727724.D6U7MoWj6l"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200709021813.28332.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+Qg36DXlomV+2dIL3gDyGtK6ktb+zNrFjmp4a 6sqzEXwmPaqgp1UwIhsm6lAVuakP6QcRvQqGlP7uobm5YumidB SC/sLmfX773EO5+IqFIJV201SqQ3Jk/KusFeKNGXgw= Cc: Klaus Schneider Subject: Re: Exclusive binary files X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 16:13:46 -0000 --nextPart1727724.D6U7MoWj6l Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 01 September 2007, Klaus Schneider wrote: > Hi. > > Well, anybody know a way to make the FreeBSD run just binaries that I > have compiled? > > For example: > A hacker get a access to a shell into my server, and then it put a > exploit code, but on the machine don't have a compiler, then he tries > to put the compiled exploit... supose that I can't mount the users > partition in "noexec" mode... > > Anybode knows a solution for these? IIRC csjp@ had some code to do this inside the MAC framework. Storing=20 hashes in extended attributes and only allowing execution of signed=20 executables ...=20 http://perforce.freebsd.org/fileLogView.cgi?FSPC=3D//depot/projects/trusted= bsd/mac/sys/security/mac%5fchkexec/mac%5fchkexec.c ...=20 not sure what became of it, though. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1727724.D6U7MoWj6l Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBG2uEoXyyEoT62BG0RArzGAJ0e13bedFL4IK+2K6gfdbWn8W7dLACfYm9h J/RGXcALiuZ6xwpnMx3rhe8= =kuqD -----END PGP SIGNATURE----- --nextPart1727724.D6U7MoWj6l--