A generated abstract illustration on a pale blue-grey field with a faint grid: a row of translucent upright panels stands along a shallow plane seen slightly from above, each panel carrying a few soft blue horizontal bands that suggest lines of notes without any legible writing. A single thin cyan thread runs in from the left edge, passes through every panel at the same height and continues out the right side unbroken, so the row reads as one task carried across separate sittings. Midway along, the sequence is interrupted by one blank panel outlined in amber. In the lower right, a compact group of narrow upright bars glows warm white, separate from the row of panels and enclosed by a dashed boundary line. No text, numbers, people, logos or brand marks appear. The OrcaRouter logo is composited in the bottom-right corner.
AI Safety Incidents

A Rhysida affiliate built its campaign around OpenCode's memory

Author

Rowan Sterling

Date Published

Latest models · 20View all models →
Back to all posts

On 29 November 2026 the CloudSEK Threat Research and Information Analytics Division published an investigation into an unauthenticated open directory that had been left serving as a staging server for an affiliate of the Rhysida ransomware operation. It was not a backup: it was the operator's working desk, holding a custom command-and-control framework, mass-exploitation tooling, Rhysida encryptor builds for Windows, Linux, ESXi, FreeBSD, macOS and PowerPC, operating notes written in fluent Russian, per-victim folders of stolen data and an impact ledger. CloudSEK traced stolen data to organisations in the United States, Europe, India, Brazil and Indonesia, and recorded ransomware deployed or staged against education and healthcare targets, with backups deleted before encryption at a healthcare organisation. Running through the whole operation, the researchers say, was OpenCode, an open-source AI coding agent, with Russian-language handovers titled "REENTRY PROMPT" and per-project task, facts and progress files written so that each new agent session could resume where the last one stopped. The record is filed, with its severity, confidence grade and cited sources, in the AI incident archive, which carries this entry alongside the ransomware and agent-abuse records filed around it.

What the directory actually held

CloudSEK's report, the third in its Caught in 4K series on exposed criminal infrastructure, describes a directory organised like a working desk rather than an archive: thousands of short scripts in the root directory beside copied public offensive projects, exploit research trees, ransomware release folders, encryption test fixtures and loot sorted by victim. Among the folders were one holding the Athena C2 listener, its PowerShell implant builder, delivery standard-operating-procedure and listener logs; one holding Metabase campaign handovers, database connection inventories and query results; scanning seeds and probes for a Confluence flaw tracked as CVE-2026-90436; PHP-FPM exploit research; Veeam CVE-2024-40711 proof-of-concept builds; and a phishing folder with a C# dropper, Run-key persistence and a decoy PDF.

The encryptor builds are Rhysida-branded across six platforms and every build path sets the .rhysida extension and the CriticalBreachDetected.pdf ransom note. Test folders hold encrypted sample files and several note variants that share onion addresses but use different onionmail contact pairs. Athena is the operator's own implant rather than a Mythic payload, according to its build notes: PowerShell tasking encrypted with AES-128-CBC and keyed from a shared secret, with check-ins shaped like stylesheet, image and JavaScript downloads under an /assets/ path. The listener protected its operator API with a token but left its check-in and upload endpoints unauthenticated, and its log preserved a test session from the operator's own machine running whoami.

The AI part: handovers written for a machine

The OpenCode evidence is specific and mostly textual, and it is the part of the report that has travelled furthest. CloudSEK says operator-authored helper scripts target the OpenCode desktop process, inspect its session database and read the tool output the agent had saved during reconnaissance, and that the operator's C2 runbook references OpenCode's temporary directory. A handover titled "REENTRY PROMPT" tells the reader, in Russian, to copy the entire block into a new agent session; it restores the target's context, the access available and the constraints on using it, including an instruction not to validate stolen credentials without the operator's command. Re-entry notes point the agent at an existing project folder and tell it to read task.md, facts.md and progress.md before continuing, and project folders follow a date-time-target naming pattern, one per engagement.

The division of labour is described in the Metabase handovers, which assign batches of networks to an "ops-agent" working on the operator's instructions while the operator sets scope and rules of engagement. CloudSEK's summary of the arrangement is that the agent handled reconnaissance, tooling and session continuity, while the human selected targets and approved sensitive actions. In its assessment section the company writes that it has high confidence the operator used OpenCode as part of the operational workflow, and that the agent's contribution was continuity: "a way to run many parallel engagements with persistent notes, repeatable handovers and agent sessions that resume work at any point."

