AWS IAM Key Creation with Encryption Policy but without MFA
An AWS IAM user is creating keys and applying encryption policies without multi-factor authentication (MFA), potentially indicating an attempt to establish persistent access and bypass security controls.
Triage facts
Revision 2- Evidence
- Unknown
- Severity
- High
- Sources
- 1 public source
- Freshness
- Revision 2Jan 9, 12:00 UTC
- Detection
- 2 rules
Revision history 1 entry · Revision 2
- Revision 2
Repaired a legacy canonical identity collision
Changed: slug
This alert focuses on identifying potentially malicious activity within Amazon Web Services (AWS) environments where Identity and Access Management (IAM) users are creating new access keys and associating them with encryption-related policies without proper multi-factor authentication (MFA). This behavior could indicate an attacker attempting to establish persistent access to the AWS environment, bypass security controls, and potentially exfiltrate or encrypt data. Although the source does not specify the exact scope or targeting, this detection aims to identify a common tactic used in cloud-based attacks to escalate privileges and maintain unauthorized access. Identifying and investigating these events promptly is crucial for maintaining the security posture of AWS environments.
Attack Chain
- An attacker gains initial access to an AWS account, possibly through compromised credentials or other means.
- The attacker attempts to create a new IAM user or utilizes an existing IAM user account.
- The attacker attempts to create a new IAM access key.
- The attacker attempts to assign an IAM policy to the user or key that grants permissions related to encryption services, such as KMS (Key Management Service).
- The attacker performs these actions without triggering MFA.
- The newly created key, if successful, is used to access AWS resources and services.
- The attacker leverages the encryption permissions to encrypt data, potentially for ransomware purposes, or to gain unauthorized access to encrypted resources.
- The attacker establishes persistence within the AWS environment, enabling long-term unauthorized access and control.
Impact
Successful exploitation could allow an attacker to gain persistent access to an AWS environment, bypass MFA controls, and escalate privileges. This can lead to unauthorized data access, exfiltration of sensitive information, or encryption of critical data for ransom. The impact ranges from data breaches and service disruption to significant financial losses. Identifying and mitigating such activities is critical for organizations relying on AWS infrastructure.
Detection coverage 2
AWS IAM Key Creation with Encryption Policy but without MFA
highDetects AWS IAM user creating a new access key and assigning encryption-related policies without MFA.
AWS IAM Policy Modification without MFA
highDetects AWS IAM Policy modifications without MFA which may lead to privilege escalation.
Detection queries are available on the platform. Get full rules →