Coder Social home page Coder Social logo

how2bof's Introduction

how2bof

Guide to buffer overflows, binaries that can be used to practice BufferOverFlows. All these binaries are 32bit. Compiled on Ubuntu 16.04

You probably arrive here because you're interested in learning to hack. Hopefully this repo contains information that is useful in your pursuit. Another resource I can highly recommend is LiveOverflow. He has a real gift for explaining the underlying technical principles.

This challenge was taken directly from the pwnable.kr challenge "bof". This is a great starting point for learning about buffer overflows.

This challenge requires you to overwrite the return pointer on the stack. Can you get shell?

This challenge requires you to set up the stack correctly to pass arguments to the system function. Are you up for the challenge?

Similar to bof3, but strings won't be as readily available, can you still get shell?

Introduction into ASLR, and using return to libc (ret2libc) for popping a shell.

Building on the last level, this introduces the concept of stack cookies/sentinels/guards and requires leaking several values yourself by using FSB.


Essential Tools:

pwntools. Please head over there and look up how to install this excellent python module.

It is also recommended that you use something to make the use of GDB a bit 'friendlier'. I would recommend using one of the following:

After putting these challenges together I found: https://github.com/bert88sta/how2exploit_binary Take a look at his repo and very similar information there (plus more) ;)

how2bof's People

Contributors

caesurus avatar

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.