Two things the report does not say are worth stating plainly. It does not allege that OpenCode was compromised or that its maintainers did anything wrong; the finding concerns how an operator organised its work around a legitimate open-source coding agent. And it does not name the model or provider behind the agent sessions — OpenCode is a client that can be pointed at different models, and no model, vendor or subscription appears in the material CloudSEK quotes.

What is established, and what is an assessment

Established, in the sense that the files exist and CloudSEK quotes them: the handover structure, the Russian-language re-entry prompts, the task, facts and progress files, the helper scripts that read the agent's session store, and the "ops-agent" assignments in the Metabase documentation. A reader can see how the workflow was built from those artefacts.

Assessed, and labelled as such by CloudSEK with high confidence, is the conclusion that this constituted the operator using an AI agent to run parts of the operation. Nobody outside CloudSEK has examined the directory. The company has not published the server's address — its indicator list gives five IP addresses, one domain, three SHA-256 hashes and the ransom-note filename, and does not identify the open-directory host among them — so the underlying files cannot be re-examined by anyone else. Infosecurity Magazine reported the finding on 30 November and Techbooky the same day, but both are accounts of CloudSEK's report rather than independent verification, and Techbooky's write-up carries an explicit caution that the agent did not necessarily find every flaw, choose every target or breach systems independently, and that the evidence points to a human-led operation using an agent for preparation, organisation and tool adaptation.

Not established by anything reviewed for this article: which model was behind the sessions, how much of any individual intrusion step the agent executed rather than drafted, whether CloudSEK observed live sessions or reconstructed the workflow from disk, and whether the operator's claims in its own handovers are accurate. The files are the operator's account of its own process, written for its own reuse. The archive grades the record's confidence A and its AI involvement confirmed; that grade describes how well the incident is documented, not that an outside party has reproduced the AI finding.

A self-built HTML card headed 'The workflow, as the files describe it', kicker 'Six artefacts CloudSEK quotes from the exposed directory, and how firmly each is established on the record.' Three columns follow: Artefact in the directory, What it does, How firmly established. The REENTRY PROMPT handover in Russian tells the reader to copy the entire block into a new agent session and restores the target's context, access and constraints, including not to validate stolen credentials without the operator's command, seen in the directory and quoted by CloudSEK. task.md, facts.md and progress.md are files the re-entry note tells the agent to read before continuing, seen in the directory. Date-time-target folders hold one project folder per engagement, seen in the directory. Scripts aimed at the OpenCode desktop process inspect its session database and read saved tool output, with the C2 runbook referencing the agent's temporary directory, seen in the directory. Metabase handovers assign batches of networks to an ops-agent under the operator's scope and rules of engagement, seen in the directory. Division of labour reads: agent handles reconnaissance, tooling and session continuity while the human selects targets and approves sensitive actions, a CloudSEK assessment at high confidence. An amber callout says what is not in the files is a model name, a provider, or any record of the agent acting without an operator instruction. Four tiles read 3 files, 1 handover, 1 ops-agent and 0 models. A footer credits CloudSEK TRIAD, 29 November 2026, and notes the card is hand-built, not a screenshot of the report. The OrcaRouter logo is composited in the bottom-right corner.

The way in was not the AI

The most useful corrective in the report is that the affiliate's technical reach was much wider than its results. A campaign against Confluence CVE-2026-90436 scanned hundreds of thousands of UK hostnames for a pre-authentication deserialisation flaw in the SOAP interface and produced rare product hits without triggering its callback receiver. An end-to-end PHP-FPM memory-corruption exploit was built in a lab against nginx, thousands of government and legal sites were fingerprinted, and a leak oracle was run against the shortlist; no field target met the exploit's conditions. Waves of password spraying against OWA, ADFS, Entra ID and VPN portals, including tens of thousands of attempts against a single VPN portal, recorded no valid sessions.

Every confirmed foothold came from something simpler, and CloudSEK says so in one line: leaked credentials, default passwords or an unpatched application. SSL VPN gateways without MFA accepted credentials from earlier breaches, and at one victim a second gateway accepted a guest account. An internal management service at a forestry company accepted its default administrator password and ran operator-supplied command files as SYSTEM on a domain controller. And an unpatched Metabase instance gave the operator administrator access to business databases in several countries through CVE-2026-72898, a stacked SQL injection in the unauthenticated password-reset endpoint that let the operator insert a superuser row into the session table and mint a valid administrator session without any credentials.

