From owner-freebsd-security Tue Oct 14 19:10:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA05632 for security-outgoing; Tue, 14 Oct 1997 19:10:13 -0700 (PDT) (envelope-from owner-freebsd-security) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA05617 for ; Tue, 14 Oct 1997 19:10:08 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt2-30.HiWAAY.net [208.147.148.30]) by fly.HiWAAY.net (8.8.7/8.8.6) with ESMTP id VAA27715; Tue, 14 Oct 1997 21:09:55 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.7/8.8.4) with ESMTP id VAA21041; Tue, 14 Oct 1997 21:02:25 -0500 (CDT) Message-Id: <199710150202.VAA21041@nospam.hiwaay.net> X-Mailer: exmh version 2.0zeta 7/24/97 To: Wes Peters cc: Christopher Petrilli , security@FreeBSD.ORG From: dkelly@hiwaay.net Subject: Re: C2 Trusted FreeBSD? In-reply-to: Message from Wes Peters of "Tue, 14 Oct 1997 09:56:38 MDT." <199710141556.JAA10419@obie.softweyr.ml.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 14 Oct 1997 21:02:25 -0500 Sender: owner-freebsd-security@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Wes Peters writes: > > Nope. The Sun C2 security system used only group controls. This is the > U.S. government, there are *no* concerns about practical enforcement. > In their view, if any mechanism is provided, their slaves can be beaten > into writing procedures that will correctly use the supplied mechanism, > clumsy as it may be. Yup. The System Security Custodian has to document all this stuff and submit it for review before the government person who signs off on it will agree to an initial inspection. Then you get grilled on how well you know your own procedures. And are expected to demonstrate the systems security features and your mastery of them. SGI also *claims* to meet C2 with only Discressionary Access Control, in other words, "plain old Unix user and groups." Note emphasis on "claims", as they developed Trusted Irix for B1 or thereabouts and were somehow prevented from having more than one system under test. And never submitted a system for C2 testing. So they provide a white paper detailing how plain old Irix with the addition of the Trusted Irix auditing system meets the intent of C2. This has been Good Enough to use plain Irix with audit trails at work. http://www.sgi.com/Support/security/c2_in_5.3_6.1.ps is the white paper I'm talking about. We quoted it for Irix 6.2. > > THat having been said, there is one other requirement that would need to > > be addressed: > > > > * Object Reuse (2.2.1.2) > > > > THis is defined as follows: > > > > "All authorizations to the information contained iwthin a storage object > > shall be revoked prior to initial assignment, allocation or reallocation > > to a subject from the TCB's pool of unused storage objects. No > > information, including encrypted representations of information, produced > > by a prior subject's actions is to be available to any subject that > > obtains access to an object that has been released back to the system." > > > > Basically, we need to purge all memor when it is allocated, or > > deallocated. > > Has to be deallocated, unless you want to maintain ownership credentials > of the deallocated pools. The act of returning a block of memory to the > "free" pool changes its ownership. There is an existing standard for > reclaiming memory in C2 systems. If I remember correctly, you have to > overwrite each bit with successive 1 and 0 for 100 cycles. This is > pretty cpu intensive, but can be done pretty easily by modify sbrk and > friends. I guess in the post 2.2 world, it would be munmap that gets > mangled, right? I've never seen the "100 times overwrite" requirement. The act of writing a zero to memory that is parity checked in hardware should satisfy the spirit of the requirement. If writing the zero didn't work, it fails on first read. In the above document, SGI points out "clear before reallocate" was approved when they tested Trusted Irix for B1, so they claim the same is good enough for plain Irix at C2. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.