RuleAutoPilot generates higher-quality Suricata rules from malware traffic
The authors assert their agentic framework improves rule detection F1 to 0.539 on 1,296 PCAPs
Security & privacy arXiv 14 Sep 2026 Method Prototype evidence
Published as “RuleAutoPilot: Synthesizing Deployable Suricata Rules from Network Traffic”
Why it matters
Organizations can self-host a low-cost, privacy-preserving system that automatically produces deployable IDS signatures from new malware captures.
Summary
RULEAUTOPILOT’s task-specific scaffold lets an open-weight LLM generate deployable Suricata rules with near-frontier quality (0.656 F1) while using 40× fewer tokens than a comparable closed model. The system filters benign traffic, synthesizes candidate rules, and then verifies and repairs them, raising overall rule F1 from 0.443 to 0.539. It works directly on raw malware PCAPs without any threat-intelligence input, but precision drops on fully encrypted captures.
What they found 2
- Verification and repair raise rule quality from 0.443 to 0.539 F1.
“execution-grounded verification raises rule quality (F1) from 0.443 to 0.539.”
- With the same backbone, RULEAUTOPILOT outperforms Claude Code while using far fewer tokens.
“RULEAUTOPILOT surpasses Claude Code outright, 0.656 F1 against 0.623, at 40× fewer tokens.”
Caveats 4
- When traffic is encrypted, FAS-F1 drops to 0.355 and precision degrades faster than recall.
- Overall F1 remains modest (0.539) despite the improvements, indicating room for better detection.
- As encryption increases, FAS-F1 drops from 0.614 on cleartext to 0.355 on encrypted, and precision drops faster than recall.
- One natural extension is integrating live threat intelligence to cover the one class of rule our pipeline cannot write on its own: indicators with no interpretable pattern in the traffic itself, such as a JA3, JA3S, or JA4 TLS fingerprint.
What’s new here 4
- Generates Suricata rules directly from raw network traffic without requiring CTI or analyst-labeled flows.
- Introduces a protocol-aware benign traffic fingerprinting stage that removes background flows before LLM processing.
- Implements a verification-first loop (syntax check, malware replay, benign replay) with automated repair to ensure deployable rules.
- Achieves frontier-model quality using an open-source LLM at a fraction of the token cost.