Uploaded February 2020 | Updated November 2026, 6 days ago
A very simple pwnable challenge to check out a Docker workflow for binary exploitation. We run the challenge and exploit environment in matching containers, then use pwntools and GDB to build a small return-oriented programming chain and capture the flag.
LEARN ON HEXTREE (ad)
Learn hacking on Hextree: hextree.io
Watch this video and more on Hextree: app.hextree.io/courses/yt-docker/using-docker
Join the Hextree Discord: discord.gg/xgQpCQCpvy
pwn_docker_example: github.com/LiveOverflow/pwn_docker_example
CHAPTERS
00:00 - Docker and pwntools exploitation workflow
00:48 - Building matching challenge and CTF containers
01:58 - Running the containers and connecting with netcat
02:40 - Inspecting the binary and its mitigations
04:40 - Password check and gets() buffer overflow
05:32 - How an overflow controls the return address
07:15 - Starting a local pwntools exploit
09:03 - Null-byte bypass and cyclic crash
10:37 - Debugging the crash with GDB
12:21 - Finding the exact return-pointer offset
14:33 - Proving instruction-pointer control
15:17 - Redirecting execution to the backdoor
16:20 - Diagnosing the movaps stack-alignment crash
17:39 - Adding a ret gadget to align the stack
18:38 - Switching the exploit to the remote server
19:06 - Resources for learning binary exploitation
SUPPORT
Per video: patreon.com/join/liveoverflow
Per month: youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join
Buy my handwriting font (ad): shop.liveoverflow.com
WATCH, FOLLOW & READ
Second channel: youtube.com/LiveUnderflow
Twitch: twitch.tv/LiveOverflow
Twitter: twitter.com/LiveOverflow
Instagram: instagram.com/LiveOverflow
TikTok: tiktok.com/@liveoverflow_
LiveOverflow blog: liveoverflow.com
Hextree blog (ad): hextree.io/blog
#BufferOverflow #BinaryExploitation #LiveOverflow
(ad) LiveOverflow YouTube channel is supported by advertisement and product placement.
A very simple pwnable challenge to check out a Docker workflow for binary exploitation. We run the challenge and exploit environment in matching containers, then use pwntools and GDB to build a small return-oriented programming chain and capture the flag.
LEARN ON HEXTREE (ad)
Learn hacking on Hextree: hextree.io
Watch this video and more on Hextree: app.hextree.io/courses/yt-docker/using-docker
Join the Hextree Discord: discord.gg/xgQpCQCpvy
pwn_docker_example: github.com/LiveOverflow/pwn_docker_example
CHAPTERS
00:00 - Docker and pwntools exploitation workflow
00:48 - Building matching challenge and CTF containers
01:58 - Running the containers and connecting with netcat
02:40 - Inspecting the binary and its mitigations
04:40 - Password check and gets() buffer overflow
05:32 - How an overflow controls the return address
07:15 - Starting a local pwntools exploit
09:03 - Null-byte bypass and cyclic crash
10:37 - Debugging the crash with GDB
12:21 - Finding the exact return-pointer offset
14:33 - Proving instruction-pointer control
15:17 - Redirecting execution to the backdoor
16:20 - Diagnosing the movaps stack-alignment crash
17:39 - Adding a ret gadget to align the stack
18:38 - Switching the exploit to the remote server
19:06 - Resources for learning binary exploitation
SUPPORT
Per video: patreon.com/join/liveoverflow
Per month: youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join
Buy my handwriting font (ad): shop.liveoverflow.com
WATCH, FOLLOW & READ
Second channel: youtube.com/LiveUnderflow
Twitch: twitch.tv/LiveOverflow
Twitter: twitter.com/LiveOverflow
Instagram: instagram.com/LiveOverflow
TikTok: tiktok.com/@liveoverflow_
LiveOverflow blog: liveoverflow.com
Hextree blog (ad): hextree.io/blog
#BufferOverflow #BinaryExploitation #LiveOverflow
(ad) LiveOverflow YouTube channel is supported by advertisement and product placement.










