Search arXiv⌕ Search

arXiv subjects

Xin Fan Guo

Publications and source records attributed to Xin Fan Guo.

3 recordsLinked to original sources

QuickSign: Translating Network Intrusion Detection Models into Signature Rules

Neural Networks (NNs) are state-of-the-art in Network Intrusion Detection Systems (NIDSs). However, their deployment is complex. Their output is a classification decision, which is ill-suited for being consumed by human analysts, who understand and trust better signature rules. In this work, we address this limitation and operationalize NNs for network intrusion detection. To this end, we propose QuickSign, a foundational framework that translates the output of NN-based detectors into rules that can be integrated in signature-based NIDSs. At a high-level, QuickSign takes a teacher NN trained to detect network attacks as input, and yields another NN that, after processing a given packet-capture trace, produces rules that match the (opaque) decisions of the teacher NN. In addition, the rules produced by QuickSign are, by design, expressed in a format that security operators are accustomed to, and hence intrinsically facilitate triaging. We empirically demonstrate the effectiveness of QuickSign by using four established NN-based detectors and evaluated all on attacks from four well-known benchmark datasets. We demonstrate that QuickSign produces signature rules that approximate, and at times improve, the performance of the NN models. Put simply, QuickSign provides the foundation to make research on NN-driven NIDS practical.

cs.CR↗

APEX: Active Protection at Execution Boundaries for LLM Agents

Indirect prompt injection (IPI) hides adversarial instructions in content that large language model (LLM) agents read at runtime. As agents compose heterogeneous capability units, including Tools, MCP servers, and Skills, the carriers of injection multiply, and defenses built to recognize attack patterns fall behind them. We instead shift defense from covering attack patterns to one stable point: whatever the carrier and however the injection propagates, harm materializes only at the \emph{execution boundary}, where the agent turns internal state into an external action or released output. Safety there turns on two conditions, both settled by the trusted task rather than by the run: whether the proposed effect is authorized, and whether the runtime information reaching it is endorsed by that task. We present APEX, an active defense that enforces both at this boundary from a single authorization contract compiled before untrusted execution: \emph{evidence-gated prevention} admits an effect only when the contract justifies it, while \emph{deception-based exposure} makes unendorsed use reveal itself before the effect commits. Protection therefore follows from what the task permits rather than from how an attack is built, and applies uniformly across capability units without attack-specific policies or taint tracking. Against 13 baselines, APEX attains 0\% attack success on five of six benchmarks and 0.56\% on the sixth, holds 0\% under adaptive attacks on all three capability-unit types, and remains effective across defender backbones. Code is available at https://github.com/ZhengXR930/APEX_official/tree/official.

cs.CR↗

KnowML: Improving Generalization of ML-NIDS with Attack Knowledge Graphs

Anomaly-based ML-NIDS (A-NIDS) model normal network behavior from benign data and classify deviations from this baseline as anomalies, theoretically enabling the detection of evolving attack variants without labeled attack data. The ability of A-NIDS to generalize critically depends on the quality of the feature space representing network behavior. However, the requirement for feature spaces that encode attack-relevant semantics has received little attention and remains poorly understood. As a consequence, these systems still struggle to meet practical operational constraints (low false positive rates without compromising detection performance and generalization to attack variants). We identify two limitations in the current feature spaces. First, Out-of-Dimension Blindness, where features do not capture essential attack mechanism properties. Second, Attack Strategy Aggregation Failure, where features cannot encode composite attack behaviors. Moreover, we demonstrate that two SotA data-driven generalization frameworks (based on incremental and contrastive learning) cannot compensate for these feature-level shortcomings. To bridge this gap, we present KnowML, a framework that encodes attack domain knowledge directly into the feature space. For each attack family, our method employs LLMs to construct a corresponding Knowledge Graph (KG) from attack implementations. Symbolic reasoning is then applied over the KG to enumerate potential attack strategies and their compositions. The resulting Knowledge-Augmented Feature Space enables effective generalization even when trained exclusively on benign traffic, a capability beyond current approaches. Systematic empirical evaluations show that KnowML achieves up to 99% detection rates while maintaining false positive rates at or below 0.0137%, substantially outperforming contemporary feature-based baselines across diverse attack variants.

cs.CR↗