State of Danger: Eliminating Excessive State in Network, Application, & Services Architectures as a DDoS Defense Strategy



Similar documents
State of Danger: Eliminating Excessive State in Network, Application, & Services Architectures as a DDoS Defense Strategy

Security Testing 4G (LTE) Networks 44con 6th September 2012 Martyn Ruks & Nils

Practical Security Testing for LTE Networks BlackHat Abu Dhabi December 2012 Martyn Ruks & Nils

Pravail 2.0 Technical Overview. Exclusive Networks

Arbor s Solution for ISP

Real World IPv6 Migration Solutions. Asoka De Saram Sr. Director of Systems Engineering, A10 Networks

Use of MPLS in Mobile Backhaul Networks

Traffic Diversion Techniques for DDoS Mitigation using BGP Flowspec. Leonardo Serodio May 2013

How To Block A Ddos Attack On A Network With A Firewall

2012 Infrastructure Security Report. 8th Annual Edition Kleber Carriello Consulting Engineer

Web Application Defence. Architecture Paper

Nokia Siemens Networks Flexi Network Server

DISTRIBUTED DENIAL OF SERVICE OBSERVATIONS

Whitepaper. 10 Metrics to Monitor in the LTE Network. blog.sevone.com

The LTE Challenge. for the Small-to- Midsize Mobile Network Operator

Krishan Sabnani Bell Labs. Converged Networks of the Future

10 METRICS TO MONITOR IN THE LTE NETWORK. [ WhitePaper ]

2010 Infrastructure Security Report

464XLAT in mobile networks

State of Texas. TEX-AN Next Generation. NNI Plan

Yahoo Attack. Is DDoS a Real Problem?

Proxy Server, Network Address Translator, Firewall. Proxy Server

INCREASE NETWORK VISIBILITY AND REDUCE SECURITY THREATS WITH IMC FLOW ANALYSIS TOOLS

Campus LAN at NKN Member Institutions

A S B

Industrial Network Security for SCADA, Automation, Process Control and PLC Systems. Contents. 1 An Introduction to Industrial Network Security 1

4G Mobile Networks At Risk

White Paper. Copyright 2012, Juniper Networks, Inc. 1

Security Solutions for the New Threads

TÓPICOS AVANÇADOS EM REDES ADVANCED TOPICS IN NETWORKS

TS-3GB-S.R0103-0v1.0 Network Firewall Configuration and Control (NFCC) - Stage 1 Requirements

Distributed Denial of Service (DDoS) attacks. Imminent danger for financial systems. Tata Communications Arbor Networks.

How To Set Up A Net Integration Firewall

Service Description DDoS Mitigation Service

Mobile Devices Security: Evolving Threat Profile of Mobile Networks

Should the IETF do anything about DDoS attacks? Mark Handley

Protecting Mobile Devices From TCP Flooding Attacks

Chapter 8 Security Pt 2

FortiDDos Size isn t everything

CMPT 471 Networking II

VALIDATING DDoS THREAT PROTECTION

Computer Security CS 426 Lecture 36. CS426 Fall 2010/Lecture 36 1

Load Balancer Comparison: a quantitative approach. a call for researchers ;)

Datacenter Transformation

SECURING SAP NETWEAVER DEPLOYMENTS WITH SAFE-T RSACCESS

Distributed Denial of Service Attacks & Defenses

LTE Overview October 6, 2011

A Guide to Common Cloud Security Concerns. Why You Can Stop Worrying and Start Benefiting from SaaS

DoS: Attack and Defense

SOFTWARE DEFINED NETWORKING

Mitigating Denial of Service Attacks. Why Crossing Fingers is Not a Strategy

Cisco Wireless Security Gateway R2

Technical Note. ISP Protection against BlackListing. FORTIMAIL Deployment for Outbound Spam Filtering. Rev 2.2

Scaling the Control Plane with the Ericsson Smart Services Router

Why Is DPI Essential for Wireless Networks?

The Role of Virtual Routers In Carrier Networks

Cisco Satellite Services Platform Delivering Managed Services over Satellite

Technical white paper. Enabling mobile broadband growth Evolved Packet Core

White paper. TrusGuard DPX: Complete Protection against Evolving DDoS Threats. AhnLab, Inc.

Strategies for Getting Started with IPv6

Being Ready to Face DDoS Challenge. Vodafone Power to you. DDoS

Kick starting science...

SS7 & LTE Stack Attack

Efficient evolution to all-ip

Deploying IPv6, Now. Christian Huitema. Architect Windows Networking & Communications Microsoft Corporation

Migration to LTE: Infrastructure Impact. Maria E. Palamara Director CDMA-LTE Strategy Alcatel-Lucent January, 2009

