From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6f9d44c3b4e2c385 X-Google-Attributes: gidfee84,public From: scott@Orb.Nashua.NH.US Subject: Re: Why I don't want C2 (Re: shadow passwords) Date: 1996/06/13 Message-ID: <199606132023.QAA23476@Orb.Nashua.NH.US> X-Deja-AN: 160049894 sender: news@Orb.Nashua.NH.US references: <31851EDB.68AD@mtu.cl> <31981144.6B5D@cao.mts.dec.com> <4nft2t$8v6@web.nmti.com> <199605281708.NAA12062@orb.nashua.nh.us> <4p9mac$pqi@web.nmti.com> organization: Duchy of Wabesylvan Obspauk newsgroups: comp.unix.osf.osf1 > > Shadow passwords and ACL's are provided to satisfy market requirements, > > not C2 compliance. Both shadow passwords and ACL's can be selectively > > enabled/disabled. > pjd> But not without enabling C2. I want these features. I don't want C2. "C2" is a security evaluation rating provided by the NCSC. Digital UNIX security provides a superset of those features which are required to comply with C2 requirements. Most of these security features can be independently enabled/disabled. Understanding C2 now, your statement "I want these features. I don't want C2" is analogous to saying "you want that lamp which has the safety features typically required to obtain UL approval, but you don't want that lamp if it actually is UL approved." Perhaps you're trying to say there is some "specific feature" which you don't want (and which cannot be disabled)? Can you explain? > > pjd> The biggest problem with C2, though, is 2.2.2.2. Any system > > pjd> that satisfies 2.2.2.2 is inherently undebuggable. For > > pjd> software development environments this is a disaster waiting > > pjd> to happen. > > > 2.2.2.2 is audit. Audit and system "debuggability" are completely > > orthogonal. > pjd> Nope. pjd> pjd> If you have an auditable system, that means there are no backdoors that pjd> allow you to fly "under the radar" to bypass the auditing. pjd> pjd> When you have a system problem, like a corrupted file system, you often pjd> need to operate on the raw bits to debug and fix the problem. And the ability to dbx a live kernel or core dump still exists. The audit system is invisible to everyone other than the admin. Whatever worked without audit still works with audit. For your example, if you dbx a live kernel, or run fsdb, fsck, or verify against a filesystem, the audit system is capable of recording those operations. Audit does not make these operations any more or less accessible to root or non-root users. Note that a reasonable security policy might restrict access to raw devices and special files, so that not all users would be able to dbx a live kernel or fsdb a filesystem. This restriction, however, is not auditing. pjd> But you can't do that, because that would also allow you to bypass the pjd> auditing. So they either have to disable access to the raw bits, or they pjd> have to obfuscate the audit files and TCB to try and keep you from pjd> figuring out how to do it. So if your TCB database is clobbered you're pjd> out of luck... time to drop back to backups. IF you can even restore pjd> that stuff (if they're not paranoid enough to encode timestamps so that pjd> backups are a loss). pjd> pjd> I've been through this problem over and over again with Secureware's C2 pjd> enhancements in SCO Open Desktop. C2 auditing requirements are sufficiently pjd> strong that you have to break "root". Which is fine for military pjd> installations but a waste of time for 99% of the systems out there that pjd> just need shadow passwords. Sounds like you have an issue with SCO and SecureWare (different newsgroup). Digital UNIX does NOT use a secureware-based audit system. > > The requirement for audit trail protection at the C2 level (and through > > the A1 level) is that the audit trail be protected from "unauthorized" > > access. This means system administrators, as root, can legitimately > > modify the audit trail. > pjd> I don't believe that this interpretation of the word "authorized" is adequate pjd> or else you can simply say "everyone's authorized to do anything without pjd> logging" and get your MS-DOS system to pass C2. If this was adequate there No. "Authorization" reflects the implementation of the system security policy. A C2 rating requires a set of *features*. MS-DOS does not have the *features*, and will not pass C2. pjd> would be no need to include language about logging changes in the TCB, since There is no "language about logging changes in the TCB" in DOD 5200.28-STD (the Orange Book). pjd> only root can do that and by your reasoning root is "authorized" to do pjd> anything without being logged. Your statements are wrong, but the issue you're leading up to is an interesting one. That issue is the ability of root to compromise security. That compromise includes DAC, I&A, and audit. Understand that the goal of C2 (and B1) security is to provide an increased level of assurance through the addition of specific security features to *existing* systems. Neither C2 nor B1 systems intend to provide *absolute* security, nor would it be practical to expect the possibility of retrofitting such security onto existing systems. The DoD and NCSC have published sufficient documentation on Orange Book Security, so I won't get into it here. Trusted programs (i.e. privileged programs provided as part of the TCB) can also modify elements of the TCB. Trusted programs provide to users an interface to the TCB. The execution of trusted programs should not violate system security, and do get reasonably audited. Note that root does get audited, but as the root user, can obviously disable auditing for his process, for the system, or for that matter, can erase all local audit data or the system disks. The root user is considered part of the TCB. lscott