AWS Sign-In Root Password Recovery Requested
editAWS Sign-In Root Password Recovery Requested
editIdentifies a password recovery request for the AWS account root user. In AWS, the PasswordRecoveryRequested event from signin.amazonaws.com applies to the root user’s “Forgot your password?” flow. Other identity types, like IAM and federated users, do not generate this event. This alert indicates that someone initiated the root password reset workflow for this account. Verify whether this was an expected action and review identity provider notifications/email to confirm legitimacy.
Rule type: query
Rule indices:
- filebeat-*
- logs-aws.cloudtrail-*
Severity: high
Risk score: 73
Runs every: 5m
Searches indices from: now-6m (Date Math format, see also Additional look-back time)
Maximum alerts per execution: 100
References:
Tags:
- Domain: Cloud
- Data Source: AWS
- Data Source: Amazon Web Services
- Data Source: AWS Sign-In
- Use Case: Identity and Access Audit
- Tactic: Initial Access
- Resources: Investigation Guide
Version: 210
Rule authors:
- Elastic
Rule license: Elastic License v2
Investigation guide
editTriage and analysis
Disclaimer: This investigation guide was created using generative AI technology and has been reviewed to improve its accuracy and relevance. While every effort has been made to ensure its quality, we recommend validating the content and adapting it to suit your specific environment and operational needs.
Investigating AWS Sign-In Root Password Recovery Requested
In AWS, a PasswordRecoveryRequested event from signin.amazonaws.com is only generated for the root user during the “Forgot your password?” workflow. Other identity types (IAM or federated users) do not trigger this event. A root password recovery request is a critical identity security event that could indicate a legitimate recovery by the account owner or a malicious attempt to gain full administrative access.
Possible investigation steps
-
Verify the event details.
Review the alert fields (
source.ip,user_agent.original,cloud.region, and@timestamp) to confirm when and from where the request originated. - Confirm legitimacy. Contact the account owner or credential custodian to verify whether they initiated the password recovery. AWS will also send an email notification to the root account email address, check whether the owner received and acknowledged this.
-
Check CloudTrail for related events.
Search for any subsequent
ConsoleLoginevents for the root user, or IAM changes (for example,CreateAccessKey,CreateUser, orAttachUserPolicy) shortly after the recovery request. -
Assess IP reputation and location.
Validate whether the
source.ipaligns with known admin networks or expected geographies. Suspicious indicators include foreign IPs, anonymization services, or unfamiliar user agents. - Correlate with other alerts. Review other AWS security detections (for example, root logins, MFA disablement, or IAM policy changes) around the same timeframe.
False positive analysis
- Expected maintenance activity. If the root account owner confirms that the password reset was intentional (for example, for account recovery or planned credential rotation), the alert may be safely dismissed.
- Testing or account verification. Security or compliance teams occasionally test password recovery flows. Confirm via ticketing or planned maintenance documentation.
Response and remediation
1. Immediate actions - If confirmed legitimate: - Ensure that MFA is enabled and operational for the root account. - Encourage rotation of the root password if not recently updated. - If unconfirmed or suspicious: - Immediately reset the root password using the legitimate AWS recovery email link. - Review the AWS account’s email for password-recovery notifications and secure that inbox (change its password, enable MFA). - Check for new successful root logins or unexpected IAM changes since the recovery attempt.
2. Evidence preservation
- Export the PasswordRecoveryRequested event from CloudTrail (±30 minutes).
- Preserve all signin.amazonaws.com and root ConsoleLogin events for the next 24 hours.
- Store this evidence in a restricted S3 bucket with Object Lock enabled.
3. Scoping and investigation
- Review all root-level activities within the past 24–48 hours.
Focus on administrative actions such as CreateAccessKey, UpdateAccountPasswordPolicy, or DisableMFA.
- Correlate with GuardDuty findings and AWS Config change history for any unauthorized modifications.
4. Recovery and hardening - Confirm MFA is enforced on the root account. - Rotate all root credentials and ensure no access keys exist for the root user (root keys should never be active). - Secure the associated email account (password reset notifications are sent there). - Enable Cloudtrail, GuardDuty, Security Hub, and AWS Config across all regions. - Review account recovery procedures to ensure multiple custodians are aware of the legitimate process.
Additional information
-
AWS Incident Response Playbooks:
and
IRP-Credential-Compromise.mdfor procedures related to root account credential recovery and unauthorized access attempts. -
AWS Customer Playbook Framework:
See
Compromised_IAM_Credentials.mdfor guidance on containment, evidence collection, and recovery validation. - AWS Documentation: AWS account root user best practices.
- Security Best Practices: AWS Knowledge Center – Security Best Practices.
Rule query
editevent.dataset:aws.cloudtrail and event.provider:signin.amazonaws.com and event.action:PasswordRecoveryRequested and event.outcome:success
Framework: MITRE ATT&CKTM
-
Tactic:
- Name: Initial Access
- ID: TA0001
- Reference URL: https://attack.mitre.org/tactics/TA0001/
-
Technique:
- Name: Valid Accounts
- ID: T1078
- Reference URL: https://attack.mitre.org/techniques/T1078/