AWS CloudTrail: Root User Credential Usage (UserIdentity.type=Root)

Alerts on CloudTrail activity performed by AWS account root credentials.

FreeReviewedSigma · Medium · v5
Product
aws
Service
cloudtrail
Author
vitaliy0x1 (SigmaHQ), DRL 1.1
Published
2020-01-21
Updated
2026-07-31
title: "AWS CloudTrail: Root User Credential Usage (UserIdentity.type=Root)"
id: 48fcd35b-8655-492a-a024-2cc982eea159
status: test
description: This rule flags CloudTrail events where the acting principal is the AWS account root user (userIdentity.type set to Root), excluding events with eventType recorded as AwsServiceEvent. Root credentials provide maximum privileges, so their use can indicate account takeover attempts, privilege escalation, or persistence activity. The detection relies on CloudTrail telemetry, specifically userIdentity.type and eventType fields.
references:
  - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html
  - https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/aws/cloudtrail/aws_root_account_usage.yml
author: vitaliy0x1, Huntrule Team
date: 2020-01-21
modified: 2022-10-09
tags:
  - attack.privilege-escalation
  - attack.initial-access
  - attack.persistence
  - attack.stealth
  - attack.t1078.004
logsource:
  product: aws
  service: cloudtrail
detection:
  selection_usertype:
    userIdentity.type: Root
  selection_eventtype:
    eventType: AwsServiceEvent
  condition: selection_usertype and not selection_eventtype
falsepositives:
  - AWS Tasks That Require AWS Account Root User Credentials https://docs.aws.amazon.com/general/latest/gr/aws_tasks-that-require-root.html
level: medium
license: DRL-1.1
related:
  - id: 8ad1600d-e9dc-4251-b0ee-a65268f29add
    type: derived