awesome-aws-security
Curated list of links, references, books videos, tutorials (Free or Paid), Exploit, CTFs, Hacking Practices etc. which are related to AWS Security
https://github.com/jassics/awesome-aws-security
Last synced: 3 days ago
JSON representation
AWS Security Breaches
- AWS Security breaches - 2017
- 200 million voters data leak - A lesson in AWS Security
- Imperva blames data breach on Stolen AWS API keys
- Tesla's Amazon cloud account was hacked and used to mine cryptocurrency
- Online Fashion App 21 buttons Exposes Financial Records of Top European Influencers due to S3 misconfiguration
- Capital One Cloud data breach due to S3 misconfiguration
- Utah COVID-19 testing service exposes 50,000 patients’ photo IDs, personal info on the web
- US municipalities suffer data breach due to misconfigured Amazon S3 buckets
- 10 worst Amazon S3 breaches
- Lion Air the Latest to Get Tripped Up by Misconfigured AWS S3
AWS Security Bulletin Important Issues
- Container Networking Security Issue ([CVE-2020-8558]) - (This issue may allow containers running on the same host, or adjacent hosts (hosts running in the same LAN or layer 2 domain), to reach TCP and UDP services bound to localhost (127.0.0.1))
- Minimum Version of TLS 1.2 Required for FIPS Endpoints by March 31, 2021
- Unencrypted md5 plaintext hash in metadata in AWS S3 Crypto SDK for golang
- CBC padding oracle issue in AWS S3 Crypto SDK for golang - CVE-2020-8911
- In-band key negotiation issue in AWS S3 Crypto SDK for golang - CVE-2020-8912
- CVE-2018-15869 - An Amazon Web Services (AWS) developer who does not specify the --owners flag when describing images via AWS CLI, and therefore not properly validating source software per AWS recommended security best practices, may unintentionally load an undesired and potentially malicious Amazon Machine Image (AMI) from the uncurated public community AMI catalog.
AWS Security Podcast/Newsletter
- Cloud Security Newsletter - Weekly Cloud Security Nuggets in your inbox
- Cloud Security Podcast - YouTube - Weekly Interviews with Cloud Security Professionals on AWS, Azure, GCP Security for Blue Teams & Red Teams
AWS Whitepapers
- AWS Overview - One of the important whitepaper to understand an overview of AWS
- Introduction to Security By Design
- AWS Well Architected Framework
- AWS Risk And Compliance Whitepaper
- AWS Security Checklist
- AWS HIPAA Compliance Whitepaper
- AWS Cloud Adoption Framework
- AWS Auditing Security Checklist
- AWS CIS Foundation benchmark
- AWS Security Incident Response
- Overview of AWS Lambda Security
- AWS KMS Best Practices
- Encrypting File Data with Amazon Elastic File System
- Security of AWS CloudHSM backups
- NIST Cybersecurity Framework in the AWS cloud
- NIST 800-144 Security and Privacy in Public Cloud Computing
- Security at the Edge: Core Principles
- AWS KMS Best Practices
- Security Overview of AWS Fargate
- Introduction to AWS Security Whitepaper
- AWS Well-Architected Security Pillar
- Security overview of AWS Lambda
Books
- AWS Security by Manning - Very nice book in Progress, yet to release.
- Securing DevOps - A book which has real-world examples for Cloud Security. Must read book for any Cloud Security Professionals.
- Practical Guide to Security in the AWS Cloud by SANS and sponsored by AWS Marketplace - pdf
- CSA Guide to Cloud Computing by Sungress
- Practical Cloud Security by O'reilly
- Hands-On AWS Penetration Testing with Kali Linux by PackT
- Mastering AWS Security by PackT
- Security Best Practices on AWS by PackT
- Cloud Security Automation
- AWS Automation Cookbook
- AWS Security Cookbook
- Effective IAM for AWS
- AWS Lambda Security Best Practices - pdf - It's published by Puresec and it has a good overview on AWS Lambda Security Best Practices which we should follow
- Serverless Security - An Apress book that discusses serverless security on AWS, Azure and Google Cloud.
- Amazon Bedrock in Action
Online Courses (Paid/Free)
- AWS Fundamentals: Address Security Risks - Coursera
- Cloud Computing Security - Coursera
- AWS Certified Security Specialty - Udemy by Zeal Vora
- AWS Certified Security Specialty - From Acloud.guru
- AWS Certified Security Specialty - Udemy by Stephan Maarek
- AWS Certified Security Specialty - From WhizLabs
- AWS Advanced Security - Udemy
- AWS for Architects: Advanced Security - Linkedin Learn by Lynn Langit
- Practical Event Driven Security with AWS - Acloud.guru
- Learning Path for AWS Security - Nicely designed the learning path who wants to be an AWS Security Experts from Acloud.guru
- AWS Skill Builder platform security learning plan - AWS SkillBuilder
- Cloud Security: AWS Edition Bootcamp by Pentester Academy - From Pentester Academy
- Breaking and Pwning Apps and Servers in AWS and Azure - Previously an instructor led training now released as free and open source courseware for Cloud Pentesters
- EKS Goat: AWS EKS Security Masterclass by Anjali and Divyanshu - FREE EKS Attack and Defense From Anjali & Divyanshu
- AWS: Getting started with Cloud Security - EdX
- AWS Security Path - AppSecEngineer
- Cloud Hacking course - From NotSoSercure
Online Tutorials/Blogs/Presentations
- AWS Security official blog
- AWS in Plain English
- AWS Security primer - Nice overview and quick run through AWS Security resources.
- How a whitehat hacker earned $1500 in 15 minutes due to AWS S3 misconfiguration - It was fun going through the blog. You can learn from this article too.
- How Federico hacked a whole EC2 network during a penetration test
- S3 security is flawed by design - This article will show you why you need to be extra careful when using AWS S3.
- The role of API gateways in API security
- Hacking Serverless Runtimes - Blackhat2017
- Strengthen the security of sensitive data stored in Amazon S3 by using additional AWS services
- Managing permissions with grants in AWS Key Management Service
- AWS IAM Exploitation
- S3 Pentest by Rhino Security Labs
- Orca Security Research Team Discovers AWS CloudFormation Vulnerability
- Orca Security Research Team Discovers AWS Glue Vulnerability
- CVE-2022-25165: Privilege Escalation to SYSTEM in AWS VPN Client
- Downloading and Exploring AWS EBS Snapshots
- Weaponizing AWS ECS Task Definitions to Steal Credentials From Running Containers
- Good Read on AWS IAM Privilege Escalation – Methods and Mitigation
- AWS Penetration Testing: Step by step guide
- Use IMDSv2 instead: Defense in depth
- How an Attacker Could Use Instance Metadata to Breach Your App in AWS
- 51 Tips for Security AWS(pdf) - McAfee
- A very good repo for learning IAM based vulnerabilities
- Why the CIA trusts AWS
- Fundamentals of AWS Security - Presentation from AWS
- Detailed blog on ConsoleMe: A Central Control Plane for AWS Permissions and Access by Netflix
- One more on IAM Privilege Escalation
- Finding SSRF via HTML Injection inside a PDF file on AWS EC2
- Getting shell and data access in AWS by chaining vulnerabilities
- How I Discovered Thousands of Open Databases on AWS
- AWS Interview question on SSH
- A deep dive into AWS S3 access control - It will give a very good grip on how S3 buckets can be exploited. Lengthy but worth to go through.
- A short blog on hacking AWS - Examples are based on cloudgoat.
Security Practices and CTFs
- AWS Well Architected Security Labs
- AWS S3 CTF Challenges with solutions
- AWS CTF with practical scenario
- AWS Workshop official - This is not exactly security part, but would be helpful to understand AWS with this workshop examples.
- AWS Security Workshops - by AWS
- AWS Cloud Quest: Security Role
- AWS Jam Journey: Security
- TryHackMe: Attacking and Defending AWS
- Free AWS Security Labs
- Black Sky Cloud Labs from HTB
- CloudFoxable - Create your own vulnerable by design AWS penetration testing playground
- CloudGoat By Rhino Security Labs - Vulnerable by Design AWS infrastructure setup tool
- OWASP ServerlessGoat - OWASP ServerlessGoat is a deliberately insecure realistic AWS Lambda serverless application maintained by OWASP for educational purposes.
- ThreatModel for Amazon S3 - Library of all the attack scenarios on Amazon S3 and how to mitigate them, following a risk-based approach
- Flaws to learn common mistakes in AWS through challenge
- Flaws2 focuses on AWS security concepts through various challenge levels
- OWASP WrongSecrets - OWASP WrongSecrets is a vulnerable app which shows you how to not store secrets. It covers code, Docker, Kubernetes, and AWS cloud bad practices.
- RansomLeak Cloud Security Training - Free browser-based labs on public S3 buckets, over-permissive IAM, long-lived access keys, instance metadata abuse, and privileged containers
Tools of Trade
- AWS Security Products - Official - Few Important tools that you should consider are:
- conformance packs on github
- AWS Pentesting/Red Team Methodology - by hackingthe.cloud - A collection of attacks/tactics/techniques that can use by offensive security professionals during cloud exploitation.
- S3 Inspector - Tool to check AWS S3 bucket permissions
- Arsenal of AWS Security Tools - Collection of all security category tools and products
- AWS Security Automation - Collection of scripts and resources for DevSecOps and Automated Incident Response Security
- ScoutSuite - Multi-Cloud Security Auditing Tool
- AWS Vault - A vault for securely storing and accessing AWS credentials in development environments
- AWS PWN - A collection of AWS penetration testing junk
- Pacu - AWS Penetration Testing Toolkits
- Zeus - AWS Auditing and Hardening tool
- Cloud Mapper - Analyze your AWS environments (Python)
- ConsoleMe - A Central Control Plane for AWS Permissions and Access
- AWS Firewall Factory - Deploy, update, and stage your WAFs while managing them centrally via FMS.
- CloudFox - Automating situational awareness for cloud penetration tests
- aws-lint-iam-policies - Tool to find problems in identity-based and resource-based IAM policies
- truffleHog - Searches through git repositories for high entropy strings and secrets, digging deep into commit history
- gitleaks - Audit git repos for secrets
- AWS Security Benchmark - Open source demos, concept and guidance related to the AWS CIS Foundation framework.
- Prowler - AWS Security Best Practices Assessment, Auditing, Hardening and Forensics Readiness Tool.
- s3dns - Passive DNS-based discovery of S3 (and other cloud) buckets by resolving CNAMEs and IPs during recon—ideal for stealthy and early identification of cloud storage exposures
- Nubicustos - Orchestrates 20+ security tools (Prowler, ScoutSuite, Checkov, CloudFox, Pacu, etc.) with unified findings, attack paths, and compliance
- S3 Security Scanner - Comprehensive AWS S3 security scanner that analyzes bucket configurations, policies, and access controls
- IAM Activity Tracker - Serverless AWS solution for tracking IAM, STS, and Console sign-in activities across all regions using EventBridge and CloudTrail
- CloudSecure - Open-source AWS security assessment platform with AI-powered analysis, Prowler integration, and automated CIS benchmark scanning. Built serverless with CDK, Lambda, and Step Functions
- cloud-audit - Open-source AWS security scanner that detects attack chains and generates remediation code. 80+ checks, CIS/SOC 2 compliance.
- boto3-refresh-session - A simple Python package for refreshing AWS temporary credentials in boto3 automatically. Supports MFA, IoT, and custom auth flows.
- AWS Pentesting/Red Team Methodology - by hacktricks - A Collection for AWS environment penetration testing methodology.
- Cynative - Open-source framework for security agents with live, read-only access to your infrastructure (connects to AWS, GCP, Azure, self-managed Kubernetes, GitHub and GitLab).
Videos
- The fundamentals of AWS Security - Youtube
- AWS Security by Design - Youtube
- Account Security with IAM - Youtube
- AWS re:Inforce 2019 Security Best Practices - Youtube
- A cloud security architecture workshop by RSA - Youtube
- Introduction to AWS Security Hub - Youtube
- Hands-On With AWS Security Best Practices
- AWS re:Invent 2020: Security at scale: How Goldman Sachs manages network and access control
- AWS Cloud Security Playlist - Youtube
- Solution for flaws.cloud AWS Security Challenge - Youtube Playlist
- AWS Cloud Security - Oreilly