Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/privilege-escalation-paths/aws/cloudcontrol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
source: src/pentesting-cloud/aws-security/aws-privilege-escalation/aws-cloudcontrol-privesc/README.md#cloudformationcreateresource--iampassrole
source_revision: 9e5d46375b53cbd2d0cdce63771f3e36f0c30bae
summary: The source can use a passable CloudFormation role to create an IAM user with an administrator policy and a chosen console password through Cloud Control.
# The native precondition checks CreateResource, exact PassRole, and the role's user-creation rights.
requires:
all_of:
- action: cloudformation:CreateResource
all_of: []
source_kind: [aws_user, aws_role]
target:
kind: aws_account_admin
Expand Down
10 changes: 4 additions & 6 deletions src/privilege-escalation-paths/aws/ec2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
source: src/pentesting-cloud/aws-security/aws-privilege-escalation/aws-ec2-privesc/README.md#iampassrole-ec2runinstances
source_revision: 171e422299
summary: The source can launch an EC2 instance it controls with a passable instance profile and may run code using the attached role.
# The native precondition checks every launch resource and PassRole on the exact role.
requires:
all_of:
- action: iam:PassRole
- action: ec2:RunInstances
all_of: []
target:
kind: aws_role
selector:
Expand Down Expand Up @@ -92,10 +91,9 @@
source: src/pentesting-cloud/aws-security/aws-privilege-escalation/aws-ec2-privesc/README.md#ec2requestspotinstances-iampassrole
source_revision: 171e422299
summary: The source can request a Spot Instance it controls with a passable instance profile and may run code using the attached role.
# The native precondition checks every Spot request resource and PassRole on the exact role.
requires:
all_of:
- action: iam:PassRole
- action: ec2:RequestSpotInstances
all_of: []
target:
kind: aws_role
selector:
Expand Down
Loading