Ensure that 'Multi-Factor Auth Status' is 'Enabled' for all Non-Privileged Users

Multi-factor authentication requires an individual to present a minimum of two separate forms of authentication before access is granted. Multi-factor authentication provides additional assurance that the individual attempting to gain access is who they claim to be. With multi-factor authentication, an attacker would need to compromise at least two different authentication mechanisms, increasing the difficulty of compromise and thus reducing the risk.

Risk Level: High
Cloud Entity: Azure role-based access control
CloudGuard Rule ID: D9.AZU.IAM.47
Covered by Spectral: No
Category: Security, Identity, & Compliance

GSL LOGIC

RoleAssignment should have (properties contain [getResource('User', principalId) contain [userCredentialRegistrationDetails.isRegisterWithMfa=true]] and properties contain [getResources('RoleDefinition',roleDefinitionId) contain-none [properties.roleName in ('Owner','Contributor')]])

REMEDIATION

From Portal

  1. From Azure Home, select the Portal Menu.
  2. Select the Azure Active Directory blade.
  3. Select 'Users'.
  4. Select All Users.
  5. Click on Per-User MFA button on the top bar.
  6. Ensure that for all users MULTI-FACTOR AUTH STATUS is Enabled.

Note: Please note that at the time of writing, there is no API, Azure CLI or Powershell mechanism available to programmatically conduct security assessment or remediation for this recommendation.By default, multi-factor authentication is disabled for all users.

References

  1. https://docs.microsoft.com/en-us/azure/multi-factor-authentication/multi-factor-authentication
  2. https://workbench.cisecurity.org/sections/1460902/recommendations/2349013

Azure role-based access control

Azure role-based access control (Azure RBAC) is the authorization system you use to manage access to Azure resources. To grant access, you assign roles to users, groups, service principals, or managed identities at a particular scope.

Compliance Frameworks

  • AZU PCI-DSS 4.0
  • Azure CIS Foundations v. 1.5.0
  • Azure CIS Foundations v.2.0
  • Azure CloudGuard Best Practices
  • Azure Dashboard System Ruleset
  • Azure NIST 800-53 Rev 5
  • CloudGuard Azure All Rules Ruleset