Giter Site home page Giter Site logo

kbmclaren / lab1-cmsc426-cmpsec Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 408 KB

This lab required the execution of a buffer-overflow attack variant, known as return-to-libc, bypassing existing protection schemes implemented in Linux OS.

Python 36.30% C 63.70%
buffer-overflow return-to-libc linux stackoverflow input libc vm ubuntu 32-bit aslr

lab1-cmsc426-cmpsec's Introduction

lab1-CMSC426-CmpSec

Description

Lab 1 focused on the execution of a buffer overflow attack variant known as 'Return-to-libc'.
This lab was introductory in that Address Space Layout Randomization, StackGuard Protection, and the non-executable stack setting were all disabled for the duration of this lab, as described in "return_to_libc_official.pdf".

Repo Contents

  • "Lab 1 - Group 10 - Fall 2021 - CMSC 426.pdf" : This pdf must contain the answers to the professors questions found in return_to_libc_official.pdf.
  • "README.md"
  • "exploit.py" : The locations of the override instructions are adjusted here. When run, the file "badfile" is generated and contains the attack string loaded by retlib.c
  • "retlib.c" : This file imports the attack string, generated by exploit.py, and overwrites the buffer with the attack string.
  • "return_to_libc_official.pdf" : This filed contains the professors requirements for lab1.

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.