SlideShare a Scribd company logo
Web Resource Exhaustion
 Slow DoS Attacks
Resource Exhaustion – Slow DOS Attacks
 Goal of Attacker:
• Exhaust pool of available TCP connections on server so that no new legitimate
connections can be established
 Types of Attacks:
• Slow Header Attacks
• Slow POST Attacks
• Slow Read Attacks
Slow Header Attacks
 Sends HTTP headers very slowly and never completes the header send
process.
Slow Header Attacks
 Tools
• Slowloris (Pyloris, QSlowloris)
• OWASP HTTP Post Tool
• Slowhttptest
 Who is Affected?
• Any server that does not have HTTP header timeouts (notably Apache 1.x/2.x)
 How to Mitigate
• Web server settings (max conns, conns/IP, min bps/conn, max total transfer time)
• Switch to non-affected web server (ex: IIS)
• Reverse proxy / SLB device
• CDNs – CDN edge nodes usually do not take action until all headers are read
Slow POST Attacks
 Sends HTTP POST body very slowly and never completes the POST body
process.
Slow POST Attacks
 Tools
• R-U-Dead-Yet (RUDY)
• OWASP HTTP Post Tool
• Slowhttptest
 Who is Affected?
• Any site that has forms (login, comments, feedback, etc.) and accepts HTTP POSTs
 How to Mitigate
• Set max POST body size of each form
• Web server settings (max conns, conns/IP, min bps/conn, max total transfer time)
• WAF
WAF – Slow POST Additional Details
 Inspection Buffer
• Usually up to 8KB by default is inspected
• If POST is larger than configured buffer, overrun content is uninspected and
unmeasured
 Best Practices
• Increase buffer size if larger than 8KB POSTs are expected
• Set max POST body size so that larger POSTs will be denied
 Note: If max body size < buffer size then all content will be inspected
Slow Read Attacks
 Keeps server sockets busy by throttling down the receipt of large HTTP
responses.
Slow Read Attacks
 Tools
• Slowhttptest
• Nkiller2
• Sockstress
 Who is Affected?
• Any TCP-based application
 How to Mitigate
• Web server settings (max conns, conns/IP, min bps/conn, max total transfer time)
• WAF
Resources
• https://www.owasp.org/images/a/a6/Owasp_KS_slowDoS.pdf
• http://media.blackhat.com/bh-dc-
11/Brennan/BlackHat_DC_2011_Brennan_Denial_Service-
Slides.pdf
• http://vimeo.com/7618090 (Defcon Slowloris video)
• http://blog.spiderlabs.com/2011/07/advanced-topic-of-the-
week-mitigating-slow-http-dos-attacks.html
• https://en.wikipedia.org/wiki/Slowloris
• https://community.qualys.com/blogs/securitylabs/2012/01/05/
slow-read

More Related Content

KEY
Load Balancing with Apache
PPTX
Benchmarking NGINX for Accuracy and Results
PPTX
Introduction to NGINX web server
PDF
KEY
Nginx in production
PPTX
HAProxy
PPT
Web Server Load Balancer
PDF
HA Deployment Architecture with HAProxy and Keepalived
Load Balancing with Apache
Benchmarking NGINX for Accuracy and Results
Introduction to NGINX web server
Nginx in production
HAProxy
Web Server Load Balancer
HA Deployment Architecture with HAProxy and Keepalived

What's hot (20)

ODP
ChinaNetCloud Training - HAProxy Intro
PDF
Extending functionality in nginx, with modules!
PPTX
Basics of NGINX
PDF
Consul scale
PDF
HLS WWDC2020
PPTX
PPTX
HTTP Request Smuggling
PDF
Http smuggling 1 200523064027
PPTX
Maximizing PHP Performance with NGINX
KEY
Nginx - Tips and Tricks.
ODT
Load Balancing with HAproxy
PDF
Altitude SF 2017: QUIC - A low-latency secure transport for HTTP
PDF
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
PDF
Donatas Mažionis, Building low latency web APIs
PPTX
Using HAProxy to Scale MySQL
PDF
HAProxy tech talk
PDF
Troubleshooting RabbitMQ and services that use it
PDF
What's New in NGINX Plus R12?
PDF
Ensuring Consistency in a Replicated World
ChinaNetCloud Training - HAProxy Intro
Extending functionality in nginx, with modules!
Basics of NGINX
Consul scale
HLS WWDC2020
HTTP Request Smuggling
Http smuggling 1 200523064027
Maximizing PHP Performance with NGINX
Nginx - Tips and Tricks.
Load Balancing with HAproxy
Altitude SF 2017: QUIC - A low-latency secure transport for HTTP
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Donatas Mažionis, Building low latency web APIs
Using HAProxy to Scale MySQL
HAProxy tech talk
Troubleshooting RabbitMQ and services that use it
What's New in NGINX Plus R12?
Ensuring Consistency in a Replicated World
Ad

Similar to Web - Resource Exhaustion Attacks (20)