The Metabase handovers held a queue of more than a hundred database connection strings and dozens of forged sessions. The operator's own rules were read-only queries, no changes to passwords or settings, and sessions left alive; forged sessions stayed valid until Metabase was restarted or the session deleted. Stolen data named in the report includes delivery-partner identity, tax and bank records at an Asian logistics company; subscriber broadband credentials, staff password hashes, API tokens and OAuth client secrets at a Latin American internet provider; and live API tokens, OAuth client secrets and legacy password hashes at a European e-commerce company. Within Windows domains the sequence was credential theft, Group Policy changes that disabled Defender's real-time, behaviour and on-access protection, payload testing against Defender's own command-line scanner, and encryption deployed through administrative shares.

The only organisation CloudSEK names is Brazil's Tribunal de Justiça de Minas Gerais, the state court of Minas Gerais. In early October 2026, CloudSEK says, the operator mapped the court through a Brazilian proxy — its VPN, PJe judicial system, mail, SIP and transparency portal — and submitted a credential for one employee account to the court's F5 corporate VPN, which returned a second-factor challenge. The same account was tested against Azure AD and the court's mail services, and the operator downloaded the court's public staff transparency spreadsheet to identify who held the account, while building Mythic Apollo payloads named after the court's endpoint-management agent and labelled for a specific court workstation.

CloudSEK reports that Rhysida listed the court on its leak site in November 2026 and that the court publicly confirmed a file leak, and assesses with high confidence that this operator's activity is the most likely route to the breach. That last step is an assessment, not a published finding: no court statement or CERT notice reviewed for this article sets out the intrusion route, and the report does not claim the operator's early-October attempts succeeded — the VPN credential it describes hit a second factor. The record's own link between the exposed directory and the court is therefore an inference from infrastructure, tooling and timing, which is what CloudSEK says it is.

Who the operators are

CloudSEK attributes the directory to a Russian-speaking Rhysida affiliate, on the basis that Russian runs through the operator's own material rather than only its tooling: handovers, re-entry prompts, delivery logs and the impact ledger are written in fluent Russian sentences. That claim is narrower than it sounds. The same report notes that on 25 November 2026 the research firm Hunt.io published work on open directories belonging to a crew targeting US healthcare, manufacturing, legal and government organisations; CloudSEK says the two collections share a proxy address, a Mythic host and victims including a US manufacturer and a Swiss tax office. Hunt.io had assessed a Chinese-speaking crew running a Russian-authored toolkit. CloudSEK's argument is that the operator's own prose settles the question in favour of a Russian-speaking affiliate, and that the presence of Rhysida builds and ransom notes ties that affiliate to Rhysida.

Both teams are careful about what language evidence proves. Hunt.io's own report states that timezone, language and installation-media choices on one of the hosts "do not establish the administrator's nationality or physical location". The archive does not mark this record disputed, and the disagreement here is about who the people are, not about what the directory contained. No arrest, charge or takedown connected to this infrastructure has been reported in any source reviewed for this article.

A self-built HTML card headed 'The record's dates, at their own precision', kicker 'What is dated, and how tightly. Only the two publications carry a day; the court listing is given to the month.' Three columns follow: Date, What happened, Source and precision. Early Oct 2026: the operator maps the Tribunal de Justica de Minas Gerais through a Brazilian proxy covering VPN, PJe, mail, SIP and transparency portal, and submits an employee credential to the court's F5 VPN, which answers with a second-factor challenge; CloudSEK, and the attempt shown did not pass the second factor. October-November 2026: mass exploitation and spraying run in parallel and fail, including Confluence CVE-2026-90436 scans across UK hostnames, a lab-built PHP-FPM exploit with no field target and tens of thousands of password attempts against one VPN portal; CloudSEK, from the operator's campaign reports. November 2026: Rhysida lists TJMG on its leak site and the court publicly confirms a file leak, CloudSEK reports, and CloudSEK assesses this operator as the most likely route to the breach; month-level only, with no day given for the listing. 25 November 2026: Hunt.io publishes research on open directories belonging to a crew targeting US healthcare, manufacturing, legal and government organisations, and CloudSEK later reports a shared proxy, Mythic host and victims; Hunt.io assessed a Chinese-speaking crew and CloudSEK disagrees. 29 November 2026: CloudSEK publishes Caught in 4K: The Rhysida Files with high confidence that the affiliate used OpenCode in the workflow. 30 November 2026: Infosecurity Magazine and Techbooky report the finding, neither adding independent verification, and Techbooky cautions the agent did not necessarily breach systems on its own. Before publication: coordinated notification to national CERTs and victims is started, and most victim names are withheld. A footer credits CloudSEK, Hunt.io, Infosecurity Magazine and Techbooky, and notes the card is hand-built. The OrcaRouter logo is composited in the bottom-right corner.

