1 min read

[CTF] WU - Hidden message

CTF InterCampus Ynov 2024

Difficulty Level : Very Easy

Challenge Category : Stegano

Description :

A simple image? Perhaps. But sometimes the answers aren't visible to the naked eye. Explore this image and see if you can reveal its secret.

Solution Steps

Step 1: Analyze the Image

Begin by inspecting the provided challenge.jpg file. Look for clues, such as:

  • File metadata (EXIF data).
  • Potential hidden messages or embedded files.

Commands to Use:

file challenge.jpg
exiftool challenge.jpg

If nothing obvious is found, proceed with stegano tools like steghide.


Step 2: Attempt Steghide Extraction

The hint mentions using steghide to extract hidden content from the image.

Command:

steghide extract -sf challenge.jpg

Result:

If a password is required, it will prompt you for one.


Step 3: Try a Simple Password

Given the challenge description, the password is likely related to the Ynov CTF. Try using ynov as the password.

Command:

steghide extract -sf challenge.jpg -p "ynov"

Expected Output:

Steghide successfully extracts the hidden content, which contains the flag or next clue.


Step 4: Read the Extracted File

After successful extraction, a new file (e.g., flag.txt) will appear in the directory.

Command:

cat flag.txt