LLM‑Powered CyberStrikeAI Framework Automates Post‑Exploitation Across Education Networks
What Happened — Kaspersky’s Threat Intelligence team uncovered a campaign that leverages the open‑source CyberStrikeAI framework, which embeds a large‑language‑model (LLM) orchestrator on the C2 server. After an initial foothold via a compromised SQL Server, the LLM‑driven agent automates every post‑exploitation step—persistence, discovery, credential dumping, lateral movement, and data exfiltration—across multiple education institutions in Africa and Latin America. The implant itself behaves like a conventional C2 beacon; the intelligence and decision‑making are delegated to the LLM, dramatically compressing attack timelines from days to minutes.
Kaspersky’s Cyber Threat Intelligence team reported a new malicious campaign that leveraged artificial‑intelligence‑driven command‑and‑control (C2) agents. Confirmed victims were educational institutions in several African and Latin American countries, and the operation centered on the open‑source framework known as CyberStrikeAI. According to the analysts, the framework “represents one of the first public descriptions of a compromise involving an LLM in the wild,” showing how language models are moving from preparatory tasks into the core of post‑exploitation activity.
CyberStrikeAI combines a large‑language‑model (LLM) orchestrator on the C2 server with a classic beacon implant that runs on compromised hosts. The LLM decides which tools to use and generates the exact command sequence, while the human operator supplies only high‑level objectives. The implant itself contains no AI code, no API keys, and no autonomous logic; it simply polls the server over HTTP/S, TCP or WebSocket, executes shell commands, and interacts with the file system, making its traffic appear like a normal remote‑control session.
In the example examined by Kaspersky, the attackers first breached a victim’s network through a compromised Microsoft SQL Server (version 16.0.1000). Over roughly 24 hours the operator gathered host information, deployed utilities and performed network reconnaissance, after which the activity paused for about two weeks. The second phase began with the deployment of a CyberStrikeAI C2 agent that received instructions from the server‑based LLM. Within two minutes the implant established persistence and performed local discovery, then spent the next five hours conducting domain‑wide reconnaissance. Following a brief multi‑day lull, the group executed rapid lateral movement via SMB and WMI, dumped credentials from multiple machines and exported databases—all completed in under an hour.
Kaspersky highlighted several forensic markers that allow detection and attribution of CyberStrikeAI use. Each control panel generates a self‑signed TLS certificate whose issuer and subject fields contain the framework name; the certificate is created in memory at startup, so its not_before timestamp reveals when the process was launched and enables reconstruction of restart chronology. The implant’s build metadata (shown by go version ‑m) includes a path to a temporary directory that is identical across all payloads, providing a reliable signature, while the version‑control information in the build info field can be used to compare samples. Communication to the server includes a fixed X‑Implant‑Token header unique to each C2 server, serving both as a network indicator and as proof that the samples belong to the same infrastructure. Analysts also noted that the implant’s version does not change when the server side is updated, meaning a single agent version can persist for months while the operator refreshes the LLM orchestration layer.
The campaign began with commands issued from the sqlservr.exe process, indicating that the attackers first gained execution rights within that context. Those early commands were entered manually by the operator, not by an automated implant. Before dropping the CyberStrikeAI agent, the threat actors ran a PowerShell script that probed for the implant in the typical drop locations C:\Windows\Temp\, C:\Windows\, C:\ProgramData\ and C:\Temp. When present, the agent could masquerade as a legitimate system binary; in the observed sample it was named svchost to blend in with normal Windows services.
Payload delivery relied on PowerShell, with the operator’s commands Base64‑encoded to evade keyword‑based detection. When the compromised account held administrative rights—such as a domain administrator—the agent frequently created scheduled tasks so the malicious code would execute with SYSTEM privileges, either via the schtasks utility or through the Schedule.Service COM object. The core payload, p1.ps1, opened a reverse shell to 185.186.245.144 on TCP port 5501. Lateral movement was achieved by copying the script across the network using shared administrative folders and the WMI protocol, as detailed later in the lateral‑movement analysis.
To remain hidden, the attackers split the malicious code into several fragments, writing them to a file called d3.b64. They then used certutil to decode the base64 data and executed the resulting script, which decrypts DPAPI secrets stored in C:\ProgramData\dsn_line.txt. That file is populated by a command that extracts a DSN connection string from the SQL Server Reporting Services configuration file rsreportserver.config and writes it to dsn_line.txt. Several of the delivered scripts contain Chinese‑language comments, a hallmark of the large language model‑generated code observed throughout the operation.
Once the implant was in place, persistence was established by creating a scheduled task named SystemUpdate that pointed to the agent binary, and alternatively by adding a matching entry under HKCU\Software\Microsoft\Windows\CurrentVersion\Run. On Linux hosts the implant used either an @reboot crontab entry or a line appended to ~/.bashrc to launch the beacon at startup or when an interactive shell opened. The choice of persistence method was delegated to the connected LLM, but a human‑in‑the‑loop (HITL) process required the operator to approve or correct any generated commands. For discovery, the attackers first ran simple local queries to collect system details, then queried dnslog.cn to confirm internet connectivity and retrieve the external IP address. They also generated scripts to map potential privilege‑escalation paths via SCCM compromise or exploitation of the AlwaysInstallElevated msiexec key, enumerated services running under domain accounts, listed tasks under SYSTEM, and periodically checked for Microsoft Defender alerts. Remote reconnaissance employed net.exe and PowerShell’s native host‑discovery features, supplemented by LDAP queries to Active Directory and WMI checks to verify agent deployment on other hosts. Domain‑level discovery combined standard OS utilities with PowerShell scripts to harvest LDAP data for Kerberoasting and AS‑REP‑roasting, probe for LAPS configuration, and detect Azure usage by searching user profiles for the .azcopy directory created by the AzCopy utility.
The implant began credential harvesting after mapping the network, using native Windows binaries and third‑party utilities. It dumped registry hives with reg.exe and captured the memory of the LSASS process via the MiniDump function in comsvcs.dll, passing the target PID rather than the process name to evade static command‑line detection. Once privileged domain accounts—including the built‑in Domain Administrator—were seized, the attackers performed DCSync and forged Golden Ticket tickets through a renamed copy of Mimikatz.
For lateral movement, the threat actors leveraged the Impacket toolkit, notably WMIExec, as evidenced by its distinctive command line. The implant also relied on ordinary OS mechanisms such as shared network folders, and it used the Windows Management Instrumentation (WMI) protocol to push a p1.ps1 reverse‑shell script to additional hosts, employing compromised user accounts that held local administrator rights. A second WMI‑based technique involved the Invoke‑CimMethod PowerShell cmdlet.
Command‑and‑control delivery was handled with built‑in OS utilities; after installation the implant probed the C2 server’s ports, a step whose implementation “depends on the creativity of the respective LLM agents,” according to the investigators. Additional tools were fetched either from the attackers’ own servers or directly from GitHub using standard binaries. Data‑exfiltration relied on the implant’s internal file‑transfer interface, which sent files over the encrypted HTTP/TCP channel, encoding payloads in Base64 within JSON responses. The implant could also capture screenshots on both Windows and Linux systems, but execution was only triggered by an LLM‑generated command.
During the collection phase, the LLM automatically crafted SQL and LDAP queries tailored to the target. In one case the implant was placed on an educational organization’s SQL server and extracted database contents via PowerShell, first verifying the account’s privileges before issuing the query. File harvesting began with a recursive directory scan to locate relevant items. All observed campaigns ended after data collection, with no subsequent activity recorded. Attribution analysis focused on the Go‑compiler‑injected build metadata—hash, commit timestamp, and a vcs.modified=true flag—revealing two distinct groups of samples that share identical Windows and Linux build fingerprints within each group but differ in C2 infrastructure and CyberStrikeAI versions. Analysts noted Chinese‑language comments, the use of Chinese services, and C2 server restarts clustered around business hours in the UTC+8 zone, suggesting a Chinese‑speaking operator, though the publicly available nature of CyberStrikeAI and LLM‑generated command variability prevent a definitive link to a known threat group.
CyberStrikeAI illustrates how an LLM‑driven orchestrator has moved from a reconnaissance add‑on to a full‑stack control layer that runs after exploitation. The framework consists of a single server‑side process written in Go that invokes utilities through the Microsoft Command Prompt (MCP), maintains web‑shell connections, and hands tasks to the implant; the language model then parses the output and decides the next action. According to Kaspersky researchers, this design lets the AI “execute utilities via MCP, handle webshell connections, and assign tasks to the implant, while the model analyzes the results and decides what to do next.”
Although the AI component automates the workflow, the underlying techniques remain the same catalog of domain‑compromise methods: Kerberoasting, AS‑REP roasting, LSASS memory dumps, DCSync and Golden Ticket generation. The novelty lies in execution speed—individual phases such as foothold establishment, lateral movement and credential harvesting each took only a few hours, and the entire chain from initial agent deployment to the takeover of domain administrators was completed within three to four days. The same architecture can be re‑used to stitch together more elaborate chains, including DPAPI secret extraction, attacks on SCCM and Azure IMDS, meaning that as the models mature the gap between orchestration complexity and the sophistication of the techniques will shrink, shifting the operator’s role from task‑setting to model‑monitoring.
Kaspersky’s detection suite does not require brand‑new signatures for AI‑driven agents because the malicious activity is indistinguishable from that of a seasoned human operator. Classic correlation and behavioral rules are sufficient. For example, the creation of a remote scheduled task using schtasks.exe with the /s argument triggers the EDR rules create_task_on_remote_host_using_standard_tool, scheduled_task_creation_as_system_via_schtasks and scheduled_task_with_powershell_execution. LSASS dumping via the MiniDump function in comsvcs.dll is caught by dumping_memory_with_com_services_dll and suspicious_lsass_memory_access. Lateral movement that leverages WinRM‑based PowerShell execution is flagged by using_powershell_for_remote_execution_via_wmi and winrm_send_command.
Network‑level defenses also spot the campaign. Kaspersky Anti‑Targeted Attack (KATA) flags the back‑channel traffic between the implant and its C2 server—hosted on attacker‑controlled infrastructure rather than public AI services—with the alert Backdoor.CyberStrikeAI.HTTP.C&C. A Network Anomaly Detection rule named “Scanning domain records via LDAP queries” raises an NDR:NAD alert during the domain‑discovery phase. The Threat Intelligence Portal’s Research Graph visualizes the relationships between C2 addresses and malicious files, while the Threat Lookup service attributes newly observed binaries to the CyberStrikeAI framework based on code‑level fingerprints.
Kaspersky’s SIEM platform can flag every phase of a CyberStrikeAI intrusion, drawing on a repository of more than one‑hundred detection rules. The most salient signatures include R300_04, which alerts when a Windows shell is launched from the sqlservr.exe process, and R110_03, which catches PowerShell code that is downloaded and executed. Persistence mechanisms are covered by rules such as R099_04 for suspicious arguments passed to schtasks.exe, R300_03 for shells started by the scheduler, and the UNIX‑focused R099_06 and R405_02 that monitor anomalous cron jobs or bashrc edits. Reconnaissance activity is aggregated under R224_14, R224_09 and R224_04, while credential‑harvesting techniques are identified by R034_01 (multiple TGS requests for Kerberoasting), R452_18 (AS‑REP roasting), R230_02 (registry hive copies), R233_04 and R262 (LSASS memory dumps via comsvcs.dll). Post‑exploitation behavior is tracked with R073 (DC Sync), R450_41 (Golden Ticket), R100_03 (Mimikatz traces), and the WMIExec lateral‑movement signatures R460_08 and R460_09.
To activate these detections, the SIEM must ingest specific event streams: Windows security log 4688 and Linux auditd execve for process launches, PowerShell event 4104 for script execution, login events 4624, 4768 and 4769, object‑access events 4662, 4663 and 4656 (or auditd openat), and shared‑resource accesses logged under Windows 5145. The rule set resides in the KUMA Packages/SOC package under the Configuration discovery path.
The campaign leaves a rich set of indicators. File‑based hashes associated with the Windows beacon include D726A8B4886C636F76CA6D30EF6A6FF4 (c:\windows\temp\svchosts.exe) and 2770562d104391b92b42671c270079bb (c:\windows\temp\svcmon32.exe), while the Linux beacon is linked to hashes 09e1da2afa1216ecc55648ec8e122d2a and 805B9E4AE74C903787416800999B8418. Additional tool hashes point to a mimikatz binary (C:\Windows\Temp\wdiag2.exe, hash 29EFD64DD3C7FE1E2B022B7AD73A1BA5), RogueWinRM.exe (hash 74F57B3E897A4960DCDD5B7E8A54F9DF), and a reverse‑shell PowerShell script (c:\ProgramData\p1.ps1, hash 0BBD08AF95F877F1D568B03DE2EB76B4). Network IOCs comprise the IP 185.186.245.144 and domain fastcdn.bar for the Windows beacon, media.fastcdn.bar for the Linux beacon, and 104.234.26.163 for payload delivery and Linux beacon traffic. The threat actors behind the operation are credited as Kirill Antonov, Vladislav Vlasov and Dmitry Chizhmak, and the attacks are classified under cyber‑espionage, PowerShell abuse, machine‑learning‑enhanced TTPs, and AI‑driven LLM techniques. Further correlation of these indicators with internal logs is required to determine the full extent of compromised assets.
Why It Matters for Trust & Control Assurance — The episode highlights the need for explicit AI governance controls that ensure any use of LLMs—whether internal or external—meets auditable security standards.
Who Is Affected — Educational organizations, any enterprise running Windows/SQL Server environments, and vendors supplying LLM‑enabled tooling.
Recommended Actions
- Conduct an AI‑risk assessment to inventory LLM usage in security tooling.
- Map AI governance requirements to your existing control framework and collect evidence of policy enforcement.
- Deploy detection rules for the unique CyberStrikeAI indicators (self‑signed TLS cert, X‑Implant‑Token header, Go build metadata).
- Harden privileged accounts and limit SMB/WMI lateral‑movement pathways.
- Update incident‑response playbooks to include AI‑driven post‑exploitation scenarios.
Source: Kaspersky SecureList – CyberStrikeAI attacks
Technical Notes — The framework is written in Go, uses a self‑signed TLS certificate generated in‑memory, and communicates via HTTP/S, TCP, or WebSocket. Indicators include the X‑Implant‑Token header, base64‑encoded PowerShell commands, and scheduled‑task persistence named “SystemUpdate”.