SOCRadar recently exposed infrastructure belonging to ransomware affiliates using an AI-powered framework called “Phantom” to automate intrusions. The operation targeted 62 organizations, exploiting vulnerabilities in FortiClient EMS, SimpleHelp, cPanel, and VPN gateways. Once inside, the attackers used AI agents to orchestrate lateral movement, credential harvesting, data exfiltration, and ransomware deployment.
The technical sophistication is notable — AI-managed knowledge bases tracking victims, automated prompt rewriting when models refused malicious tasks, and a diverse toolkit including custom C2 frameworks and polymorphic implants. But the fundamental attack chain hasn’t changed. Every stage still depends on file system operations that can be controlled at the kernel level.
The Attack Chain Depends on File Operations
The Phantom framework automates reconnaissance, exploitation, and payload delivery. But automation doesn’t eliminate the need for malware to write to disk. Here’s what the attack lifecycle looks like from a file system perspective:
Initial compromise: The evildoers exploit a vulnerability in an edge device and deliver a payload. That payload — whether it’s a Mythic agent, a Ghost C2 implant, or a RevSocks proxy — must be written to the file system before it can execute. This is the first file operation and the most upstream intervention point.
Persistence: The attackers establish persistence using scheduled tasks, startup folder entries, or registry run keys. Each of these mechanisms involves writing files to specific directories on the Windows system.
Lateral movement: The article describes pivoting inside victim networks using RevSocks reverse-SOCKS proxies and credential reuse. Lateral movement across Windows networks typically involves writing files to remote shares via SMB. Even with valid credentials, the attacker’s tools must write their payloads to the target system.
Data exfiltration: The attackers prioritized finance, HR, legal, and executive files. Exfiltration requires reading those files from disk and staging them for transmission. The article mentions bulk file operations — exactly the pattern that threshold-based detection catches.
Ransomware deployment: The final stage involves encrypting files, which requires both reading the original file and writing the encrypted version back to disk. Ransomware also renames files after encryption, adding extensions or changing filenames entirely.
How FileSure Blocks the Attack at Stage Zero
FileSure Defend operates at the Windows kernel level via a filter driver. It intercepts file system operations — open, read, write, delete, create, rename — before they complete. You define behavioral rules that control which users, programs, and machines can perform which operations.
Block the initial payload write:
The most effective intervention happens at the delivery stage. Configure a rule that prevents unauthorized programs from writing executable files to the system:
- File name filter:
*.exe, *.dll, *.sys, *.scr, *.bat, *.ps1, *.vbs - Operations: Write, Create
- Authorized programs: Your approved deployment tools, Windows Update, your RMM agent
- Result: When the exploit attempts to drop the Phantom payload, the write operation is denied at the kernel level. The file never lands on disk. The malware never executes. The entire attack chain collapses.
Detect and block bulk data exfiltration:
Even if an attacker gains access through credential reuse (as the article describes), you can detect and block mass data theft:
- File name filter:
*(all files) - Operations: Read, Write
- Threshold: 100 files within 60 minutes
- Result: Normal user activity stays well below this threshold. An attacker attempting to stage thousands of files for exfiltration crosses the threshold within minutes. Subsequent operations are blocked, and the security team is alerted.
Stop ransomware encryption before files are damaged:
Ransomware that bypasses prevention controls still has to encrypt files by writing modified versions to disk:
- File name filter:
* - Operations: Write, Rename
- Threshold: 20 matches within 60 minutes
- Result: Ransomware modifies hundreds of files per minute. The threshold fires within seconds, blocking further encryption. Damage is contained to the files modified before the rule triggered.
AI Doesn’t Change the Fundamentals
The Phantom framework uses commercial AI models via OpenRouter to execute intrusions. When models refused malicious prompts, the operators rewrote requests as “authorized red team assessments.” The AI handled reconnaissance, exploit research, and even extortion message drafting.
None of that changes the fact that malware must write to the file system before it executes. You can automate the intrusion workflow, use AI to optimize payloads, and employ sophisticated evasion techniques — but if the kernel denies the file write, the attack stops.
The article notes that the attackers used a BYOVD (Bring Your Own Vulnerable Driver) technique to disable EDR. That’s a real problem for signature-based detection tools. FileSure doesn’t rely on recognizing threats. It enforces file operation policies. Even if the attacker disables other security tools, the kernel filter driver continues intercepting file operations and enforcing rules.
Start Protecting Your File System
FileSure Defend installs on Windows systems from Server 2003 through Server 2022. It runs on legacy systems that modern endpoint tools won’t touch — the kind of infrastructure that often gets exploited because it can’t be patched or protected with current tools.
The 21-day free trial includes full functionality. Install it, configure a rule blocking unauthorized executable writes, and test it. You’ll see exactly how it works.
Start your free trial at bystorm.com.
Source: Exposed Infrastructure Reveals How Ransomware Affiliates Used AI Agents to Execute Intrusions
Category: Ransomware
Tags: phantom framework, ai-driven ransomware, inc ransomware, the gentlemen ransomware, kernel filter driver, file system security, fortinet fortclient, simplehelp exploit