Anvilogic high experimental spl

AWS GetFederationToken [splunk-awscloudtrail]

Threat actors may attempt to obtain temporary AWS credentials by calling the GetFederationToken API, which grants limited-time access to AWS resources using specified permissions. Abuse of federation tokens can enable unauthorized access without needing long-term credentials, making detection more difficult. This use case detects requests to the GetFederationToken API, which may indicate initial access, privilege escalation, or persistence attempts in a compromised AWS environment.

View Source

Detection Logic

`get_cloud_data` `get_cloud_data_iam` eventName=GetFederationToken
| table _time, host, user, account, region, src_ip, http_user_agent, access_key, user, user_id, identity_type, role, event_name, event_category, cloud_service, request_parameters, response, mfa_enabled, permissions, identity, action, resource_id, object_id, dest_*
| bin span=1s
| stats values(*) as * by _time, user
| lookup dnslookup clientip as src_ip OUTPUT clienthost as src_dns
| iplocation prefix="src_" src_ip
| rename src_Country as src_country

Field Validations

Loading…

Comments (0)

Loading comments...