This document provides general guidelines and tips on how to write titles for sigma rules.
Note that this is by no means an exhaustive list. It is meant to be a general guide for inspiration and to have an easily sharable resource for new contributors (e.g. a resource to link at in PR discussions).
Bearing in mind that the title is one of the first things that an analyst will see. It should therefore be used as a clue and be as clear as possible to guide the assessment of the alert.
The title and level of the rule must be consistent
Titles can be split with “-“ : Prefix - Main Title - Suffix
It is used to give a category, type of malware or name a threat actor. The choice depends highly on the type of rule.
Examples:
Specific wording example:
Sometimes the detections are duplicated across different logsource
s with little changes to their logic. This is common in the case of Process Creation rules targeting the PowerShell process. Those rules are typically duplicated for the different PowerShell logsource
s using ScriptBlockText to check for the same characteristics. A suffix in this case will be used to differentiate between the rules of the different logsource
s.
Example:
title: Invoke-Obfuscation Obfuscated IEX Invocation
title: Invoke-Obfuscation Obfuscated IEX Invocation - PowerShell
title: Invoke-Obfuscation Obfuscated IEX Invocation - PowerShell Module
title: Invoke-Obfuscation Obfuscated IEX Invocation - Security
title: Invoke-Obfuscation Obfuscated IEX Invocation - System
The point of a description is to explain the alert in a meaningful way.
The title does not need to use the terms “Detect” or “Detection”. It doesn’t have to be a sentence. A keyword style increases the information density.
We use a simple formula to describe the alert. Example:
Events matching rules of level informational
or low
are not intended to be used to create alerts on their own. Their purpose is to conserve events or criteria of relevance, to be used in correlations or for ideas for threat hunting. A rule of those levels will by definition not create false positives as they should not be used for alerting.
The title should therefore be general and should not indicate that the rule describes suspicious or malicious behavior.
Example : Net.exe Execution
Events matching medium
level rules rules can have environment dependent false positives and require a tuning/evaluation phase before deploying to production environments.
Keywords used to indicate this:
Events matching high
level rules requires a prompt review.
Keywords used to indicate this:
Events matching critical
level rules should be reviewed immediately
The title must therefore be precise and indicate the specific threat.
Keywords used to indicate this: