• HomeTutior
  • AEGISPlatform
  • How it worksPlatform
  • DeploymentPlatform
  • CollectionPlatform
  • DetectionPlatform
  • AI analystPlatform
  • Triage and incidentsPlatform
  • Case managementPlatform
  • ResponsePlatform
  • Threat intelligencePlatform
  • ReportingPlatform
  • Audit recordPlatform
  • Access controlPlatform
  • Data handlingPlatform
  • How it is builtPlatform
  • The consolePlatform
  • Product tourPlatform
  • IntegrationsPlatform
  • SecurityPlatform
  • Too many alertsSolutions
  • Too few analystsSolutions
  • Data that must staySolutions
  • Evidence for an auditSolutions
  • RansomwareSolutions
  • Account takeoverSolutions
  • TelecomSolutions
  • BankingSolutions
  • GovernmentSolutions
  • TestingServices
  • OperationsServices
  • CompareResources
  • Against a traditional SIEMResources
  • Against a cloud SOC platformResources
  • Against separate toolsResources
  • Why self-hostedResources
  • Moving from a SIEMResources
  • ExplainersResources
  • What a SIEM isResources
  • SIEM, SOAR and XDRResources
  • What OCSF isResources
  • What Sigma rules areResources
  • ATT&CK, explainedResources
  • What self-hosted meansResources
  • A buyer's checklistResources
  • CompanyCompany
  • ContactCompany
Menu

Explainers / What Sigma rules are

Sigma rules, and how AEGIS runs them

AEGIS runs Sigma rules natively: the file you add is the rule that runs. Sigma is an open format, so your detections move when you change tools.

What Sigma is for

Most security platforms have their own query language. A detection written in one usually cannot be run on another as it stands, so the same idea gets rewritten for each product.

A Sigma rule is a short text file, in YAML, that says what to look for in a log: which kind of log, which fields, which values. It says nothing about how any product searches.

Because the format is open, rules can be published. The Sigma community maintains a large public rule set.

What a rule contains

A title, an identifier and an author

Enough to cite the rule, track its versions and credit the person who wrote it. A rule can also link to the research behind it.

A log source

The kind of log the rule applies to, such as process creation on a named operating system or the sign-in log of a named service.

A detection

One or more named selections of fields and values, with modifiers such as contains or ends with, and a condition that combines the selections.

A level and a status

How serious a match is, from informational to critical, and how mature the rule is, from experimental to stable.

Known false positives

The author's note on ordinary activity that can trigger the rule.

Tags

Labels that tie the rule to a wider vocabulary, usually the ATT&CK tactic and technique it relates to.

From a text file to an alert

Choose

A rule comes from a public set or you write your own. Either way it is a file you can read, review and keep under version control.

Map

The rule names fields and your platform stores fields. A mapping joins the two, and a rule whose fields are not mapped cannot match.

Run

The platform converts the rule into its own query language, or its engine reads the Sigma file directly.

Test

The rule runs against a record that should match and one that should not, then against your own history, before it may alert anyone.

Tune

Exceptions are added for the ordinary activity it catches in your environment, with the reason written down.

Why the format matters when you change tools

Each rule that has been tuned records a decision about your environment: what counts as normal here, and what does not.

In a proprietary language that work stays with the product. In Sigma the rule file moves. What has to be redone is the field mapping and the testing, which are smaller jobs than rewriting every rule.

Two ways a platform uses Sigma

QuestionConvertedRun directly
What runsA query in the platform's own language, generated from the ruleThe Sigma rule itself, read by the detection engine
What you keepThe Sigma file and the generated queryThe Sigma file
When a rule changesConvert again and redeploy the queryReplace the file
Where a mismatch hidesIn the conversion, where an unsupported feature may be droppedIn the engine, which must support the features the rule uses

How AEGIS runs Sigma

AEGIS has a native Sigma runtime. A rule added to its Sigma rules folder runs directly. The runtime supports modifiers and Sigma v2 correlations, and rule files reload every 10 seconds.

The pack shipped with AEGIS 0.3.4 holds 1,521 rules, most converted from the public SigmaHQ set and the rest written for AEGIS. Of these, 132 are in production and can alert. Most converted rules run in test, where a rule records what it would have raised and alerts no one, until it is reviewed and promoted.

A converted rule is promoted with evidence: a SigmaHQ status of stable at high or critical level, a labelled replay case it fires on, or tests of its own. Every production rule is tested against a record that must alert and one that must not.

Common questions

Who moves a rule into production?

The platform role. A rule has a lifecycle state (development, test, production or retired), and every move is audited.

How do we quieten a rule without rewriting it?

With a tenant exception: a rule or tag, field conditions, a reason, an owner and an expiry of at most 90 days. Matches an exception hides are still counted. A rule can also be enabled, disabled or re-ranked for one tenant.

Who notices that a rule has become noisy?

A detection-engineering job runs every 30 minutes and proposes lowering or disabling noisy rules. It judges by how analysts closed the rule's alerts, each proposal carries its backtest, and an administrator decides.

Are the rules mapped to ATT&CK?

Production rules name 93 ATT&CK technique IDs. Converted rules still running in test are not counted in that figure.

Read next.

Talk to an engineer

Tell us what you run today and what worries you. Someone who works on AEGIS will reply.

Get in touch