Skip to content
Security · Terminal

GCC3 Exploit Lab

A legacy toolchain for memory-corruption exercises.
  • 20 Dcoins / hour
  • standard machine
  • ready in about 10 seconds
  • cybersecurity
  • development

About GCC3 Exploit Lab

The binary exploitation lab is an Ubuntu 24.04 machine set up for reverse engineering and memory-corruption exercises. It has gcc with 32-bit multilib support, so you can compile the same vulnerable program for i386 and x86-64, plus nasm for writing shellcode by hand.

For analysis there are GDB and gdb-multiarch, radare2, strace and ltrace. For writing exploits, pwntools, ropper, capstone, keystone and unicorn are installed in Python 3, and socat and netcat let you serve a challenge on a port the way a CTF does. Sample challenges are included to start with.

A typical exercise is to compile a program with a buffer overflow, find the offset to the return address in GDB, and build a working exploit with pwntools, first with protections turned off and then with them on. It suits security courses, CTF preparation and anyone who wants to see why stack canaries and ASLR exist.

What is installed

  • Legacy GCC 3.x compiler
  • Pwntools framework
  • GDB with PEDA/GEF
  • CTF challenges

What it is good for

  • Binary exploitation
  • Buffer overflow learning
  • CTF practice
  • Vulnerability research

What it costs

20 Dcoins an hour while it runs (a standard machine), billed by the minute. Included on Pro and Power. Every new account starts with free Dcoins.

From Start to a working GCC3 Exploit Lab takes about 10 seconds, measured on our lab server. If the server is asleep, waking it first adds a minute or two.

Courses that practise this

Similar labs