AWS - Shadow Copy Attack
Requirements:
1) EC2:CreateSnapshot
2) CloudCopy - https://github.com/Static-Flow/CloudCopy
Steps:
1) Load AWS CLI with Victim Credentials that have at least CreateSnapshot permissions
2) Run "Describe-Instances" and show in list for attacker to select
3) Run "Create-Snapshot" on volume of selected instance
4) Run "modify-snapshot-attribute" on new snapshot to set "createVolumePermission" to attacker AWS Account
5) Load AWS CLI with Attacker Credentials
6) Run "run-instance" command to create new linux ec2 with our stolen snapshot
7) SSH Run
8) SSH run
9) SSH run
10) SSH run
11) SSH run
12) SFTP
13) SFTP
14) locally run
Expects secretsdump to be on path
Last updated