Skip to content

Add An Iam User (aws)

PlatformAuthorLast Update
awsNick Jones2024-12-02

An attacker may attempt to create an IAM user, in order to provide another means of authenticating to the AWS account

MITRE IDs

Required Permissions

  • iam:CreateUser

Required Parameters

NameTypeDescriptionExample Value
userstrIAM user to createexample-user

Attacker Action

Terminal window
aws iam create-user --user-name example-user

Detection Case

ELK query

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

eventName:CreateUser AND eventSource:iam.amazonaws.com

Sigma Definition

---
title: Add an IAM User
id: 6f660a21-0fcd-4b51-9894-4d2d8213f45b
status: experimental
author: Nick Jones
date: 2024-12-02
description: An attacker may attempt to create an IAM user, in order to provide another means of authenticating to the AWS account
logsource:
service: cloudtrail
detection:
selection_source:
- eventSource: "iam.amazonaws.com"
events:
- eventName: "CreateUser"
condition: selection_source and events
level: low
tags:
- attack.T1136.003
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.