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 17:33:26 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: bob@instantwhip.com (Bob Ceculski) 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 17:33:25 -0800 Organization: http://groups.google.com/ Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <9vvt7m$hu2@weyl.math.psu.edu> NNTP-Posting-Host: 65.43.31.68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1008984805 11402 127.0.0.1 (22 Dec 2001 01:33:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 22 Dec 2001 01:33:25 GMT Xref: archiver1.google.com comp.os.vms:56712 alt.sys.pdp10:8577 comp.sys.dec:10104 viro@weyl.math.psu.edu (Alexander Viro) wrote in message news:... > In article , > Rob Young wrote: > > > > 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. > > > > Are you attempting to exploit (buffer overflow) an existing program > > on VMS? Go from theory to example... > > Sigh... What is it with illiterate weenies of all sorts? > > Let me repeat it in slowly. Making data segment non-executable does not > make buffer overruns less harmful. What it _does_ provide is a protection > against one class of attacks, namely ones that place code to be executed > directly into the buffer. > > However, program that is vulnerable to attacks of that class is vulnerable > to slightly different sort of attacks. One that is _not_ prevented by > having data segment non-executable. > > Search the bugtraq archives. Find any instance of the (recurring) thread > with "non-executable stack" in subject. Read it. Think for a while. > Notice that while details depend on calling conventions, vulnerability > itself is pretty much the same, regardless of the OS. > > There are systems (including several Unices, BTW) that have non-executable > stack and data segments. There are patches that provide that for other > systems. And there are half-literate advocates that happily claim that it > makes $OS more secure. Bullshit. Stack-smashing is stack-smashing and if > your program allows it - it can be tricked into doing what attacker wants. > With priveleges it's run with. You said the magic word ... privs ... this isn't windoze ... without VMS privs you can't run a pot of beans ... are you saying you can create privs for your app on vms without having them in the first place?