Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Shadow Passwords
@ 1994-10-11  6:52 Huw Davies
  0 siblings, 0 replies; 31+ messages in thread
From: Huw Davies @ 1994-10-11  6:52 UTC (permalink / raw)


Is it possible to have shadow passwords with OSF/1 without getting all the
rest of the C2 security features? For the applications I have in mind, C2
is a little bit of overkill...

If Digital don't have a solution, has anyone attempted/succeeded in porting
the shadow password program over?

--
  Huw Davies           | Huw.Davies@latrobe.edu.au
  Computing Services   | Phone: +61 3 479 1500   Fax: +61 3 479 1999
  La Trobe University  | I own an Alfa to keep me poor in a monetary
  Melbourne Australia  | sense, but rich in so many other ways


^ permalink raw reply	[flat|nested] 31+ messages in thread

* shadow passwords
@ 1996-04-29  4:00 efe
  1996-05-01  4:00 ` Peter Mayne
  0 siblings, 1 reply; 31+ messages in thread
From: efe @ 1996-04-29  4:00 UTC (permalink / raw)



any knows how?

thanks,

efe.



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: shadow passwords
  1996-04-29  4:00 shadow passwords efe
@ 1996-05-01  4:00 ` Peter Mayne
  1996-05-01  4:00   ` Pat Wilson
  0 siblings, 1 reply; 31+ messages in thread
From: Peter Mayne @ 1996-05-01  4:00 UTC (permalink / raw)



efe wrote:
> 
> any knows how?

secsetup
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: shadow passwords
  1996-05-01  4:00 ` Peter Mayne
@ 1996-05-01  4:00   ` Pat Wilson
  1996-05-01  4:00     ` Saul Tannenbaum
  1996-05-08  4:00     ` system
  0 siblings, 2 replies; 31+ messages in thread
From: Pat Wilson @ 1996-05-01  4:00 UTC (permalink / raw)



Peter Mayne <peter.mayne@cao.mts.dec.com> writes:

>efe wrote:
>> 
>> any knows how?

>secsetup

Buzzt!  Not quite.

While it's true that "secsetup" is the happy command to turn on
C2 security (which is the only way to get shadow passwords), running
"secsetup" will _not_, I repeat _not_, pull the passwords out of
/etc/passwd (though it does set up all of the hellish /tcb/files/auth
mess for each user).  You must remove the encrypted passwords from
/etc/passwd *by hand* (use a perl script - it's easiest).

Frankly, DEC has made a mess of what _should_ be a very simple thing.
I do not _want_ C2 security, I JUST WANT SHADOW PASSWORDS!

--
Pat Wilson
paw@coos.dartmouth.edu



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: shadow passwords
  1996-05-01  4:00   ` Pat Wilson
@ 1996-05-01  4:00     ` Saul Tannenbaum
  1996-05-08  4:00     ` system
  1 sibling, 0 replies; 31+ messages in thread
From: Saul Tannenbaum @ 1996-05-01  4:00 UTC (permalink / raw)



In article <4m7mte$de6@dartvax.dartmouth.edu>, Pat Wilson (paw@coos.dartmouth.edu) wrote:

> Frankly, DEC has made a mess of what _should_ be a very simple thing.
> I do not _want_ C2 security, I JUST WANT SHADOW PASSWORDS!

I agree.

You'd think that Digital, given its corporate history with respect to
security and VMS, would have been able to translate some of the lessons
it learned from VMS to Unix. 

Apparently not.

C2 is a mess and carries all sorts of baggage we're either not
interested in (auditing) or actively wish to avoid (manually
authorizing every X device). And then, of course, is the
"doesn't work with NIS and large systems" botch.

	- Saul
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: shadow passwords
  1996-05-01  4:00   ` Pat Wilson
  1996-05-01  4:00     ` Saul Tannenbaum
@ 1996-05-08  4:00     ` system
  1996-05-14  4:00       ` Peter Mayne
  1 sibling, 1 reply; 31+ messages in thread
From: system @ 1996-05-08  4:00 UTC (permalink / raw)



