Security Flashcards
What is a DDOS attack?
Distributed denial of service
Flooding your server with requests
What is a Layer 4 DDOS attack, and what else is it known by?
- AKA “Syn Flood”.
- The attacker sends SyN packets and ignores the AYN-ACK.
- Makes the server hang
- This exhausts the supply of TCP connections.
What is a common Layer 7 attack?
Floods, GET/POST requests
What is CloudTrail for?
- Logging AWS API Calls.
- Every API call in AWS is logged.
- User Activity
What does CloudTrail Log?
- API Call metadata
- Identity of the API caller
- Time of call
- Source IP of the call
- Request
- Response
What is AWS Shield?
Free DDOS protection
Layer 3 and 4 attacks
What does AWS Shield Advanced give you? How much is it?
- Enhanced protection against more sophisticated attacks
- Real-time protection
- 24/7 access to a live DDOS response team
- Protect your bill against higher fees due to DDOS
- $3000/month
What Protects against Layer 7 attacks?
What protects against Layer 3 and 4 attacks?
- Layer 7 - AWS WAF
- Layer 3 and 4 - AWS Shield/Shield Advanced
What is AWS WAF?
- Web Application Firewall
- Protects against application layer 7 attacks
- Common attacks
- HTTP/HTTPS
- Cross-site scripting
- SQL Injection
What can you control for using WAF?
- IP addresses
- Query strings
- Country of origin
- Request headers
- Presence of SQL code (SQL injections)
- Presence of scripts (cross-site scripting)
What is Guard Duty?
- Machine learning-based threat detection
- looks for things like known malicious IPs, port scanning, etc.
How can you use AI and automation to protect your AWS account
Guard Duty -→ Lambda!
What is AWS Macie for?
Automated monitoring S3 buckets for PII
Can send alerts
What is AWS Inspector?
- Automated security assessment service
- Works with
- Network
- EC2’s
- think “vulnerability scans”
What types of assessments does AWS Inspector do?
- Network Assessments
- Host Assessments (with an installed agent)