From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-12-22 17:44:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.shore.net!Ives.egh.com!JOHN Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec From: John Santos Subject: Re: Congratulations for the festive season In-Reply-To: Message-ID: <1011222203233.59837K-100000@Ives.egh.com> References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <9vvu6g$rnk$1@joe.rice.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sat, 22 Dec 2001 20:45:28 -0500 NNTP-Posting-Host: 209.192.204.112 X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 1009071871 209.192.204.112 (Sat, 22 Dec 2001 20:44:31 EST) NNTP-Posting-Date: Sat, 22 Dec 2001 20:44:31 EST Organization: Shore.Net, a PRIMUS Company (info@shore.net) Xref: archiver1.google.com comp.os.vms:56907 alt.sys.pdp10:8677 comp.sys.dec:10228 On 22 Dec 2001, Peter da Silva wrote: > In article , > Fred Kleinsorge wrote: > >"Peter da Silva" wrote in message > >news:a002id$1781$1@citadel.in.taronga.com... > >> One issue > >> I have with VMS and security is the complexity of the security model makes > >> privilege boosting attacks more likely. > > >Generally speaking, boosting privs is the way to go. But not easy to do. > > I imagine it's gotten a lot better, when I was using VMS there are a heck > of a lot of apparently innocuous privileges that let you get pretty much any > other privilege on the system. I don't recall the details now, but they weren't > all as obvious as the right to grant privileges. :-> > > >But show me a model that is as flexible, yet so secure? No doubt that if > >VMS was as popular as Windows, and 17 year olds could read the source like a > >bible, this is where I suspect people would focus. > > >> Properly implemented, UNIX has the > >> potential for being a lot more secure, > >Why do you believe this? > I think I mis-interpreted this statement and I think Fred and others may have also. I took it to mean "a lot more secure than VMS." I think you meant "a lot more secure than it usually is." Your examples all pertain to making Unix more secure. Does everyone agree that Unix can be just as secure as VMS (or that VMS can be just as secure as Unix) if properly managed and used? (Including proper coding of privileged applications?) I (and I think most VMS partisans) argue that it is *EASIER* to do things right on VMS, not that it is impossible on other systems. Just as it is much easier to build a disaster tolerant VMS cluster that to build the same disaster tolerance based on another O/S since most of the tools you need are already there. > What do you mean "why do I believe this"? Do you want to know why I believe > that I have the experience to make such a claim, or do you want a quickie > tutorial on the UNIX security model, or what? I can try and oblige. > > The short answer is, UNIX provides a finely grained security model based > on assigning resources to groups, restricting membership in these groups > to people who are authorised to use these resources, and temporarily granting > rights to operate as group members to trusted programs that run with modified > privileges. > > There are significant problems in the implementation of this security model > in most applicatons and systems. The failures fall into two main classes: > > 1. Resources that can not be assigned rights based on groups. > > This includes system calls that are super-user only (such as > mount) rather than based on access to device files: if you have > r/w access to /dev/fd0c, then you should be able to mount it[1]. > > This also includes resources (like TCP/IP sockets) that are not > in the UNIX namespace and should be. > > This also includes resources (like the frame buffer) that have an > inadequate protection model. > > 2. Lazy programmers. > > The line printer daemon should not need to run setuid root. > > The mail server should not need to run setuid root. > > The name server should not need to run setuid root. > > Properly implemented, with all resources subject to file system access > control and programs granted no more privileges than they need to get the > job done, and with processes running with extra privileges properly > designed and audited (which also means making them small enough TO audit: > things like the X server are far too complex to run with root privileges), > the only need for root access would be to introduce new resources and grant > access (adding users, creating devices, etc), and these are rare events. > > [1] This would mean that non-root mounts would have to be limited to > mounting file systems that don't contain resources or mechanisms > for granting enhanced access. NOSUID,NOXEC,NODEV, to begin with. > > -- > Rev. Peter da Silva, ULC. "Cave cuniculos lagana ferentes" > > "Be conservative in what you generate, and liberal in what you accept" > -- Matthew 10:16 (l.trans) > > -- John Santos Evans Griffiths & Hart, Inc. 781-861-0670 ext 539