GithubHelp home page GithubHelp logo

dostackbufferoverflowgood's Introduction

The Presentation and Tutorial for Cross-Site Scripters Who Can't Stack Buffer Overflow Good and Want to Do Other Stuff Good Too

CrikeyCon 3, 2016-02-20

Abstract

Did you miss out on stack-smashing for enjoyment and financial gain? Have you always meant to get in to "all that debugger stuff" but don't know your EIP from your ESP? Let's take it back to the 90s for an overview of Win32 stack buffer overflow exploitation.

We'll cover assembly, registers, the stack, function call and return mechanics, triggering stack buffer overflows, taking advantage of saved return pointer overwrites, generating shellcode, and some other weird tricks (software devs hate him!)

This is not new stuff, and modern mitigations (ASLR, DEP and stack canaries) totally harsh its mellow. If you're a stack savant who has a handle on the heap and ROPs relentlessly then I dunno go grab a beer or something.

tl;dr pop calc not alert(1)

The good stuff

  • dostackbufferoverflowgood - Visual Studio solution for dostackbufferoverflow.exe
  • dostackbufferoverflowgood.exe - Intentionally vulnerable binary, compiled without ASLR, DEP or Stack Canaries
  • dostackbufferoverflowgood.pdb - Debug symbols for dostackbufferoverflowgood.exe
  • dostackbufferoverflowgood_slides.pdf - Presentation slides
  • dostackbufferoverflowgood_tutorial.pdf - A tutorial for dostackbufferoverflowgood.exe

License

The code for dostackbufferoverflowgood.exe is licensed under Apache License Version 2.0

Slides and tutorial are licensed under a Creative Commons Attribution 4.0 International License.

dostackbufferoverflowgood's People

Contributors

jburger avatar justinsteven avatar timkent avatar

Watchers

 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.