KnowML: Improving Generalization of ML-NIDS with Attack Knowledge Graphs
Xin Fan Guo, Albert Merono Penuela, Sergio Maffeis, Fabio Pierazzi

TL;DR
KnowML enhances ML-based Network Intrusion Detection Systems by integrating attack knowledge graphs derived from large language models, significantly improving detection accuracy across diverse attack variants.
Contribution
The paper introduces KnowML, a novel framework that incorporates attack knowledge graphs into ML-NIDS, enabling better generalization and detection of diverse attack variants.
Findings
Baseline ML-NIDS fail to detect some attack variants (F1=0%).
KnowML achieves up to 99% F1 score on attack variants.
False positive rate remains below 0.1% with KnowML.
Abstract
Despite extensive research on Machine Learning-based Network Intrusion Detection Systems (ML-NIDS), their capability to detect diverse attack variants remains uncertain. Prior studies have largely relied on homogeneous datasets, which artificially inflate performance scores and offer a false sense of security. Designing systems that can effectively detect a wide range of attack variants remains a significant challenge. The progress of ML-NIDS continues to depend heavily on human expertise, which can embed subjective judgments of system designers into the model, potentially hindering its ability to generalize across diverse attack types. To address this gap, we propose KnowML, a framework for knowledge-guided machine learning that integrates attack knowledge into ML-NIDS. KnowML systematically explores the threat landscape by leveraging Large Language Models (LLMs) to perform automated…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Advanced Graph Neural Networks · Data Quality and Management
