An OSAI exam writeup is a structured account of how an AI-enabled enterprise was assessed end to end: the initial foothold, the pivots, the privilege escalation paths and the lessons that transfer to exam preparation. In our OSAI exam writeup of this eight-host engagement against quilmaines.com, we documented two independent attack chains, one standalone ML host and a Domain Controller, and we focus here on the techniques rather than on any proof values. Credentials, flags and private tooling are deliberately withheld in the shareable edition.
What did the OSAI exam writeup cover across the eight hosts?
The assessment ran against an AI-enabled enterprise in the quilmaines.com domain. It comprised eight hosts: two independent attack chains, one standalone ML host and the Domain Controller. Chain 1 sat in Operations and moved from a web-exposed backup file on cache01 through an SSH pivot to ws-ops01 and then logagent01. Chain 2 sat in Development and started at portal01 through a Next.js middleware bypass, then reached gitlab01 and registry01. modelsrv01 was compromised separately from the internal network, and dc01 was the domain apex.
| Host | Role | Result |
|---|---|---|
| cache01 | Cache server, dual-homed pivot | Compromised: leaked Redis password in a web-exposed backup file, authenticated Redis used to write an SSH key |
| ws-ops01 | Operations workstation | Compromised: LLM path-classifier bypass via NFKC normalisation, domain credential leaked, writable scheduled-task directory gave local admin |
| logagent01 | Logging agent host | Compromised: forged Elasticsearch transport authentication context, planted log entry executed by a SYSTEM agent |
| portal01 | Development portal | Compromised: Next.js middleware bypass (CVE-2025-29927) exposed an unauthenticated LLM agent with a command-injected diagnostic tool; root via SUID find |
| gitlab01 | Source control | Compromised as part of Chain 2 |
| registry01 | Container registry | Compromised as part of Chain 2 |
| modelsrv01 | Standalone ML host | Compromised from the internal network |
| dc01 | Domain Controller | Domain apex reached through the chains above |
How did Chain 1 move from cache01 to ws-ops01 and logagent01?
Chain 1 began with a web-exposed backup file on cache01 that leaked a Redis password. We authenticated to Redis and used Redis CONFIG SET to write an SSH key, turning cache01 into a dual-homed pivot. From there, ws-ops01 fell to an LLM path-classifier that normalised Unicode (NFKC) after its deny-list check, so a crafted path slipped past the filter and leaked a domain credential; a writable scheduled-task directory then gave local admin. On logagent01 we forged an Elasticsearch transport authentication context using the Elasticsearch _xpack_security_authentication header and planted a log entry that a SYSTEM agent later executed.
How did Chain 2 use CVE-2025-29927 and SUID find?
Chain 2 reached portal01 through a Next.js middleware bypass tracked as CVE-2025-29927. That exposed an unauthenticated LLM agent whose diagnostic tool was command-injected. From that foothold we obtained root via SUID find, and the chain continued to gitlab01 and registry01. modelsrv01, the standalone ML host, was compromised separately from the internal network, which shows that AI services are not always behind the same perimeter as the rest of the estate.
Which techniques and service accounts appeared in the OSAI exam writeup?
- Credential discovery in a web-exposed backup file on cache01.
- Authenticated Redis abuse with Redis CONFIG SET to write an SSH key.
- Dual-homed pivoting from cache01 into Operations.
- LLM path-classifier bypass via NFKC normalisation on ws-ops01.
- Local admin through a writable scheduled-task directory.
- Forged Elasticsearch _xpack_security_authentication transport context on logagent01.
- Log injection executed by a SYSTEM agent.
- Next.js middleware bypass (CVE-2025-29927) on portal01.
- Command injection in an unauthenticated LLM agent diagnostic tool.
- SUID find privilege escalation to root.
- Service accounts observed: svc_portal, svc_automation and svc_modelval, svc_automation, svc_modelval, svc_dcaudit.
- MCP-style agent tooling treated as an attack surface during the assessment.
For background on the certification itself, see our certifications page; for practice material, see the downloads page. The public vulnerability record for the Next.js issue is at NVD, and the vendor’s certification information is at OffSec.
Frequently asked questions about this OSAI exam writeup
What is an OSAI exam writeup?
It is a structured account of an OSAI-style assessment: the hosts, the chains, the techniques and the lessons, written so that others can study the methodology without exposing sensitive values.
Why are credentials and proof values withheld?
The shareable edition deliberately omits credentials, proof values and private tooling. The writeup focuses on technique and reasoning, which is what transfers to exam preparation.
Which hosts were part of the assessment?
cache01, ws-ops01, logagent01, portal01, gitlab01, registry01, modelsrv01 and dc01 in the quilmaines.com domain.
What was the most transferable lesson?
AI components do not replace classic weaknesses. A leaked Redis password, a middleware bypass and a SUID binary still mattered, and the LLM path-classifier and MCP-style tooling added new bypass surfaces such as NFKC normalisation.
Does this writeup guarantee exam success?
No. It documents one assessment and the techniques we used. Exam outcomes depend on your own preparation and on the environment you are given.
For the report itself — scope, hosts and what the set contains — see the OSAI exam report page. This OSAI exam writeup is published as study material: it shows how the pieces connect, not a shortcut to a pass. If you want the full OSAI exam writeup set with the report structure and the host-by-host notes, it is listed with our other certification material in the downloads section.