What changed afterwards

CloudSEK says coordinated notification to the relevant national CERTs and to victims was started before publication, for organisations that had not already appeared on Rhysida's leak site, and it withholds most victim names. That is the main response the record contains: notification, plus a set of mitigations aimed at the weaknesses the affiliate actually used rather than at its agent.

• Patch Metabase, block internet access to the password-reset endpoint, review the session table for superuser sessions with no matching login, and rotate credentials for every connected database.

• Enforce MFA on every VPN and remote-access gateway, remove guest accounts, and rotate credentials that appear in public leaks or infostealer logs.

• Replace default credentials on internal management services and restrict those services to administrative networks.

• Alert on Group Policy changes that modify Defender policy, add exclusions or create scheduled tasks, and on unexpected GPO version increments.

• Keep backups immutable and offline, and alert on deletion of Veeam backup files and on scheduled tasks created over administrative shares.

• Monitor for AzCopy execution and large outbound transfers to Azure Blob Storage accounts the organisation does not own.

• Treat AI coding agents on administrative and security endpoints as privileged software: log their use, restrict their credentials and review their session stores.

The last item is the one the report adds to a familiar ransomware checklist, and it follows from the artefacts rather than from theory. If an agent's session database and saved tool output are readable by anything running on the same host, and if a project folder can restore a target's context to a fresh session, then the agent's working memory is worth the same scrutiny as a credential store. CloudSEK's own framing is that the affiliate built a campaign around an agent's working memory, in contrast to an earlier case in the same series where an affiliate drove attack execution through an AI assistant's MCP tooling.

What would move the record

Three things would change this entry rather than extend it: publication of the directory or a representative sample so the handovers can be read by someone other than the firm that found them; a court, CERT or victim statement describing how the TJMG intrusion actually began; and any evidence of which model sat behind the OpenCode sessions. None of the three is in the public record as of 4 December 2026. Until then the defensible summary is narrower than most headlines about it: an exposed server shows a ransomware operator that wrote its notes to be read by an AI agent, and an agent that was given the reconnaissance and the filing while a human kept the target list and approved the sensitive steps.

A self-built HTML card headed 'What the record supports, and what it does not', kicker 'Where each claim in this entry stands on 4 December 2026. The archive grades confidence A and AI involvement confirmed.' Three columns follow: Status, Claim, What stands behind it. Three rows are marked Established: an unauthenticated open directory held the affiliate's staging environment with custom C2, exploitation tooling, encryptor builds for Windows, Linux, ESXi, FreeBSD, macOS and PowerPC, Russian operating notes and per-victim loot, per CloudSEK with quoted file contents and hashes; every confirmed foothold came from leaked VPN credentials on gateways without MFA, a default administrator password, or unpatched Metabase CVE-2026-72898, with mass exploitation and spraying producing no confirmed access; and backups were deleted before encryption at a healthcare organisation while a school network's backup and file servers were encrypted and Wasabi cloud backups under compliance retention were untouched, per the operator's impact ledger. One row is marked Assessed, high confidence: the operator used OpenCode as part of the operational workflow, with the agent handling reconnaissance, tooling and session continuity, resting on handover files and helper scripts, with no outside party having examined the directory and its address unpublished. Two rows are marked Not established: which model or provider sat behind the OpenCode sessions and how much of any intrusion step the agent executed rather than drafted, since no model, vendor or subscription is named in any source reviewed; and that the operator's early-October attempts on TJMG succeeded, or how the breach began, since CloudSEK calls its link the most likely route rather than a finding and the attempt it shows hit a second factor. Four tiles read A, High, Confirmed and Not disputed, with lines explaining confidence, severity and real harm, the archive grade for AI involvement, and that the open question is attribution rather than content. A footer credits the sources and notes confidence A describes documentation, not outside reproduction of the AI finding. The OrcaRouter logo is composited in the bottom-right corner.