Skip to main content
CTFWorld
Hands-On Practice · Zero Setup

Interactive Mini-CTF Arena

Put security concepts into practice immediately. Every flag uses the format ctfworld{...} and is verified locally with SHA-256 right in your browser.

Local Arena Scoreboard

0 / 850 pts0 / 6 Solved

WebBeginner100 pts

01. Token Inspection (JWT)

A junior developer stored an internal verification note inside a JSON Web Token assuming the signature hides its contents. Inspect the Base64URL-encoded payload segment to extract the flag.

Captured Authorization Header
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhbmFseXN0XzA3Iiwicm9sZSI6Imd1ZXN0Iiwibm90ZSI6ImN0Zndvcmxke2p3dF9pc19lbmNvZGVkX25vdF9lbmNyeXB0ZWR9IiwiaWF0IjoxNzY3MjI1NjAwfQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
CryptoBeginner150 pts

02. Known-Plaintext XOR

An embedded beacon obfuscated its flag using a single-byte repeating XOR key and emitted the hex ciphertext below. Recover the key from the known prefix "ctfworld{" and decrypt the full message.

Captured Hex Ciphertext
495e4c5d4558464e5152455875435975594f464c7543445c4f58594f57
ForensicsBeginner150 pts

03. DNS Exfiltration Log

Your SIEM flagged unusual outbound DNS lookups from a compromised workstation to exfil.bad-example.invalid. Reassemble the hex-encoded subdomains in chronological order to recover what was stolen.

DNS Resolver Query Log (UTC)
2026-11-18T03:14:01Z SRC=10.42.8.19 QTYPE=A QNAME=637466776f726c64.exfil.bad-example.invalid
2026-11-18T03:14:02Z SRC=10.42.8.19 QTYPE=A QNAME=7b646e735f74756e.exfil.bad-example.invalid
2026-11-18T03:14:03Z SRC=10.42.8.19 QTYPE=A QNAME=6e656c735f6c6561.exfil.bad-example.invalid
2026-11-18T03:14:04Z SRC=10.42.8.19 QTYPE=A QNAME=76655f747261696c.exfil.bad-example.invalid
2026-11-18T03:14:05Z SRC=10.42.8.19 QTYPE=A QNAME=737d.exfil.bad-example.invalid
RevIntermediate200 pts

04. Reversed Byte Check

You decompiled a lightweight client-side license validator into the JavaScript snippet below. Invert the transformation to compute the exact input string that returns true.

Decompiled Validator Function
function checkFlag(input) {
  const target = [
    122,106,117,104,97,116,105,102,117,115,88,98,111,115,
    88,99,102,98,117,124,99,107,117,104,112,97,115,100
  ];
  const encoded = [...input].reverse().map((ch) => ch.charCodeAt(0) ^ 7);
  return encoded.length === target.length &&
         encoded.every((val, idx) => val === target[idx]);
}
Cloud & ADBeginner150 pts

05. Cloud IAM Audit

During a cloud posture review, you pulled an inline IAM policy containing a dangerous PassRole escalation path and an encoded audit token left in the Condition tag. Decode the Base64 token to submit the finding.

Extracted IAM Inline Policy JSON
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "DangerousDevDeploy",
      "Effect": "Allow",
      "Action": ["iam:PassRole", "lambda:CreateFunction", "lambda:InvokeFunction"],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/AuditToken": "Y3Rmd29ybGR7bGVhc3RfcHJpdmlsZWdlX2Jsb2Nrc19wYXNzcm9sZX0="
        }
      }
    }
  ]
}
OSINTBeginner100 pts

06. Hidden Staging Header

Passive HTTP reconnaissance of a forgotten staging server returned the raw response headers below. One custom debug header contains a ROT13-obfuscated internal flag.

Raw HTTP/1.1 Response Headers
HTTP/1.1 200 OK
Date: Wed, 02 Dec 2026 14:22:09 GMT
Server: nginx
X-Content-Type-Options: nosniff
X-Debug-Build-Note: pgsjbeyq{nyjnlf_purpx_erfcbafr_urnqref}
Cache-Control: no-store
Client-Side Browser Toolkit

CTF Decoder Workbench

Everything runs 100% locally in your browser—inspect JWTs, crack single-byte XOR, decode Hex/Base64, and test Caesar/ROT13 shifts.

Decoded Output
// Output appears here...