Re: Randomized Stack

From: Rik Bobbaers (Rik.Bobbaers_at_cc.kuleuven.be)
Date: 11/28/05

  • Next message: David Barroso: "Re: Cause of MS SSL DoS attack"
    To: vuln-dev@securityfocus.com
    Date: Mon, 28 Nov 2005 15:41:58 +0100
    
    

    On Friday 25 November 2005 17:47, Oldani Massimiliano wrote:

    > Stack random? only random stack? or with random mmap()/stack and
    > no-exec workaround ?
    > If you have only random stack and you can execute code in the stack,
    > you can check for interesting pointer in the stack and chain a
    > ret-into-ret until you get it
    > or find somewhere jmp *%esp instruction and jump on your payload.
    > Alternatively you can construct argument with ret-into-PLT strcpy()
    > chain in some RW place and then use them.

    an alternative (easier ;)): put a 64k nopsled in front of your shellcode and
    "brute force" it ;)

    -- 
    harry
    aka Rik Bobbaers
    K.U.Leuven - LUDIT          -=- Tel: +32 485 52 71 50
    Rik.Bobbaers@cc.kuleuven.be -=- http://harry.ulyssis.org
    Disclaimer:
    By sending an email to ANY of my addresses you are agreeing that:
      1. I am by definition, "the intended recipient"
      2. All information in the email is mine to do with as I see fit and make 
    such financial profit, political mileage, or good joke as it lends itself to. 
    In particular, I may quote it on usenet.
      3. I may take the contents as representing the views of your company.
      4. This overrides any disclaimer or statement of confidentiality that may be 
    included on your message. 
    Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
    

  • Next message: David Barroso: "Re: Cause of MS SSL DoS attack"

    Relevant Pages

    • Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected
      ... some subsystems have insanely deep call chains. ... making for a bigger stack footprint of a function. ... ie the function that _is_ on the deep chain doesn't actually need much ...
      (Linux-Kernel)
    • Re: reducing number consing
      ... they often move the data by following pointers. ... >> following a chain of references is likely to involve accessing data that ... > so it actually puts referenced data far from the references. ... > stack of objects to be processed. ...
      (comp.lang.lisp)
    • Re: Need help
      ... > On platforms where Fortran is commonly used, the stack limit isn't ... Low stack limits are e-vile. ... chain and ensure space is properly recovered, ...
      (comp.arch)
    • Baystack 450 & 470
      ... tried cascading them but it doesn't seem to work. ... The base 470 only recognize one 450 one level down the chain but not the second one. ... And the up/down link lights are solids in the first 450 and blinking for the second one. ... Could anyone confirm that it is not possible to stack 2 450's one after another, even though the base is 470? ...
      (comp.dcom.sys.nortel)
    • Re: Overview Of New Intel Core i7(Nehalem) Processor
      ... This can be used as a mechanism to execute code, ... demand paged virtual memory instead of the 286's silly segmented menory. ... impossible for buffer overflows to overwrite code. ... You forgot about the stack. ...
      (sci.electronics.design)