Ensure multifactor authentication is required for risky sign-ins
Description
Entra ID tracks the behavior of sign-in events. If the Entra ID domain is licensed with P2, the sign-in behavior can be used as a detection mechanism for additional scrutiny during the sign-in event. If this policy is set up, then Risky Sign-in events will prompt users to use multi-factor authentication (MFA) tokens on login for additional verification.
Rationale
Enabling multi-factor authentication is a recommended setting to limit the potential of accounts being compromised and limiting access to authenticated personnel. Enabling this policy allows Entra ID's risk-detection mechanisms to force additional scrutiny on the login event, providing a deterrent response to potentially malicious sign-in events, and adding an additional authentication layer as a reaction to potentially malicious behavior.
Impact
Risk Policies for Conditional Access require Microsoft Entra ID P2. Additional overhead to support or maintain these policies may also be required if users lose access to their MFA tokens.
Audit Procedure
Using Azure Portal
- From Azure Home select the Portal Menu in the top left and select
Microsoft Entra ID. - Select
Security. - Select on the left side
Conditional Access. - Select
Policies. - Select the policy you wish to audit.
- Click the blue text under
Users. - View under
Includethe corresponding users and groups to whom the policy is applied. - View under
Excludeto determine which users and groups to whom the policy is not applied.
Expected Result
A Conditional Access policy should exist that requires MFA for risky sign-ins, targeting all users with all cloud apps, with sign-in risk conditions set to High and Medium, and the Grant control set to Require multifactor authentication with sign-in frequency set to Every time.
Remediation
Remediate from Azure Portal
- From Azure Home select the Portal Menu in the top left and select
Microsoft Entra ID. - Select
Security. - Select
Conditional Access. - Select
Policies. - Click
+ New policy. - Enter a name for the policy.
- Click the blue text under
Users. - Under
Include, selectAll users. - Under
Exclude, checkUsers and groups. - Select users this policy should not apply to and click
Select. - Click the blue text under
Target resources. - Select
All cloud apps. - Click the blue text under
Conditions. - Select
Sign-in risk. - Update the
Configuretoggle toYes. - Check the sign-in risk level this policy should apply to, e.g.
HighandMedium. - Select
Done. - Click the blue text under
Grantand checkRequire multifactor authenticationthen click theSelectbutton. - Click the blue text under
Sessionthen checkSign-in frequencyand selectEvery timeand click theSelectbutton. - Set
Enable policytoReport-only. - Click
Create.
After testing the policy in report-only mode, update the Enable policy setting from Report-only to On.
Default Value
MFA is not enabled by default.
References
- https://learn.microsoft.com/en-us/entra/identity/conditional-access/policy-risk-based-sign-in
- https://learn.microsoft.com/en-us/entra/identity/conditional-access/troubleshoot-conditional-access-what-if
- https://learn.microsoft.com/en-us/entra/identity/conditional-access/howto-conditional-access-insights-reporting
- https://learn.microsoft.com/en-us/security/benchmark/azure/mcsb-identity-management#im-7-restrict-resource-access-based-on--conditions
- https://learn.microsoft.com/en-us/entra/id-protection/overview-identity-protection#license-requirements
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 6.3 Require MFA for Externally-Exposed Applications | x | x | |
| v8 | 6.4 Require MFA for Remote Network Access | x | x | x |
| v8 | 6.7 Centralize Access Control | x | x | |
| v7 | 16.3 Require Multi-factor Authentication | x | x |
Profile
Level 2 | Manual