FT networks, services and IS evolution perspectives towards convergence Patrice COLLET France Télécom Network, Carrier and IT Division

CS 356 Lecture 16 Denial of Service. Spring 2013

Dialogic BorderNet Session Border Controller Solutions

Securing data centres: How we are positioned as your ISP provider to prevent online attacks.

Multi-Service Broadband Network Architecture. NextGen 13 London, October 2013 Robin Mersh CEO

Complete Protection against Evolving DDoS Threats

DEPLOYING VoIP SECURELY

Firewalls and Network Defence

/ Staminus Communications

IMPLEMENTATION OF INTELLIGENT FIREWALL TO CHECK INTERNET HACKERS THREAT

Network attack and defense

TECHNICAL NOTE 01/2006 ENGRESS AND INGRESS FILTERING

PAVING THE PATH TO THE ELIMINATION OF THE TRADITIONAL DMZ

Game changing Technology für Ihre Kunden. Thomas Bürgis System Engineering Manager CEE

A Network Design Primer

Introduction to DDoS Attacks. Chris Beal Chief Security Architect on Twitter

Increase Simplicity and Improve Reliability with VPLS on the MX Series Routers

Layer-2 Design: Link Balancers Simplified

ITL BULLETIN FOR JANUARY 2011

Routing Security Server failure detection and recovery Protocol support Redundancy

DECODING SOFTWARE DEFINED NETWORKING (SDN) Nico Siebelink Technical Director Northern Europe

Managed Services: Taking Advantage of Managed Services in the High-End Enterprise

Transcription:

State of Danger: Eliminating Excessive State in Network, Application, & Services Architectures as a DDoS Defense Strategy Roland Dobbins <rdobbins@arbor.net> Solutions Architect +66-83-266-6344 BKK mobile +65-8396-3230 SIN mobile Arbor Public

Introduction & Context Page 2 - Arbor Public

DDoS Background What is a Distributed Denial of Service attack? An attempt to consume finite resources, exploit weaknesses in software design or implementation, or exploit lack of infrastructure capacity Targets the availability and utility of computing and network resources Attacks are almost always distributed for even more significant effect i.e., DDoS The collateral damage caused by an attack can be as bad, if not worse, than the attack itself DDoS attacks affect availability! No availability, no applications/services/data/internet! No revenue! DDoS attacks are attacks against capacity and/or state! Page - Company Confidential

Three Security Characteristics Availability Confidentiality Integrity The goal of security is to maintain these three characteristics Page - Company Confidential

Three Security Characteristics Availability Confidentiality Integrity Primary goal of DDoS defense is maintaining availability Page - Company Confidential

State Exhaustion is the Silent Killer of the Internet Most people tend to think about DDoS - if they think about it at all - in terms of bandwidth - i.e., bits/sec. In most (not all) volumetric attacks, throughput - i.e., packets/sec - is generally more important. In many cases, state exhaustion - overwhelming the ability of a device which makes packet forwarding decisions at least in part by tracking connection status - is an even more important factor. There s lots of unnecessary state on the Internet today, and it seems as if the problem is only getting worse! Page 6 - Arbor Public

State Reduction in the Internet Data Center (IDC) Page 7 - Arbor Public

The State of State in the IDC For most users, the network doesn t matter - what matters is the applications, services, and data they need in order to achieve their goals (run business applications, communicate via VoIP, play BF3, et. al.) Unfortunately, many (most?) Internet-facing applications/services/data repositories are designed and deployed with fragile, brittle, non-scalable architectures. In particular, unnecessary and avoidable state is a big contributor to said fragility, brittleness, non-scalability. State exhaustion is a huge DDoS vector - whether or not attackers realize that s what they re accomplishing! Lack of cross-functional skillsets and inadequate architectural guidance are key contributing factors. Page 8 - Arbor Public

What does the stateful in stateful firewall really mean? 172.19.21.144 Internet 10.45.6.23 to 172.19.21.144 TCP src port 1024, TCP dst port 80 172.19.21.144 to 10.45.6.23 TCP src port 80, TCP dst port 1024? Yes, we have a corresponding state-table entry! 10.45.6.23 Page - Arbor Public

What does the stateful in stateful firewall really mean? Internet X 172.19.88.218 to 10.45.6.23 TCP src port 7337, TCP dst port 22? No state-table entry, block it! 10.45.6.23 Page - Arbor Public

Incoming Connections to Servers Are Unsolicited - No State to Inspect! 172.19.21.144 X 10.45.6.23 to 172.19.21.144 TCP src port 1024, TCP dst port 80? No state-table entry, block it! Internet 10.45.6.23 Page - Arbor Public

