Title:
AWS STS GetSessionToken Misuse
Status:
test
Description:Identifies the suspicious use of GetSessionToken. Tokens could be created and used by attackers to move laterally and escalate privileges.
References:
-https://github.com/elastic/detection-rules/pull/1213
-https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html
Author: Austin Songer @austinsonger
Date: 2021-07-24
modified:2022-10-09
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:
-GetSessionToken may be done by a system or network administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. GetSessionToken from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
Level:
low