$$
\text {An iCSI CTF (RED17)}
$$
Setup:
- The VM needed for this challenge can be downloaded here.
- THE UNZIP DECRYPT PASSWORD is RED17
- You’ll need Kali Linux as well.
- The final flag for this machine will be found in C:\flag\flag.txt
First Steps:
-
You will not have the login credentials to the machine.
-
Before you power it on, go to the machine settings and give the network adapter a custom MAC address.
- This way you will be able to locate it with the arp-scan utility within Kali.
- Don’t use the MAC address I have below. Everyone in the class needs something different.
- Manually randomize the MAC Address you give your machine!

Once you have started the CTF machine, launch a root shell in Kali and do the following:
- use the
*arp-scan* utility to scan the entire subnet and report back on MAC addresses that are present.
- Your Kali Linux machine must be on the same subnet as the CTF machine.
- Use
grep to filter for the MAC address that you gave the CTF Machine.
- NOTE: I only grep for the OUI of the MAC address. You should grep for the entire MAC Address!
- Use all 6 Hex characters in your grep

Start with an Nmap:

The NMAP results, which are fairly lengthy this time, indicate two things:
- We have a web server running on Port 80 that is a Python application.
- We see the term ‘Werkzeug’, which is a ‘Web Server Gateway Interface’. This indicates we more than likely have a Flask application running.
- Flask is a micro web framework written in Python. It is based on Werk
- We see later on in the Nmap scan that this is also most likely a Windows machine.

Going to the webpage then, we encounter a product form.