In article <4m7mte$de6@dartvax.dartmouth.edu>, 
paw@coos.dartmouth.edu (Pat Wilson) writes:
>
>While it's true that "secsetup" is the happy command to turn on
>C2 security (which is the only way to get shadow passwords), running
>"secsetup" will _not_, I repeat _not_, pull the passwords out of
>/etc/passwd (though it does set up all of the hellish /tcb/files/auth
>mess for each user).  You must remove the encrypted passwords from
>/etc/passwd *by hand* (use a perl script - it's easiest).

NOt completely related but could y'all answer a question for me here?

In the release notes it says,

"The secsetup script does not detect the overrides in the /etc/passwd file. 
Using the secsetup script when local overrides are present may corrupt
the authorization database without indicating that the database is 
corrupted."

I am very new to UNIX... what are "local overrides"?  I have been
bumbling through secsetup and the X-programs for creating new
users and seem to have problems getting passwords to stick (among
other things)

>Frankly, DEC has made a mess of what _should_ be a very simple thing.
>I do not _want_ C2 security, I JUST WANT SHADOW PASSWORDS!

agreed

>Pat Wilson
>paw@coos.dartmouth.edu

Thanks for any help you can give me.
Robert



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: shadow passwords
  1996-05-08  4:00     ` system
@ 1996-05-14  4:00       ` Peter Mayne
  1996-05-16  4:00         ` Why I don't want C2 (Re: shadow passwords) Peter da Silva
  1996-05-17  4:00         ` shadow passwords Jay Maynard
  0 siblings, 2 replies; 31+ messages in thread
From: Peter Mayne @ 1996-05-14  4:00 UTC (permalink / raw)



system@niuhep.phys.niu.edu wrote:
> 
> In article <4m7mte$de6@dartvax.dartmouth.edu>,
> paw@coos.dartmouth.edu (Pat Wilson) writes:
> >
> >While it's true that "secsetup" is the happy command to turn on
> >C2 security (which is the only way to get shadow passwords), running
> >"secsetup" will _not_, I repeat _not_, pull the passwords out of
> >/etc/passwd (though it does set up all of the hellish /tcb/files/auth
> >mess for each user).  You must remove the encrypted passwords from
> >/etc/passwd *by hand* (use a perl script - it's easiest).

When you turn C2 on, the passwords from /etc/password are used. When a user logs 
in for the first time after C2 being turned on, the users password is marked as 
expired and the user must change the password. The user's new password is stored 
in /tcb/files/auth.

The encrypted passwords that remain in /etc/passwd are therefore the users' 
previous passwords. Unless you're completely paranoid (and you may well be, and  
I have no argument with that), knowing a user's previous password won't get you 
anywhere.

So, there's no reason to remove the old encrypted passwords from /etc/passwd.

> >Frankly, DEC has made a mess of what _should_ be a very simple thing.
> >I do not _want_ C2 security, I JUST WANT SHADOW PASSWORDS!
> 
> agreed

What parts of C2 don't you want?
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Why I don't want C2 (Re: shadow passwords)
  1996-05-14  4:00       ` Peter Mayne
@ 1996-05-16  4:00         ` Peter da Silva
  1996-05-20  4:00           ` Saul Tannenbaum
                             ` (2 more replies)
  1996-05-17  4:00         ` shadow passwords Jay Maynard
  1 sibling, 3 replies; 31+ messages in thread
From: Peter da Silva @ 1996-05-16  4:00 UTC (permalink / raw)



In article <31981144.6B5D@cao.mts.dec.com>,
Peter Mayne  <peter.mayne@cao.mts.dec.com> wrote:
> What parts of C2 don't you want?

Authentication through files that can't be shared with non-digital-unix
systems and can't be managed by standard freeware tools is the big one
for me.

By the way, the orange book doesn't say shadowed passwords are necessary.

Or ACLs (in fact it explicitly states that user/group/world is adequate
in 2.2.1.1... they're not required until B3).

The biggest problem with C2, though, is 2.2.2.2. Any system that satisfies
2.2.2.2 is inherently undebuggable. For software development environments
this is a disaster waiting to happen.

It's also a waste of time as implemented in any system I've seen, since
without cryptographicly strong checksumming of the audit trail (in which
case you could simply track access to /etc/passwd and snapshot it on
close) you have to depend on the incompetance of the administrators at
penetrating the obscurity of the audit logs to create a C2 environment.

So, in practice, most places trust the administrators and run their C2-
capable systems at C1 level.

And by my reading of the orange book, Digital UNIX is already C1, and also
has all the capabilities of C2 except for the requirement that system
administrators can't forge audit trails... and as I've said that's not
actually taken advantage of in any C2-class environments.

(when I want an unalterable audit trail myself, I log to paper...)

-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: shadow passwords
  1996-05-14  4:00       ` Peter Mayne
  1996-05-16  4:00         ` Why I don't want C2 (Re: shadow passwords) Peter da Silva
@ 1996-05-17  4:00         ` Jay Maynard
  1 sibling, 0 replies; 31+ messages in thread
From: Jay Maynard @ 1996-05-17  4:00 UTC (permalink / raw)



On Tue, 14 May 1996 15:51:16 +1100, Peter Mayne <peter.mayne@cao.mts.dec.com> wrote:
>The encrypted passwords that remain in /etc/passwd are therefore the
>users' previous passwords. Unless you're completely paranoid (and you
>may well be, and I have no argument with that), knowing a user's
>previous password won't get you anywhere.
>So, there's no reason to remove the old encrypted passwords from /etc/passwd.

Not so. It's well known that the old encrypted passwords in /etc/passwd
can be broken with commonly available tools. Hell, that's the whole reason
for shadow passwords in the first place. Having the old encrypted password
around gives a cracker a vital clue as to the new password a user might
have chosen - after all, let's face it: users generally pick lousy
passwords, no matter what rules you try to make them follow.

>What parts of C2 don't you want?

XIsso and XSysAdmin suck large flat black rocks, on top of having names that
are, in and of themselves, offenses to common decency. (StuDlycApS don't
belong in utility names!) They won't even run on my Alphaserver's console!
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
            "Just because I'm a superhero doesn't mean
              I have to smell poo gas." -- Freakazoid




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-05-16  4:00         ` Why I don't want C2 (Re: shadow passwords) Peter da Silva
@ 1996-05-20  4:00           ` Saul Tannenbaum
  1996-05-28  4:00           ` scott
       [not found]           ` <199605281708.NAA12062@orb.nashua.nh.us>
  2 siblings, 0 replies; 31+ messages in thread
From: Saul Tannenbaum @ 1996-05-20  4:00 UTC (permalink / raw)



> In article <31981144.6B5D@cao.mts.dec.com>,
> Peter Mayne  <peter.mayne@cao.mts.dec.com> wrote:
> > What parts of C2 don't you want?

All _I_ want is shadow passwords.

Everything else is just overhead that I have to understand just in case
it's wrong at gets in the way of people doing legitimate work. A prime
example is the need to individually authorize X-displays, and the 
ongoing corruption the terminal database.

	- Saul
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |Finger for PGP public key
                Communications Services    |http://www.tufts.edu/~stannenb



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-05-16  4:00         ` Why I don't want C2 (Re: shadow passwords) Peter da Silva
  1996-05-20  4:00           ` Saul Tannenbaum
@ 1996-05-28  4:00           ` scott
       [not found]           ` <199605281708.NAA12062@orb.nashua.nh.us>
  2 siblings, 0 replies; 31+ messages in thread
From: scott @ 1996-05-28  4:00 UTC (permalink / raw)



Comments to Peter da Silva's statements enclosed.

>>>>> On 16 May 1996 18:44:45 GMT, peter@nmti.com (Peter da Silva) said:

pjd> In article <31981144.6B5D@cao.mts.dec.com>, Peter Mayne
pjd> <peter.mayne@cao.mts.dec.com> wrote:
>> What parts of C2 don't you want?

pjd> Authentication through files that can't be shared with
pjd> non-digital-unix systems and can't be managed by standard
pjd> freeware tools is the big one for me.

pjd> By the way, the orange book doesn't say shadowed passwords
pjd> are necessary.

pjd> Or ACLs (in fact it explicitly states that user/group/world
pjd> is adequate in 2.2.1.1... they're not required until B3).

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> 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.  The above paragraph makes no sense.

pjd> It's also a waste of time as implemented in any system I've
pjd> seen, since without cryptographicly strong checksumming of
pjd> the audit trail (in which case you could simply track access
pjd> to /etc/passwd and snapshot it on close) you have to depend
pjd> on the incompetance of the administrators at penetrating the
pjd> obscurity of the audit logs to create a C2 environment.

pjd> So, in practice, most places trust the administrators and
pjd> run their C2- capable systems at C1 level.

pjd> And by my reading of the orange book, Digital UNIX is
pjd> already C1, and also has all the capabilities of C2 except
pjd> for the requirement that system administrators can't forge
pjd> audit trails... and as I've said that's not actually taken
pjd> advantage of in any C2-class environments.

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. 

Note that a skilled root user can bypass any OS security feature. 

Digital UNIX does allow for audit trails to be stored remotely which might
provide some sites with an additional level of assurance (although a
skilled root/authorized user could modify the data while it resided in
kernel memory). 

-- 
Larry R. Scott					IP: scott@Orb.Nashua.NH.US



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Shadow Passwords
@ 1996-05-29  4:00 Adam S. Lupu-Sax
  1996-06-05  4:00 ` System PRIVILEGED Account
  0 siblings, 1 reply; 31+ messages in thread
From: Adam S. Lupu-Sax @ 1996-05-29  4:00 UTC (permalink / raw)





	Is there a version of "crack" (the password checker)
that will work with the osf1 (ver 2.0) C2 security (with shadow
passwords) ?  

	Alternately, can someone explain to me how I might
generate a normal (with encrypted passwords) /etc/passwd like file
just so I can run crack on that ?


							-Adam
____________________________
lupu-sax@typhoon.harvard.edu
-- 
____________________________________________________________
Adam Lupu-Sax <lupu-sax@typhoon.harvard.edu>
http://monsoon.harvard.edu/~lupu-sax
PGP public key: http://monsoon.harvard.edu/~lupu-sax/key.asc



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Shadow Passwords
  1996-05-29  4:00 Shadow Passwords Adam S. Lupu-Sax
@ 1996-06-05  4:00 ` System PRIVILEGED Account
  0 siblings, 0 replies; 31+ messages in thread
From: System PRIVILEGED Account @ 1996-06-05  4:00 UTC (permalink / raw)



Why not just use getprpwnam over a list of users taken from /etc/passwd 
and have it output their passwords?  Of course you have to be root to do 
this.






^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
       [not found]           ` <199605281708.NAA12062@orb.nashua.nh.us>
@ 1996-06-07  4:00             ` Peter da Silva
  1996-06-13  4:00               ` scott
                                 ` (2 more replies)
  1996-06-20  4:00             ` Why I don't want C2 (Re: shadow passwords) Jonathan Rozes
  1 sibling, 3 replies; 31+ messages in thread
From: Peter da Silva @ 1996-06-07  4:00 UTC (permalink / raw)



In article <199605281708.NAA12062@orb.nashua.nh.us>,
 <scott@Orb.Nashua.NH.US> wrote:
> 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.

But not without enabling C2. I want these features. I don't want C2.

> 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.

Nope.

If you have an auditable system, that means there are no backdoors that
allow you to fly "under the radar" to bypass the auditing.

When you have a system problem, like a corrupted file system, you often
need to operate on the raw bits to debug and fix the problem.

But you can't do that, because that would also allow you to bypass the
auditing. So they either have to disable access to the raw bits, or they
have to obfuscate the audit files and TCB to try and keep you from
figuring out how to do it. So if your TCB database is clobbered you're
out of luck... time to drop back to backups. IF you can even restore
that stuff (if they're not paranoid enough to encode timestamps so that
backups are a loss).

I've been through this problem over and over again with Secureware's C2
enhancements in SCO Open Desktop. C2 auditing requirements are sufficiently
strong that you have to break "root". Which is fine for military
installations but a waste of time for 99% of the systems out there that
just need shadow passwords.

> 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. 

I don't believe that this interpretation of the word "authorized" is adequate
or else you can simply say "everyone's authorized to do anything without
logging" and get your MS-DOS system to pass C2. If this was adequate there
would be no need to include language about logging changes in the TCB, since
only root can do that and by your reasoning root is "authorized" to do
anything without being logged.
-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-07  4:00             ` Peter da Silva
@ 1996-06-13  4:00               ` scott
       [not found]               ` <199606132023.QAA23476@orb.nashua.nh.us>
       [not found]               ` <199606132023.QAA23476@| orb.nashua.nh.us>
  2 siblings, 0 replies; 31+ messages in thread
From: scott @ 1996-06-13  4:00 UTC (permalink / raw)



> > 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



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-20  4:00             ` Why I don't want C2 (Re: shadow passwords) Jonathan Rozes
@ 1996-06-20  4:00               ` Donn Cave
  0 siblings, 0 replies; 31+ messages in thread
From: Donn Cave @ 1996-06-20  4:00 UTC (permalink / raw)



In article <4qc5g1$12s@d2.tufts.edu>, jrozes@tcs.tufts.edu wrote:
| In article <4qbmut$rpq@web.nmti.com>,
|         peter@nmti.com (Peter da Silva) writes:
| 
| > To be nit-pickingly precise, I want shadowed passwords. Shadowed passwords
| > are not a requirement at the "C" level at all, and virtually all modern
| > UNIX systems (which approximate "C1") except for Digital UNIX provide them
| > as a standard part of the system.
| 
| I'm kinda surprised that after _years_ of people moaning about the lack
| of shadow passwords (myself included), nobody has bitten the bullet and
| ported the public-domain shadow utilities to DUX.

I didn't do it myself, so don't know the details, but we replaced DEC's
passwd code with a shadow passwd implementation.  Where on Ultrix
we had to replace the relevant parts of libc.a and rebuild the relevant
applications, on Digital UNIX we do it with shared libraries.

| OTOH, the best thing to do would be for all of us to write/call/email
| Digital and tell them that Enhanced Security is a bear, BSD security
| is an oxymoron, and that shadow passwords should be standard/mandatory
| for base security.

It makes more sense for DEC to provide this, for sure, than for
everyone to hack it in independently.   We just couldn't wait for a fix,
and didn't want C2 - like the man said, "don't want C2, just shadow
passwords".  Again, I wasn't directly involved, but we were not able
to make C2 work here in a way we could live with.

Just a fine point, though - while BSD 4.2 didn't have shadow passwords,
it's not like everyone else did at that point.  Later BSD versions do have a
shadow password scheme, and in fact that's what our system is based on,
so here the term "BSD security" would have to mean shadow passwords!
So we wouldn't like to think of it as an oxymoron.  As I understand it we
changed the dbm database setup to cut down on the frequency of required
rebuilds, but it's basically per BSD 4.3-Tahoe - which is in general licensed
code, though for all I know its shadow passwd stuff may be public domain.

    Donn Cave, University Computing Services, University of Washington
    donn@u.washington.edu



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-20  4:00                   ` Lawrence Macintyre
@ 1996-06-20  4:00                     ` Peter da Silva
  1996-06-21  4:00                       ` Mike Iglesias
  1996-06-22  4:00                       ` Peter Mayne
  0 siblings, 2 replies; 31+ messages in thread
From: Peter da Silva @ 1996-06-20  4:00 UTC (permalink / raw)



In article <31C976A3.446B@nautique.epm.ornl.gov>,
Lawrence Macintyre  <lpz@nautique.epm.ornl.gov> wrote:
> On ANY C2 system, if you can't figure out how to bypass auditing when
> you have root privs, then you don't know enough about that system.

That may be true. Which means that you don't have a "useful" C2 system
without administrative tools that let you do most of the "root" things
without "root". I think that for all practical purposes a sufficiently
obfuscated TCB will serve the purpose. Given sufficiently competant
administrators and sufficient time you can probably get around that,
but the main virtue I see is logging the actions of intruders who have
cracked root but don't grok the TCB well enough to hide their actions.

In any case, all this "C2" stuff adds extra complexity, and doesn't provide
a significant amount of extra functionality for most sites... what good are
logs that are never examined? What *is* useful in the "C2" package are the
shadow passwords and the ACLs, which don't actually have anything to do with
C2 certification, and *do* improve security.

Don't you see something wrong with this picture?

Shouldn't there be an option that just turns on shadowed passwords, an
option that just turns on ACLs, without adding all the auditing and
changes in traditional UNIX security semantics?
-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
       [not found]               ` <199606132023.QAA23476@orb.nashua.nh.us>
@ 1996-06-20  4:00                 ` Peter da Silva
  1996-06-20  4:00                   ` Lawrence Macintyre
  1996-06-22  4:00                   ` Peter Mayne
  0 siblings, 2 replies; 31+ messages in thread
From: Peter da Silva @ 1996-06-20  4:00 UTC (permalink / raw)



In article <199606132023.QAA23476@orb.nashua.nh.us>,
 <scott@Orb.Nashua.NH.US> wrote:
> 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."

No. I don't want *any* of the features of C2. I want one specific feature
that is only available when you enable DEC's "C2" support, but this feature
is not actually a requirement for "C2" certification.

To be nit-pickingly precise, I want shadowed passwords. Shadowed passwords
are not a requirement at the "C" level at all, and virtually all modern
UNIX systems (which approximate "C1") except for Digital UNIX provide them
as a standard part of the system.

However it appears that Digital's C2 isn't C2 at all:

> 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. 

2.2.2.2 doesn't make any provision for system administrators being immune
to auditing. In fact, there's explicit language stating that they aren't
immune to auditing.

> Sounds like you have an issue with SCO and SecureWare (different newsgroup).

And NT as well. In fact Digital UNIX is the first supposedly C2 system that
doesn't at least attempt to prevent system administrators from bypassing
auditing.

> 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.

It appears it's not the only one:

> There is no "language about logging changes in the TCB" in DOD 5200.28-STD 
> (the Orange Book).

2.2.2.2: "The TCB shall be able to record the following types of events [...]
actions taken by computer operators and system administrators and/or system
security officers, and other security relevant events."

I do not see any way to satisfy this requirement except by allowing people
who are *not* root to perform all actions appropriate for "computer operators
and/or system security officers" or by restricting root, at least by some sort
of cryptographic means, from making undetectable changes in the TCB.

-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-20  4:00                 ` Peter da Silva
@ 1996-06-20  4:00                   ` Lawrence Macintyre
  1996-06-20  4:00                     ` Peter da Silva
  1996-06-22  4:00                   ` Peter Mayne
  1 sibling, 1 reply; 31+ messages in thread
From: Lawrence Macintyre @ 1996-06-20  4:00 UTC (permalink / raw)
  To: Peter da Silva


Peter da Silva wrote:
> 
> To be nit-pickingly precise, I want shadowed passwords. Shadowed passwords
> are not a requirement at the "C" level at all, and virtually all modern
> UNIX systems (which approximate "C1") except for Digital UNIX provide them
> as a standard part of the system.

I agree with this.

> 2.2.2.2: "The TCB shall be able to record the following types of events [...]
> actions taken by computer operators and system administrators and/or system
> security officers, and other security relevant events."
> 
> I do not see any way to satisfy this requirement except by allowing people
> who are *not* root to perform all actions appropriate for "computer operators
> and/or system security officers" or by restricting root, at least by some sort
> of cryptographic means, from making undetectable changes in the TCB.
-- 
On ANY C2 system, if you can't figure out how to bypass auditing when
you have root privs, then you don't know enough about that system.  Once
privileged, you can modify anything on the system.  If there is some
kind of non-eraseable media holding the log, you can at least detect the
changes, but if it's on a normal disk, then you (as root) can change it
at will.  As I see it, Digital is just being honest.  Perhaps the other
systems you are thinking about just don't admit the obvious.

                                 Lawrence
                                    ~
------------------------------------------------------------------------
Lawrence MacIntyre       Oak Ridge National Laboratory      423.574.8696 
lpz@ornl.gov   http://www.epm.ornl.gov/~lpz    lpz@nautique.epm.ornl.gov



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
       [not found]           ` <199605281708.NAA12062@orb.nashua.nh.us>
  1996-06-07  4:00             ` Peter da Silva
@ 1996-06-20  4:00             ` Jonathan Rozes
  1996-06-20  4:00               ` Donn Cave
  1 sibling, 1 reply; 31+ messages in thread
From: Jonathan Rozes @ 1996-06-20  4:00 UTC (permalink / raw)



In article <4qbmut$rpq@web.nmti.com>,
	peter@nmti.com (Peter da Silva) writes:

> To be nit-pickingly precise, I want shadowed passwords. Shadowed passwords
> are not a requirement at the "C" level at all, and virtually all modern
> UNIX systems (which approximate "C1") except for Digital UNIX provide them
> as a standard part of the system.

I'm kinda surprised that after _years_ of people moaning about the lack
of shadow passwords (myself included), nobody has bitten the bullet and
ported the public-domain shadow utilities to DUX. Then again, I _have_
looked at the code... 'taint pretty.

OTOH, the best thing to do would be for all of us to write/call/email
Digital and tell them that Enhanced Security is a bear, BSD security
is an oxymoron, and that shadow passwords should be standard/mandatory
for base security.

jonathan
-- 
+++ Jonathan Rozes, Unix Systems Administrator, Tufts University
++  jrozes@tcs.tufts.edu, http://rozes.tcs.tufts.edu/
+   Ultimately, thinking is a very inefficient method of processing
    data.... [Surfing the Himalayas, 0-312-14147-5]



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-20  4:00                     ` Peter da Silva
@ 1996-06-21  4:00                       ` Mike Iglesias
  1996-06-22  4:00                       ` Peter Mayne
  1 sibling, 0 replies; 31+ messages in thread
From: Mike Iglesias @ 1996-06-21  4:00 UTC (permalink / raw)



In article <4qchpk$ese@web.nmti.com>, Peter da Silva <peter@nmti.com> wrote:
>Shouldn't there be an option that just turns on shadowed passwords, an
>option that just turns on ACLs, without adding all the auditing and
>changes in traditional UNIX security semantics?

In my opinion, shadow passwords should be the only choice.  The old
"everything in /etc/passwd" option should not exist.

-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069




^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-20  4:00                     ` Peter da Silva
  1996-06-21  4:00                       ` Mike Iglesias
@ 1996-06-22  4:00                       ` Peter Mayne
  1996-06-24  4:00                         ` Peter da Silva
  1 sibling, 1 reply; 31+ messages in thread
From: Peter Mayne @ 1996-06-22  4:00 UTC (permalink / raw)



Peter da Silva wrote:
> In any case, all this "C2" stuff adds extra complexity, and doesn't provide
> a significant amount of extra functionality for most sites... what good are
> logs that are never examined? What *is* useful in the "C2" package are the
> shadow passwords and the ACLs, which don't actually have anything to do with
> C2 certification, and *do* improve security.
> 
> Don't you see something wrong with this picture?
> 
> Shouldn't there be an option that just turns on shadowed passwords, an
> option that just turns on ACLs, without adding all the auditing and
> changes in traditional UNIX security semantics?

This is on my v4.0 system.

user root				user mayne
# echo hello world > file.txt
# chmod 700 file.txt
					> cat file.txt
					cat: cannot open file.txt
# setacl -u user:mayne:r-- file.txt
					> cat file.txt
					hello world
					> echo xyz >> file.txt
					ksh: file.txt: cannot create
# setacl -u user:mayne:rw- file.txt
					> echo xyz >> file.txt
					> cat file.txt
					hello world
					xyz
# setld -i|grep C2
OSFC2SEC400                     C2-Security (System Administration)
OSFXC2SEC400                    C2-Security GUI (System Administration)
#

Note that ACLs work as expected, even though C2 isn't even installed.

As for C2 without auditing, this is on the same system, after installing the C2 
subsets, although roughly the same would happen on pre-v4.0 systems:

# secsetup
.
.
Enter system security level(BASE ENHANCED ?)[ENHANCED]:
ENHANCED security level will take full effect on the next system reboot.
.
.
.
Do you wish to run the audit setup utility at this time(yes no ?)[no]:

Press return to continue:
#

So you don't need to turn auditing on when you turn C2 on.
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-20  4:00                 ` Peter da Silva
  1996-06-20  4:00                   ` Lawrence Macintyre
@ 1996-06-22  4:00                   ` Peter Mayne
  1996-06-24  4:00                     ` Peter da Silva
  1 sibling, 1 reply; 31+ messages in thread
From: Peter Mayne @ 1996-06-22  4:00 UTC (permalink / raw)



Peter da Silva wrote:
> 2.2.2.2: "The TCB shall be able to record the following types of events [...]
> actions taken by computer operators and system administrators and/or system
> security officers, and other security relevant events."
> 
> I do not see any way to satisfy this requirement except by allowing people
> who are *not* root to perform all actions appropriate for "computer operators
> and/or system security officers" or by restricting root, at least by some sort
> of cryptographic means, from making undetectable changes in the TCB.

It says "shall be able to", not "must". Digital UNIX is clearly able.
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-22  4:00                       ` Peter Mayne
@ 1996-06-24  4:00                         ` Peter da Silva
  1996-06-26  4:00                           ` Peter Mayne
  0 siblings, 1 reply; 31+ messages in thread
From: Peter da Silva @ 1996-06-24  4:00 UTC (permalink / raw)



In article <31CB60E8.1306@cao.mts.dec.com>,
Peter Mayne  <peter.mayne@cao.mts.dec.com> wrote:
> This is on my v4.0 system.

[ACLs]

OK, how about shadowed passwords?

> So you don't need to turn auditing on when you turn C2 on.

So what does C2 without auditing DO?
-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-22  4:00                   ` Peter Mayne
@ 1996-06-24  4:00                     ` Peter da Silva
  1996-06-26  4:00                       ` Peter Mayne
  0 siblings, 1 reply; 31+ messages in thread
From: Peter da Silva @ 1996-06-24  4:00 UTC (permalink / raw)



In article <31CB619F.773@cao.mts.dec.com>,
Peter Mayne  <peter.mayne@cao.mts.dec.com> wrote:
> Peter da Silva wrote:
> > 2.2.2.2: "The TCB shall be able to record the following types of events [...]
> > actions taken by computer operators and system administrators and/or system
> > security officers, and other security relevant events."

> It says "shall be able to", not "must". Digital UNIX is clearly able.

If you can't protect the audit logs against modification by the people
you're auditing what use *are* they?

-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadowpasswords)
       [not found]               ` <199606132023.QAA23476@| orb.nashua.nh.us>
@ 1996-06-24  4:00                 ` scott
  1996-06-25  4:00                   ` Pat Wilson
       [not found]                 ` <199606242027.QAA25728@orb.nashua.nh.us>
  1 sibling, 1 reply; 31+ messages in thread
From: scott @ 1996-06-24  4:00 UTC (permalink / raw)



In article <4qbmut$rpq@web.nmti.com>
 <peter@nmti.com> wrote:
> To be nit-pickingly precise, I want shadowed passwords. Shadowed passwords
> are not a requirement at the "C" level at all, and virtually all modern
> UNIX systems (which approximate "C1") except for Digital UNIX provide them
> as a standard part of the system.

If you want only shadowed passwords, then just turn on only the shadowed
passwords.  Again, shadowed passwords, ACL's, and auditing features are
each individually enabled/disabled.  There is no single switch to 
'enable DEC's "C2" support'. 

Next, on Digital UNIX, shadowed passwords are provided as a standard part
of the system.  No additional fees or licensing required. 

> However it appears that Digital's C2 isn't C2 at all:

Digital's C2-subset provides a superset of those features required for a 
C2 level of security.

> > 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. 
> 
> 2.2.2.2 doesn't make any provision for system administrators being immune
> to auditing. In fact, there's explicit language stating that they aren't
> immune to auditing.
> 
> > Sounds like you have an issue with SCO and SecureWare (different newsgroup).
> 
> And NT as well. In fact Digital UNIX is the first supposedly C2 system that
> doesn't at least attempt to prevent system administrators from bypassing
> auditing.

The Orange Book requirement states that system admin actions be auditable.
System admin actions are auditable on Digital UNIX. 

So, if by "immune" you mean that admins are not subject to audit, then you
are mistaken.  You're also mistaken if you are trying to imply that the 
requirements preclude the ability for a sufficiently privileged user 
(such as root) to disable auditing of his actions.  Understand, on UNIX, 
*root is part of the TCB*.

For a sufficiently privileged system admin (such as a root user), you
better expect that *ALL* of your local security features can be bypassed
(and this is not confined to Digital UNIX).  Access decisions are 
obviously different for a root user, and a root user can disable auditing 
of his actions.

If your definition of system administrator is a non-root user with access 
to a restricted, privileged interface for admin tasks, then the admins 
will not be able to bypass normal security features (including audit), 
except as designed into this privileged interface.

> > 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.
> 
> It appears it's not the only one:
> 
> > There is no "language about logging changes in the TCB" in DOD 5200.28-STD 
> > (the Orange Book).
> 
> 2.2.2.2: "The TCB shall be able to record the following types of events [...]
> actions taken by computer operators and system administrators and/or system
> security officers, and other security relevant events."

And nowhere does this requirement specify logging changes made to the TCB.
It does, however, require logging changes made to objects protected by the
TCB (among other requirements).  Perhaps you should clarify your statements 
here.

Understand, the TCB is the implementation of the security policy.  This
includes the hardware, firmware, and some software.  If you change your
TCB, you have violated the integrity of your TCB, and can no longer
guarantee the correctness of your protection mechanism.  An obvious
example of modifying your TCB is to dbx your kernel (as root) and modify
the logic which performs access checks or audit.  If root invalidates
audit, then it's not reasonable to expect that modification be audited. 
But, (again) *root is part of the TCB*. 

[from another one of peter's postings]:

> In any case, all this "C2" stuff adds extra complexity, and doesn't provide
> a significant amount of extra functionality for most sites... what good are
> logs that are never examined? What *is* useful in the "C2" package are the
> shadow passwords and the ACLs, which don't actually have anything to do with
> C2 certification, and *do* improve security.

A response to this kind of statement requires more information than I care
to provide.  I'm sure a number of introductory computer security texts could
help you out here. 

> Shouldn't there be an option that just turns on shadowed passwords, an
> option that just turns on ACLs, without adding all the auditing and
> changes in traditional UNIX security semantics?

Again, that is *exactly* what has been provided.

And again, Digital UNIX audit changes no system semantics.

lscott



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadowpasswords)
  1996-06-24  4:00                 ` Why I don't want C2 (Re: shadowpasswords) scott
@ 1996-06-25  4:00                   ` Pat Wilson
  0 siblings, 0 replies; 31+ messages in thread
From: Pat Wilson @ 1996-06-25  4:00 UTC (permalink / raw)



scott@Orb.Nashua.NH.US writes:

>In article <4qbmut$rpq@web.nmti.com>
> <peter@nmti.com> wrote:
>> To be nit-pickingly precise, I want shadowed passwords. Shadowed passwords
>> are not a requirement at the "C" level at all, and virtually all modern
>> UNIX systems (which approximate "C1") except for Digital UNIX provide them
>> as a standard part of the system.

>If you want only shadowed passwords, then just turn on only the shadowed
>passwords.  Again, shadowed passwords, ACL's, and auditing features are
>each individually enabled/disabled.  There is no single switch to 
>'enable DEC's "C2" support'. 

'Scuse me - which planet are you from?  You can *NOT* simply
turn on shadow passwords on DU 3.2 - I know, as I've tried.  Are
you telling me that this has finally been fixed in 4.0?

The switch that you claim does not exist is called "secsetup".  As
an additional insult, Digital's "adduser" trash (again, in 3.2+) appears 
to only be runnable from a GUI - not useful if one is admin'ing a
real machine with 100s of users.  Of course, it _is_ relatively
straightforward to write scripts to munge the appropriate files,
but it shouldn't be necessary.

It'd be nice if the companies that were inventing new ways to
"make sysadmin easier" would actually _talk_ to the professional
sysadmins who wind up having to deal with their "value added ease-of-use"
<feh> features.


--
Pat Wilson
paw@coos.dartmouth.edu



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadowpasswords)
       [not found]                 ` <199606242027.QAA25728@orb.nashua.nh.us>
@ 1996-06-25  4:00                   ` Peter da Silva
  0 siblings, 0 replies; 31+ messages in thread
