"The Rhysida Files" & AI-Driven Intrusions: Threat Actor Deploys OpenCode AI Coding Agent with Markdown Session State, Metabase CVE-2026-72898 Exploits, and Veeam Deletion

"The Rhysida Files" AI Coding Agent Ransomware Architecture
📌
Security Roundup Series: Weekend of November 30, 2026 • 7 min read deep dive
🚨
Vulnerability Intelligence: CVE ID: Metabase CVE-2026-72898 (CVSS 9.8) / AI Threat Profile (CWE-89 SQL Injection / CWE-287 Improper Authentication / Agentic AI Abuse) Severity: CRITICAL (AI CODING AGENT AUTOMATES ACTIVE RANSOMWARE INTRUSIONS) (CVSS 9.8 Critical (Metabase Stacked SQL Injection)) Threat Actor: Russian-Speaking Rhysida Ransomware Affiliate / OpenCode AI Agent Status: Investigated by CloudSEK ("The Rhysida Files"); Unsecured Staging Server Exposed Nov 28 Affected Systems: Metabase < 0.50.22 / 1.50.22; Enterprise SSL VPNs lacking MFA; Veeam Backups Fixed In: Metabase 0.50.22 / 1.50.22; Mandatory FIDO2 MFA; Immutable Backups

In a groundbreaking intelligence disclosure published over the weekend, cybersecurity research firm CloudSEK released "Caught in 4K: The Rhysida Files", providing definitive forensic proof that human ransomware affiliates are actively integrating autonomous AI coding agents into live intrusion lifecycles. Investigating an unsecured operational staging server left exposed to the public internet by a Russian-speaking affiliate of the Rhysida ransomware syndicate, CloudSEK recovered custom C2 compilation scripts, operational notes, and the operator’s entire AI toolchain. The threat actor deployed an open-source coding agent (identified as OpenCode) equipped with a structured markdown memory architecture (task.md, facts.md, and progress.md) to maintain continuous contextual state across multi-day intrusions. The AI agent systematically discovered network topologies, automated the exploitation of a stacked SQL injection vulnerability in Metabase (CVE-2026-72898), located and purged Veeam network backups, and orchestrated the exfiltration of sensitive victim databases to Azure Blob Storage.

Figure 1: Architectural workflow of AI-assisted ransomware intrusions: OpenCode AI agent state tracking in markdown files, Metabase CVE-2026-72898 exploitation, automated Veeam backup destruction, and Rhysida payload compilation.

Anatomy of the AI Coding Agent Workflow: Solving Memory Decay

One of the primary historical limitations of applying LLMs to multi-stage cyber intrusions has been context window exhaustion and session memory decay. The Rhysida affiliate overcame this challenge by adopting an engineering pattern widely used by legitimate software developers:

1. Structured Markdown State Architecture

The operator configured OpenCode to read and write three persistent markdown files at the root of the operational directory before and after every execution turn:

  • task.md: Defined the high-level objective of the current intrusion phase (e.g., "Scan subnet 10.140.0.0/16, identify database hosts, exploit Metabase, and dump table schemas").
  • facts.md: Stored confirmed environmental discoveries, including discovered domain controllers, administrator username patterns, open ports, and valid credentials.
  • progress.md: Tracked the exact sequential execution status, noting which targets had been probed, which failed, and which had active C2 listeners established.

2. Re-Entry Prompts for Session Continuity

When the operator or automated script initiated a new AI agent session, it passed a standardized re-entry prompt:

"Read task.md, facts.md, and progress.md. Summarize current operational state in 2 sentences, 
then proceed to the next incomplete task in progress.md without asking for confirmation."

This allowed the threat actor to execute complex, multi-day intrusions with near-zero latency, maintaining unbroken continuity even if individual agent processes crashed or were restarted.


Weaponization: Exploiting Metabase SQLi (CVE-2026-72898) & Purging Backups

The AI coding agent was not merely generating boilerplate scripts; it was actively driving terminal execution and network payloads:

1. Metabase Unauthenticated Stacked SQL Injection

The operator directed the agent against perimeter and internal business intelligence servers running Metabase. The agent weaponized CVE-2026-72898—a critical vulnerability in Metabase’s password reset endpoint where user input in the token parameter is passed directly into a raw SQL query string:

POST /api/session/password_reset HTTP/1.1
Host: bi.victim-corp.com
Content-Type: application/json

{"token": "valid_token'; UPDATE core_user SET is_superuser=TRUE WHERE email='[email protected]';--"}

The agent detected the vulnerability, executed the stacked query to grant superuser privileges to a designated account, extracted customer and financial tables, and streamed the data to an attacker-controlled Azure Blob storage container.

2. Automated Backup Discovery and Purging

To maximize extortion pressure, the AI agent executed automated PowerShell scripts designed to identify Veeam Backup & Replication repositories across domain-joined servers:

Get-VBRBackup | ForEach-Object { $_.Delete() }
vssadmin delete shadows /all /quiet

By automating the discovery and deletion of local and network backups, the attacker eliminated the victim’s ability to recover without paying the extortion fee.


Detection Telemetry & Behavioral Signatures

Sigma Rule: Detecting AI Agent State File Patterns

