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 04:38:21 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!SendSpamHere.ORG!SYSTEM From: system@SendSpamHere.ORG (Brian Schenkenberger, VAXman-) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Buffer Overflows - again Was: (Re: Congratulations for the festive sea Date: Sat, 22 Dec 2001 12:38:21 GMT Organization: TMESIS Software Message-ID: <00A06E44.1820CE35@SendSpamHere.ORG> References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <9vvt7m$hu2@weyl.math.psu.edu> Reply-To: system@SendSpamHere.ORG X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.os.vms:56780 alt.sys.pdp10:8614 comp.sys.dec:10148 In article , young_r@encompasserve.org (Rob Young) writes: >In article <9vvt7m$hu2@weyl.math.psu.edu>, viro@weyl.math.psu.edu (Alexander Viro) writes: >> In article , >> Rob Young quoted: >> >>>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. This is moderatly enforced on >> >> ... so instead of return into data buffer you do return into library function. >> Non-executable data segment does _not_ stop buffer overrun attacks. That >> had been demonstrated again and again - exploits are slightly different, >> but not noticably harder. >> >> IOW, instead of putting your code into buffer and overwriting return address >> with address of the buffer you overwrite the return address with entry >> point of library function and create a fake stack frame so that return >> would enter that function with arguments of your choice. BFD... >> > > Tell us what you mean by example. > > It sounds like you are trying to insert your own code somewhere and > run it. That is how I am interpreting this: "instead of putting your > code into buffer". This code you would attempt to run or exploit > has to be written somewhere. If you write it in a data PSECT, you > can't run it. If you attempt to write it in a code section, it > won't let you. Hence "buffer overflow" exploits are nearly impossible > on Alpha VMS. http://groups.google.com/groups?hl=en&threadm=9i1dum%24m8l%241%40venus. - telepac.pt&rnum=1&prev=/groups%3Fq%3Dexploitable%2Bbuffer%2Boverflows%2 - Bin%2BVMS%2Bpossible%253F%26hl%3Den%26meta%3Dgroup%253Dcomp.os.vms > > Are you attempting to exploit (buffer overflow) an existing program > on VMS? Go from theory to example... > > Rob > -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM "And of course, I'm a genius, so people are naturally drawn to my fiery intellect. Their admiration overwhelms their envy!" -- Calvin & Hobbes