Solving Pwnable CTF Challenge With Docker Workflow @LiveOverflow
Solving Pwnable CTF Challenge With Docker Workflow  @LiveOverflow
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.
Solving Pwnable CTF Challenge With Docker WorkflowWhat Ethereum Smart Contract Hacking Looks LikeGoogle CTF Finals 2019!Finding The .webp Vulnerability in 8s (Fuzzing with AFL++)They Hacked OpenAI! #shortsIs Hacking Illegal? A Deeper Look at Hacking LawsThe State of log4shell in Minecraft Months LaterAre Resource Packs Safe?WorldGuard BypassC Code Review - Reaching Vulnerable Code in sudo | Ep. 08Pain in your Hand (RSI)?php situation 24h later
LiveOverflow |

Solving Pwnable CTF Challenge With Docker Workflow

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER