Check provider logo

IAM users have MFA enabled

iam_user_mfa_enabled

Severityhigh
Serviceiam
by Prowler

Huawei Cloud IAM users should have MFA enabled. MFA adds an extra layer of protection on top of a username and password. With MFA enabled, when a user signs in to the Huawei Cloud console, they are prompted for their username and password as well as for an authentication code from their MFA device.

Risk

Without MFA, a compromised user password enables unauthorized access to cloud resources. An attacker could modify, delete, or create resources depending on the user's permissions, harming confidentiality, integrity, and availability.

Run this check with Prowler CLI

prowler huaweicloud --checks iam_user_mfa_enabled

Recommendation

Enable MFA for all IAM users and enforce MFA at the account level.

Remediation

CLI

hcloud IAM UpdateLoginProtect --user_id=<user_id> --login_protect.enabled=true --login_protect.verification_method="vmfa"

Other
  1. Log on to the Huawei Cloud console as an administrator.
  2. Choose IAM & Security.
  3. Click Users.
  4. Select the target user.
  5. Click the Security Settings tab.
  6. In the Virtual MFA Device section, click Enable.
  7. Scan the QR code with a virtual MFA application (e.g., Google Authenticator).
  8. Enter two consecutive verification codes to bind the MFA device.

Source Code

Resource Type

NotDefined

References