Skip to content

DET-006: Portable Detection Rule Formats

This Reference preserves the recorded requirement contract. The front matter states its lifecycle status; this editorial notice does not change that status. An ACTIVE contract is not a historical implementation or qualification result. The statement, rationale, identifiers, and traceability below keep their recorded meaning. The original file is available at source revision 6d35d245f11a.

Statement

Detection rules shall be expressible in portable, vendor-neutral formats (at minimum Sigma for log-based detections, YARA for file/memory indicators, and Snort/Suricata-compatible format for network signatures), enabling rule sharing and cross-platform use.

Rationale

Platform-specific Wazuh XML rules are not portable. Sigma's 3,000+ community rules, YARA's standard for malware detection, and Snort-compatible rules are industry standards that enable interoperability.

Traceability

  • IMPLEMENTS → ADR docs/adrs/adr-022-misp-driven-suricata-rules.md (ADR-022: MISP-driven Suricata rules)
  • IMPLEMENTS → CODE_FILE src/aptl/services/misp_suricata_sync/translator.py (Snort/Suricata-compatible portable rule generator)
  • TESTS → TEST tests/test_misp_suricata_sync.py (Translator tests (per-IOC type rule shape, ADR-019 alert-only invariant))
  • IMPLEMENTS → GITHUB_ISSUE 250 (Issue #250: MISP-to-Suricata IOC sync)