Premium Only Content
![Linked List Exploit Continued - GOT Overwrite - "Links 2+3" Pwn Challenge [ImaginaryCTF]](https://1a-1791.com/video/s8/1/V/Z/T/A/VZTAh.qR4e-small-Linked-List-Exploit-Continu.jpg)
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
-
4:02:39
The Bubba Army
1 day agoHulk Hogan had Leukemia? - Bubba the Love Sponge® Show | 8/01/25
84.4K3 -
18:36
DeVory Darkins
10 hours ago $6.83 earnedTrump scores MAJOR WIN with Americas youth as Biden drops HORRIBLE speech
29.5K40 -
14:13
Clickbait Wasteland
16 hours ago $5.70 earnedAsking New Yorkers Who they Support for Mayor: Harlem
49.3K35 -
19:55
The Rad Factory
17 hours ago $2.88 earnedCan I Fix My Fire Damaged F1 Car?
33.8K4 -
1:26:22
Dialogue works
2 days ago $1.65 earnedScott Ritter: Russia Just DEFIED the U.S.: We'll End the War on OUR Terms!
17.6K11 -
2:00:40
BEK TV
1 day agoTrent Loos in the Morning - 8/01/2025
26.6K1 -
13:08
Dad Saves America
15 hours ago $2.10 earnedTeachers Unions Play Politics While Students Lag Behind - Poisoning of the American Mind: Pt 4
30.5K20 -
20:05
Preston Stewart
15 hours ago $2.90 earnedCrimea Raid to Chasiv Yar Fight
30.9K10 -
8:11
Millionaire Mentor
17 hours agoTulsi Gabbard and Leavitt DOUBLE-TEAM Kaitlan Collins in FIERY Exchange
23.4K10 -
46:02
Coin Stories with Natalie Brunell
1 day agoWhat They’re Hiding About the Economy | Natalie Brunell with Danielle DiMartino Booth
54.7K14