Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team
Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team
In this lab, you will analyze a suspicious Python script to discover the name of a criminal wanted by the FBI. You will follow clues, validate your findings, and decode a hidden message using CyberChef.
In this lab you will learn:
👉 From this Blue Team section onwards, the first five challenges will require the use of a preconfigured virtual machine called web-threats-lab
. In some cases, you will only use this machine to validate your solutions; in others, you will also work directly on it.
Therefore, although part of your analysis can be done on your personal computer, the final validation must always be done inside the virtual machine. So please do not delete or overwrite it, as it will be your workstation throughout this series.
1 https://storage.googleapis.com/cybersecurity-machines/web-threats-lab.ova
student:4geeks-lab
.You have a script available to help automate your work:
name_solver.py
: a Python script where you will test names based on the clues.1# name_solver.py 2# This script helps find possible names 3 4# Read names from a text file 5try: 6 with open("nombres.txt", "r", encoding="utf-8") as file: 7 names = [line.strip() for line in file if line.strip()] 8except FileNotFoundError: 9 print("The file 'nombres.txt' was not found.") 10 exit() 11 12# Go through the names and apply the filters 13for name in names: 14 if len(name) == 7 and 'c' in name.lower(): 15 print(f"Could this be the criminal? {name}") 16
When you think you have the correct name:
web-threats-lab
virtual machine:1validate-criminal-name
If correct, you will see a flag encrypted in base64.
1✅ Correct name: charlie 2🎁 Base64 Encrypted Flag: 342L4TtUaDLFLJFSLDFJ43I9043385wbHZlZH0=
print()
in Python to quickly print and test.Good luck, agent!
Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team
Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team
Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team
Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team
Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team
Difficulty
easy
Average duration
1 hrs
Technologies
osint
owasp-a05-security-misconfiguration
Python
base64
cybersecurity
owasp-a07-identification-authentication-failures
blue-team