Home » CTF

th3jackers 2015 CTF crypto100 writeup

24 January 2015 No Comment

OHSHIT (crypto100)

Description: Decrypt the cipher using the encryption program

And attachment is supplied: challenge.7z

It contains an encryption program and crypto.txt containing

Name: Automated Crypter
Decrypt this:
Using this program.
(Note: the – is just a separator)
Hint: Not all letters chars are crypted

I didn’t have to solve this using a python script as usual.
I tried it manually:

./crypto abcdefghijklmnopqrstuvwxyz
Crypted text: 1b3f4g5i8j12n13o16q19t22u25z

Crypted text: 01b03f04g05i08j012n013o016q019t022u025z

I notice something, the character is encrypted to number+character after it
The encryption of “s” is “19t”
So just manually i know “019t” is 0+s.
And with trial and error i get:

But the 0’s don’t feel right.
So i take another look, and turns out the capital letters add that 0 before the character.
So it should be:
And 080 looked like a separator?

So i tried characters and “.” turns out to be the 080


And it works!

Your opinion matters!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.