Artificial intelligence is now capable of porting exploits between different industrial devices – and it does so alarmingly fast. Researchers from Forescout Vedere Labs used the Claude language model to port a pre-auth RCE vulnerability between two WAGO PLC controllers. What does this experiment tell us about the future of OT system security, and is the industry ready for the automation of threats?
For a long time, there has been a debate about whether large language models (LLMs) could go beyond simple code writing and be used for the automatic porting of exploits between different industrial devices. Researchers from Forescout Vedere Labs decided to put this to the test. They conducted an experiment demonstrating how artificial intelligence can facilitate attacks on industrial control systems (ICS/OT).
The experiment utilized WAGO programmable logic controllers (PLCs), which are widely used in building automation, energy, and industry. Using the Claude model, the researchers managed to port an exploit leveraging a pre-authentication remote code execution (pre-auth RCE) vulnerability from one PLC model to another. This is one of the first well-documented cases of using an LLM to adapt attack code in the OT world. It is a clear signal that the barrier to entry for attackers is dropping drastically.
How was the exploit porting process conducted with AI?
The Forescout team described the key stages of their experiment, which demonstrate the role of artificial intelligence in the entire process:
- Source vulnerability analysis: The researchers started with a known pre-auth RCE vulnerability in one of the WAGO controllers (often analyzed in ICS security tests). This vulnerability allowed for taking control of the device without providing any login credentials.
- Code adaptation by the Claude model: The language model was used to translate and adapt the exploit for a different PLC model. The AI's task was to analyze differences in protocols and architecture and generate a functional equivalent of the code for the new target.
- Tests on the target device: The exploit prepared by the AI was executed on the second controller. Tests confirmed that the attack was successful, despite differences in the firmware of both devices.
Even if this process required some human oversight, the use of generative intelligence drastically reduced the time required to modify the code. This is of immense importance for older, less frequently updated industrial systems that often operate for years without proper security patches.
Which WAGO PLC models were tested?
The experiment focused on popular devices from the WAGO 750 family, which are valued in the industry for their versatility and support for multiple communication standards:
- Source device: An older model from the WAGO 750 series (e.g., the popular 750-881), on which the vulnerability was originally identified.
- Target device: A different variant from the same family (e.g., WAGO 750-882), differing in architecture or firmware version.
Most devices of this type communicate using the Modbus TCP protocol. This is a common standard, but one designed decades ago without built-in security mechanisms, which makes it susceptible to manipulation.
What vulnerabilities were exploited?
Although the detailed code has not been released for security reasons, the mechanism of action is based on known weaknesses in industrial systems:
- Lack of authentication (Pre-auth RCE): The ability to execute code without logging in is the most dangerous type of vulnerability. It allows for taking control of a technological process without leaving obvious traces in system logs.
- Weaknesses in Modbus TCP protocol handling: The exploit likely leveraged errors in how the controller processes incoming data packets (e.g., lack of proper parameter validation).
- Open network access: In many real-world deployments, these controllers are directly visible on internal networks, and sometimes even on the internet, which facilitates the execution of an attack.
The role of the Claude model was not limited to simple translation of code from one language to another. AI helped analyze the logic of the protocol's operation and find a way to bypass differences in implementation between the devices.
Industry reaction and challenges related to updates
Implementing patches in the world of industrial automation looks completely different than in classic IT. Manufacturers like WAGO regularly publish security advisories, but the process of updating firmware in an operating factory or power plant can be complicated and carries the risk of downtime.
Industrial cybersecurity experts primarily recommend compensatory measures:
- Strict network segmentation: Isolating the control network (OT) from the corporate network (IT) and the internet.
- Network traffic monitoring: Detecting unusual Modbus TCP commands or attempts to scan devices.
- Principle of least privilege: Blocking traffic on industrial firewalls to the absolute minimum necessary for the process to function.
Similar vulnerabilities have been found in recent years at many leading automation manufacturers. The novelty, however, is the fact that artificial intelligence is starting to realistically shorten the time needed to create functional cyber weapons.
What does this mean for the security of industrial systems?
The Forescout experiment is a turning point. It shows that the expert knowledge needed to modify exploits is no longer a bottleneck for attackers. The main consequences are:
- Faster attack adaptation: AI tools can help adapt a single exploit to dozens of different device versions in a matter of hours.
- Threat to legacy systems: Devices that are no longer supported by manufacturers may become easier targets because AI facilitates the analysis of their outdated software.
- Democratization of cyberattacks: Less experienced attackers can use language models to automate difficult programming tasks.
On the other hand, these same technologies can help defenders. Language models are already being used for context engineering, automatic code auditing, or faster generation of detection rules. It is an arms race where the speed of adaptation becomes crucial.
Most industrial systems in the world rely on protocols designed without cybersecurity in mind. In the OT world, the "if it works, don't touch it" approach still dominates, which hinders rapid responses to new, automated threats.
What's next?
Studies like the one conducted by Forescout Vedere Labs rarely end with the immediate release of ready-to-use attack tools. They serve more as a warning for system designers and network administrators.
For companies managing critical infrastructure and production, there is a clear conclusion: the response time to vulnerabilities must be shortened. Traditional protection methods, based on the assumption that OT systems are too specific and complex to be easily attacked, are becoming a thing of the past.
Until now, industrial systems were relatively secure because attackers had to manually adapt exploits to specific devices. When this barrier disappears due to automation, the key becomes how quickly we can detect anomalies and respond to threats.
Summary: key takeaways
- Artificial intelligence automates the exploit creation process. Models like Claude can effectively port security vulnerabilities between different industrial devices, which drastically reduces the time required to prepare an attack.
- Traditional security based on system uniqueness is failing. Attackers no longer have to spend weeks analyzing specific firmware – AI can do it for them.
- Network segmentation and monitoring are an absolute necessity. In the face of faster threat emergence, the key to defense is immediate detection of suspicious traffic in OT networks.
- AI is a double-edged sword. The same technologies that facilitate attacks can help security teams patch holes and analyze threats faster.
Comments