Skip to content

Delete Login Profile For Existing User (aws)

PlatformAuthorLast Update
awsNick Jones2024-12-02

None

MITRE IDs

Required Permissions

  • iam:DeleteLoginProfile

Required Parameters

NameTypeDescriptionExample Value
userstrIAM user to delete the login profile forroot

Attacker Action

Terminal window
aws iam delete-login-profile -user-name user

Detection Case

ELK query

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

eventName:DeleteLoginProfile AND eventSource:iam.amazonaws.com

Sigma Definition

---
title: Delete login profile for existing user
id: 7c3333ce-9d4b-4704-8311-a4b68fe0f5f9
status: experimental
author: Nick Jones
date: 2024-12-02
description: None
logsource:
service: cloudtrail
detection:
selection_source:
- eventSource: "iam.amazonaws.com"
events:
- eventName: "DeleteLoginProfile"
condition: selection_source and events
level: low
tags:
- attack.T1531
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.