From: Peter da Silva @ 1996-06-25  4:00 UTC (permalink / raw)



In article <199606242027.QAA25728@orb.nashua.nh.us>,
 <scott@Orb.Nashua.NH.US> wrote:
> A response to this kind of statement requires more information than I care
> to provide.  I'm sure a number of introductory computer security texts could
> help you out here. 

When someone drops into "argument by insult" it's time to take the discussion
offline. I apologise for taking up people's time. I've cancelled my original
response to this message, and will continue this, if at all, in email.

-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-26  4:00                       ` Peter Mayne
@ 1996-06-26  4:00                         ` Peter da Silva
  0 siblings, 0 replies; 31+ messages in thread
From: Peter da Silva @ 1996-06-26  4:00 UTC (permalink / raw)



In article <31D099AD.4AE@cao.mts.dec.com>,
Peter Mayne  <peter.mayne@cao.mts.dec.com> wrote:
> You've got to trust *somebody*. 8-)

As little as possible.

I would prefer, for the sorts of systems that I would want to install C2 on,
that *nobody* logs in with root permissions except from the console. That way
even if the black hats *do* get the root password they can't use it.

I would disable "su". I would make *all* daemons run under a non-root UID. I
would provide a non-root account that had the ability to create users and
reset passwords for non-system users, and do the other things that people
normally do as root. I would remove the scavenger scripts from cron and
replace them with compiled code, and make sure anything run with root
privileges had a statically linked binary.

