Files
splunk-security_content/docs/_stories/aws_iam_privilege_escalation.md
2021-09-23 21:27:17 -04:00

3.7 KiB
Raw Permalink Blame History

title, last_modified_at, toc, tags
title last_modified_at toc tags
AWS IAM Privilege Escalation 2021-03-08 true
Splunk Security Analytics for AWS
Splunk Enterprise
Splunk Enterprise Security
Splunk Cloud

Try in Splunk Security Cloud{: .btn .btn--success}

Description

This analytic story contains detections that query your AWS Cloudtrail for activities related to privilege escalation.

  • Product: Splunk Security Analytics for AWS, Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
  • Datamodel:
  • Last Updated: 2021-03-08
  • Author: Bhavin Patel, Splunk
  • ID: ced74200-8465-4bc3-bd2c-22782eec6750

Narrative

Amazon Web Services provides a neat feature called Identity and Access Management (IAM) that enables organizations to manage various AWS services and resources in a secure way. All IAM users have roles, groups and policies associated with them which governs and sets permissions to allow a user to access specific restrictions.
However, if these IAM policies are misconfigured and have specific combinations of weak permissions; it can allow attackers to escalate their privileges and further compromise the organization. Rhino Security Labs have published comprehensive blogs detailing various AWS Escalation methods. By using this as an inspiration, Splunks research team wants to highlight how these attack vectors look in AWS Cloudtrail logs and provide you with detection queries to uncover these potentially malicious events via this Analytic Story. \

Detections

Name Technique Type
AWS Create Policy Version to allow all resources Cloud Accounts, Cloud Account, Cloud Infrastructure Discovery, Brute Force, Account Manipulation, Cloud Groups TTP
AWS CreateAccessKey Cloud Account Hunting
AWS CreateLoginProfile Cloud Account TTP
AWS IAM Assume Role Policy Brute Force Cloud Infrastructure Discovery, Brute Force TTP
AWS IAM Delete Policy Account Manipulation Hunting
AWS IAM Failure Group Deletion Account Manipulation Anomaly
AWS IAM Successful Group Deletion Cloud Groups, Account Manipulation Hunting
AWS SetDefaultPolicyVersion Cloud Accounts TTP
AWS UpdateLoginProfile Cloud Account TTP

Reference

source | version: 1