Coder Social home page Coder Social logo

int2ecall / angerza Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rudyerudite/angerza

0.0 0.0 0.0 5.27 MB

Toy implementation of a Automated Exploit Generation built on Angr; stiched using radare, pwntools, pyelftools, and Angrop.

Python 88.59% C 11.41%

angerza's Introduction

AngErza

This is a CTF-helper or a program checking (for vulns) tool done as a college project. This tool detects buffer overflow and format string vulnerability in x86 64-bit binary (small sized). It also generates exploit payload for BOF for 3 attacks: RIP overwrite (win function), ROPchain generation using angrop and shellcode (chose among the hardcoded payloads).

1. Requirements:

  • claripy==9.0.5739
  • angr==9.0.5739
  • python 3.6
  • radare2
  • pwntools, pyelftools

2. Working:

Overall working

Detecting bug in binary

Generation of Exploit

  • main.py --> the main worker script of the tool
  • lib --> for utility scripts
  • trash --> trial purpose scripts

3. Installation

git clone https://github.com/rudyerudite/AngErza.git
cd AngErza

Before running AngErza, ensure the all the requirements are installed. For running AngErza on your binary:

python3 main.py <test_binary_name>	

4. TO-DO:

AngErza is a combo of various utility scripts and needs to be IMPROVISED.

  1. Shellcode-Gen: ..1. Auto-generation of shellcode instead of using the hardcoded payloads ..2. Expanding bug scenario (mmap()...)
  2. Including attacks which can bypass ASLR and PIE (attacks using program leaks)
  3. Enhancing bug-detection for buffer overflow and format string

References:

  1. [https://github.com/ChrisTheCoolHut/Zeratool/]
  2. [https://docs.angr.io/core-concepts/toplevel]
  3. [https://0x00sec.org/t/autobof-a-journey-into-automation-exploit-development-and-buffer-overflows/13415]
  4. [https://research.kudelskisecurity.com/2016/08/08/angr-management-first-steps-and-limitations/]
  5. [https://arxiv.org/pdf/1610.00502.pdf]

angerza's People

Contributors

geethna avatar rudyerudite 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.