Code Monkey home page Code Monkey logo

Comments (4)

n30m1nd avatar n30m1nd commented on August 22, 2024 1

There is already a PoC in the webpage itself (just in case you haven't seen it): House of Rabbit.
It seems quite impractical without a scripting environment as you would need to write three times to the variable you control but really interesting however. Kudos for the creativity!

from how2heap.

n30m1nd avatar n30m1nd commented on August 22, 2024

I have been doing further analysis on this and it is a very similar vector to the house of force in the sense that it will trick the allocator to let us do a malloc of a huge size which will wrap around to our desired position.
However, it does not really defeat ASLR as the variables are always to the same offset from one another, and they are sitting on non-randomised data sections (.BSS and .data).
In this asciinema you can see the program running for a few seconds where target and gbuf are always on the same positions and offsets.
Other than overwriting variables in the global data sections (which already are not randomised), I don't see any ASLR bypass as all other addresses are randomised properly.

from how2heap.

Eterna1 avatar Eterna1 commented on August 22, 2024

House of rabbit won't be included here because there is some POC on the internet or that the attack is impractical? Asking because I've found a POC of another (very interesting for me) attack.

from how2heap.

m1ghtym0 avatar m1ghtym0 commented on August 22, 2024

No, I simply didn't had the time to deal with it yet. In general there is nothing that would speak against including it, if it is a novel way of exploiting the heap. However, I'm not super happy about attacks like house_of_orange, because even though they are super awesome techniques, they result from some specific exploit case and include multiple techniques to achieve certain states and most of them are not really novel by themselves. Still they are super fun and astonishing attacks, but maybe we should split them up more clearly to fit better into the idea of how2heap.

from how2heap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.