[2759] in bugtraq
Re: BoS: amodload.tar.gz - dynamic SunOS modules
daemon@ATHENA.MIT.EDU (Brett Lymn)
Thu Jun 20 23:35:10 1996
Date: Fri, 21 Jun 1996 12:06:57 +0930
Reply-To: Bugtraq List <BUGTRAQ@netspace.org>
From: Brett Lymn <blymn@awadi.com.au>
To: Multiple recipients of list BUGTRAQ <BUGTRAQ@netspace.org>
In-Reply-To: <199606202347.TAA09608@Collatz.McRCIM.McGill.EDU> from "der
Mouse" at Jun 20, 96 07:47:31 pm
According to der Mouse:
>
>What _will_ help is to make your boot disk physically read-only. I
>have tried this with SunOS 4.1.x and NetBSD (with NFS-mounted root, not
>a real disk that's write protected, but the issues are the same). The
>latter is relatively easy; the former is much harder but I think would
>be doable with a couple of binary patches to programs like mount that
>pigheadedly insist on writing into /etc.
StunOS mount only wants to write to /etc to update the mnttab file.
If you mount all the disks that you have when the partition is
writable, halt the system and then write protect the disk mount will
whine about not being able to update things but will still do the
mount. Since all the info is in the mnttab anyway things work as
normal.
The real bear is convincing syslog to not create the socket log in
/dev. It will not follow sym links when creating the socket, you need
to use the undocumented -p option to put the socket elsewhere and then
put a sym link in /dev that points at it.
> I've often wanted to set
>systems up this way, not because it hardens the system any with respect
>to initial compromise but because it hardens it a lot with respect to
>leaving trojans and other backdoors lying around.
>
We did put it into production for exactly these reasons....
--
Brett Lymn, Computer Systems Administrator, AWA Defence Industries
===============================================================================
"Upgrading your memory gives you MORE RAM!" - ad in MacWAREHOUSE catalogue.