Lab 01 - Introduction
Objectives
Simple CTF tasks
Introduction to basic security-related tools
Simple program compiling tools
Basics of networking related monitoring tools
Preparation
You will solve this lab inside a virtual machine on openstack.
OpenStack will be made available in the following days, until then, you can use your native OS for doing the labs (hint: WSL).
CTF local tasks
Download the task archive for this section. Each exercise will have a corresponding folder.
01. [10p]B64 encoding
02. [10p]EXIF
03. [10p]From Manchester with love
04. [10p]Corrupted file
OS Management
05. [10p]Web server & console browser
Install and configure
apache2 and
links. Use the latter to connect to
http://localhost
06. [10p]Disk space & usage
Display the disk space usage for each individual directory (. and .. excluded) in the first two hierarchical levels of /usr/include/ in a human readable format
Sort the list in ascending order, by size
07. [10p]Program compilation
08. [10p]Static compilation
Statically compile the program (but keep a copy of the old, shared executable).
Hint: curl-config --static-libs
Hint: Note that you'll need even more development libraries: libidn11-dev librtmp-dev libssl-dev libidn11-dev librtmp-dev libssl-dev libcrypto++-dev libkrb5-dev libldap2-dev libnghttp2-dev libpsl-dev
Hint: Getting a pthread-related linker error? Try -lpthread at the end of the gcc command!
Check the size difference. What does it mean?
Uninstall libcurl and see which of the executables successfully run now!
Reinstall curl again if you need it ;)
09. [10p]Traffic sniffing
Feedback