DROPDOWN QUAKE HUD // TACTICAL SHELL
AUKA CTF Writeup Vault — Quake HUD Shell v3.1
Type 'help' for tactical commands or 'ls' to list catalog.
studio@vault:~$
AUKACTFVAULT._.
MISSION WRITEUP ID: cylab-caesarPublished: 2026-08-05 by AUKA

Caesar Cipher: Crossing the Rubicon

Decrypting a classic Caesar rotation ciphertext from data.enc by calculating the alphabet shift offset.

Target Mission Dossier
CryptoMedium
Target Host / IP
Offline Challenge File
Operating System
Any
Architecture
N/A
Primary Vulnerability
Insecure Classical Cryptosystem
Exposed Services:File Analysis
Attack Kill Chain Progress1 / 3 Steps
01

Phase 1: Inspecting Ciphertext Artifacts

We are provided with an encrypted artifact `data.enc`. Inspecting the file contents reveals a single line of rotated alphabetical characters.

studio@pwnbox:~/cylab-caesar$
# View the encrypted text:
cat data.enc

# Sample content:
# fshtDWT{...}
02

Phase 2: Frequency Analysis & Caesar Shift Decryption

Since standard CTF flags begin with the known prefix `picoCTF{`, we can easily calculate the shift offset: - The distance between ciphertext prefix letters and `picoCTF` provides the exact key `k`. - We can decrypt with a Python one-liner or CyberChef.

studio@pwnbox:~/cylab-caesar$
#!/usr/bin/env python3
def decrypt_caesar(ciphertext, shift):
    result = []
    for char in ciphertext:
        if 'a' <= char <= 'z':
            result.append(chr((ord(char) - ord('a') - shift) % 26 + ord('a')))
        elif 'A' <= char <= 'Z':
            result.append(chr((ord(char) - ord('A') - shift) % 26 + ord('A')))
        else:
            result.append(char)
    return "".join(result)

with open("data.enc", "r") as f:
    enc = f.read().strip()

# Testing shifts:
for s in range(26):
    candidate = decrypt_caesar(enc, s)
    if "picoCTF{" in candidate:
        print(f"[+] Found key shift {s}: {candidate}")
        break
03

Phase 3: Flag Recovery

Decryption reveals the readable flag:

studio@pwnbox:~/cylab-caesar$
Flag: [REDACTED - Click "Reveal Flag" below]

Final Target Proof of Compromise

Target Root Capture Flag
STUDIO{pwn3d_fl4g_h1dd3n_h3x_00000}
AUKA CTF Writeup Vault — Official Field Handbook
[ Open Terminal Shell ]•[ Back to Top ]