Possible AWS STS GetSessionToken Misuse (via cloudtrail)

This rule detects the anomalous use of GetSessionToken. Tokens could be created and used by adversaries to move laterally and escalate privileges.

SigmalowCloudv1
sigma
title: Possible AWS STS GetSessionToken Misuse (via cloudtrail)
id: ae560058-8e35-5b57-8b18-a7a5e50a8a54
status: stable
description: This rule detects the anomalous use of GetSessionToken. Tokens could be created and used by adversaries to move laterally and escalate privileges.
references:
    - https://attack.mitre.org/techniques/T1550/001/
    - https://attack.mitre.org/techniques/T1550/
    - https://attack.mitre.org/techniques/T1548/
    - https://github.com/elastic/detection-rules/pull/1213
    - https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html
author: Huntrule Team
date: 2026-04-03
tags:
    - attack.lateral-movement
    - attack.privilege-escalation
    - attack.t1548
    - attack.t1550
    - attack.t1550.001
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: sts.amazonaws.com
        eventName: GetSessionToken
        userIdentity.type: IAMUser
    condition: selection
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.