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 14:34:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.baileynm.com!citadel.in.taronga.com!not-for-mail From: peter@taronga.com (Peter da Silva) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Congratulations for the festive season Date: 22 Dec 2001 22:18:55 GMT Organization: TSS Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <9vvu6g$rnk$1@joe.rice.edu> NNTP-Posting-Host: citadel.in.taronga.com X-Trace: citadel.in.taronga.com 1009059535 93218 10.0.0.43 (22 Dec 2001 22:18:55 GMT) X-Complaints-To: usenet@taronga.com NNTP-Posting-Date: 22 Dec 2001 22:18:55 GMT X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.os.vms:56872 alt.sys.pdp10:8665 comp.sys.dec:10210 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? 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)