Snow Crash
Debut of 42 security project.

Description
Snow-Crash is a security related CTF (capture the flag) type project where a Linux (x64 ubuntu) ISO is given and we have to find the flags.
There are 14 levels to complete, where from Level00 to Level09 are mandatory and from Level10 to LEVEL14 are considered as bonuses.
This project gives us a really general idea of security issues of different fields, such as
Badly written code with no protection
Unprotected network communication
Badly managed automated jobs in the machines
Finding the flags and validating them
In this project there are 2 kind of user accounts in the system.
levelXX (The XX represents a number e.g level00, level01, level11)
flagXX (The XX represents a number e.g flag00, flag01, flag11)
Generally you will have to find the password to log into the account flagXX that corresponds to the current levelXX. So if we are in level03 we have to find the password to login to the account flag03
Once we obtain the password, we login as flagXX and call getflag program. And it will tell us the flag for that level. This flag is also the password to the next level. So if we found the flag of level03 then we can use that flag to login to the account level04
Here is how it would look like
Resources
The Linux ISO file
Get started with the project
To start the project just open the ISO in a virtual machine such as VMware or Virtual Box (or whatever you want)
according to the 42 subject you can login using ssh on port 4242 so you can use the following command to connect to your virtual machine:
In total there are 15 levels starting from Level 0 to level 14
Project structure for submission
The repository is expected to contain one directory for each level where directory names are levelXX where XX represents the number of level. So for the first 4 levels it will look like following :
in each directory you should put a file named flag that will contain your write-up (explain the process to obtain the flag)
You can also have a directory called Ressources where you will put all files (or anything) necessary to prove your process to obtain the flag.
So with the flag file and the Resources directory your directory tree might look as follows:
Last updated
Was this helpful?