Cis Azure Foundations 5.9
DevOps & Securitycis-azure-foundations-5.9Cis Azure Foundations 5.9 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure 'Number of days before users are asked to re-confirm their authentication information' is not set to '0'
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/CIS_Microsoft_Azure_Foundations_Benchmark_v5.0.0/cis-azure-foundations-5.9/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-azure-foundations-5-9, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Ensure 'Number of days before users are asked to re-confirm their authentication information' is not set to '0'
Description
Ensure that the number of days before users are asked to re-confirm their authentication information is not set to 0.
Rationale
This setting is necessary if 'Require users to register when signing in' is enabled. If authentication re-confirmation is disabled, registered users will never be prompted to re-confirm their existing authentication information. If the authentication information for a user changes, such as a phone number or email, then the password reset information for that user reverts to the previously registered authentication information.
Impact
Users will be prompted to re-confirm their authentication information after the number of days specified.
Audit Procedure
Using Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID. - Under
Manage, selectUsers. - Select
Password reset. - Under
Manage, selectRegistration. - Ensure that
Number of days before users are asked to re-confirm their authentication informationis not set to0.
Expected Result
Number of days before users are asked to re-confirm their authentication information should not be 0. A value such as 180 days is recommended.
Remediation
Using Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID. - Under
Manage, selectUsers. - Select
Password reset. - Under
Manage, selectRegistration. - Set the
Number of days before users are asked to re-confirm their authentication informationto your organization-defined frequency. - Click
Save.
Default Value
By default, the Number of days before users are asked to re-confirm their authentication information is set to "180 days".
References
- https://learn.microsoft.com/en-us/entra/identity/authentication/concept-sspr-howitworks#registration
- https://support.microsoft.com/en-us/account-billing/reset-your-work-or-school-password-using-security-info-23dde81f-08bb-4776-ba72-e6b72b9dda9e
- https://learn.microsoft.com/en-us/security/benchmark/azure/mcsb-governance-strategy#gs-6-define-and-implement-identity-and-privileged-access-strategy
- https://learn.microsoft.com/en-us/entra/identity/authentication/concept-authentication-methods
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 6.2 Establish an Access Revoking Process | x | x | x |
| v7 | 16.10 Ensure All Accounts Have An Expiration Date | x | x |
Profile
Level 1 | Manual