CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 1 Simple Denial of Service.

Slides:



Advertisements
Similar presentations
(Distributed) Denial of Service Nick Feamster CS 4251 Spring 2008.
Advertisements

Why Is DDoS Hard to Solve? 1.A simple form of attack 2.Designed to prey on the Internet’s strengths 3.Easy availability of attack machines 4.Attack can.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 44 How Firewalls Work How Firewalls Work.
 Natural consequence of the way Internet is organized o Best effort service means routers don’t do much processing per packet and store no state – they.
Lecture 9 Page 1 CS 236 Online Denial of Service Attacks that prevent legitimate users from doing their work By flooding the network Or corrupting routing.
Honeypot 서울과학기술대학교 Jeilyn Molina Honeypot is the software or set of computers that are intended to attract attackers, pretending to be weak.
How do Networks work – Really The purposes of set of slides is to show networks really work. Most people (including technical people) don’t know Many people.
 Unlike other forms of computer attacks, goal isn’t access or theft of information or services  The goal is to stop the service from operating o.
Distributed Denial of Service Attacks CMPT Distributed Denial of Service Attacks Darius Law.
Security Awareness: Applying Practical Security in Your World
CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 1 What is Distributed Denial of Service?
Viruses and Spyware. What is a Virus? A virus can be defined as a computer program that can reproduce by changing other programs to include a copy of.
Web server security Dr Jim Briggs WEBP security1.
Bandwidth DoS Attacks and Defenses Robert Morris Frans Kaashoek, Hari Balakrishnan, Students MIT LCS.
Denial of Service. Denial of Service Attacks Unlike other forms of computer attacks, goal isn’t access or theft of information or services The goal is.
An Overview Zhang Fu Outline What is DDoS ? How it can be done? Different types of DDoS attacks. Reactive VS Proactive Defence.
DDoS Attack and Its Defense1 CSE 5473: Network Security Prof. Dong Xuan.
Lecture 22 Page 1 Advanced Network Security Other Types of DDoS Attacks Advanced Network Security Peter Reiher August, 2014.
Denial of Service.
Hafez Barghouthi. Model for Network Access Security (our concern) Patrick BoursAuthentication Course 2007/20082.
Lecture 18 Page 1 CS 111 Online Design Principles for Secure Systems Economy Complete mediation Open design Separation of privileges Least privilege Least.
Being an Intermediary for Another Attack Prepared By : Muhammad Majali Supervised By : Dr. Lo’ai Tawalbeh New York Institute of Technology (winter 2007)
Lecture 15 Page 1 Advanced Network Security Perimeter Defense in Networks: Firewalls Configuration and Management Advanced Network Security Peter Reiher.
Firewalls Nathan Long Computer Science 481. What is a firewall? A firewall is a system or group of systems that enforces an access control policy between.
Denial-of-Service Attacks Justin Steele Definition “A "denial-of-service" attack is characterized by an explicit attempt by attackers to prevent legitimate.
1 CHAPTER 2 LAWS OF SECURITY. 2 What Are the Laws of Security Client side security doesn’t work Client side security doesn’t work You can’t exchange encryption.
Lecture 16 Page 1 Advanced Network Security Perimeter Defense in Networks: Virtual Private Networks Advanced Network Security Peter Reiher August, 2014.
Lecture 18 Page 1 Advanced Network Security Distributed Denial of Service Attacks Advanced Network Security Peter Reiher August, 2014.
Computer Security! Emma Campbell, 8K VirusesHackingBackups.
Lecture 1 Page 1 CS 239, Fall 2010 Distributed Denial of Service Attacks and Defenses CS 239 Advanced Topics in Computer Security Peter Reiher September.
Lecture 11 Page 1 CS 236 Online Customizing and Evolving Intrusion Detection A static, globally useful intrusion detection solution is impossible –Good.
Distributed Denial of Service Attacks Shankar Saxena Veer Vivek Kaushik.
GORAN OSIM AND TIM MYERS CPSC 424 DDOS AND THE SYSADMIN.
Lecture 12 Page 1 CS 236 Online Virtual Private Networks VPNs What if your company has more than one office? And they’re far apart? –Like on opposite coasts.
Understanding Computer Viruses: What They Can Do, Why People Write Them and How to Defend Against Them Computer Hardware and Software Maintenance.
Lecture 12 Page 1 CS 236, Spring 2008 Virtual Private Networks VPNs What if your company has more than one office? And they’re far apart? –Like on opposite.
Lecture 20 Page 1 Advanced Network Security Basic Approaches to DDoS Defense Advanced Network Security Peter Reiher August, 2014.
Denial of Service. Denial of Service Attacks Unlike other forms of computer attacks, goal isn’t access or theft of information or services The goal is.
Denial of Service DoS attacks try to deny legimate users access to services, networks, systems or to other resources. There are DoS tools available, thus.
Lecture 17 Page 1 CS 236, Spring 2008 Distributed Denial of Service (DDoS) Attacks Goal: Prevent a network site from doing its normal business Method:
Lecture 1 Page 1 CS 236 Online What Are Our Security Goals? CIA Confidentiality –If it’s supposed to be a secret, be careful who hears it Integrity –Don’t.
ITGS Network Architecture. ITGS Network architecture –The way computers are logically organized on a network, and the role each takes. Client/server network.
DoS/DDoS attack and defense
Firewalls. Intro to Firewalls Basically a firewall is a barrier to keep destructive forces away from your computer network.
Computer Security By Duncan Hall.
SEMINAR ON IP SPOOFING. IP spoofing is the creation of IP packets using forged (spoofed) source IP address. In the April 1989, AT & T Bell a lab was among.
Lecture 16 Page 1 CS 239, Spring 2007 Designing Performance Experiments: An Example CS 239 Experimental Methodologies for System Software Peter Reiher.
Lecture 17 Page 1 CS 236, Spring 2008 Distributed Denial of Service (DDoS) Attacks Goal: Prevent a network site from doing its normal business Method:
Role Of Network IDS in Network Perimeter Defense.
Lecture 17 Page 1 Advanced Network Security Network Denial of Service Attacks Advanced Network Security Peter Reiher August, 2014.
Denial of Service Attacks Simulating Strategic Firewall Placement By James Box, J.A. Hamilton Jr., Adam Hathcock, Alan Hunt.
Web Server Security: Protecting Your Pages NOAA OAR WebShop 2001 August 2 nd, 2001 Jeremy Warren.
Spoofing The False Digital Identity. What is Spoofing?  Spoofing is the action of making something look like something that it is not in order to gain.
Matt Jennings.  What is DDoS?  Recent DDoS attacks  History of DDoS  Prevention Techniques.
Lecture 12 Page 1 CS 136, Spring 2009 Network Security: Firewalls CS 136 Computer Security Peter Reiher May 12, 2009.
Lecture 18 Page 1 CS 236 Online Prolog to Lecture 18 CS 236 On-Line MS Program Networks and Systems Security Peter Reiher.
Lecture 9 Page 1 CS 236 Online Firewalls What is a firewall? A machine to protect a network from malicious external attacks Typically a machine that sits.
DDoS In the Real World Do DDoS attacks really happen?
Distributed Denial of Service (DDoS) Attacks
Outline Basics of network security Definitions Sample attacks
Virtual Private Networks
DDoS In the Real World Do DDoS attacks really happen?
Introduction to Networking
Outline Basics of network security Definitions Sample attacks
Outline The spoofing problem Approaches to handle spoofing
6. Application Software Security
Outline Basics of network security Definitions Sample attacks
Outline Why is DDoS hard to handle?
Distributed Denial of Service (DDoS) Attacks
Outline The concept of perimeter defense and networks Firewalls.
Presentation transcript:

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 1 Simple Denial of Service

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 2 What is Distributed Denial of Service?

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 3 What is Distributed Denial of Service?

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 4 Denial of Service and Asymmetry  Sometimes generating a request is cheaper than formulating a response  If so, one attack machine can generate a lot of requests, and effectively multiply its power  Not always possible to achieve this asymmetry

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 5 DDoS “Solves” That Problem  Use multiple machines to generate the workload  For any server of fixed power, enough attack machines working together can overload it  Enlist lots of machines and coordinate their attack on a single machine

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 6 The Joys of Distributed Computing

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 7 Typical Attack Modus Operandi

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 8 Is DDoS a Real Problem?  Yes, attacks happen every day  One study reported ~4,000 per week 1  On a wide variety of targets  Tend to be highly successful  There are few good existing mechanisms to stop them  There have been successful attacks on major commercial sites 1 ”Inferring Internet Denial of Service Activity,” Moore, Voelker, and Savage, Usenix Security Symposium, 2002

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 9 Yahoo Attack  Occurred in February 2000  Resulted in intermittent outages for nearly three hours  Estimated to have cost Yahoo $500,000 due to fewer page hits during the attack  Attacker caught and successfully prosecuted  But not due to cybertools  Other companies (eBay, CNN) attacked in the same way at around the same time

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 10 Microsoft Attacks  Target of multiple DDoS attacks  Some successful, some not  Successful one in January 2001  Attacked router in front of Microsoft’s DNS servers  During attack, as few as 2% of web page requests were being fulfilled  As opposed to 97%, under normal load  Solved by a better configuration of Microsoft’s DNS servers

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 11 DDoS Attack on DNS Root Servers  Concerted ping flood attack on all 13 of the DNS root servers in October 2002  Successfully halted operations on 9 of them  Lasted for 1 hour, turned itself off  Appears to have been the work of experts  Did not cause major impact on Internet  DNS uses caching aggressively  Several root servers were provisioned enough  Longer, stronger attacks might have succeeded  The perpetrator of this attack is still unknown

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 12 Attacks on ClickBank and SpamCop  Performed the weekend of June 21-23, 2003  Floods of bogus HTTP requests  Seemed to involve thousands of attack machines  Prevented the companies from doing business  And filled up their log files quickly  Defeated by installing sophisticated filtering  Though attacks continued after installation

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 13 Recent Attack on Port of Houston, TX  A 19-year old generated DDoS attack on a female chatuser, Port of Houston was in the middle and got disabled  Port's web service was not accessible to provide crucial data for ships’ navigation

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 14 How Big Problem is DDoS Actually  One study suggests around 4,000 attacks daily in the Internet  On all types of targets  Most short, but some quite long  Methodology used would not catch all attacks  Another study suggests it would miss 75% of all attacks  Generally, no good data is available

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 15 How Big Problem is DDoS Potentially  Much worse  Little evidence that attacks to date are very serious  Mostly seem to be tests, hackers showing off, or based on limited political objectives  Real attacks on serious targets are definitely possible  What would be the effects?

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 16 Potential Effects of DDoS Attacks  Most (if not all) sites could be rendered non- operational  The Internet could be largely flooded with garbage traffic  Essentially, the Internet could grind to a halt  In the face of a very large attack  Almost any site could be put out of business  With a moderate sized attack

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 17 Who is Vulnerable?  Everyone connected to the Internet can be attacked  Everyone who uses Internet for crucial operations can suffer damages

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 18 But My Machines Are Well Secured! Doesn’t matter! The problem isn’t your vulnerability, it’s everyone elses’

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 19 But I Have a Firewall! Doesn’t matter! Either the attacker slips his traffic into legitimate traffic Or he attacks the firewall

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 20 But I Use a VPN! Doesn’t matter! The attacker can fill your tunnel with garbage Sure, you’ll detect it and discard it... But you’ll be so busy doing so that you’ll have no time for your real work

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 21 But I’m Heavily Provisioned Doesn’t matter! The attacker can probably get enough resources to overcome any level of resources you buy

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 22 How Come We Have DDoS?  Natural consequence of the way Internet is organized  Best effort service means routers don’t do much processing per packet and store no state – they will let anything through  End to end paradigm again means routers will enforce no security or authentication – they will let anything through  It works real well when both parties play fair  It creates opportunity for DDoS when one party cheats

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 23 There Are Still No Strong Defenses Against DDoS  You can make yourself harder to attack  But you can’t make it impossible  And, if you haven’t made it hard enough, there’s not much you can do when you are attacked  There are no patches to apply  There is no switch to turn  There might be no filtering rule to apply  Grin and bear it

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 24 So Why Isn’t the Internet Dead?  If DDoS is so bad, why does the Internet (mostly) still work?  Most current and past attacks are small  And unsophisticated  Relatively weak defenses can protect against them  Few attackers seem very determined  Mostly seem to be hackers “looking for a good time”

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 25 Will the Situation Ever Improve?  Maybe  Much research is going on  Funded by government and industry  Vendors are building products  All parties recognize the dangers and the importance of the problem  But it’s a really hard problem to solve  Especially in the real world

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 26 Why Is DDoS Hard to Solve? 1.A simple form of attack 2.Designed to prey on the Internet’s strengths 3.Easy availability of attack machines 4.Attack can look like normal traffic 5.Lack of Internet enforcement tools 6.Hard to get cooperation from others 7.Effective solutions hard to deploy

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/ Simplicity of Attack  Basically, just send someone a lot of traffic  More complicated versions can add refinements, but that’s the crux of it  No need to find new vulnerabilities  No need to worry about timing, tracing, etc.  Toolkits are readily available to allow the novice to perform DDoS  Even distributed parts are very simple

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/ DDoS Preys on Internet’s Strengths  The Internet was designed to deliver lots of traffic  From lots of places, to lots of places  DDoS attackers want to deliver lots of traffic from lots of places to one place  Any individual packet can look proper to the Internet  Without sophisticated analysis, even the entire flow can appear proper

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 29 The Internet and Resource Utilization  The Internet was not designed to monitor resource utilization  It’s pretty much first come, first served  Many network services work the same way  And many key underlying mechanisms do, too  Thus, if a villain can get to the important resources first, he can often deny them to good users

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/ Easy Availability of Attack Machines  DDoS is feasible because attackers can enlist many machines  Attackers can enlist many machines because many machines are readily vulnerable  Not hard to find 1000 crackable machines on the Internet  Particularly if you don’t care which 1000  Some reports suggest attack armies of tens of thousands of machines are at the ready

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 31 Can’t We Fix These Vulnerabilities?  Doubtful  DDoS attacks don’t really harm the attacking machines  Many people don’t protect their machines even when the attacks can harm them  Why will they start protecting their machines just to help others?  Altruism has not yet proven to be a compelling argument for for network security

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/ Attack Can Look Like Normal Traffic  A DDoS attack can consist of vast number of requests for a web server’s home page  No need for attacker to use particular packets or packet contents  So neat filtering/signature tools may not help  Attacker can be arbitrarily sophisticated at mirroring legitimate traffic  In principle  Not currently done because dumb attacks work so well

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/ Lack of Internet Enforcement Tools  DDoS attackers have never been caught by tracing or observing attack  Only by old-fashioned detective work  Really, only when they’re dumb enough to boast about their success  The Internet offers no help in tracing a single attack stream, much less multiple ones  Even if you trace them, a clever attacker leaves no clues of his identity on those machines

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 34 What Is the Internet Lacking?  No validation of IP source address  No enforcement of amount of resources used  No method of tracking attack flows  Or those controlling attack flows  No method of assigning responsibility for bad packets or packet streams  No mechanism or tools for determining who corrupted a machine

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/ Poor Cooperation in the Internet  It’s hard to get anyone to help you stop or trace or prevent an attack  Even your ISP might not be too cooperative  Anyone upstream of your ISP is less likely to be cooperative  ISPs more likely to cooperate with each other, though  Even if cooperation occurs, it occurs at human timescales  The attack might be over by the time you figure out who to call

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/ Effective Solutions Hard to Deploy  The easiest place to deploy defensive systems is near your own machine  Defenses there might not work well (firewall example)  There are effective solutions under research  But they require deployment near attackers or in the Internet core  Or, worse, in many places  A working solution is useless without deployment  Hard to get anything deployed if deploying site gets no direct advantage  Would your manager deploy something that only benefits other companies?

CIS 659 – Introduction to Network Security – Fall 2003 – Class 10 – 10/9/03 37 Typical Attack Modus Operandi