THEN I would consider the system to be secure and to satisfy the intent of
"C2", because there was no way that a compromised password could be boosted
to root privileges, so your C2 system could actually monitor your "system
administrators and security officers".

For most people, though, C1 is plenty.

>   -l hostname:
>       Causes the audit daemon to transfer its audit data to the audit daemon
>       executing on the remote host hostname.

Where is the protocol used for this documented?

-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-24  4:00                         ` Peter da Silva
@ 1996-06-26  4:00                           ` Peter Mayne
  0 siblings, 0 replies; 31+ messages in thread
From: Peter Mayne @ 1996-06-26  4:00 UTC (permalink / raw)



Peter da Silva wrote:
> 
> In article <31CB60E8.1306@cao.mts.dec.com>,
> Peter Mayne  <peter.mayne@cao.mts.dec.com> wrote:
> > This is on my v4.0 system.
> 
> [ACLs]
> 
> OK, how about shadowed passwords?

How about them?

> > So you don't need to turn auditing on when you turn C2 on.
> 
> So what does C2 without auditing DO?

From the secsetup man page:

  The secsetup command allows you to configure your system either for secu-
  rity auditing, enhanced login, or any combination of those features.

If it doesn't do auditing, it must do enhanced login.

You may say "but then I don't have a C2 system, because auditing isn't turned 
on". That's correct, but that's your choice. Nobody is forcing you to turn 
auditing on. The C2 features are supplied: if you don't use them, I won't 
complain. 8-)
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.