title: Suspicious AI Agent State Tracking Files on Non-Dev Workstations
id: b4c2e178-90a1-43ef-89a2-aiagentstate2026
status: experimental
description: Detects the simultaneous creation or rapid reading of task.md, facts.md, and progress.md in temporary or staging directories.
logsource:
  category: file_event
detection:
  selection:
    TargetFilename|endswith:
      - '	ask.md'
      - 'acts.md'
      - 'progress.md'
    Image|contains:
      - 'python'
      - 'opencode'
      - 'node'
  condition: selection
level: high

YARA Rule: Rhysida AI Staging Artifacts

rule Rhysida_AI_Staging_Artifacts {
    meta:
        description = "Detects Rhysida AI agent orchestrator scripts and prompt templates"
        author = "ColibriSec Threat Intelligence"
        date = "2026-11-30"
    strings:
        $s1 = "Read task.md, facts.md, and progress.md" ascii
        $s2 = "OpenCode" ascii nocase
        $s3 = "UPDATE core_user SET is_superuser" ascii
        $s4 = "VeeamBackup" ascii nocase
    condition:
        2 of them
}

Defensive Countermeasures & AI Threat Governance

  1. Perimeter MFA Mandate: The root entry vector in nearly all cases remains stolen VPN or RDP credentials without MFA. Enforce FIDO2 hardware tokens on 100% of external access points.
  2. Patch Metabase: Ensure Metabase instances are upgraded to versions 0.50.22 or 1.50.22 or higher.
  3. Protect Backup Repositories: Disconnect Veeam and backup repositories from domain authentication. Utilize hardened, immutable Linux repositories with multi-person authorization required for backup deletion.
  4. Audit Local AI Runtimes: Restrict the execution of unauthorized AI coding agents and local LLM runtimes on enterprise endpoints.

Read more

ColibriSec Weekly Security Roundup — Week of December 4, 2026 Threat Intelligence Matrix

Security Roundup: CISA KEV Acronis/HFS/TYPO3 Wave, Agentic AI CyberStrikeAI & DoorDash Attacks, TeamCity & HPE CVSS 10.0, Linux 21-Year Netfilter & USB2Shell, Woolworths 14M & Roche 169GB Breaches (Week of December 4, 2026)

Executive Summary: The week of November 28 to December 4, 2026 marks a decisive operational inflection point across enterprise security, kernel engineering, autonomous AI threats, sovereign cyber legislation, and global data breaches. Between November 30 and December 3, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) expanded its Known

By James Luther
CISA KEV Wave: Acronis CVE-2026-87887, Rejetto HFS CVE-2026-61500 & TYPO3 CVE-2026-125160

CISA KEV Nov 30–Dec 3 Wave: Acronis Backup Zero-Day (CVE-2026-87887), Rejetto HFS Math.random() RCE (CVE-2026-61500) & TYPO3 Path Disclosure (CVE-2026-125160)

📌Security Roundup Series: Week of December 4, 2026 • 7 min read deep dive🚨Vulnerability Intelligence: CVE ID: CVE-2026-87887 (Acronis), CVE-2026-61500 (Rejetto HFS) & CVE-2026-125160 (TYPO3) (CWE-863 Incorrect Authorization / CWE-338 Weak PRNG / CWE-209 Error Info Exposure) Severity: CRITICAL (ACTIVE EXPLOITATION IN WILD / MANDATORY CISA KEV BOD 26-04) (CVSS 9.8 Critical

By James Luther
JetBrains TeamCity CVE-2026-136858 and HPE Networking Central COP CVSS 10.0 Architecture

Enterprise CI/CD & Network Control-Plane Criticals: JetBrains TeamCity Build Agent Hijack (CVE-2026-136858) & HPE Networking Central On-Premises CVSS 10.0 SSH Backdoor

📌Security Roundup Series: Week of December 4, 2026 • 7 min read deep dive🚨Vulnerability Intelligence: CVE ID: CVE-2026-136858 (TeamCity) & CVE-2026-137285 / CVE-2026-137286 (HPE Central COP) (CWE-287 Improper Authentication / CWE-798 Use of Hard-coded Credentials) Severity: CRITICAL (TEAMCITY ACTIVELY EXPLOITED < 24H / HPE CVSS 10.0 HARD-CODED SSH) (CVSS 10.0 Critical

By James Luther
Linux Netfilter CVE-2026-139281, USB2Shell CVE-2026-98232 & RongYuan Keyboard Port 3814 Architecture

Linux Kernel & Peripheral Hardware Siege: 21-Year Netfilter IPv6 Firewall Bypass (CVE-2026-139281), USB2Shell (CVE-2026-98232) & 283-Brand RongYuan Keyboard Port 3814 CSWSH RCE

📌Security Roundup Series: Week of December 4, 2026 • 8 min read deep dive🚨Vulnerability Intelligence: CVE ID: CVE-2026-139281 (Linux Netfilter), CVE-2026-98232 (USB2Shell) & RongYuan Port 3814 CSWSH (CWE-681 Integer Truncation / CWE-191 Integer Underflow / CWE-306 Missing Auth & Wildcard CORS) Severity: CRITICAL (21-YEAR FIREWALL BYPASS, PRE-LOGIN KERNEL CORRUPTION & 283-BRAND BROWSER-TO-FIRMWARE

By James Luther