Awesome AWS Security
A common curated list of links, references, books videos, tutorials (Free or Paid), Exploit, CTFs, Hacking Practices etc. which are obviously related to AWS Security. List inspired by the awesome list thing.
Table of Contents
1. AWS Whitepapers
2. Books
3. Videos
4. Online Tutorials/Blogs/Presentations
5. Online Courses (Paid/Free)
6. Tools of Trade
7. Security Practice and CTFs
8. AWS Security Bulleting Important Issues
9. AWS Security Breaches
10. Contributors
AWS Whitepapers
AWS has awesome lists of whitepapers related to AWS Security. We are adding few important one here. You can anytime check more for updated or new security whitepapers here
And don't forget to bookmark AWS Security bulletin for new vulnerabilities news from here
- AWS Overview - One of the important whitepaper to understand an overview of AWS
- Introduction to AWS Security Whitepaper
- AWS Well-Architected Security Pillar
- 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
- Security overview of AWS Lambda
- 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
Books
- 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 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
- 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.
- Serverless Security - An Apress book that discusses serverless security on AWS, Azure and Google Cloud.
- AWS Security Cookbook
- 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
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
- AWS Cloud Security Playlist - Youtube
- A cloud security architecture workshop by RSA - Youtube
- AWS Cloud Security - Oreilly
- Introduction to AWS Security Hub - Youtube
- Solution for flaws.cloud AWS Security Challenge - Youtube Playlist
- AWS Security Best Practice: Well-Architected way - Youtube
- Hands-On With AWS Security Best Practices
- AWS re:Invent 2020: Security at scale: How Goldman Sachs manages network and access control
Online Tutorials/Blogs/Presentations
- AWS Security official blog
- AWS in Plain English
- Why the CIA trusts AWS
- Fundamentals of AWS Security - Presentation from AWS
- AWS Security primer - Nice overview and quick run through AWS Security resources.
- AWS Security Blog
- 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.
- 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.
- How Federico hacked a whole EC2 network during a penetration test
- A short blog on hacking AWS - Examples are based on cloudgoat.
- S3 security is flawed by design - This article will show you why you need to be extra careful when using AWS S3.
- 51 Tips for Security AWS(pdf) - McAfee
- The role of API gateways in API security
- Finding SSRF via HTML Injection inside a PDF file on AWS EC2
- Getting shell and data access in AWS by chaining vulnerabilities
- Hacking Serverless Runtimes - Blackhat2017
- Detailed blog on ConsoleMe: A Central Control Plane for AWS Permissions and Access by Netflix
- Strengthen the security of sensitive data stored in Amazon S3 by using additional AWS services
- Use IMDSv2 instead: Defense in depth
- Managing permissions with grants in AWS Key Management Service
- AWS IAM Exploitation
- S3 Pentest by Rhino Security Labs
- How an Attacker Could Use Instance Metadata to Breach Your App in AWS
- Orca Security Research Team Discovers AWS CloudFormation Vulnerability
- Orca Security Research Team Discovers AWS Glue Vulnerability
- How I Discovered Thousands of Open Databases on AWS
- 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
- One more on IAM Privilege Escalation
- *A very good repo for learning IAM based vulnerabilities
Online Courses (Paid/Free)
- AWS Fundamentals: Address Security Risks - Coursera
- Cloud Computing Security - Coursera
- AWS: Getting started with Cloud Security - EdX
- AWS Certified Security Specialty - Udemy by Zeal Vora
- AWS Certified Security Specialty - From Acloud.guru
- 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
- Cloud Hacking course - From NotSoSercure
- 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
Tools of Trade
- AWS Security Products - Official - Few Important tools that you should consider are:
- 1.1 AWS IAM: AWS Identity and Access Management (IAM) enables you to manage access to AWS services and resources securely
- 1.2 CloudWatch: CloudWatch is the AWS monitoring tool
- 1.3 CloudTrail: AWS CloudTrail is a service that enables governance, compliance, operational auditing, and risk auditing of your AWS account
- 1.4 AWS Inspector: AWS inspector is a security assessment service that does vulnerability and best-practice scanning for AWS applications
- 1.5 Amazon GuardDuty: GuardDuty is a managed threat detection service that is simple to deploy, and scales with your infrastructure
- 1.6 AWS KMS: AWS KMS is a secure and resilient service that uses hardware security modules that have been validated under FIPS 140-2
- 1.7 AWS Shield: AWS Shield is a managed DDoS protection service. AWS Shield can protect EC2, Load balancers, CloudFront, Global Accelerator, and Route 53 resources
- 1.8 AWS Trusted Advisor: AWS Trusted Advisor is an online tool that provides you real time guidance to help you provision your resources following AWS best practices
- 1.9 AWS Config: AWS Config is a service that enables you to assess, audit, and evaluate the configurations of your AWS resources
- 1.10 Security Hub: AWS Security Hub gives you a comprehensive view of your high-priority security alerts and security posture across your AWS accounts
- 1.11 AWS WAF: AWS WAF is a web application firewall that helps protect your web applications or APIs against common web exploits that may affect availability, compromise security, or consume excessive resources
- 1.12 AWS Macie: Macie is all about protecting data. It is a machine learning service that watches data access trends and finds anomalies to spot data leaks and unauthorized data access.
- 1.13 AWS Detective: Amazon Detective automatically collects log data from your AWS resources and uses machine learning, statistical analysis, and graph theory to build a linked set of data that enables you to easily conduct faster and more efficient security investigations.
- 1.14 AWS Conformance Packs: A conformance pack is a collection of AWS Config rules and remediation actions that can be easily deployed as a single entity in an account and a Region or across an organization in AWS Organizations. conformance packs on github
- 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
- 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.
- S3 Inspector - Tool to check AWS S3 bucket permissions
- ScoutSuite - Multi-Cloud Security Auditing Tool
- Prowler - AWS Security Best Practices Assessment, Auditing, Hardening and Forensics Readiness 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.
Security Practices and CTFs
- AWS Well Architected Security Labs
- Flaws to learn common mistakes in AWS through challenge
- Flaws2 focuses on AWS security concepts through various challenge levels
- 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.
- 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.
- AWS S3 CTF Challenges with solutions
- AWS CTF with practical scenario
- Breaking and Pwning Apps and Servers on AWS and Azure by AppSecCo - The training covers a multitude of scenarios taken from our vulnerability assessment, penetration testing and OSINT engagements which take the student through the journey of discovery, identification and exploitation of security weaknesses, misconfigurations and poor programming practices that can lead to complete compromise of the cloud infrastructure.
- 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 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.
- How a Security Researcher found 1000s of open databases on AWS
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
- 10 worst Amazon S3 breaches
- Lion Air the Latest to Get Tripped Up by Misconfigured AWS S3
- 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
- Online Fashion App 21 buttons Exposes Financial Records of Top European Influencers
- 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
Contributors
Please refer the guidelines at contribute.md for details.
Thanks to the following folks who made contributions to this project.
Get your name listed here