Bots Generate Lots of Attack Traffic, Rapidly Fill Up the State Table! 172.19.21.144 Impact Impact Internet Page - Arbor Public

Bot-Generated Attack Traffic Can Look Perfectly Legitimate - Non-Spoofed, TCP, HTTP! 172.19.21.144 Impact Impact Internet 10.45.18.54 to 172.19.21.144 TCP src port 1024, TCP dst port 80 192.168.4.85 to 172.19.21.144 TCP src port 1024, TCP dst port 80 172.19.254.8 to 172.19.21.144 TCP src port 1024, TCP dst port 80 Page - Arbor Public

4AM Call - Help! Our entire IDC is down! Internet Impact Impact Impact Impact Page - Arbor Public

Segregate Traffic for Customers Who Insist Upon Stateful Firewalling - Limit Collateral Damage! Internet Impact Impact Impact Page - Arbor Public

Stateful Firewalls in Front of Servers Considered Harmful! Why deploy a stateful firewall in front of servers, where every incoming connection is unsolicited, and therefore there is no state to inspect?! Policy enforcement can and should be accomplished via stateless ACLs in hardware-based routers and layer-3 switches capable of handling mpps! The inspectors in stateful firewalls make things even worse - and they constitute a vastly expanded attack surface! In many (most?) cases, stateful firewalls are deployed as much due to organizational silioing/politics as to lack of technical acumen. Stateful firewalls require artificially-engineered topological symmetry - can have a negative impact on resiliency via path diversity. AAA mechanisms in modern routers/switches can be used to allow appropriate security team access! If stateful firewalls cannot be immediately removed from the architecture, they must be protected against DDoS via S/RTBH, flowspec, IDMS, et. al., just like servers! Page 16 - Arbor Public

Arbor 6th Annual Worldwide Infrastructure Security Report - Stateful Firewall & IPS Failure Under DDoS Nearly half of all respondents have experienced a failure of their stateful firewalls or IPS due to DDoS attack! Page - Company Confidential

IPS Devices Carry Even More State! IPS devices suffer from the same state-exhaustion issues as stateful firewalls - but even more so, as they typically try to hold multiple packets in memory simultaneously in an attempt to detect packetlevel exploits. Attempted exploitation and compromise are table stakes for being on the Internet. Someone (or something) is always trying to hax0r you! The only way to secure servers/applications/services against exploitation and compromise is via secure architectural, coding, and maintenance (i.e., patching) BCPs. Why place an IPS device on the Internet - after all, do you still have your email client set to alert you to incoming mail? ;> IPS devices require artificially-engineered topological symmetry - can have a negative impact on resiliency via path diversity. If IPS devices cannot be immediately removed from the architecture, they must be protected against DDoS via S/ RTBH, flowspec, IDMS, et. al., just like servers! Page 18 - Arbor Public

Load-Balancers Are Stateful Devices, Too! Load-balancers suffer the same challenges as stateful firewalls with regards to state exhaustion - in many cases, load-balancers go down under trivial DDoS attacks. There are many different mechanisms available to perform load-balancing other than dedicated loadbalancing devices - Pen, Pound, LVS, Balance, Apache Traffic Server, mod_proxy_balancer, etc. Load-balancers must be protected against DDoS - stateless ACLs for policy enforcement, S/RTBH, flowspec, IDMS, and so forth. Fronting load-balancers with reverse proxy-caches is an architectural BCP (more on this later). Page 19 - Arbor Public

A Salient Comment on PCI/DSS. PCI should be more risk-based with more options, and less that is proscriptive; it s both too proscriptive and too vague at the same time. -- Michael Barrett, PayPal CISO Page 20 - Arbor Public

PCI/DSS Compliance Does Not Require Stateful Application Firewalls! Contrary to popular belief (and vendor propaganda), PCI/DSS compliance for organizations/sites which handle credit card payments does not require stateful Web application firewalls to be placed in front of Web servers. On-node, integrated solutions such as mod_security (free!) and URLScan (free!) meet all the PCI/DSS requirements for Web application firewalls - and they aren t stateful network DDoS chokepoints which will bring down your entire application stack! If your PCI/DSS auditor disagrees, a bit of education generally does the trick. If not - find another PCI/DSS auditor! ;> Page 21 - Arbor Public

State Reduction in Mobile Wireless Networks Page 22 - Arbor Public

Legacy Aspects of Mobile Wireless Architectures Until recently, most mobile wireless networks were designed and built with minutes in mind - data was an afterthought, and the emphasis was on highly skilled/specialized folks on the minutes side of things, rather than TCP/IP. With the rise of idevices, many mobile wireless have essentially become accidental ISPs. Because of the technical emphasis on minutes, many BCPs were not implemented; many mobile wireless networks were designed in much the same fashion as (brittle, fragile, non-scalable) enterprise networks, containing excessive state in the form of NAT and stateful firewalling. Many mobile wireless networks suffer from availability issues directly related to outbound/crossbound botnet activities, including DDoS, as a result. Page 23 - Arbor Public

