Fantastic Infrastructure as Code security attacks and how to find them
Feb 17, 2022Michael Friedrich

Summary
This post introduces specific risks and attack vectors within Infrastructure as Code (IaC) tools like Terraform, focusing on vulnerabilities such as plaintext passwords, public S3 buckets, and supply chain attacks. It details the practical application and output parsing of several IaC security scanning tools (tfsec, kics, checkov, terrascan, semgrep, tflint) using example vulnerable Terraform code. It also provides guidance on developing more IaC scenarios and integrating these scanners into CI/CD pipelines and merge requests for automated security reviews.