^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Why I don't want C2 (Re: shadow passwords)
  1996-06-24  4:00                     ` Peter da Silva
@ 1996-06-26  4:00                       ` Peter Mayne
  1996-06-26  4:00                         ` Peter da Silva
  0 siblings, 1 reply; 31+ messages in thread
From: Peter Mayne @ 1996-06-26  4:00 UTC (permalink / raw)



Peter da Silva wrote:
> If you can't protect the audit logs against modification by the people
> you're auditing what use *are* they?

You've got to trust *somebody*. 8-)

Besides, you can always send the audit data somewhere else. From man auditd:

  -l hostname:
      Causes the audit daemon to transfer its audit data to the audit daemon
      executing on the remote host hostname.

Of course, all the local admin has to do is break the network link in any number 
of ways, shut down to single-user mode, etc, etc, but as I said, you've got to 
trust somebody.
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.



^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~1996-06-26  4:00 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-29  4:00 shadow passwords efe
1996-05-01  4:00 ` Peter Mayne
1996-05-01  4:00   ` Pat Wilson
1996-05-01  4:00     ` Saul Tannenbaum
1996-05-08  4:00     ` system
1996-05-14  4:00       ` Peter Mayne
1996-05-16  4:00         ` Why I don't want C2 (Re: shadow passwords) Peter da Silva
1996-05-20  4:00           ` Saul Tannenbaum
1996-05-28  4:00           ` scott
     [not found]           ` <199605281708.NAA12062@orb.nashua.nh.us>