4AM Call - Help! Our entire 3G network is down! Mobile Services Data Center Video, Music, Gaming etc.) Mobile Infrastructure Impact BACKBONE Provider A Provider B Transit/Peering Edge INTERNET Page - Arbor Public

4AM Call - Help! Our entire 3G network is down! UMTS nodeb RNC SGSN MSC/ HLR GGSN Impact Mobile Services MME LTE enodeb Serving GW PDN GW Impact BACKBONE INTERNET CDMA BTS Wireless Aggregation/ Backhaul PDSN Mobile Core Network / Evolved Packet Core 25 Page - Arbor Public

Stateful Firewalls (and NAT) in Mobile Wireless Networks Considered Harmful! Stateful firewalls are not deployed in the data plane of (almost all) wireline broadband networks for a reason! NAT isn t performed above the CPE level in (almost all) wireline broadband networks for a reason (more on this later)! It is possible to design mobile wireless data networks today without using NAT. It is possible to use stateless ACLs in hardware-based routers and layer-3 switches in order to keep almost all externallyoriginated scanning activity from waking up mobile subscriber nodes. If stateful firewalls and/or NAT devices can t be immediately removed from mobile wireless networks, those devices must be protected to the degree possible against DDoS attack via S/RTBH, flowspec, IDMS, quarantine systems, et. al. Page 26 - Arbor Public

State Reduction in Application Delivery Architectures Page 27 - Arbor Public

Minimize/Eliminate State on the Front-End! Applications should be designed in such a way that all application state is handled at layer-7 - there should be no stateful tracking within applications based upon TCP/IP semantics. This allows horizontal scalability of the front-end and middle-tier servers (database/ datastore architectures are beyond the scope of this presentation). Reverse-proxy caches such as Squid, Varnish, NGINX, HAProxy, mod_proxy, et. al. should be deployed for HTTP-based applications. Packets from outside your network should never be allowed to touch your actual front-end servers, load-balancers, etc. WCCP is a Good Thing, too! For other applications, make use of generic front-end reverse-proxies as much as possible; use custom code as necessary. Do not let packets from outside your network touch your real front-end servers and/or load-balancers! Reverse-proxy farms must be protected from DDoS via S/RTBH, flowspec, IDMS, et. al. Make use of memcached, etc. as appropriate - again, no packets from outside! Page 28 - Arbor Public

IPv6 - Bringing Mobile Wireless-Style Stateful DDoS Chokepoints to a Wireline Network Near You! Page 29 - Arbor Public

In the Medium Term, IPv6 Migration Will Bring More State, Not Less. Myth - IPv6 means no NAT. Reality - with IPv4 address exhaustion looming, Carrier Grade NATs (CGNs) are being deployed on SP wireline networks. 6-to-4 gateways are stateful devices with the same issues as those surrounding NAT devices. 6-to-4 gateways were being deliberately DDoSed back in 2004. Many of the performance/latency issues associated with mobile wireless networks will make their way into wireline networks as a result. These stateful devices must be protected to the degree possible against DDoS attack via S/RTBH, flowspec, IDMS, quarantine systems, et. al. Page 30 - Arbor Public

Huge Amounts of Excessive, Harmful State Are the Elephant in the Room of the Transition to IPv6! Page 31 - Arbor Public

Are We Moving Towards a Less Resilient Internet as a Result of IPv6 Migration & Related Trends? Page 32 - Arbor Public

Conclusions Page 33 - Arbor Public

Conclusions Excessive, unnecessary state is a barrier to scalability and lowers resilience to DDoS attacks. Many DDoS attacks are successful due solely to state exhaustion of stateful firewalls, IPS devices, load-balancers, etc. Stateful firewalls should not be placed in front of servers; if they can t be removed, they must be protected against DDoS attacks. IPS devices should not be placed in front of servers; if they can t be removed they must also be protected against DDoS attacks. Ditto for load-balancers. Policy enforcement should be implemented via stateless ACLs in hardware-based routers/layer-3 switches Applications and their delivery infrastructures should be designed in such a way as to minimize unnecessary state. The transition to IPv6 is going to result in more NAT, not less, and more stateful devices such as 6-to-4 gateways, not fewer. Education and opex are the keys to maintaining availability! Page 34 - Arbor Public

Q&A Page 35 - Arbor Public

Thank You! Roland Dobbins <rdobbins@arbor.net> Solutions Architect +66-83-266-6344 BKK mobile +65-8396-3230 SIN mobile