Beyond the Syntax: Do Security Experts Trust LLMs for NIDS Rule Engineering?. Di Filippo, L., Bardhi, E., Agiollo, A., Palma, A., Bonomi, S., & Kuipers, F. In Proceedings of the 19th ACM Workshop on Artificial Intelligence and Security, of AISec '26, pages 293–304, New York, NY, USA, November, 2026. Association for Computing Machinery.
Beyond the Syntax: Do Security Experts Trust LLMs for NIDS Rule Engineering? [link]Paper  doi  abstract   bibtex   
As network threats evolve, manual Network Intrusion Detection Systems (NIDS) rule engineering has become a critical operational bottleneck. While Large Language Models (LLMs) show promise for automating this process, their ability to produce production-ready rules remains unvalidated. This paper presents a human-centered investigation into LLM-based NIDS rule engineering, formalizing a context-aware generation framework and evaluating it through an exploratory user study with 10 domain experts. Our evaluation reveals a syntax-semantics paradox: although LLMs generate syntactically correct rules, experts find them only partially practically useful due to low specificity and logic hallucinations in 12% of cases. While the system received a favorable SUS score of 67, practitioners remain skeptical of its autonomous capabilities, viewing LLMs as support tools for drafting and verification rather than independent generators. Finally, our statistical analysis indicates that while large-scale models (≥ 70B) consistently produce syntactically valid rules, small models (≤ 4B) are largely ineffective for IDS rule generation.
@inproceedings{di_filippo_beyond_2026,
	address = {New York, NY, USA},
	series = {{AISec} '26},
	title = {Beyond the {Syntax}: {Do} {Security} {Experts} {Trust} {LLMs} for {NIDS} {Rule} {Engineering}?},
	isbn = {979-8-4007-3031-3},
	shorttitle = {Beyond the {Syntax}},
	url = {https://dl.acm.org/doi/10.1145/3847352.3848108},
	doi = {10.1145/3847352.3848108},
	abstract = {As network threats evolve, manual Network Intrusion Detection Systems (NIDS) rule engineering has become a critical operational bottleneck. While Large Language Models (LLMs) show promise for automating this process, their ability to produce production-ready rules remains unvalidated. This paper presents a human-centered investigation into LLM-based NIDS rule engineering, formalizing a context-aware generation framework and evaluating it through an exploratory user study with 10 domain experts. Our evaluation reveals a syntax-semantics paradox: although LLMs generate syntactically correct rules, experts find them only partially practically useful due to low specificity and logic hallucinations in 12\% of cases. While the system received a favorable SUS score of 67, practitioners remain skeptical of its autonomous capabilities, viewing LLMs as support tools for drafting and verification rather than independent generators. Finally, our statistical analysis indicates that while large-scale models (≥ 70B) consistently produce syntactically valid rules, small models (≤ 4B) are largely ineffective for IDS rule generation.},
	urldate = {2026-11-16},
	booktitle = {Proceedings of the 19th {ACM} {Workshop} on {Artificial} {Intelligence} and {Security}},
	publisher = {Association for Computing Machinery},
	author = {Di Filippo, Lorenzo and Bardhi, Enkeleda and Agiollo, Andrea and Palma, Alessandro and Bonomi, Silvia and Kuipers, Fernando},
	month = nov,
	year = {2026},
	keywords = {LLMs, Network Intrusion Detection Systems, Rule Generation, User study},
	pages = {293--304},
}

Downloads: 0