With Power comes Responsibility: Attack Synthesis for Industrial Control Systems using Large Language Models
Large Language Models (LLM) such as ChatGPT, Meta AI, and Google Gemini have become highly accessible and ubiquitous across a wide range of applications, including speech synthesis, code generation, and media content creation. Recent research indicates that an alternative motivation for such tools is to rapidly develop malware to conduct cyber attacks. In this paper, we investigate how generative LLM tools can be used to synthesise cyber-attacks targeting Industrial Control Systems (ICS). We introduce a methodology that uses LLMs to generate attack techniques based on the MITRE attack framework to target a variety of Programmable Logic Controllers (PLC) models from by different industrial vendors. We investigate the capability of five leading off-the-shelf LLMs by providing different levels of attacker context to enhance the generation. Through a comprehensive evaluation of the generated code and the resulting LLM outputs, we demonstrate that current general-purpose LLMs are capable of identifying the necessary steps required to synthesise attacks that can manipulate the operations of real PLCs. We highlight that the success of LLM-generated PLC cyberattacks depends on the level of target context initially provided, emphasising the importance of mitigating early-stage reconnaissance attacks in OT environments.
Authors
- Andrei Stoica (ORCID: https://orcid.org/0009-0000-9624-1471)
- Awais Shah (ORCID: https://orcid.org/0000-0002-1656-739X)
- Marco Cook (ORCID: https://orcid.org/0000-0002-5232-2381)
- Dimitrios Pezaros (ORCID: https://orcid.org/0000-0003-0939-378X)
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- ACM Transactions on Privacy and Security
- Published
- 2026-05-12
- DOI
- https://doi.org/10.1145/3815116
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00