Krypton1 - krypton2

From JaxHax
Jump to navigation Jump to search

Level Goal

The password for level 2 is in the file ‘krypton2’. It is ‘encrypted’ using a simple rotation. It is also in non-standard ciphertext format. When using alpha characters for cipher text it is normal to group the letters into 5 letter clusters, regardless of word boundaries. This helps obfuscate any patterns. This file has kept the plain text word boundaries and carried them to the cipher text. Enjoy!


Solution

This one seems to be a simple rot13 challenge. We came across this in bandit where we used a simple tr command to solve ===> tr a-zA-Z n-za-mN-ZA-M

krypton1@melinda:~$ cd /krypton/krypton1/

krypton1@melinda:/krypton/krypton1$ ls -la
total 4
drwxr-xr-x 2 root     root     1024 Nov 14 10:32 .
drwxr-xr-x 8 root     root     1024 Nov 14 10:32 ..
-rw-r----- 1 krypton1 krypton1  882 Nov 14 10:32 README
-rw-r----- 1 krypton1 krypton1   26 Nov 14 10:32 krypton2

krypton1@melinda:/krypton/krypton1$ cat README 
Welcome to Krypton!

This game is intended to give hands on experience with cryptography
and cryptanalysis.  The levels progress from classic ciphers, to modern,
easy to harder.

Although there are excellent public tools, like cryptool,to perform
the simple analysis, we strongly encourage you to try and do these
without them for now.  We will use them in later excercises.

** Please try these levels without cryptool first **


The first level is easy.  The password for level 2 is in the file 
'krypton2'.  It is 'encrypted' using a simple rotation called ROT13.  
It is also in non-standard ciphertext format.  When using alpha characters for
cipher text it is normal to group the letters into 5 letter clusters, 
regardless of word boundaries.  This helps obfuscate any patterns.

This file has kept the plain text word boundaries and carried them to
the cipher text.

Enjoy!

krypton1@melinda:/krypton/krypton1$ cat krypton2 
YRIRY GJB CNFFJBEQ EBGGRA

krypton1@melinda:/krypton/krypton1$ cat krypton2 | tr a-zA-Z n-za-mN-ZA-M
LEVEL TWO PASSWORD ROTTEN