Google CTF – OCR IS COOL!

Caesar once said, don’t stab me… but taking a screenshot of an image sure feels like being stabbed. You connected to a VNC server on the Foobanizer 9000, it was view only. This screenshot is all that was present but it’s gibberish. Can you recover the original text?

OCR_is_cool.png

 

We start out with a picture of an email. The format looks like it should be readable, but the letters are gibberish.

Looking at the email,there is a string that looks similar to the last flag XXX{xxxxxxxxxxx}

Suspicious String.png

After identifying that string, I ran the image through Adobe Acrobat’s OCR

OCR IS COOL shot1.png
*The irony that I just took a picture of text for a CTF that talks about how stupid pictures of text are is not lost on me…*

After converting the image to text, I took what appeared to be the main body and ran it through different rot ciphers until finding one that looks like it makes sense.

OCR IS COOL shot2.png

ROT7 look like it is the winner – the OCR is not perfect but we can make out most of what is being said.

ROT7.png

The most important thing, however, is the flag.

CTF(caesarcipherisasubstitutioncipher}

The only thing that looks to be off here is the “(” at the beginning instead of a “{”

Changing that, we can successfully submit the flag.

CTF{caesarcipherisasubstitutioncipher}

Leave a comment