Atlantiraptor Docs

sigma

Type: Plugin · Category: popular

Evaluate sigma rules.

For a full description of this plugin see https://atlantsecurity.github.io/atlantiraptor/vql/sigma/

A Curated set of Sigma Models and rules is maintained at https://sigma.velocidex.com/

Extensions to the Sigma rule format.

The following extensions are supported by Velociraptor’s sigma() plugin:

  1. The vql field can specify a VQL lambda which will be used to construct or enrich the event with additional fields. This happens prior to event matching so it applies on all events (event ones that do not match). Therefore this section should be fairly light weight.

  2. The enrichment field specifies a VQL lambda which will be used to build an enrichment object after a match is made. This is used to additional information for the analyst to assess.

  3. The vql modifier can be used to specify a VQL lambda that will be used in a detection clause. The lambda will receive the field and should return a boolean value.

Argument Type Description
rules list of string (required) A list of sigma rules to compile.
log_sources Any (required) A log source object as obtained from the sigma_log_sources() VQL function.
field_mapping ordereddict.Dict A dict containing a mapping between a rule field name and a VQL Lambda to get the value of the field from the event.
debug bool If enabled we emit all match objects with description of what would match.
rule_filter vfilter.Lambda If specified we use this callback to filter the rules for inclusion.
default_details vfilter.Lambda If specified we use this callback to determine a details column if the sigma rule does not specify it.

Required permissions: MACHINE_STATE, SERVER_ADMIN, EXECVE, FILESYSTEM_READ, FILESYSTEM_WRITE

Platforms: macOS, Linux, Windows

Source: vql/sigma/sigma.go