Skip to content

Enumerate IAM groups

Author Last Update
Nick Jones 2020-06-18

An adversary may attempt to enumerate the configured IAM groups within an account, to identify entities that they might wish to gain access to or backdoor.

MITRE IDs

Required Permissions

  • iam:ListGroups

Required Parameters

None

Attacker Action

aws iam list-groups

Detection Case

ELK query

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

eventName:ListGroups AND eventSource:*.iam.amazonaws.com  

Sigma Definition

---
title: Enumerate IAM groups
id: 88d0e794-1e66-4d93-bf3b-4628bd09aaa3
status: experimental
author: Nick Jones
date: 2020-06-18
description: An adversary may attempt to enumerate the configured IAM groups within an account, to identify entities that they might wish to gain access to or backdoor.
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.iam.amazonaws.com"
  events:
    - eventName: "ListGroups"
  condition: selection_source AND events
level: low
tags:
  - attack.t1089