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 10:03:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news3.cac.psu.edu!not-for-mail From: viro@weyl.math.psu.edu (Alexander Viro) 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 12:58:14 -0500 Organization: -ENOENT Message-ID: <9vvt7m$hu2@weyl.math.psu.edu> References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> NNTP-Posting-Host: weyl.math.psu.edu Xref: archiver1.google.com comp.os.vms:56594 alt.sys.pdp10:8530 comp.sys.dec:10030 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... -- Fairy Tails start "Once upon a time." Army/Sea stories start "This is no shit." Software proposals start "1.0." Joe Zeff in the Monastery