mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-01-31 07:27:25 +00:00
Update Cloud - AWS Pentest.md
spelling errors, update allows users to easily copy/paste
This commit is contained in:
parent
6709d543f4
commit
749420fdd2
@ -746,7 +746,7 @@ The credential file is located in `~/.aws/credentials`
|
|||||||
## Listing IAM access Keys
|
## Listing IAM access Keys
|
||||||
|
|
||||||
```
|
```
|
||||||
aws iam list-acess-keys
|
aws iam list-access-keys
|
||||||
```
|
```
|
||||||
|
|
||||||
## 1. Enumerating IAM users
|
## 1. Enumerating IAM users
|
||||||
@ -988,7 +988,7 @@ aws s3 ls --profile example_profile
|
|||||||
### Persistence & Backdooring
|
### Persistence & Backdooring
|
||||||
* Suppose we have two users, the user A has permissions to create Access Keys to user B, this misconfig allows us to create an access key for user B and persist our access.
|
* Suppose we have two users, the user A has permissions to create Access Keys to user B, this misconfig allows us to create an access key for user B and persist our access.
|
||||||
|
|
||||||
#### Creating a new acess key for another user
|
#### Creating a new access key for another user
|
||||||
|
|
||||||
```
|
```
|
||||||
aws iam create-access-key --username example_username
|
aws iam create-access-key --username example_username
|
||||||
@ -2284,7 +2284,7 @@ aws ec2 describe-network-acls
|
|||||||
### Scenario
|
### Scenario
|
||||||
|
|
||||||
* There are 3 VPC's -> A,B,C
|
* There are 3 VPC's -> A,B,C
|
||||||
* A can acess B through peering and B access C. We can use VPC B as a peering pivot to acess VPC C from VPC A.
|
* A can access B through peering and B access C. We can use VPC B as a peering pivot to access VPC C from VPC A.
|
||||||
* The lateral movement can be done if we gather keys or other machines
|
* The lateral movement can be done if we gather keys or other machines
|
||||||
* Always enumerate the subnets to see in which subnet we can access other VPC's
|
* Always enumerate the subnets to see in which subnet we can access other VPC's
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user