Skip to content

Commit 7c24e57

Browse files
Entity risk scoring
1 parent 617a674 commit 7c24e57

File tree

5 files changed

+88
-202
lines changed

5 files changed

+88
-202
lines changed

raw-migrated-files/docs-content/serverless/security-asset-criticality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Once you assign a criticality level to an entity, all subsequent alerts related
117117

118118
### Monitor an entity’s risk [security-asset-criticality-monitor-an-entitys-risk]
119119

120-
The risk scoring engine dynamically factors in an entity’s asset criticality, along with `Open` and `Acknowledged` detection alerts to [calculate the entity’s overall risk score](../../../solutions/security/advanced-entity-analytics/entity-risk-scoring.md#security-entity-risk-scoring-how-is-risk-score-calculated). This dynamic risk scoring allows you to monitor changes in the risk profiles of your most sensitive entities, and quickly escalate high-risk threats.
120+
The risk scoring engine dynamically factors in an entity’s asset criticality, along with `Open` and `Acknowledged` detection alerts to [calculate the entity’s overall risk score](../../../solutions/security/advanced-entity-analytics/entity-risk-scoring.md#how-is-risk-score-calculated). This dynamic risk scoring allows you to monitor changes in the risk profiles of your most sensitive entities, and quickly escalate high-risk threats.
121121

122122
To view the impact of asset criticality on an entity’s risk score, follow these steps:
123123

raw-migrated-files/docs-content/serverless/security-entity-risk-scoring.md

Lines changed: 0 additions & 94 deletions
This file was deleted.

raw-migrated-files/security-docs/security/entity-risk-scoring.md

Lines changed: 0 additions & 97 deletions
This file was deleted.

raw-migrated-files/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ toc:
463463
- file: docs-content/serverless/security-endpoint-protection-intro.md
464464
- file: docs-content/serverless/security-endpoint-self-protection.md
465465
- file: docs-content/serverless/security-endpoints-page.md
466-
- file: docs-content/serverless/security-entity-risk-scoring.md
467466
- file: docs-content/serverless/security-environment-variable-capture.md
468467
- file: docs-content/serverless/security-ers-requirements.md
469468
- file: docs-content/serverless/security-event-filters.md
@@ -865,7 +864,6 @@ toc:
865864
- file: security-docs/security/endpoint-protection-intro.md
866865
- file: security-docs/security/endpoint-protection-rules.md
867866
- file: security-docs/security/endpoint-self-protection.md
868-
- file: security-docs/security/entity-risk-scoring.md
869867
- file: security-docs/security/environment-variable-capture.md
870868
- file: security-docs/security/ers-requirements.md
871869
- file: security-docs/security/es-overview.md

solutions/security/advanced-entity-analytics/entity-risk-scoring.md

Lines changed: 87 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,96 @@ mapped_urls:
44
- https://www.elastic.co/guide/en/serverless/current/security-entity-risk-scoring.html
55
---
66

7-
# Entity risk scoring
7+
# Entity risk scoring [security-entity-risk-scoring]
88

9-
% What needs to be done: Lift-and-shift
9+
Entity risk scoring is an advanced {{elastic-sec}} analytics feature that helps security analysts detect changes in an entity’s risk posture, hunt for new threats, and prioritize incident response.
1010

11-
% Use migrated content from existing pages that map to this page:
11+
Entity risk scoring allows you to monitor risk score changes of hosts and users in your environment. When generating advanced scoring analytics, the risk scoring engine utilizes threats from its end-to-end XDR use cases, such as SIEM, cloud, and endpoint. It leverages the Elastic SIEM detection engine to generate host and user risk scores from the last 30 days.
1212

13-
% - [ ] ./raw-migrated-files/security-docs/security/entity-risk-scoring.md
14-
% - [ ] ./raw-migrated-files/docs-content/serverless/security-entity-risk-scoring.md
13+
It also generates risk scores on a recurring interval, and allows for easy onboarding and management. The engine is built to factor in risks from all {{elastic-sec}} use cases, and allows you to customize and control how and when risk is calculated.
1514

16-
% Internal links rely on the following IDs being on this page (e.g. as a heading ID, paragraph ID, etc):
1715

18-
$$$how-is-risk-score-calculated$$$
16+
## Risk scoring inputs [security-entity-risk-scoring-risk-scoring-inputs]
1917

20-
$$$security-entity-risk-scoring-how-is-risk-score-calculated$$$
18+
Entity risk scores are determined by the following risk inputs:
19+
20+
| Risk input | Storage location |
21+
| --- | --- |
22+
| [Alerts](../detect-and-alert/manage-detection-alerts.md) | `.alerts-security.alerts-<space-id>` index alias |
23+
| [Asset criticality level](asset-criticality.md) | `.asset-criticality.asset-criticality-<space-id>` index alias |
24+
25+
The resulting entity risk scores are stored in the `risk-score.risk-score-<space-id>` data stream alias.
26+
27+
::::{note}
28+
Entities without any alerts, or with only `Closed` alerts, are not assigned a risk score.
29+
30+
::::
31+
32+
33+
34+
## How is risk score calculated? [how-is-risk-score-calculated]
35+
36+
1. The risk scoring engine runs hourly to aggregate `Open` and `Acknowledged` alerts from the last 30 days. For each entity, the engine processes up to 10,000 alerts.
37+
38+
::::{note}
39+
When [turning on the risk engine](turn-on-risk-scoring-engine.md), you can choose to also include `Closed` alerts in risk scoring calculations.
40+
::::
41+
42+
2. The engine groups alerts by `host.name` or `user.name`, and aggregates the individual alert risk scores (`kibana.alert.risk_score`) such that alerts with higher risk scores contribute more than alerts with lower risk scores. The resulting aggregated risk score is assigned to the **Alerts** category in the entity’s [risk summary](../explore/hosts-page.md#security-hosts-overview-host-risk-summary).
43+
3. The engine then verifies the entity’s [asset criticality level](asset-criticality.md). If there is no asset criticality assigned, the entity risk score remains equal to the aggregated score from the **Alerts** category. If a criticality level is assigned, the engine updates the risk score based on the default risk weight for each criticality level. The asset criticality risk input is assigned to the **Asset Criticality** category in the entity’s risk summary.
44+
45+
| Asset criticality level | Default risk weight |
46+
| --- | --- |
47+
| Low impact | 0.5 |
48+
| Medium impact | 1 |
49+
| High impact | 1.5 |
50+
| Extreme impact | 2 |
51+
52+
::::{note}
53+
Asset criticality levels and default risk weights are subject to change.
54+
55+
::::
56+
57+
4. Based on the two risk inputs, the risk scoring engine generates a single entity risk score of 0-100. It assigns a risk level by mapping the risk score to one of these levels:
58+
59+
| Risk level | Risk score |
60+
| --- | --- |
61+
| Unknown | < 20 |
62+
| Low | 20-40 |
63+
| Moderate | 40-70 |
64+
| High | 70-90 |
65+
| Critical | > 90 |
66+
67+
68+
::::{dropdown} Click for a risk score calculation example
69+
This example shows how the risk scoring engine calculates the user risk score for `User_A`, whose asset criticality level is **Extreme impact**.
70+
71+
There are 5 open alerts associated with `User_A`:
72+
73+
* Alert 1 with alert risk score 21
74+
* Alert 2 with alert risk score 45
75+
* Alert 3 with alert risk score 21
76+
* Alert 4 with alert risk score 70
77+
* Alert 5 with alert risk score 21
78+
79+
To calculate the user risk score, the risk scoring engine:
80+
81+
1. Sorts the associated alerts in descending order of alert risk score:
82+
83+
* Alert 4 with alert risk score 70
84+
* Alert 2 with alert risk score 45
85+
* Alert 1 with alert risk score 21
86+
* Alert 3 with alert risk score 21
87+
* Alert 5 with alert risk score 21
88+
89+
2. Generates an aggregated risk score of 36.16, and assigns it to `User_A`'s **Alerts** risk category.
90+
3. Looks up `User_A`'s asset criticality level, and identifies it as **Extreme impact**.
91+
4. Generates a new risk input under the **Asset Criticality** risk category, with a risk contribution score of 16.95.
92+
5. Increases the user risk score to 53.11, and assigns `User_A` a **Moderate** user risk level.
93+
94+
If `User_A` had no asset criticality level assigned, the user risk score would remain unchanged at 36.16.
95+
96+
::::
97+
98+
99+
Learn how to [turn on the risk scoring engine](turn-on-risk-scoring-engine.md).

0 commit comments

Comments
 (0)