#Why this matters
Web (veb-tahlil), Cryptography (kriptografiya), and OSINT make up the majority of non-binary challenges in beginner and intermediate CTFs. Jumping straight to heavy scanners or guessing cipher names wastes valuable time. A concise category playbook gives you the first three checks to run in five minutes and ties every puzzle back to real-world engineering flaws.
#Web (veb-tahlil) playbook
Starter web tasks usually hide clues in client-visible code or trust values sent by the browser. Work through this order before launching any automated tool:
- Inspect source and responses: Check HTML comments, linked JavaScript files,
robots.txt, and HTTP headers (Set-Cookie,Location, customX-*headers). - Proxy traffic through Burp Suite: Route your browser through Burp Proxy and resend interesting requests in Repeater to test how the server reacts to small changes.
- Test server-side trust: Look for client-controlled role cookies, unsigned Base64 tokens, numeric resource IDs (
id=1changed toid=2for broken object-level access), and syntax errors from single quotes or template markers.
You can run the same quick header and cookie check from the terminal with curl:
$ curl -i -s http://lab.local/profile | head -n 6
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Set-Cookie: role=guest; Path=/
X-Debug-Hint: /api/v1/status
$ curl -s -b "role=admin" http://lab.local/profile | grep -o "CYBER{[^}]*}"These checks connect directly to Web Security modules covering HTTP semantics, session management, and OWASP Top 10 access-control failures.
#Crypto (kriptografiya) playbook
Beginners often treat every scrambled string as strong encryption. Start by separating encoding (no secret key, such as Base64 or Hex) from encryption (uses a key). For custom or flawed crypto challenges, check three common patterns:
- Known-plaintext XOR: Single-byte or short repeating-key XOR breaks immediately when you know the flag begins with
CYBER{. - AES-ECB block leaks: Electronic Codebook mode encrypts identical 16-byte blocks into identical ciphertext blocks, exposing repeated structures or allowing block shuffling.
- Weak RSA setups: Small public exponent
e=3with an unpadded short message (m^3 < n), small factorable modulusn, or two keys sharing a prime factor.
cipher_hex = "1903181f082122352805313f2305283f2f293f27"
ct = bytes.fromhex(cipher_hex)
# Because ct[0] = ord('C') ^ key, XORing ct[0] with 'C' reveals the key
key = ct[0] ^ ord("C")
plaintext = bytes(b ^ key for b in ct).decode()
print(f"key=0x{key:02x} -> {plaintext}")
# Output: key=0x5a -> CYBER{xor_key_reuse}Understanding why these toy schemes fail prepares you for cryptography modules on authenticated encryption (AES-GCM), secure padding, and modern NIST post-quantum standards (FIPS 203, 204, 205).
#OSINT playbook
Open-source intelligence tasks test methodical verification rather than guessing:
- Inspect local files first: Run
exiftoolon downloaded images or documents to read camera model, author, software, comment, and GPS tags. - Pivot and triangulate: Use unique usernames, domain registration details, or landmarks from the image and confirm each clue across two independent public sources.
- Document provenance: Record the URL, query, and timestamp for every clue so teammates can verify how you reached the answer.
| Category | Core tools | First two checks | Linked module |
|---|---|---|---|
veb-tahlil |
Burp Suite, curl |
View source/headers, tamper cookies/IDs | Web & API Security |
kriptografiya |
Python, CyberChef | Encoding vs cipher, known-plaintext/ECB/RSA | Applied Cryptography |
osint |
ExifTool, browser | Embedded metadata, two-source verification | Recon & Threat Intel |
#Common mistakes
- Launching heavy fuzzers immediately: Running directory or SQLi brute-forcers before reading the HTML, headers, and Burp history misses obvious clues and floods lab hosts.
- Calling Base64 "encryption": Base64 is a reversible transport encoding with no secret key.
- Forgetting non-EXIF metadata: Stripping basic EXIF fields may leave XMP, IPTC, or comment tags intact inside an image.
- Confusing unrelated real accounts with OSINT targets: Always double-check challenge identifiers so you never investigate a real bystander.
#Summary
Starter Web, Crypto, and OSINT challenges reward structured triage over brute force. Inspect HTTP responses and client-trusted state with curl and Burp Suite, test encodings, XOR, ECB, and RSA assumptions with short Python scripts, and examine file metadata carefully with ExifTool. Linking each puzzle to its deeper defensive principle turns CTF practice into lasting engineering skill.