Synthesizing Inline Security Monitors for ICS Using Generative AI and FormalBench

Industrial Control Systems (ICS) increasingly face cybersecurity threats due to their distributed architecture and critical role in infrastructure operations. We adopt inline security monitoring as a practical run-time verification strategy to address these risks. However, authoring formal specifications remains time-consuming and error-prone, requiring deep domain expertise. In this paper, we explore how large language models (LLMs) can support the synthesis of inline security monitors by generating Java Modeling Language (JML) specifications for distributed ICS applications. We use a water distribution system (WDS) as our testbed and FormalBench to generate prompts to guide the GPT-4o model in producing JML annotations. We then evaluate these outputs using the FormalBench framework. Our findings show that LLMs capture key security properties and generate context-aware assertions with minimal intervention, taking a first step toward automating the specification process and enhancing the security and resilience of distributed ICS environments.

Authors

Institutions

Publication Details

Published
2025-10-14
DOI
https://doi.org/10.1109/iecon58223.2025.11221437
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Synthesizing Inline Security Monitors for ICS Using Generative AI and FormalBench

Muhammad Taimoor Khan, Dimitrios Serpanos, George E. Raptis, Christos Koulamas
Security and Verification in Computing
article

Synthesizing Inline Security Monitors for ICS Using Generative AI and FormalBench

Muhammad Taimoor Khan, Dimitrios Serpanos, George E. Raptis, Christos Koulamas
article en

Abstract

Industrial Control Systems (ICS) increasingly face cybersecurity threats due to their distributed architecture and critical role in infrastructure operations. We adopt inline security monitoring as a practical run-time verification strategy to address these risks. However, authoring formal specifications remains time-consuming and error-prone, requiring deep domain expertise. In this paper, we explore how large language models (LLMs) can support the synthesis of inline security monitors by generating Java Modeling Language (JML) specifications for distributed ICS applications. We use a water distribution system (WDS) as our testbed and FormalBench to generate prompts to guide the GPT-4o model in producing JML annotations. We then evaluate these outputs using the FormalBench framework. Our findings show that LLMs capture key security properties and generate context-aware assertions with minimal intervention, taking a first step toward automating the specification process and enhancing the security and resilience of distributed ICS environments.

Computer Technology Institute and Press “DIOPHANTUS” (GR), Industrial Systems Institute (GR), University of Greenwich (GB)
Openalex Percentile: Top 83%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Synthesizing Inline Security Monitors for ICS Using Generative AI and FormalBench — Muhammad Taimoor Khan, Dimitrios Serpanos, et al. · (2025) | TGRS Research Map | TGRS