Anvilogic high experimental spl
EC2 SystemsManager Exploitation AWS [splunk-ec2]
Identifies execution of API commands for the System Security manager. These profiles can be leveraged to execute arbitrary code on EC2 instances as root/SYSTEM using EC2 Systems Manager. -- Threat Actor Association: LUCR-3
Detection Logic
`get_cloud_data` `get_cloud_data_iam` eventType="AwsApiCall" eventName IN ("AssociateIamInstanceProfile", "CreateRole", "AddRoleToInstanceProfile", "AttachRolePolicy", "UpdateInstanceInformation", "CreateInstanceProfile") (requestParameters.roleName=SSM
OR requestParameters.instanceProfileName=SSM)
| 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, src_ip
| 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...