Git Product home page Git Product logo

pwnedit's Introduction

pwnedit

CVE-2021-3156 - Sudo Baron Samedit

Before heading into the technical details, you can watch a brief summary here: https://www.youtube.com/watch?v=TLa2VqcGGEQ

Episodes

  1. [ Files | Blog | Video ] Why Pick sudo as Research Target?
  2. [ Files | Blog | Video ] How Fuzzing with AFL works
  3. [ Files | Blog | Video ] Troubleshooting AFL Fuzzing Problems
  4. [ Files | Blog | Video ] Finding Buffer Overflow with Fuzzing
  5. [ Files | Blog | Video ] Found a Crash Through Fuzzing? Minimize AFL Testcases
  6. [ Files | Blog | Video ] Root Cause Analysis With AddressSanitizer (ASan)
  7. [ Files | Blog | Video ] Understanding C Pointer Magic Arithmetic
  8. [ Files | Blog | Video ] C Code Review - Reaching Vulnerable Code in sudo
  9. [ Files | Blog | Video ] Discussing Heap Exploit Strategies for sudo
  10. [ Files | Blog | Video ] Developing a Tool to Find Function Pointers on The Heap
  11. [ Files | Blog | Video ] Fuzzing Heap Layout to Overflow Function Pointers
  12. [ Files | Blog | Video ] Developing GDB Extension for Heap Exploitation
  13. [ Files | Blog | Video ] Can We Find a New Exploit Strategy?
  14. [ Files | Blog | Video ] Learning about nss (Linux Name Service Switch) During Sudo Exploitation
  • ... coming soon

Requirements

Install Docker and make sure it is running with docker ps.

Usage Instructions

Each episode folder contains files and code snippets used in the video. Most important is the Dockerfile, which can be used to run an isolated system vulnerable to the sudoedit vulnerability.

If you want to betetr understand how docker works, checkout these videos:

This project uses a Makefile in each episode, to easier work with docker. You can build and run a particular episode's docker container with thes follwing commands.

cd episode01
sudo make

To get a root shell you can then run

sudo make root

Or be a regular user

sudo make attach

Feel free to check the Makefile and execute the docker commands directly.

pwnedit's People

Contributors

liveoverflow 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.