Blue team · automation

Consume the packs

Packs are public (TLP:CLEAR), with no account or key. An index, one manifest per version and the sha256 of each file are enough to keep XSIAM, XDR, XSOAR, Agentix or another SIEM in sync.

Experimental rules, provided without warranty: every file says so, and every JSON carries "status": "experimental" and a disclaimer field. Import them disabled, test, then enable. DRL 1.1 license: free use, including commercial, as long as the attribution to Threat Brief is kept, also in converted rules.

Addresses

AddressContent
/detections/packs/index.jsonall published packs: domain, version, rule count, formats, manifest address and sha256
/detections/packs/feed.atomone entry per new pack version
/detections/packs/<slug>/latest/pack.jsonmanifest of the current version: files and hashes, rules (stable id, ATT&CK, required data, source), history
/detections/packs/<slug>/<version>/…same content, frozen: use it in production
…/xsiam.json · bioc.jsonXSIAM correlation rules (import) · Cortex XDR/XSIAM BIOCs (API), disabled
…/xql.txt · sigma.yml · yara.yarrules by format, warning and license as a comment on each rule
…/rules.zipone file per rule, README and license

Sync

  1. Read index.json, sending back the ETag you received (If-None-Match): a 304 means nothing changed.
  2. For each pack you follow, compare version or manifest_sha256 with what is installed.
  3. Download the frozen manifest, then the files you need, and check their sha256.
  4. Update rules by their id (stable across versions) instead of creating new ones.
curl -s https://tlpclear.fr/detections/packs/index.json
curl -s https://tlpclear.fr/detections/packs/artex/1.1.1/pack.json
curl -sO https://tlpclear.fr/detections/packs/artex/1.1.1/xsiam.json
sha256sum xsiam.json   # compare with files[].sha256 in the manifest

Cortex XSIAM

xsiam.json: correlation rules to import, disabled, scheduled every 10 minutes. bioc.json: BIOCs to push through the API with push_bioc.py.

Cortex XDR

bioc.json through the API, with the same script. The queries in xql.txt are for hunting in XQL.

Cortex XSOAR and Agentix

A scheduled playbook reads the index with the generic HTTP integration, compares versions, downloads and checks the files, then pushes the BIOCs or opens a review task. A dedicated integration is planned.

Other SIEMs

sigma.yml converts with sigma-cli (pySigma) to Splunk, Elastic, Sentinel and others. yara.yar for file scanners.

Limit: about 10 requests per second per IP address. Please send a User-Agent that identifies your tool.