Skip to content

Delete IAM user

Platform Author Last Update
aws Nick Jones 2023-07-01

An adversary may attempt to delete an IAM user within an account, to alter legitimate access or block administrative activity.

MITRE IDs

Required Permissions

  • iam:DeleteUser

Required Parameters

Name Type Description Example Value
user str IAM user to delete example_user

Attacker Action

aws iam delete-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:DeleteUser AND eventSource:*.iam.amazonaws.com  

Sigma Definition

---
title: Delete IAM user
id: aeffd059-cd63-4ff5-ac5f-63c79237c6fa
status: experimental
author: Nick Jones
date: 2023-07-01
description: An adversary may attempt to delete an IAM user within an account, to alter legitimate access or block administrative activity.
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.iam.amazonaws.com"
  events:
    - eventName: "DeleteUser"
  condition: selection_source AND events
level: low
tags:
  - attack.T1531