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: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-21 13:04:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!young_r From: young_r@encompasserve.org (Rob Young) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Buffer Overflows - again Was: (Re: Congratulations for the festive sea Date: 21 Dec 2001 15:04:36 -0600 Organization: Encompasserve Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1008968678 12011 192.135.80.34 (21 Dec 2001 21:04:38 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 21 Dec 2001 21:04:38 +0000 (UTC) Xref: archiver1.google.com comp.os.vms:56653 alt.sys.pdp10:8552 comp.sys.dec:10069 In article , koehler@encompasserve.org (Bob Koehler) writes: > In article , young_r@encompasserve.org (Rob Young) writes: >> In article , Mark Crispin writes: >>> 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. >>> >> >> This is a myth or legend. Bart Z. Lederman succinctly refuted >> such a myth recently. Here is what he said: >> >> >> From: Bart Z. Lederman (lederman@star.enet.dec.DISABLE-JUNK-EMAIL.com) > >> I would be a bit surprised if you could exploit this type of a hole on VMS, >> particularly on Alpha. Programs are divided into code and data segments, and >> you can't execute something in a data segment. > > That last phrase is just plain not true. > Man... rough crowd for a Friday. Very rough. The part lost in the above is that Bart Z. mentioned PSECTS and PSECTS are the key. Trimming all that was trimmed loses all meaningful context. Tell me how you write code to this PSECT: ;+ ; Declare PSECT for code. ;- .PSECT $CODE RD,NOWRT,EXE,SHR,PIC ;+ ; Begin main routine. ; Conversely, tell me how you execute code in this PSECT: ;+ ; Declare data PSECT and objects. ;- .PSECT $DATA RD,WRT,NOEXE,NOSHR,PIC Am I being especially dull this Friday and overlooking the obvious or do you have some special meaning to: >> particularly on Alpha. Programs are divided into code and data segments, and >> you can't execute something in a data segment. > > That last phrase is just plain not true. > Thanks. Note... little rancor or snidely comments above. Very curious as to what you mean . . . Rob