Premium Only Content

9: Overwriting Global Offset Table (GOT) Entries with printf() - Intro to Binary Exploitation (Pwn)
9th video from the "Practical Buffer Overflow Exploitation" course covering the basics of Binary Exploitation. NX and stack canaries are enabled this time, so we'll use a printf() format string vulnerability overwrite an entry from the Global Offset Table (GOT) with system() function from the Lib-C library. We'll use checksec, ghidra, pwndbg and create a manual printf() format write payload as well as using the pwntools FmtStr functionality! Write-ups/tutorials aimed at beginners - Hope you enjoy 🙂 #BinaryExploitation #BufferOverflow #BinExp #RE #Pwn #PwnTools
Find the binary files, source code and scripts to go with the series @ https://github.com/Crypto-Cat/CTF/tree/main/pwn/binary_exploitation_101
↢Social Media↣
Twitter: https://twitter.com/_CryptoCat
GitHub: https://github.com/Crypto-Cat
HackTheBox: https://app.hackthebox.eu/profile/11897
LinkedIn: https://www.linkedin.com/in/cryptocat
Reddit: https://www.reddit.com/user/_CryptoCat23
YouTube: https://www.youtube.com/CryptoCat23
Twitch: https://www.twitch.tv/cryptocat23
↢Binary Exploitation / Reverse Engineering↣
Pwn.College: https://pwn.college
How2Heap: https://github.com/shellphish/how2heap
NightMare: https://guyinatuxedo.github.io
Ir0nstone: https://ir0nstone.gitbook.io/notes/types/stack
PinkDraconian: https://www.youtube.com/playlist?list=PLeSXUd883dhjmKkVXSRgI1nJEZUDzgLf_
More: https://github.com/Crypto-Cat/CTF#readme
↢Video-Specific Resources↣
https://systemoverlord.com/2017/03/19/got-and-plt-for-pwning.html
https://ir0nstone.gitbook.io/notes/types/stack/aslr/plt_and_got
https://vickieli.dev/binary%20exploitation/format-string-vulnerabilities
https://codearcana.com/posts/2013/05/02/introduction-to-format-string-exploits.html
https://axcheron.github.io/exploit-101-format-strings
https://docs.pwntools.com/en/stable/fmtstr.html
↢Resources↣
Ghidra: https://ghidra-sre.org/CheatSheet.html
PwnTools: https://github.com/Gallopsled/pwntools-tutorial
CyberChef: https://gchq.github.io/CyberChef
HackTricks: https://book.hacktricks.xyz/exploiting/linux-exploiting-basic-esp
GTFOBins: https://gtfobins.github.io
Decompile Code: https://www.decompiler.com
Run Code: https://tio.run
↢Chapters↣
Start: 0:00
Basic File Checks: 0:32
Review Source Code: 2:10
Disassemble with Ghidra: 3:15
Outline Attack (GOT Overwrite): 4:60
GOT vs PLT vs GOT.PLT vs PLT.GOT: 6:07
Fuzz Printf Format Vuln: 8:55
Printf Format Write (%n) Explained: 9:36
Finding Correct Offset for Write: 13:00
How to Build a Manual Payload: 13:55
Manual Printf Write Exploit (%n): 18:08
PwnTools Script (FmtStr Auto): 22:07
End: 26:25
-
10:25
MattMorseTV
9 hours ago $11.42 earnedVance just DROPPED a NUKE.
38.8K41 -
LIVE
Jokeuhl Gaming and Chat
7 hours agoDARKTIDE - Warhammer 40k w/ Nubes and AoA
202 watching -
2:53:08
Shoriantrax
3 hours agoLIVE: Hardcore Chaos in Tarkov – Loot, Die, Repeat!
10.3K -
LIVE
John_Goetz
4 hours agoJohn Gets Gaming - Medal of Honor Vanguard Part 2
9 watching -
1:29:09
RiftTV
5 hours agoSydney Sweeney Spreading RACIST Propaganda? | The Rift | Guest: Braeden Sorbo + Sarah Stock
38.9K10 -
VapinGamers
4 hours ago $0.02 earnedDestiny 2 - The Premium Destiny 2 Experience with the Community! - !rumbot !music
3.6K -
2:36:01
We Like Shooting
17 hours ago $0.31 earnedWe Like Shooting 621 (Gun Podcast)
3.03K -
2:06:45
PudgeTV
9 hours ago🔵 Mod Mondays Ep 69 | Grimm Hollywood - The 3k on Mod Mondays
13.9K3 -
2:15:00
megimu32
4 hours agoOTS: Happy Place or Missed Shot? Happy Gilmore 2 Review
18K4 -
7:53:48
Dr Disrespect
13 hours ago🔴LIVE - DR DISRESPECT - WARZONE - RAGE ON THE MAIN STAGE
179K22