AWS DDOS Flashcards
To mitigate DDOS, what is the recommended approach?
- Be ready and able to scale.
- Minimise attach surface
- What is normal, need to be monitoring to understand what is normal
- Plan for attacks
With regard to DDOS, what should you be doing with your attack surface?
Minimizing the attack surface, this means minimizing the footprint exposed to the internet, by way of securing all ports not required.
To mitigate a DDOS attack, what infrastructure services can you use?
ELB to balance traffic between autoscaled instances, so as the DDOS load increases so does the ability to absorb the increase of traffic
With regard to the attack surface, what should you be doing when designing an application and infrastructure on AWS to deal with DDOS?
Minimizing the attack surface by decoupling your application into layers, with only the layer like the web layer exposed to the internet. Keep all other layers in private VPC, ensure only one service per instance.
With regard to DDOS and having a decoupled application infrastructure, what AWS components are good for decoupling?
SQS, Elastic Beanstalk.
With regard to DDOS and knowing what is normal, what services can help in this area?
SNS, CloudWatch
With regard to DDOS, do you need a plan?
Yes, you need a plan, Same app Country Nature (SYN flood, App) Have business support should be in place
What services can help mitigate DDOS?
- Cloudfront CDN is designed to mitigate any attack so your content is always available.
- Route53 is designed to mitigate the attack and be always available.
- Autoscaling enables your app to absorbed attack
- ELB enables your app to scale
- WAF
- VPC & Security groups
What are the five DDOS attack vectors?
UDP reflection attacks UDP flood TCP SYN flood Web application layer DNS query flood
What is rate based blacklisting?
It is the ability of a WAF to blacklist traffic on its rate if some bad actor is DDOSing your application.
What is a syn cookie and how dose it helkp with syn flooding?
A syn cookiis is returned with the syn+ack to a syn, it
What tequniques is AWS using to mitigate DDOS attacks?
Allow only valid traffic
SYN- Cookie
Suspicion-based traffic shaping
How will the AWS ELB mitigate DDOS attack?
- ELB will start to scale our as traffic arives.
- AWS Blackwatch kickes in to protect the ELB and apply blackwatch mitigation.
- This is why you wnat your app to also auto scale
What is a Syn flood attack?
A syn attach is an attack where many syns are sent to try to overflow the table used to track syn requests.
What is the mitigation used for syn attacks?
Use syn cookies
what is UDP reflection attacks?
Where the stateless nature of UPD is used to have another server respond to the target IP to a request sent by another server.