Challenge Track 02 · Cryptography

Decode, Decrypt, and Find Where Crypto Fails

Cryptography protects data only when it is used properly. These challenges hand you messages protected badly on purpose, and ask you to recover what is inside.

New to this topic? Read the Cryptography workshop first →

Challenges

3

Points Available

300

Difficulty

Easy → Medium

Flag Format

CYS401{...}

Challenges

Capture the Flags

Read the scenario, solve the task, then submit the flag you found. Hints are there if you need them — every correct answer ends with an explanation.

Your Progress

0 / 3

0 pts

CRY-01 Easy 50 pts Unsolved

Base of Operations

A configuration file ships with a value the developer described as “encrypted”. It is a run of letters and digits ending in two equals signs.

Lab

[database]
host     = db.internal.campus.local
user     = svc_portal
; password stored "encrypted" so nobody can read it
password = Q1lTNDAxe2I0c2U2NF9oMWRlc19uMHRoMW5nfQ==

Recover the value the developer thought was encrypted.

Show hint

Those trailing equals signs are padding. This is an encoding with a well-known name, and every terminal and browser console can reverse it.

CRY-02 Easy 100 pts Unsolved

Caesar’s Message

An intercepted note reads as nonsense, but the word lengths and punctuation survive intact. Each letter has moved a fixed distance through the alphabet.

Lab

Tlla tl hmaly aol shi. Aol mshn pz JFZ401{zo1ma_jpwolyz_mhss_mhza}. Ibyu aopz uval.

Each letter has been shifted by the same amount. Digits and punctuation were left alone.

Show hint

There are only twenty-five possible shifts. Try them all, or count which letter appears most and assume it started as E.

CRY-03 Medium 150 pts Unsolved

The Reused Key

Two messages were encrypted with the same short key by XOR. You have both ciphertexts and know how one message begins.

Lab

015107556c551601385c0701225b1055241405403851424038140c4822514255235a0b4624404c
1e510f48225007536c520d536c400a446c400740210e4262156756117d4f0d4f296b164821513d4c29550c52135b0c422949420c6114094429444248381413542551160f

Both messages were XOR-encrypted with the same repeating key, which is only 4 bytes long. You know message 1 begins with Meet.

Show hint

XOR the two ciphertexts together and the key cancels out, leaving the two plaintexts combined. The known opening gives you the rest.

Flags are checked on the server: the page never holds the answers, and your solves are saved to your account and counted on the scoreboard.

Flags captured. Ready for the next track?

Keep going, or check how many flags you have captured so far.