Incorrect policy used to attempt to enforce MFA

Severity
High
Service
IAM
Check ID
IAM_BAD_MFA_POLICY

What this check finds

AWS had advised incorrect policies for enforcing MFA which allowed an attacker, if they compromised keys that were protected by this policy, to remove the MFA policy from themselves, or remove the existing MFA device and add their own.

Passing looks like: MFA enforcement policy is correct.

How to fix it

Replace the flawed MFA enforcement policy with the current AWS-recommended version. See AWS documentation for the correct policy: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_aws_my-sec-creds-self-manage.html.

AWS console

IAM → Policies → find the policy → Edit.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to Incorrect policy used to attempt to enforce MFA
FrameworkControls
PCI-DSS v4.0.1
  • 8.3 Strong authentication for users and administrators is established and managed
HIPAA Security Rule
  • 164.312(d) Verify that a person or entity seeking access is the one claimed
SOC 2 — Trust Services Criteria
  • CC6.3 Multi-Factor Authentication
NIST SP 800-53 Rev5 (Moderate)
  • IA-2 Identification and Authentication (Organizational Users)
NIST Cybersecurity Framework 2.0
  • PR.AA-03 Users, services, and hardware are authenticated
ISO/IEC 27001:2022 Annex A
  • A.8.5 Secure authentication

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More IAM checks

All IAM checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only