Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
FBI and CrowdStrike Disrupt Sality Botnet
September 2, 2026
Cleo Harmony Flaw Lets Remote Attackers Escalate Privileges via JWT Refresh Token
September 2, 2026
BREEZE COMET Hackers Use AI Malware to Target Brazil Banks
September 2, 2026
Home/CyberSecurity News/Claude AI Creates Pre-Auth RCE Exploit for WAGO PLCs
CyberSecurity News

Claude AI Creates Pre-Auth RCE Exploit for WAGO PLCs

Key Takeaways AI successfully assisted in porting a pre-authentication Remote Code Execution (RCE) exploit for WAGO PLCs. The exploit targeted CVE-2021-31886, a buffer overflow in the Nucleus FTP...

Sarah simpson
Sarah simpson
September 2, 2026 4 Min Read
2 0

Key Takeaways

  • AI successfully assisted in porting a pre-authentication Remote Code Execution (RCE) exploit for WAGO PLCs.
  • The exploit targeted CVE-2021-31886, a buffer overflow in the Nucleus FTP server, allowing arbitrary ARM shellcode execution.
  • While successful, the process required significant human intervention, substantial API costs, and ultimately rendered the test device inoperable.
  • The findings underscore AI’s potential in OT exploitation but highlight the continued necessity of human expertise and the inherent risks of AI-driven testing on cyber-physical systems.

Cybersecurity researchers leveraged Anthropic’s Claude AI to port a pre-authentication remote code execution (RCE) exploit to a WAGO programmable logic controller (PLC). This experiment demonstrates the evolving role of artificial intelligence in facilitating low-level operational technology (OT) exploitation, even on embedded systems.

Table Of Content

  • Key Takeaways
  • Targeting a Known Vulnerability
  • AI’s Role in Adaptation
  • Overcoming Exploitation Challenges
  • Risks and Implications
  • What You Should Do

The successful proof-of-concept allowed for arbitrary ARM shellcode execution on a WAGO 750-831 PLC without requiring valid authentication credentials. However, the endeavor was far from fully autonomous, demanding extensive human oversight, incurring significant API usage costs, and ultimately resulting in the permanent malfunction of the test device.

Targeting a Known Vulnerability

The exploit specifically targeted CVE-2021-31886, a buffer overflow vulnerability residing within the Nucleus FTP server, a component found in numerous embedded products. This flaw stems from the FTP service’s failure to adequately validate the length of a username supplied via the USER command.

By crafting an excessively long username, an attacker can overwrite memory regions and redirect program execution. The Forescout researchers focused their efforts on a WAGO 750-831 PLC running firmware version V01.04.16. A working exploit for the related WAGO 750-852 model already existed, providing a foundation for the new target.

AI’s Role in Adaptation

Claude AI was instrumental in identifying the target-specific memory addresses, function offsets, callback locations, and regions suitable for shellcode storage on the new device. Unlike typical web or application exploitation scenarios, this PLC test involved a closed-source embedded system, precluding access to a debugger, which significantly complicated the reverse engineering process.

Claude Code utilized a suite of tools, including firmware analysis utilities, Ghidra, generated Python scripts, and network testing tools, to inspect the firmware and interact with the live controller. Nevertheless, the AI initially veered down incorrect code paths, produced invalid exploit attempts, and necessitated researchers to provide detailed disassembly information and actively guide the analysis.

Overcoming Exploitation Challenges

The first tangible outcome was a system crash, confirming the buffer overflow could be triggered. Achieving reliable RCE, however, presented a more formidable challenge. Forescout researchers found that the normal FTP command processing routine cleared the attacker-controlled buffer after the USER command was handled, preventing the injected ARM shellcode from persisting long enough to execute.

Claude identified a method to preserve the payload by altering the FTP command sequence. Instead of the standard USER followed by QUIT, the successful approach involved a USER followed by a CWD sequence, crucially omitting the CRLF command terminator. This deviation prevented the normal completion path from clearing the memory buffer.

Once the buffer preservation issue was resolved, Claude rapidly generated functional payloads. One such payload caused the PLC to transmit ICMP echo requests to an attacker-controlled system, while another sent a UDP packet containing the text “PWNED.” The exploit required network access to FTP port 21 but bypassed authentication requirements because the vulnerable USER command is processed prior to login.

The final stage of RCE development incurred an API usage cost of $535.74 and spanned 8 hours and 32 minutes across multiple research sessions. A significant portion of this effort involved reverse-engineering the FTP processing chain to understand why the shellcode was being overwritten.

Risks and Implications

Researchers subsequently attempted to evolve the proof-of-concept into a command-and-control implant. During memory probing and payload testing, an AI-generated payload inadvertently wrote to flash-mapped memory, rendering the PLC permanently inoperable.

This incident vividly illustrates the inherent safety risks associated with autonomous or semi-autonomous testing against critical cyber-physical devices. The findings confirm that AI can indeed assist in adapting embedded exploits across similar OT targets, though specialized human expertise remains indispensable for navigating the complexities and mitigating potential damage.

What You Should Do

  • Restrict Network Exposure: Limit unnecessary exposure of FTP and remote management interfaces on PLCs and other OT devices to the internet and internal networks.
  • Implement Network Segmentation: Isolate OT networks from IT networks to contain potential breaches and prevent lateral movement.
  • Monitor for Anomalous Behavior: Actively monitor PLCs for unexpected crashes, unusual outbound network traffic (e.g., ICMP echo requests to external IPs), and any deviations from baseline operations.
  • Patch and Update Firmware: Ensure all OT devices, especially those with embedded FTP servers, are running the latest firmware versions to address known vulnerabilities like CVE-2021-31886.
  • Assess “Difficult” OT Flaws: Re-evaluate the potential impact of seemingly difficult-to-exploit OT vulnerabilities, as AI tools can significantly reduce the effort required for exploit development, increasing their practical threat level.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackCVEExploit

Share Article

Sarah simpson

Sarah simpson

Sarah is a cybersecurity journalist specializing in threat intelligence and malware analysis. With over 8 years of experience covering APT groups, zero-day exploits, and advanced persistent threats, Sarah brings deep technical expertise to breaking cybersecurity news. Previously, she worked as a security researcher at leading threat intelligence firms, where she analyzed malware samples and tracked cybercriminal operations. Sarah holds a Master's degree in Computer Science with a focus on cybersecurity and is a regular contributor to major security conferences.

Previous Post

Palo Alto Networks Acquires Console for AI-Driven Autonomous Security Operations

Next Post

BREEZE COMET Hackers Use AI Malware to Target Brazil Banks

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
FreeRDP Patches 22 Vulnerabilities, Including Critical RCE Flaws
September 2, 2026
Critical LiteLLM Admin API Flaw Lets Attackers Steal Secrets, Target AI Gateway Servers
September 2, 2026
Fox-Linked Hackers Disable Microsoft Defender With Fake Software
September 2, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
David kimber
David kimber
Jennifer sherman
Jennifer sherman
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us