Case study · RatCTF, September 2026
I pentested my own platform and published what I found.
RatCTF hosts deliberately vulnerable machines that thousands of people attack on purpose. The platform around them is not supposed to break. In September 2026 I ran a full assessment against production to NIST SP 800-115, fixed what it found, and put the result, the policy and the open gaps online. This is what I would hand you, done to myself first.
The assessment
All three execution phases of SP 800-115, including live exploitation against production.
- What was tested The portal application, the Kubernetes infrastructure under it, and the containment boundary around the vulnerable lab machines. The machines themselves were assessed for one thing only: can you get out of them. 3 surfaces
- What was left out Payment processor, email, CDN and the hosting control plane, because they are someone else's assets. Other subdomains were out of scope and are named as such. third parties
- How a fix counts Every finding above low was closed by re-running the original attack. Fixes on authentication paths were also checked the other way: legitimate access still has to work. re-test
What changed
Remediation, in the order it mattered.
- Labs cannot call out Outbound internet is blocked for every vulnerable lab machine by network policy. A compromised training box can no longer be used against anyone else. containment
- Sign-in is rate limited Limits on sign-in, password reset and verification codes, plus a higher password-hashing work factor and cryptographically secure random generation. authentication
- Browser-side hardening Content security policy, clickjacking protection and strict cookie transport. headers
- Fails closed Production mode on, no internal errors shown to users, and the application refuses to start when a required secret is missing. configuration
Tested and held
A report that only lists failures tells you half of what was checked.
- Privileged routes reject unauthenticated access
- Internal APIs reject missing or invalid credentials
- Lab containers network-isolated
- Lab workloads hold no cluster permissions
- Reset tokens random, hashed at rest, expiring
- No credentials in source control
- Modern TLS with HSTS
- In-browser attack box unprivileged, all capabilities dropped
NIST CSF 2.0 profile
Current tier against target, per function. Tier 2 today, trending to 3.
- Govern2 → 3One person runs the platform, so there is no segregation of duties. A named deputy holds independent access.
- Identify3 → 3Third-party dependencies are inventoried; advisories are not yet tracked systematically.
- Protect3 → 3The content security policy permits inline scripts because the in-browser attack box needs them. A deliberate trade-off, written down as one.
- Detect2 → 3No alerting on unusual outbound traffic yet.
- Respond2 → 3The incident response plan exists and has never been exercised.
- Recover3 → 3Backups every six hours. The quarterly restore test has one data point so far.
current tierstill to reachat target · Tier 4 is declined: it does not fit a single-operator company.
The standing policy
Written to the planning requirements of SP 800-115 §2, so the next assessment is not improvised.
- Nothing starts unsigned Scope, depth, rules of engagement and authorisation are agreed in writing first. Each technique level is authorised on its own. planning
- Fix deadlines Critical immediately, high within 7 days, medium within 30, low within 90 or formally accepted as residual risk. 0 · 7 · 30 · 90 days
- Cadence A full assessment every year, a targeted one before any change to authentication, authorisation, payments or lab containment, and one after every confirmed incident. Automated exploit-chain tests run against every lab on a schedule. annual + triggered
- Hard stops No denial of service, no destructive testing, no third-party systems, no real user data in a report. Exposed user data or signs of an active compromise mean stop and escalate. prohibitions
Read the originals
Everything on this page is published on the platform itself.
- Assessment summary Scope, method, findings by severity, what changed, what held and what the page does not claim. ratctf.com/security
- CSF 2.0 profile Version 1.0, 13 September 2026. Current and target tier for all six functions, reviewed yearly. /security/csf-profile
- Security assessment policy Version 1.0. Roles, frequency, permitted techniques, prohibitions, remediation and re-test. /security/assessment-policy
Need this for your own platform?
A test, a remediation round and a governance profile you can show a customer or an auditor. The intake call is 45 minutes and free.