PDF
Null HYD VRTDOS
PDF
hashdays 2011: Sniping Slowloris - Taking out DDoS attackers with minimal har...
PPTX
HTTP basics in relation to Applicaiton Security - OWASP
PDF
QA: Базовое тестирование защищенности веб-приложений в рамках QA
PDF
Layer 7 ddos
PPTX
BSides Algiers - Layer7 DoS Attacks - Oussama Elhamer
PDF
A Cyberwarfare Weapon: Slowreq
PDF
Codefest2015
PPTX
Session for InfoSecGirls - New age threat management vol 1
PDF
http security response headers for web security
PPTX
CollabSphere SC 103 : Domino on the Web : Yes, It's (Probably) Hackable
PPTX
Presentation on Web Attacks
PDF
Security problems - Ddos Slowloris HTTP Dos
PPTX
Bootcon project presentation for bootcamp
PDF
Hypertext transfer protocol performance analysis in traditional and software ...
PDF
Defending Against Application DoS attacks
DOCX
webserver overload
PPT
Owasp universal-http-do s
PPT
Owasp universal-http-do s
PPT
302 Content Server Security Challenges And Best Practices
Null HYD VRTDOS
hashdays 2011: Sniping Slowloris - Taking out DDoS attackers with minimal har...
HTTP basics in relation to Applicaiton Security - OWASP
QA: Базовое тестирование защищенности веб-приложений в рамках QA
Layer 7 ddos
BSides Algiers - Layer7 DoS Attacks - Oussama Elhamer
A Cyberwarfare Weapon: Slowreq
Codefest2015
Session for InfoSecGirls - New age threat management vol 1
http security response headers for web security
CollabSphere SC 103 : Domino on the Web : Yes, It's (Probably) Hackable
Presentation on Web Attacks
Security problems - Ddos Slowloris HTTP Dos
Bootcon project presentation for bootcamp
Hypertext transfer protocol performance analysis in traditional and software ...
Defending Against Application DoS attacks
webserver overload
Owasp universal-http-do s
Owasp universal-http-do s
302 Content Server Security Challenges And Best Practices
Ad

Recently uploaded (20)

PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PDF
Microsoft Office 365 Crack Download Free
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
Website Design Services for Small Businesses.pdf
PDF
Cost to Outsource Software Development in 2025
PPTX
Introduction to Windows Operating System
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
Monitoring Stack: Grafana, Loki & Promtail
Patient Appointment Booking in Odoo with online payment
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Computer Software and OS of computer science of grade 11.pptx
How Tridens DevSecOps Ensures Compliance, Security, and Agility
GSA Content Generator Crack (2025 Latest)
Designing Intelligence for the Shop Floor.pdf
Weekly report ppt - harsh dattuprasad patel.pptx
Advanced SystemCare Ultimate Crack + Portable (2025)
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
MCP Security Tutorial - Beginner to Advanced
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Microsoft Office 365 Crack Download Free
CCleaner 6.39.11548 Crack 2025 License Key
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
Website Design Services for Small Businesses.pdf
Cost to Outsource Software Development in 2025
Introduction to Windows Operating System
Oracle Fusion HCM Cloud Demo for Beginners

Web - Resource Exhaustion Attacks

  • 1. Web Resource Exhaustion  Slow DoS Attacks
  • 2. Resource Exhaustion – Slow DOS Attacks  Goal of Attacker: • Exhaust pool of available TCP connections on server so that no new legitimate connections can be established  Types of Attacks: • Slow Header Attacks • Slow POST Attacks • Slow Read Attacks
  • 3. Slow Header Attacks  Sends HTTP headers very slowly and never completes the header send process.
  • 4. Slow Header Attacks  Tools • Slowloris (Pyloris, QSlowloris) • OWASP HTTP Post Tool • Slowhttptest  Who is Affected? • Any server that does not have HTTP header timeouts (notably Apache 1.x/2.x)  How to Mitigate • Web server settings (max conns, conns/IP, min bps/conn, max total transfer time) • Switch to non-affected web server (ex: IIS) • Reverse proxy / SLB device • CDNs – CDN edge nodes usually do not take action until all headers are read
  • 5. Slow POST Attacks  Sends HTTP POST body very slowly and never completes the POST body process.
  • 6. Slow POST Attacks  Tools • R-U-Dead-Yet (RUDY) • OWASP HTTP Post Tool • Slowhttptest  Who is Affected? • Any site that has forms (login, comments, feedback, etc.) and accepts HTTP POSTs  How to Mitigate • Set max POST body size of each form • Web server settings (max conns, conns/IP, min bps/conn, max total transfer time) • WAF
  • 7. WAF – Slow POST Additional Details  Inspection Buffer • Usually up to 8KB by default is inspected • If POST is larger than configured buffer, overrun content is uninspected and unmeasured  Best Practices • Increase buffer size if larger than 8KB POSTs are expected • Set max POST body size so that larger POSTs will be denied  Note: If max body size < buffer size then all content will be inspected
  • 8. Slow Read Attacks  Keeps server sockets busy by throttling down the receipt of large HTTP responses.
  • 9. Slow Read Attacks  Tools • Slowhttptest • Nkiller2 • Sockstress  Who is Affected? • Any TCP-based application  How to Mitigate • Web server settings (max conns, conns/IP, min bps/conn, max total transfer time) • WAF
  • 10. Resources • https://www.owasp.org/images/a/a6/Owasp_KS_slowDoS.pdf • http://media.blackhat.com/bh-dc- 11/Brennan/BlackHat_DC_2011_Brennan_Denial_Service- Slides.pdf • http://vimeo.com/7618090 (Defcon Slowloris video) • http://blog.spiderlabs.com/2011/07/advanced-topic-of-the- week-mitigating-slow-http-dos-attacks.html • https://en.wikipedia.org/wiki/Slowloris • https://community.qualys.com/blogs/securitylabs/2012/01/05/ slow-read