Points: 100

Tags: steganography 

Poll rating:

UMDCTF 2020 Colors Writeup

Writeup to UMD's Colors CTF Challenge

Challenge

Colors

There is art in steganography. Other times, it's not what you think!

Author: matt2r

colors.jpg

Solution

First inspect the image

colors.jpg

Since this is a steganography problem first choice could be steghide

  1. Install steghide

    sudo apt-get install steghide
    
  2. While trying to extract a file we're prompted for a passphrase not provided. Trying no passphrase does NOT work.

    steghide extract -sf colors.jpg 
    #Enter passphrase:
    
  3. Using a dictionary brute force attack on the passphase might do the trick

    • Downloading a Steghide Brute Force Tool
    git clone https://github.com/Va5c0/Steghide-Brute-Force-Tool.git
    
    • Running the tool reveals the passphrase to be colors
    python steg_brute.py -b -d dic.txt -f colors.jpg
    #Password: colors
    
  4. Opening the message.txt file hidden within the image

    cat message.txt
    
    # UMDCTF-{Did you have some trouble? Colors are difficult :)}
    

Flag

UMDCTF-{Did you have some trouble? Colors are difficult :)}

Writeups

ActionRatingAuthor team
Read writeup
not rated
Code Black
You need to authenticate and join a team to post writeups