Skip to content

Detection Rules

YARA and Sigma detection rules extracted from intelligence reports, linked to the entities they document.

GET/rules/:entityType/:entityId
Returns detection rules associated with a given entity — extracted from the reports that document it.
ParameterTypeDescription
entityTypestringEntity type (e.g. actor / cluster / tool)
entityIdstringEntity UUID

No authentication required. Returns an array of rule objects:

FieldTypeDescription
iduuidUnique identifier
typestringRule format: yara or sigma
namestringRule name (from the YARA rule block name or Sigma title: field)
contentstringFull rule text
source_report_iduuidUUID of the report the rule was extracted from
report_titlestringTitle of the source report
created_atstringISO 8601 timestamp

Rules are extracted from ingested reports automatically using regex detection — no LLM call is involved. A rule is linked to every entity documented in the report it was found in.

Babel is free for individual researchers, defenders, and analysts.