video thumbnail 11:30
Introduction to Docker for CTFs

2020-02-14

[public] 94.3K views, 4.07K likes, 29.0 dislikes audio only

channel thumbLiveOverflow

I'm using docker more often for CTFs, but it's also useful to host challenges. More CTFs share Dockerfiles to run it locally, so I figured it's time to give an introduction to docker. If you have some other tips or tricks about your workflow, please share it below!

Example challenge and CTF container: https://github.com/LiveOverflow/pwn_docker_example

DigitalOcean*: https://m.do.co/c/826f195e2288

-=[ ā¤ļø Support ]=-

→ per Video: https://www.patreon.com/join/liveoverflow

→ per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join

-=[ šŸ• Social ]=-

→ Twitter: https://twitter.com/LiveOverflow/

→ Website: https://liveoverflow.com/

→ Subreddit: https://www.reddit.com/r/LiveOverflow/

→ Facebook: https://www.facebook.com/LiveOverflow/

-=[ šŸ“„ P.S. ]=-

All links with "*" are affiliate links.

LiveOverflow / Security Flag GmbH is part of the Amazon Affiliate Partner Programm.


set up your ctf
/youtube/video/cPGZMt4cJ0I?t=120.83
rent a linux server from example digitalocean
/youtube/video/cPGZMt4cJ0I?t=195.5
install docker compose
/youtube/video/cPGZMt4cJ0I?t=229.07001
start and configure individual containers
/youtube/video/cPGZMt4cJ0I?t=237.44
build the docker container
/youtube/video/cPGZMt4cJ0I?t=285.89001
copy from the local system into the current working directory
/youtube/video/cPGZMt4cJ0I?t=323.84
remove the container
/youtube/video/cPGZMt4cJ0I?t=373.67001
connect to local host on port 24
/youtube/video/cPGZMt4cJ0I?t=404.84
map the port from inside the container to our machine
/youtube/video/cPGZMt4cJ0I?t=408.26001
prevent gdb from disabling a slr
/youtube/video/cPGZMt4cJ0I?t=501.35001
create a python script in the challenge folder
/youtube/video/cPGZMt4cJ0I?t=588.77002
run the binary as a process in the ctf container
/youtube/video/cPGZMt4cJ0I?t=614.69
run the binary locally as a process
/youtube/video/cPGZMt4cJ0I?t=651.75
LiveOverflow just a wannabe hacker... making videos about various IT security topics and participating in hacking competitions. -=[ ā¤ļø Support me ]=- Patreon per Video: https://www.patreon.com/join/liveoverflow YouTube Membership per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join -=[ šŸ“„ Imprint ]=- Security Flag GmbH Celsiusstr. 72 12207 Berlin Germany
/youtube/channel/UClcE-kVhqyiHCcjYwcpfj9w
I’m moving, no videos sorry 17,542 views
/youtube/video/9CS3q0uG1LI
Patreon patreon.com
https://www.patreon.com/join/liveoverflow
Writing a Simple Buffer Overflow Exploit 130,316 views
/youtube/video/oS2O75H57qU