Premium Only Content
Linked List Exploit Continued - GOT Overwrite - "Links 2+3" Pwn Challenge [ImaginaryCTF]
"Links 2" (Pwn) challenge from ImaginaryCTF (iCTF) 27/06/22 - "It turns out that there was a bug in how I was handling writing some elements, so I've fixed that. Also, I've stopped putting the flag in a global variable, because that's probably not a good idea. Double check my implementation one more time for me?". In this challenge we'll use Ghidra, GDB-PwnDbg and PwnTools to exploit a vulnerable custom LinkedList implementation by overwriting an global offset table GOT entry to point system(), so we can get a shell.
"Links 3" (Pwn) challenge from ImaginaryCTF (iCTF) 30/06/22 - "And now you guys are exploiting my View Time feature that I put there solely for your convenience? Fine, then - no more time for you!". This challenge has no view_time() function, so we lose the system() call. However, we can leak an arbitrary function from the GOT and use the Lib-C database to find the correct offsets (ret2libc). Hope you enjoy 🙂 #CTF #iCTF #ImaginaryCTF #Pwn #BinaryExploitation
Write-ups: https://github.com/Crypto-Cat/CTF/tree/main/ctf_events/ictf/pwn/links
↢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
↢ImaginaryCTF↣
https://imaginaryctf.org
https://twitter.com/imaginaryctf
https://discord.gg/9r8AJQkfs3
↢Video-Specific Resources↣
https://libc.blukat.me
https://libc.rip
↢Resources↣
Ghidra: https://ghidra-sre.org/CheatSheet.html
Volatility: https://github.com/volatilityfoundation/volatility/wiki/Linux
PwnTools: https://github.com/Gallopsled/pwntools-tutorial
CyberChef: https://gchq.github.io/CyberChef
DCode: https://www.dcode.fr/en
HackTricks: https://book.hacktricks.xyz/pentesting-methodology
CTF Tools: https://github.com/apsdehal/awesome-ctf
Forensics: https://cugu.github.io/awesome-forensics
Decompile Code: https://www.decompiler.com
Run Code: https://tio.run
↢Chapters↣
Start: 0:00
Links 1 Recap: 0:30
Reviewing Heap Layout in GDB-PwnDbg: 3:25
Keeping the Heap intact: 7:45
Links 2 Attack Plan: 11:55
Overwriting the GOT: 16:48
Stack Alignment: 20:08
Solution (leak system): 23:27
Links 3 (leak another lib-c function): 28:08
Recap: 33:27
End: 34:29
-
13:47
MichaelBisping
14 hours agoBISPING Reacts: "Tyson Fury will RETIRE and F&$K UP USYK?!" | Usyk vs Fury 2
20.1K7 -
14:15
Tactical Advisor
14 hours agoNew Ruger Glock Clone | Magpul RXM (FIRST LOOK)
77K32 -
7:55
The Nima Yamini Show
21 hours agoWho Is Controlling Facebook and Instagram? The Truth About George Soros and Meta’s Oversight Board
62.4K81 -
3:45
BIG NEM
13 hours agoDiscover Your Ikigai: Finding Your Ultimate Purpose
66.3K3 -
13:19
Dermatologist Dr. Dustin Portela
1 day ago $8.83 earnedDo You Have Sebaceous Filaments or Blackheads?
44.6K3 -
2:21:35
Price of Reason
17 hours agoThe Establishment WORRIES about Elon Musk AGAIN! Superman Trailer Discussion! Sonic 3 Review!
65.6K3 -
1:14:54
Steve-O's Wild Ride! Podcast
20 hours ago $28.47 earnedZac Brown Reveals The Secrets To HIs Success - Wild Ride #247
113K15 -
4:16:43
JdaDelete
14 hours ago $16.83 earnedProject Zomboid with the Boys | The Great Boner Jam of 2025
70.8K -
6:00:08
SpartakusLIVE
15 hours agoYoung Spartan STUD teams with old gamers for ultimate BANTER with a SMATTERING of TOXICITY
51.2K -
1:50:39
Kim Iversen
16 hours agoShocking Proposal: Elon Musk for Speaker of the House?! | IDF Soldiers Reveal Atrocities—'Everyone Is a Terrorist'
98.4K223