2026-07-25 · view entry permalink →
Unattended AI agent in 'YOLO mode' automated post-exploitation against Thailand's Finance Ministry — a transferable government-network TTP
Hunt.io (with researcher Bob Diachenko) found three simultaneously-exposed open directories — 585 files, ~470 MB of exploit code, webshells, stolen credentials and operator logs — tied to an intrusion against Thailand's Ministry of Finance, published 2026-07-23 (Hunt.io, 2026-07-23). The distinguishing feature is the automation layer: the operator ran Hermes, an open-source autonomous AI agent, and — per Hunt.io — "the operator ran the agent in unattended or YOLO mode, bypassing approval prompts for commands that could be considered dangerous." Recovered agent logs show it autonomously enumerating ministry hosts, traversing the filesystem, running a custom LinPEAS privilege-escalation script (probing several 2026 Linux-kernel LPE flaws and older sudo/polkit bugs), enumerating SUID/SGID binaries and running services, and recursively harvesting documents from a target office — each step executed without a human approving it. This is the second AI-agent-driven autonomous-attack disclosure this pipeline has tracked in roughly a week, marking a shift from AI-assisted to AI-unattended post-exploitation where an off-the-shelf agent framework, not bespoke attacker code, is the orchestration layer.
The hands-on tradecraft leaned on default-configuration weaknesses rather than zero-days: a script abusing Apache HiveServer2's default no-validation SASL PLAIN authentication on its service port to register a malicious Java UDF and run shell commands; an Ambari REST-API payload against the Hadoop management layer; and headless-browser automation logging into a GlassFish admin console with default credentials to deploy a JSP webshell via WAR upload (Hunt.io, 2026-07-23). A previously-unreported Go implant, "Hades," provided cross-platform persistence (Registry Run key and scheduled task on Windows, cron on Linux) and beaconed over HTTPS using request paths designed to blend with static JavaScript-asset traffic, with AES-256-GCM-encrypted payloads carried in HTTP bodies and built-in kill-dates and working-hours scheduling to blunt detection. Critically, "the Ministry of Finance has not confirmed that its systems were breached, and some of the recovered artifacts only show that particular systems were targeted rather than successfully compromised" (BleepingComputer, 2026-07-24); ThaiCERT and NCSA were notified 2026-07-15.
the operator ran the agent in unattended or YOLO mode, bypassing approval prompts for commands that could be considered dangerous.
However, the Ministry of Finance has not confirmed that its systems were breached, and some of the recovered artifacts only show that particular systems were targeted rather than successfully compromised.