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-21 18:06:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: gce Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Congratulations for the festive season Date: Fri, 21 Dec 2001 21:05:38 -0500 Message-ID: <3C23EA72.48874137@gce.com> References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C1ED472.7040102@qsl.network> <9vnh67$cct$1@bob.news.rcn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: UmFuZG9tSVZmEsOQjGdksB+OyvHiTrym8Y8WKgpmR2+HNkZl/THnK08qEF9/XVyf X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 22 Dec 2001 02:05:44 GMT X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: archiver1.google.com comp.os.vms:56718 alt.sys.pdp10:8581 comp.sys.dec:10109 Not so. The reason for the lack of buffer overflows is due to a number of factors. One: VMS habitually has used descriptors to pass strings, which have sizes passed. (Contrast windows NT and successors. Take a look at the ntifs.h and you will find numerous input arguments which are null terminated strings, some even which are arrays of such, terminated by a second null.These are sitting like time bombs waiting to cause trouble, and will not readily be removed by automated tools pulled from the public domain or internally written that find gets() and friends. As a rule input string size is NEVER available, and many of the APIs are security critical. VMS OTOH must be searched long and hard to find any such cases, thanks to the insistence on descriptors. It may have been a pain but it was pain with a payoff. Two: The process that creates VMS asks about security and customer data, not just by code review, but asks at investigation time, at design review time, at function spec time, and at code review time. This makes it relatively hard to slip things by. The culture insists on polish. Three: Much of VMS has been to the wars, gotten badly hurt, and been replaced so that much has changed since V1, V2, or V3. THAT is why VMS gets so few problems. If it were hit harder, a few more might surface, but the "today's Nth critical security flaw" you see in Windows, or the "this week's Nth flaw" that happens in Linux at times would still IMO be rare, as it is with OpenBSD, for the same reasons: the people writing the OS care deeply about getting security right and are damn good at what they do. If you take code written by careful people watching out for one another, you get a better result than you get with code written by careless folks working separately. Less code, generally, but FAR less problems down the road. Nor am I sure that over the very long haul you get less code, since ultimately crappy code needs to be redone more. The claim below amounts to "all coders are equal" in security results. But some companies foster care, others foster carelessness. This makes coders unequal, and we should be able to figure out which way works better for security. Glenn Everhart Mark Crispin wrote: > > On Fri, 21 Dec 2001, John J Francini wrote: > > Hence, buffer overflows and other nastiness. This philosophy is by NO > > MEANS restricted to Unix; it is very much evident in Microsoft-written OSes > > and applications (like Exchange, IIS, and many others), as well as plenty > > of other products. > > Including VMS. The reason why there aren't many buffer overflow attacks > on VMS is that the target is uncommon and uninteresting to the bad guys. > It's a form of security through obscurity. > > If VMS had achieved the level of success that UNIX did, and UNIX faded > into obscurity the way VMS did, then CERT bulletins would be filled with > the latest VMS buffer overflow attacks, and UNIX users would be snickering > about VMS insecurity. > > -- Mark -- > > http://staff.washington.edu/mrc > Science does not emerge from voting, party politics, or public debate.