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
-
2:32:42
CAMELOT331
2 days agoCAMELCAST 107 | CECIL SAYS | My Last Stream? Being Kicked Off Youtube
1.78K2 -
1:16:28
Man in America
15 hours agoThe Study They Tried to BURY: Covid Shots Cause MASSIVE Spike in Cancer w/ Dr. Makis
171K36 -
2:07:43
Inverted World Live
8 hours agoNASA Finds Strange Rock on Mars w/ Cody Dennison | Ep. 145
95.4K5 -
3:29:04
TimcastIRL
7 hours agoTrump Calls For DEATH Of Democrats For Sedition, White House WALKS IT BACK | Timcast IRL
244K130 -
24:13
Jasmin Laine
11 hours agoPoilievre Can’t Stop LAUGHING—Liberals IMPLODE After U.S. Ambassador Calls Them Out
24.6K21 -
4:04:31
SpartakusLIVE
9 hours agoTexas FARMBOY turned WZ PRO turned REDSEC HERO turned ARC LOOT GOBLIN
56.8K -
2:34:18
Mally_Mouse
5 days ago🎮 Throwback Thursday! Let's Play: Kingdom Hearts 1 pt. 4
43.6K6 -
25:14
Stephen Gardner
7 hours agoCLINTONS PANIC AS ARREST CALLS EXPLODE – Scott Jennings GOES OFF! 😱
54.3K31 -
2:14:15
DLDAfterDark
5 hours ago $5.79 earnedThe AR15 BurnDown That Will Leave You Speechless!
33.9K1 -
1:48:12
megimu32
6 hours agoON THE SUBJECT: Throwback Thursday | Wheel of Nostalgia Chaos!
43.8K9