Skip to content

This project is the continuation of RainFall with the aim of learning the exploitation of binary (elf type).

Notifications You must be signed in to change notification settings

Sleleu/override

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this project

This is a cybersecurity project of 42 school, following in the footsteps of the snow-crash and rainfall projects, aims to familiarize oneself with binary exploitation.

Several notions are covered in this project, including:

  • Basics of reverse engineering
  • Understanding of the different protections
  • Stack buffer overflow
  • Format string attack vulnerabilities
  • Ret2libc attack

This project is presented in the form of a VM with 10 levels available. Each level contains a binary in the user's /home directory. The objective is to exploit this binary in order to progress to the next level.

035486413

Each level should have a folder containing:

  • The flag that allows access to the user of the next level
  • Source code obtained from the decompiled executable, providing a better understanding of the binary's structure to be exploited
  • A walkthrough describing the steps to successfully exploit it

Many challenges, after identifying how to exploit the vulnerability through the debugger, assembly instructions, and decompiled code, will look like this:

(python -c "print('A' * 76 + '\\x44\\x84\\x04\\x08')"; cat) | ./binary <== poof 💣
Good... Wait what? <== 💀
whoami
levelup
cat /home/user/levelup/.pass
{flag} <== 🚩

Resources

Here are some resources that can be helpful:

Find offset

Online decompiler

Shellcode used

Buffer overflow basics

Assembly basics

Format string attack

Got overwrite

Ret2libc

Protections

About

This project is the continuation of RainFall with the aim of learning the exploitation of binary (elf type).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published