1996-06-07  4:00             ` Peter da Silva
1996-06-13  4:00               ` scott
     [not found]               ` <199606132023.QAA23476@orb.nashua.nh.us>
1996-06-20  4:00                 ` Peter da Silva
1996-06-20  4:00                   ` Lawrence Macintyre
1996-06-20  4:00                     ` Peter da Silva
1996-06-21  4:00                       ` Mike Iglesias
1996-06-22  4:00                       ` Peter Mayne
1996-06-24  4:00                         ` Peter da Silva
1996-06-26  4:00                           ` Peter Mayne
1996-06-22  4:00                   ` Peter Mayne
1996-06-24  4:00                     ` Peter da Silva
1996-06-26  4:00                       ` Peter Mayne
1996-06-26  4:00                         ` Peter da Silva
     [not found]               ` <199606132023.QAA23476@| orb.nashua.nh.us>
1996-06-24  4:00                 ` Why I don't want C2 (Re: shadowpasswords) scott
1996-06-25  4:00                   ` Pat Wilson
     [not found]                 ` <199606242027.QAA25728@orb.nashua.nh.us>
1996-06-25  4:00                   ` Peter da Silva
1996-06-20  4:00             ` Why I don't want C2 (Re: shadow passwords) Jonathan Rozes
1996-06-20  4:00               ` Donn Cave
1996-05-17  4:00         ` shadow passwords Jay Maynard
  -- strict thread matches above, loose matches on Subject: below --
1996-05-29  4:00 Shadow Passwords Adam S. Lupu-Sax
1996-06-05  4:00 ` System PRIVILEGED Account
1994-10-11  6:52 Huw Davies

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox