Skip to content

Sigma detection stubs for SIEM export - #4

Merged
jacobyoby merged 1 commit into
mainfrom
cursor/sigma-detection-stubs-0739
Oct 28, 2026
Merged

jacobyoby merged 1 commit into
mainfrom
cursor/sigma-detection-stubs-0739

Conversation

@jacobyoby

Copy link
Copy Markdown
Owner

Summary

Track B follow-up to modernization: starter Sigma rules derived from indicators.csv for correlating Suricata EVE alerts on the eight compromised eMudhra/emSign G3 intermediates (Mozilla Bug 2083449).

Usage

emsign-g3 export-indicators --format sigma              # multi-doc YAML to stdout
emsign-g3 export-indicators --format sigma --output-dir rules/sigma/

Each rule matches tls.issuerdn (issuer CN) and/or alert.signature_id (Suricata sid from CSV). A generic backstop rule covers sid 92083409.

Notes

  • Rules are starters — field names vary by SIEM; tune before production alerting.
  • Runtime remains stdlib-only (no PyYAML).

Verification

  • pytest — 14 passed (3 new sigma tests)
  • ruff check src tests
Open in Web Open in Cursor 

- Generate one Sigma YAML per compromised intermediate plus generic backstop
- CLI: --format sigma and --output-dir; keep --ndjson as shorthand
- Tests and README SIEM section

Co-authored-by: Jacobrakai <jacobyoby@users.noreply.github.com>
@jacobyoby
jacobyoby merged commit 36f28c1 into main Oct 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants