Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

A Resource Control Policy (RCP) must be in place to prevent ransomware attacks that leverage AWS KMS actions. KMS-based ransom attacks involve an adversary scheduling key deletion, disabling keys, modifying key policies, or creating grants to lock out the key owner and hold encrypted data hostage. An RCP that denies kms:ScheduleKeyDeletion, kms:DisableKey, kms:PutKeyPolicy, and kms:CreateGrant from unauthorized principals provides a preventive guardrail against these attack vectors.

This rule also flags RCPs that use NotAction to exempt KMS ransom actions from a deny statement. A NotAction-based exemption creates a gap that could be exploited if the corresponding explicit deny is ever removed.

Note: RCPs restrict what actions can be performed on resources regardless of which principal makes the request. Ensure AWS service principals are exempted using aws:PrincipalIsAWSService conditions to avoid disrupting AWS-managed operations.

Remediation

Create a Resource Control Policy that explicitly denies dangerous KMS actions using Action (not NotAction) and attach it to the organization root or relevant OUs. Remove any NotAction-based deny statements that exempt KMS actions. Refer to the RCP syntax documentation and the AWS KMS best practices for guidance.