Skip to main content
PEPE - CTF Writeup
  1. Writeups/
  2. CyberSummit V4.0 - CTF Writeups/
  3. Misc/

PEPE - CTF Writeup

·236 words·2 mins·
Deadnaut
Author
Deadnaut
Documenting cybersecurity challenges, CTF writeups, and penetration testing insights from the digital frontier.
Table of Contents

Challenge Name: PEPE
Category: Misc
CTF: CyberSummit V4.0 CTF
Description: PEPE is sad all he can think is the color GREEN. whatever you will figure everything out when you see what i have created anw hope you love my art


Initial Analysis
#

The challenge gives us a picture of Pepe.

PEPE

At first glance, nothing looks suspicious in the image itself, so the first good step is to inspect its metadata. There, we find a hint that says: “maybe an old image editor will help you out”.

That clue points us toward an editor like GIMP, which can reveal information that a normal image viewer might not show.

Metadata hint screenshot

Open the Image in GIMP
#

We open the image in GIMP and check every available panel. Nothing unusual appears in the main image, but the interesting part is the colormap.

GIMP opened screenshot

Inspect the Colormap
#

Inside the colormap, we notice a strange pattern. It first looks like a QR code, but after looking closer, it is actually formatted like a Data Matrix code.

This means the challenge is hiding data inside the color table rather than in the visible image.

Colormap screenshot

Extract the Hidden Code
#

We take a screenshot of the colormap, convert it to black and white, and scan it with a Data Matrix reader.

Black and white scan screenshot

The scan reveals a URL.

datamatrix scan result screenshot

Follow the URL
#

Searching the URL leads us to the final flag.

final flag screenshot

Final Flag
#

CyberTrace{wh0_w0uld_h@ve_guessed_4hat}

Related