Correlation rules of the 'standard' type
Correlation rules of the standard type are used for identifying complex patterns in processed events.
Settings for a correlation rule of the standard type are described in the following tables.
General tab
This tab lets you specify the general settings of the correlation rule.
Setting |
Description |
---|---|
Name |
Unique name of the resource. The maximum length of the name is 128 Unicode characters. Required setting. |
Tenant |
The name of the tenant that owns the resource. Required setting. |
Type |
Correlation rule type: standard. Required setting. |
Tags |
|
Identical fields |
Event fields that must be grouped in a Bucket. The hash of the values of the selected event fields is used as the Bucket key. If one of the selectors specified on the Selectors tab is triggered, the selected event fields are copied to the correlation event. If different selectors of the correlation rule use event fields that have different meanings in the events, do not specify such event fields in the Identical fields drop-down list. You can specify local variables. To refer to a local variable, its name must be preceded with the Required setting. |
Window, sec |
Bucket lifetime in seconds. The time starts counting when the bucket is created, when the bucket receives the first event. When the bucket lifetime expires, the trigger specified on the Actions → On timeout tab is triggered, and the container is deleted. Triggers specified on the Actions → On every threshold and On subsequent thresholds tabs can trigger more than once during the lifetime of the bucket. Required setting. |
Unique fields |
Unique event fields to be sent to the bucket. If you specify unique event fields, only these event fields will be sent to the container. The hash of values of the selected fields is used as the Bucket key. You can specify local variables. To refer to a local variable, its name must be preceded with the |
Rate limit |
Maximum number of times a correlation rule can be triggered per second. The default value is If correlation rules employing complex logic for pattern detection are not triggered, this may be due to the way rule triggers are counted in KUMA. In this case, we recommend increasing the Rate limit, for example, to |
Base events keep policy |
This drop-down list lets you select base events that you want to put in the correlation event:
|
Severity |
Base coefficient used to determine the importance of a correlation rule:
|
Order by |
Event field to be used by selectors of the correlation rule to track the evolution of the situation. This can be useful, for example, if you want to configure a correlation rule to be triggered when several types of events occur in a sequence. |
Description |
Description of the resource. The maximum length of the description is 4000 Unicode characters. |
MITRE techniques |
Downloaded MITRE ATT&CK techniques for analyzing the security coverage status using the MITRE ATT&CK matrix. |
Use unique field mapping |
|
Selectors tab
This tab is used to define the conditions that the processed events must fulfill to trigger the correlation rule. To add a selector, click the + Add selector button. You can add multiple selectors, reorder selectors, or remove selectors. To reorder selectors, use the reorder icons. To remove a selector, click the delete
icon next to it.
Each selector has a Settings tab and a Local variables tab.
The settings available on the Settings tab are described in the table below.
Setting |
Description |
---|---|
Name |
Unique name of the resource. The maximum length of the name is 128 Unicode characters. Required setting. |
Selector threshold (event count) |
The number of events that must be received for the selector to trigger. The default value is Required setting. |
Recovery |
This toggle switch lets the correlation rule not trigger when the selector receives the number of events specified in the Selector threshold (event count) field. This toggle switch is turned off by default. |
Filter |
The filter that defines criteria for identifying events that trigger the selector when received. You can select an existing filter or create a new filter. To create a new filter, select Create new. If you want to edit the settings of an existing filter, click the pencil The order of conditions specified in the selector filter of the correlation rule is significant and affects system performance. We recommend putting the most unique condition in the first place in the selector filter. Consider two examples of selector filters that select successful authentication events in Microsoft Windows. Selector filter 1: Condition 1: Condition 2: Selector filter 2: Condition 1: Condition 2: The order of conditions specified in selector filter 2 is preferable because it places less load on the system. |
On the Local variables tab, you can add variables that will be valid inside the correlation rule. To add a variable, click the + Add button, then specify the variable and its value. You can add multiple variables or delete variables. To delete a variable, select the check box next to it and click the Delete button.
In the selector of the correlation rule, you can use regular expressions conforming to the RE2 standard. Using regular expressions in correlation rules is computationally intensive compared to other operations. When designing correlation rules, we recommend limiting the use of regular expressions to the necessary minimum and using other available operations.
To use a regular expression, you must use the match
operator. The regular expression must be placed in a constant. The use of capture groups in regular expressions is optional. For the correlation rule to trigger, the field text matched against the regexp must exactly match the regular expression.
For a primer on the syntax and examples of correlation rules that use regular expressions in their selectors, refer to the following rules that are provided with KUMA:
- R105_04_Suspicious PowerShell commands. Suspected obfuscation.
- R333_Suspicious creation of files in the autorun folder.
Actions tab
You can use this tab to configure the triggers of the correlation rule. You can configure triggers on the following tabs:
- On first threshold triggers when the Bucket registers the first triggering of the selector during the lifetime of the Bucket.
- On subsequent thresholds triggers when the Bucket registers the second and all subsequent triggering of the selector during the lifetime of the Bucket.
- On every threshold triggers every time the Bucket registers the triggering of the selector.
- On timeout triggers when the lifetime of the Bucket ends, and is used together with a selector that has the Recovery check box selected in its settings. Thus, this trigger activates if the situation detected by the correlation rule is not resolved within the specified lifetime.
Available trigger settings are listed in the table below.
Setting |
Description |
---|---|
Output |
This check box enables the sending of correlation events for post-processing, that is, for external enrichment outside the correlation rule, for response, and to destinations. By default, this check box is cleared. |
Loop to correlator |
This check box enables the processing of the created correlation event by the rule chain of the current correlator. This makes hierarchical correlation possible. By default, this check box is cleared. If the Output and Loop to correlator check boxes are selected, the correlation rule is sent to post-processing first, and then to the selectors of the current correlation rule. |
No alert |
The check box disables the creation of alerts when the correlation rule is triggered. By default, this check box is cleared. If you do not want to create an alert when a correlation rule is triggered, but you still want to send a correlation event to the storage, select the Output and No alert check boxes. If you select only the No alert check box, a correlation event is not saved in the storage. |
Enrichment |
Enrichment rules for modifying the values of correlation event fields. Enrichment rules are stored in the correlation rule where they were created. To create an enrichment rule, click the + Add enrichment button. Available enrichment rule settings:
You can create multiple enrichment rules, reorder enrichment rules, or delete enrichment rules. To reorder enrichment rules, use the reorder |
Categorization |
Categorization rules for assets involved in the event. Using categorization rules, you can link and unlink only reactive categories to and from assets. To create an enrichment rule, click the + Add categorization button. Available categorization rule settings:
You can create multiple categorization rules, reorder categorization rules, or delete categorization rules. To reorder categorization rules, use the reorder |
Active lists update |
Operations with active lists. To create an operation with an active list, click the + Add active list action button. Available parameters of an active list operation:
You can create multiple operations with active lists, reorder operations with active lists, or delete operations with active lists. To reorder operations with active lists, use the reorder |
Updating context tables |
Operations with context tables. To create an operation with a context table, click the + Add context table action button. Available parameters of a context table operation:
You can create multiple operations with context tables, reorder operations with context tables, or delete operations with context tables. To reorder operations with context tables, use the reorder |
Correlators tab
This tab is displayed only when you edit the settings of the created correlation rule; on this tab, you can link correlators to the correlation rule.
To add correlators, click the + Add button, specify one or more correlators in the displayed window, and click OK. The correlation rule is linked to the specified correlators and added to the end of the execution queue in the correlator settings. If you want to change the position of a correlation rule in the execution queue, go to the Resources → Correlator section, click the correlator, and in the displayed window, go to the Correlation section, select the check box next to the correlation rule, and change the position of the correlation rule by clicking the Move up and Move down buttons.
You can add multiple correlators or delete correlators. To delete a correlator, select the check box next to it and click Delete.