Skip to content

Change Password For Current User (aws)

PlatformAuthorLast Update
awsNick Jones2024-12-02

None

MITRE IDs

Required Permissions

  • iam:ChangePassword

Required Parameters

NameTypeDescriptionExample Value
oldpasswordstrPrevious passwordoldpassword
newpasswordstrNew password to setnewpassword

Attacker Action

Terminal window
aws iam change-password --old-password oldpassword --new-password newpassword

Detection Case

ELK query

When logs are ingested into ELK, the following Lucene query can be used to identify relevant events.

eventName:ChangePassword AND eventSource:iam.amazonaws.com

Sigma Definition

---
title: Change Password for Current User
id: d3f79034-a239-40bb-815f-e1cdd91e648e
status: experimental
author: Nick Jones
date: 2024-12-02
description: None
logsource:
service: cloudtrail
detection:
selection_source:
- eventSource: "iam.amazonaws.com"
events:
- eventName: "ChangePassword"
condition: selection_source and events
level: low
tags:
- attack.T1098
falsepositives:
- Developers making legitimate changes to the environment. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.