Risk score overview
Risk scores are used throughout Google Security Operations. The definition and function of these scores vary depending on which feature you are using.
Risk Analytics is available with Enterprise and Enterprise Plus licenses, or as an add-on to a Google SecOps SIEM standalone license.
Entities in Risk Analytics
This section defines the concepts of entities, risk, and findings as they are presented on the Risk Analytics dashboard.
Entities: Contextual representation of an asset or user in your environment. All the events associated with entities provide context about how risky the entity is. For more information, see Logical objects: Event and Entity.
Risk calculation window: Lets you change the timeframe for the dashboard, enabling you to look at data through different periods of time. For example, you can uncover brute force login attempts by using the shorter time window or examine long-term malicious activity by setting the longer time window.
Normalized: Normalized scores are set between 1-1000 to distinguish the entities without scores from the entities that do have detections within the risk window.
Normalized trend: Change in the normalized entity risk score since the previous window.
Base: Base scores are calculated by adding the risk scores across findings (alerts and detections) for an entity during the risk window with weighting applied. If the weighting value is 1, weighting won't have an impact. For more information, see entity risk score.
Base change: Change in the base entity risk score since the previous window.
First/last seen in window: Timestamp corresponding to when the entity was first or last seen in a finding (alert or detection) for the time period specified in the risk window.
Findings in Risk Analytics
The following terms are used on the entity profile page (click an entity in the entities table to open it in the entity profile page).
Finding: Number of findings (alerts and detections) that include this entity for the time period in the risk window.
Severity: Severity is set by the source when a finding is created.
Priority: Priority is set by the source when a finding is created.
Risk Score: Risk scores are set by the source when a finding is created. If the risk scores are not set, the default risk score for alerts and detections are used. The default risk score for alerts is 40. The default risk score for detections is 15.
Risk score calculation
The risk score calculation for each entity is based on the risk score of findings and is modified based on a set of parameters you can specify and a set of parameters controlled by Google Security Operations. The parameters you can control are accessible by going to the navigation bar and clicking Settings > Entity risk scores:
Closed alert coefficient: If the security analysts marks an alert as closed, it is multiplied with this floating point modifier. The range is 0-1. The default value is 1.
Default detection risk score: Specify the risk score for detections in the rules engine. The range is 0-1000. The default value is 15.
The following parameters are specified by Google Security Operations:
Risk score modification with TTL: Base entity risk score is modified by a multiplying factor for the time range.
Risk score modification without TTL: Detection risk score is modified with a multiplying factor.
The following are the formulas used for calculating the risk score and normalized risk score:
Risk score calculation: (Base entity risk score) = (Maximum risk score for the finding) + (Weighting * (Sum of the remaining risk scores for the findings))
Normalized risk score: Base entity risk scores are normalized across all entities. The base entity risk score uses min-max normalization and ranges from 1-1000. Entities with zero risk are not included.
Example: risk score calculation
The following describes the full sequence for how a risk detection score is calculated for an entity:
- Input: The detections are grouped by indicator.
- (Optional) Closed alert coefficient: If the detection risk score is for a closed alert, the score is multiplied by the closed alert coefficient.
- (Optional) Default Risk Score modification If it isn't explicitly set in a rule, the default detection risk score is applied. Default alerting or non-alerting detection risk scores can be changed in the entity risk scores settings.
- Risk score calculation: The weighting factor is multiplied to the sum of all detections (except for the maximum detection risk score) and then added to the maximum detection risk score. This value represents the raw entity risk score.
- Modification weight: The raw entity risk score is multiplied with the modification weight. This modification is a one-time operation, unless a TTL is set. This value is the base entity risk score.
- Watchlist weight: If an entity is part of a watchlist, the watchlist weight is added to the detection risk score.
- Normalized risk score: The base entity risk score is normalized across all entities using min-max normalization.
Risk score settings
The Entity risk scores page lets you define how risk scores are calculated for entities, alerts, and detections. You can apply weighting to entity risk score calculations and set default alert and detection risk scores. Changes only apply to new alerts and detections and can take up to 30 minutes to take effect.
Entity risk score weighting: Weighting defines how alert and detection risk scores are factored in entity risk score calculations. Weighting is a value from 0 to 1. The formula for the base entity risk score is defined as follows:
Base entity risk score = (Maximum risk score for the finding) + (Weighting * (Sum of the remaining risk scores for the findings))
Default risk scores for Alerts: Specify the default alert risk score in the Settings page. The default is 40. You can modify individual alert risk scores in the rules themselves. These override any defaults configured in the Settings page.
Default risk scores for Detections: Specify the default detection risk score in the Settings page. The default is 15. You can modify individual detection risk scores in the rules themselves. These override any defaults configured in the Settings page.