How To: Investigate risk
Microsoft Entra ID Protection provides organizations with reporting they can use to investigate identity risks in their environment. These reports include risky users, risky sign-ins, risky workload identities, and risk detections. Investigation of events is key to better understanding and identifying any weak points in your security strategy. All these reports allow for downloading of events in .CSV format or integration with other security solutions like a dedicated Security Information and Event Management (SIEM) tool for further analysis. Organizations can also take advantage of Microsoft Defender and Microsoft Graph API integrations to aggregate data with other sources.
Navigating the reports
The risk reports are found in the Microsoft Entra admin center under Protection > Identity Protection. You can navigate directly to the reports or view a summary of important insights in the dashboard view and navigate to the corresponding reports from there.
Each report launches with a list of all detections for the period shown at the top of the report. Administrators can optionally filter and add or remove columns based on their preference. Administrators can download the data in .CSV or .JSON format for further processing.
When administrators select one or multiple entries, options to confirm or dismiss the risks appear at the top of the report. Selecting an individual risk event opens a pane with more details to assist with investigations.
Risky users report
The risky users report includes all users whose accounts are currently or were considered at risk of compromise. Risky users should be investigated and remediated to prevent unauthorized access to resources. We recommend starting with high risk users due to the high confidence of compromise. Learn more about what the levels signify
Why is a user at risk?
A user becomes a risky user when:
- They have one or more risky sign-ins.
- They have one or more risks detected on their account, like leaked credentials.
How to investigate risky users?
To view and investigate risky users, navigate to the Risky users report and use the filters to manage the results. There's an option at the top of the page to add other columns such as risk level, status, and risk detail.
When administrators select an individual user, the Risky user details pane appears. Risky user details provide information like: user ID, office location, recent risky sign-in, detections not linked to a sign, and risk history. The Risk history tab shows the events that led to a user risk change in the last 90 days. This list includes risk detections that increased the user's risk. It can also include user or admin remediation actions that lowered the user's risk; for example, a user resetting their password or an admin dismissing the risk.
If you have Copilot for Security, you have access to a summary in natural language including: why the user risk level was elevated, guidance on how to mitigate and respond, and links to other helpful items or documentation.
With the information provided by the Risky users report, administrators can view:
- User risk that was remediated, dismissed, or is still currently at risk and needs investigation
- Details about detections
- Risky sign-ins associated to a given user
- Risk history
Taking action on the user level applies to all the detections currently associated with that user. Administrators can take action on users and choose to:
- Reset password - This action revokes user's current sessions.
- Confirm user compromised - This action is taken on a true positive. ID Protection sets the user risk to high and adds a new detection, Admin confirmed user compromised. The user is considered risky until remediation steps are taken.
- Confirm user safe - This action is taken on a false positive. Doing so removes risk and detections on this user and places it in learning mode to relearn the usage properties. You might use this option to mark false positives.
- Dismiss user risk - This action is taken on a benign positive user risk. This user risk we detected is real, but not malicious, like those from a known penetration test. Similar users should continue being evaluated for risk going forward.
- Block user - This action blocks a user from signing in if attacker has access to password or ability to perform MFA.
- Investigate with Microsoft 365 Defender - This action takes administrators to the Microsoft Defender portal to allow an administrator to investigate further.
Risky sign-ins report
The risky sign-ins report contains filterable data for up to the past 30 days (one month). ID Protection evaluates risk for all authentication flows, whether it's interactive or non-interactive. The Risky sign-ins report shows both interactive and non-interactive sign-ins. To modify this view, use the "sign-in type" filter.
With the information provided by the Risky sign-ins report, administrators can view:
- Sign-ins that are at risk, confirmed compromised, confirmed safe, dismissed, or remediated.
- Real-time and aggregate risk levels associated with sign-in attempts.
- Detection types triggered
- Conditional Access policies applied
- MFA details
- Device information
- Application information
- Location information
Administrators can take action on risky sign-in events and choose to:
- Confirm sign-in compromised – This action confirms the sign-in is a true positive. The sign-in is considered risky until remediation steps are taken.
- Confirm sign-in safe – This action confirms the sign-in is a false positive. Similar sign-ins shouldn't be considered risky in the future.
- Dismiss sign-in risk – This action is used for a benign true positive. This sign-in risk we detected is real, but not malicious, like those from a known penetration test or known activity generated by an approved application. Similar sign-ins should continue being evaluated for risk going forward.
To learn more about when to take each of these actions, see How does Microsoft use my risk feedback
Risk detections report
The Risk detections report contains filterable data for up to the past 90 days (three months).
With the information provided by the Risk detections report, administrators can find:
- Information about each risk detection
- Attack type based on MITRE ATT&CK framework
- Other risks triggered at the same time
- Sign-in attempt location
- Link out to more detail from Microsoft Defender for Cloud Apps.
Administrators can then choose to return to the user's risk or sign-ins report to take actions based on information gathered.
Note
Our system might detect that the risk event that contributed to the user risk score was a false positive or the user risk was remediated with policy enforcement such as completing an MFA prompt or secure password change. Therefore, our system will dismiss the risk state and a risk detail of “AI confirmed sign-in safe” will surface and it will no longer contribute to the user's risk.
Initial triage
When starting the initial triage, we recommend the following actions:
- Review the ID Protection dashboard to visualize number of attacks, number of high risk users and other important metrics based on detections in your environment.
- Review the Impact analysis workbook to understand the scenarios where risk is evident in your environment and risk-based access policies should be enabled to manage high-risk users and sign-ins.
- Add corporate VPNs and IP address ranges to named locations to reduce false positives.
- Consider creating a known traveler database for updated organizational travel reporting and use it to cross-reference travel activity.
- Review the logs to identify similar activities with the same characteristics. This activity could be an indication of more compromised accounts.
- If there are common characteristics, like IP address, geography, success/failure, etc., consider blocking them with a Conditional Access policy.
- Review which resources might be compromised, including potential data downloads or administrative modifications.
- Enable self-remediation policies through Conditional Access
- Check to see if the user performed other risky activities, such as downloading a large volume of files from a new location. This behavior is a strong indication of a possible compromise.
If you suspect an attacker can impersonate the user, you should require the user to reset their password and perform MFA or block the user and revoke all refresh and access tokens.
Investigation and risk remediation framework
Organizations can use the following framework to begin their investigation into any suspicious activity. The recommended first step is self-remediation, if it's an option. Self-remediation can take place through self-service password reset or through remediation flow of a risk-based Conditional Access policy.
If self-remediation isn't an option, an administrator needs to remediate the risk. Remediation is done by invoking a password reset, requiring user to reregister for MFA, blocking the user, or revoking user sessions depending on the scenario. The following flow chart shows the recommended flow once a risk is detected:
Once the risk is contained, more investigation might be required to mark the risk as safe, compromised or to dismiss it. To come to a confident conclusion, it might be necessary to: have a conversation with the user in question, review the sign-in logs, review the audit logs, or query risk logs in Log Analytics. The following outlines recommended actions during this phase of the investigation:
- Check the logs and validate whether the activity is normal for the given user.
- Look at the user's past activities including the following properties to see if they're normal for the given user.
- Application
- Device - Is the device registered or compliant?
- Location - Is the user traveling to a different location or accessing devices from multiple locations?
- IP address
- User agent string
- If you have access to other security tools like Microsoft Sentinel, check for corresponding alerts that might indicate a larger issue.
- Organizations with access to Microsoft 365 Defender can follow a user risk event through other related alerts, incidents, and the MITRE ATT&CK chain.
- To navigate from the Risky users report, select the user in the Risky users report and select the ellipsis (...) in the toolbar then choose Investigate with Microsoft 365 Defender.
- Look at the user's past activities including the following properties to see if they're normal for the given user.
- Reach out to the user to confirm if they recognize the sign-in; however, consider methods such as email or Teams might be compromised.
- Confirm the information you have such as:
- Timestamp
- Application
- Device
- Location
- IP address
- Confirm the information you have such as:
- Depending on the results of the investigation, mark the user or sign-in as confirmed compromised, confirmed safe, or dismiss the risk.
- Set up risk-based Conditional Access policies to prevent similar attacks or to address any gaps in coverage.
Investigate specific detections
Microsoft Entra threat intelligence
To investigate a Microsoft Entra Threat Intelligence risk detection, follow these steps based on the information provided in the "additional info" field of the Risk Detection Details pane:
- Sign-in was from a suspicious IP Address:
- Confirm if the IP address shows suspicious behavior in your environment.
- Does the IP generate a high number of failures for a user or set of users in your directory?
- Is the traffic of the IP coming from an unexpected protocol or application, for example Exchange legacy protocols?
- If the IP address corresponds to a cloud service provider, rule out that there are no legitimate enterprise applications running from the same IP.
- This account was the victim of a password spray attack:
- Validate that no other users in your directory are targets of the same attack.
- Do other users have sign-ins with similar atypical patterns seen in the detected sign-in within the same time frame? Password spray attacks might display unusual patterns in:
- User agent string
- Application
- Protocol
- Ranges of IPs/ASNs
- Time and frequency of sign-ins
- This detection was triggered by a real-time rule:
- Validate that no other users in your directory are targets of the same attack. This information can be found using the TI_RI_#### number assigned to the rule.
- Real-time rules protect against novel attacks identified by Microsoft's threat intelligence. If multiple users in your directory were targets of the same attack, investigate unusual patterns in other attributes of the sign in.
Investigating atypical travel detections
- If you're able to confirm the activity wasn't performed by a legitimate user:
- Recommended action: Mark the sign-in as compromised, and invoke a password reset if not already performed by self-remediation. Block user if attacker has access to reset password or perform MFA and reset password.
- If a user is known to use the IP address in the scope of their duties:
- Recommended action: Confirm sign-in as safe.
- If you're able to confirm that the user recently traveled to the destination mentioned detailed in the alert:
- Recommended action: Confirm sign-in as safe.
- If you're able to confirm that the IP address range is from a sanctioned VPN.
- Recommended action: Confirm sign-in as safe and add the VPN IP address range to named locations in Microsoft Entra ID and Microsoft Defender for Cloud Apps.
Investigating anomalous token and token issuer anomaly detections
- If you're able to confirm that the activity wasn't performed by a legitimate user using a combination of risk alert, location, application, IP address, User Agent, or other characteristics that are unexpected for the user:
- Recommended action: Mark the sign-in as compromised, and invoke a password reset if not already performed by self-remediation. Block the user if an attacker has access to reset password or perform.
- Recommended action: Set up risk-based Conditional Access policies to require password reset, perform MFA, or block access for all high-risk sign-ins.
- If you're able to confirm location, application, IP address, User Agent, or other characteristics are expected for the user and there aren't other indications of compromise:
- Recommended action: Allow the user to self-remediate with a risk-based Conditional Access policy or have an admin confirm sign-in as safe.
- For further investigation of token based detections, see the blog post Token tactics: How to prevent, detect, and respond to cloud token theft the Token theft investigation playbook.
Investigating suspicious browser detections
- Browser isn't commonly used by the user or activity within the browser doesn't match the users normally behavior.
- Recommended action: Confirm the sign-in as compromised, and invoke a password reset if not already performed by self-remediation. Block the user if an attacker has access to reset password or perform MFA.
- Recommended action: Set up risk-based Conditional Access policies to require password reset, perform MFA, or block access for all high-risk sign-ins.
Investigating malicious IP address detections
- If you're able to confirm that the activity wasn't performed by a legitimate user:
- Recommended action: Confirm the sign-in as compromised, and invoke a password reset if not already performed by self-remediation. Block the user if an attacker has access to reset password or perform MFA and reset password and revoke all tokens.
- Recommended action: Set up risk-based Conditional Access policies to require password reset or perform MFA for all high-risk sign-ins.
- If a user is known to use the IP address in the scope of their duties:
- Recommended action: Confirm sign-in as safe.
Investigating password spray detections
- If you're able to confirm that the activity wasn't performed by a legitimate user:
- Recommended action: Mark the sign-in as compromised, and invoke a password reset if not already performed by self-remediation. Block the user if an attacker has access to reset password or perform MFA and reset password and revoke all tokens.
- If a user is known to use the IP address in the scope of their duties:
- Recommended action: Confirm sign-in safe.
- If you're able to confirm that the account isn't compromised and see no brute force or password spray indicators against the account.
- Recommended action: Allow the user to self-remediate with a risk-based Conditional Access policy or have an admin confirm sign-in as safe.
- Ensure you have Microsoft Entra smart lockout configured appropriately to avoid unnecessary account lockouts.
For further investigation of password spray risk detections, see the article Password spray investigation.
Investigating leaked credentials detections
- If this detection identified a leaked credential for a user:
- Recommended action: Confirm the user as compromised, and invoke a password reset if not already performed by self-remediation. Block the user if an attacker has access to reset password or perform MFA and reset password and revoke all tokens.