Skip to content
forked from JustBeYou/ctfs

Writeups and solver scripts wrote for CTFS and Wargames, mostly memory corruption and reverse engineering tasks.

Notifications You must be signed in to change notification settings

iamd0pey/pwn-ctfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pwning Guide

This is a short guide for learning pwning.

  1. Learn C/C++ at a decent level and get a better understanding of the following topics:

  2. Learn Assembly

  3. Now you have enough knowledge to proceed to actual exploits, take this course https://github.com/RPISEC/MBE ; don't focus to much on exercices as some are buggy

  4. Watch this https://www.youtube.com/watch?v=iyAyN3GFM7A&list=PLhixgUqwRTjxglIswKp9mpkfPNfHkzyeN

  5. Read those articles: https://ctf101.org/binary-exploitation/overview/ , https://0x00sec.org/t/heap-exploitation-abusing-use-after-free/3580

  6. Practice on:

Before you start to practices on those websites, you should have some knowledge in:

  • How calling functions works and how to pass parameters (32bit and 64bit)
  • What are EBP/RBP, ESP/RSP, EIP/RIP and what they are used for
  • How stack and heap works
  • What are the most important ELF sections and what they are used for: text, data, bss, got, plt
  • Classic exploits like buffer overflow, GOT rewrite using string format, return oriented programming, how to write shellcode, signal oriented programming, heap exploits
  • Mitigation techniques like DEP, ASLR, PIE

About

Writeups and solver scripts wrote for CTFS and Wargames, mostly memory corruption and reverse engineering tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 34.0%
  • Python 21.5%
  • Smali 19.8%
  • Java 8.7%
  • C++ 5.3%
  • HTML 3.1%
  • Other 7.6%