This is an old revision of the document!
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:
 Log in with your LDAP credentials
 
 Create a RSA key pair on fep.grid.pub.ro (ssh LDAP-username@fep.grid.pub.ro; ssh-keygen -t ed25519 -C “your_email@example.com”)
 
 Make sure you have the public key configured on openstack in Project → Compute → Key Pairs
 
 Create a new Instance with the following parameters:
 
 From the fep console (ssh) login into the newly created VM (ssh student@VM-IP)
 
 
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
10. [10p]Logging & Auditing