CS 356 Lecture 16 Denial of Service. Spring 2013



Similar documents
Denial of Service Attacks

SECURING APACHE : DOS & DDOS ATTACKS - I

CSE 3482 Introduction to Computer Security. Denial of Service (DoS) Attacks

Defending against Flooding-Based Distributed Denial-of-Service Attacks: A Tutorial

Firewalls and Intrusion Detection

Guide to DDoS Attacks December 2014 Authored by: Lee Myers, SOC Analyst

Distributed Denial of Service (DDoS)

Denial of Service Attacks

Seminar Computer Security

co Characterizing and Tracing Packet Floods Using Cisco R

Acquia Cloud Edge Protect Powered by CloudFlare

A S B

CS5008: Internet Computing

CloudFlare advanced DDoS protection

Announcements. No question session this week

1. Introduction. 2. DoS/DDoS. MilsVPN DoS/DDoS and ISP. 2.1 What is DoS/DDoS? 2.2 What is SYN Flooding?

Denial Of Service. Types of attacks

TDC s perspective on DDoS threats

DISTRIBUTED DENIAL OF SERVICE OBSERVATIONS

A Very Incomplete Diagram of Network Attacks

Attack and Defense Techniques

SY system so that an unauthorized individual can take over an authorized session, or to disrupt service to authorized users.

Network Security. Dr. Ihsan Ullah. Department of Computer Science & IT University of Balochistan, Quetta Pakistan. April 23, 2015

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Distributed Denial of Service(DDoS) Attack Techniques and Prevention on Cloud Environment

DDoS Overview and Incident Response Guide. July 2014

How To Understand A Network Attack

Survey on DDoS Attack in Cloud Environment

Denial of Service Attacks, What They are and How to Combat Them

Abstract. Introduction. Section I. What is Denial of Service Attack?

Survey on DDoS Attack Detection and Prevention in Cloud

Chapter 8 Security Pt 2

Network Security. Chapter 9. Attack prevention, detection and response. Attack Prevention. Part I: Attack Prevention

Secure Software Programming and Vulnerability Analysis

Overview of Network Security The need for network security Desirable security properties Common vulnerabilities Security policy designs

Denial of Service Attacks. Notes derived from Michael R. Grimaila s originals

Content Distribution Networks (CDN)

CSCE 465 Computer & Network Security

Analysis on Some Defences against SYN-Flood Based Denial-of-Service Attacks

Denial of Service (DoS)

WHITE PAPER. FortiGate DoS Protection Block Malicious Traffic Before It Affects Critical Applications and Systems

Federal Computer Incident Response Center (FedCIRC) Defense Tactics for Distributed Denial of Service Attacks

Denial of Service Attacks and Countermeasures. Extreme Networks, Inc. All rights reserved. ExtremeXOS Implementing Advanced Security (EIAS)

1. Firewall Configuration

DDoS Protection. How Cisco IT Protects Against Distributed Denial of Service Attacks. A Cisco on Cisco Case Study: Inside Cisco IT

SECURING APACHE : DOS & DDOS ATTACKS - II

Security Technology White Paper

DDoS Attack Trends and Countermeasures A Information Theoretical Metric Based Approach

DDoS Protection Technology White Paper

Brocade NetIron Denial of Service Prevention

FIREWALLS. Firewall: isolates organization s internal net from larger Internet, allowing some packets to pass, blocking others

Denial of Service attacks: analysis and countermeasures. Marek Ostaszewski

Network Bandwidth Denial of Service (DoS)

Dos & DDoS Attack Signatures (note supplied by Steve Tonkovich of CAPTUS NETWORKS)

VALIDATING DDoS THREAT PROTECTION

Firewall Firewall August, 2003

How To Stop A Ddos Attack On A Website From Being Successful

Security: Attack and Defense

Malicious Programs. CEN 448 Security and Internet Protocols Chapter 19 Malicious Software

DoS/DDoS Attacks and Protection on VoIP/UC

Application DDoS Mitigation

Distributed Denial of Service

How Cisco IT Protects Against Distributed Denial of Service Attacks

20-CS X Network Security Spring, An Introduction To. Network Security. Week 1. January 7

Network attack and defense

Botnets. Botnets and Spam. Joining the IRC Channel. Command and Control. Tadayoshi Kohno

Denial of Service. Tom Chen SMU

Distributed Denial of Service Attacks & Defenses

MONITORING OF TRAFFIC OVER THE VICTIM UNDER TCP SYN FLOOD IN A LAN

How To Protect A Dns Authority Server From A Flood Attack

Chapter 28 Denial of Service (DoS) Attack Prevention

Strategies to Protect Against Distributed Denial of Service (DD

DNS amplification attacks

Wharf T&T Limited DDoS Mitigation Service Customer Portal User Guide

Networks: IP and TCP. Internet Protocol

A Novel Distributed Denial of Service (DDoS) Attacks Discriminating Detection in Flash Crowds

DDoS Protection on the Security Gateway

DRDoS Attacks: Latest Threats and Countermeasures. Larry J. Blunk Spring 2014 MJTS 4/1/2014

Malice Aforethought [D]DoS on Today's Internet

Stress Testing and Distributed Denial of Service Testing of Network Infrastructures

TECHNICAL NOTE 06/02 RESPONSE TO DISTRIBUTED DENIAL OF SERVICE (DDOS) ATTACKS

Deployment of Snort IDS in SIP based VoIP environments

V-ISA Reputation Mechanism, Enabling Precise Defense against New DDoS Attacks

Depth-in-Defense Approach against DDoS

What is a Firewall? A choke point of control and monitoring Interconnects networks with differing trust Imposes restrictions on network services

How To Attack A Website With An Asymmetric Attack

A Defense Framework for Flooding-based DDoS Attacks

CS 665: Computer System Security. Network Security. Usage environment. Sources of vulnerabilities. Information Assurance Module

How To Defend Against A Distributed Denial Of Service Attack (Ddos)

CS 640 Introduction to Computer Networks. Network security (continued) Key Distribution a first step. Lecture24

DDoS Attack and Defense: Review of Some Traditional and Current Techniques

A Layperson s Guide To DoS Attacks

Transcription:

CS 356 Lecture 16 Denial of Service Spring 2013

Review Chapter 1: Basic Concepts and Terminology Chapter 2: Basic Cryptographic Tools Chapter 3 User Authentication Chapter 4 Access Control Lists Chapter 5 Database Security (skipped) Chapter 6 Malicious Software Networking Basics (not in book) Chapter 7 Denial of Service

Chapter 7 Denial-of-Service Attacks

Denial-0f-Service (DoS) Attack The NIST Computer Security Incident Handling Guide defines a DoS attack as: an action that prevents or impairs the authorized use of networks, systems, or applications by exhausting resources such as central processing units (CPU), memory, bandwidth, and disk space.

Denial-of-Service (DoS) l a form of attack on the availability of some service l categories of resources that could be attacked are: network bandwidth relates to the capacity of the network links connecting a server to the Internet for most organizations this is their connection to their Internet Service Provider (ISP) system resources aims to overload or crash the network handling software application resources typically involves a number of valid requests, each of which consumes significant resources, thus limiting the ability of the server to respond to requests from other users

Classic Denial-of-Service Attacks l flooding ping command l aim of this attack is to overwhelm the capacity of the network connection to the target organization l traffic can be handled by higher capacity links on the path, but packets are discarded as capacity decreases l source of the attack is clearly identified unless a spoofed address is used l network performance is noticeably affected

Source Address Spoofing l use forged source addresses l usually via the raw socket interface on operating systems l makes attacking systems harder to identify l attacker generates large volumes of packets that have the target system as the destination address l congestion would result in the router connected to the final, lower capacity link l requires network engineers to specifically query flow information from their routers l backscatter traffic l advertise routes to unused IP addresses to monitor attack traffic

SYN Spoofing l common DoS attack l attacks the ability of a server to respond to future connection requests by overflowing the tables used to manage them l thus legitimate users are denied access to the server l hence an attack on system resources, specifically the network handling code in the operating system

TCP Connection Handshake

TCP SYN Spoofing Attack

Flooding Attacks l classified based on network protocol used l intent is to overload the network capacity on some link to a server l virtually any type of network packet can be used ICMP flood ping flood using ICMP echo request packets traditionally network administrators allow such packets into their networks because ping is a useful network diagnostic tool UDP flood uses UDP packets directed to some port number on the target system TCP SYN flood sends TCP packets to the target system total volume of packets is the aim of the attack rather than the system code

What s Next Read Chapter 1, 2, 3, 4, (skip 5), and 6 Chap 1: Focus on big picture and recurring concepts Chap 2: Identify cryptographic tools and properties Chap 3: How can you authenticate a user? Chap 4: Access Control Chap 6: Malware Chap 7: Denial of Service Homework Posted on Course Website Due Tuesday Project 2 Due Today Next Lecture Topics Chapter 7 Denial of Serivce

Distributed Denial of Service DDoS Attacks use of multiple systems to generate attacks attacker uses a flaw in operating system or in a common application to gain access and installs their program on it (zombie) large collections of such systems under the control of one attacker s control can be created, forming a botnet

DDoS Attack Architecture

Session Initiation Protocol (SIP) Flood l standard protocol for VoIP telephony l text-based protocol with a syntax similar to that of HTTP l two types of SIP messages: requests and responses

Hypertext Transfer Protocol (HTTP) Based Attacks HTTP flood l attack that bombards Web servers with HTTP requests l consumes considerable resources l spidering l bots starting from a given HTTP link and following all links on the provided Web site in a recursive way Slowloris l attempts to monopolize by sending HTTP requests that never complete l eventually consumes Web server s connection capacity l utilizes legitimate HTTP traffic l existing intrusion detection and prevention solutions that rely on signatures to detect attacks will generally not recognize Slowloris

Reflection Attacks l attacker sends packets to a known service on the intermediary with a spoofed source address of the actual target system l when intermediary responds, the response is sent to the target l reflects the attack off the intermediary (reflector) l goal is to generate enough volumes of packets to flood the link to the target system without alerting the intermediary l the basic defense against these attacks is blocking spoofed-source packets

DNS Reflection Attacks

Amplification Attacks

DNS Amplification Attacks l use packets directed at a legitimate DNS server as the intermediary system l attacker creates a series of DNS requests containing the spoofed source address of the target system l exploit DNS behavior to convert a small request to a much larger response (amplification) l target is flooded with responses l basic defense against this attack is to prevent the use of spoofed source addresses

DoS Attack Defenses four lines of defense against DDoS attacks l these attacks cannot be prevented entirely l high traffic volumes may be legitimate l high publicity about a specific site l activity on a very popular site l described as slashdotted, flash crowd, or flash event attack prevention and preemption before attack attack detection and filtering during the attack attack source traceback and identification during and after the attack attack reaction after the attack

DoS Attack Prevention l block spoofed source addresses l on routers as close to source as possible l filters may be used to ensure path back to the claimed source address is the one being used by the current packet l filters must be applied to traffic before it leaves the ISP s network or at the point of entry to their network l use modified TCP connection handling code l cryptographically encode critical information in a cookie that is sent as the server s initial sequence number l legitimate client responds with an ACK packet containing the incremented sequence number cookie l drop an entry for an incomplete connection from the TCP connections table when it overflows

DoS Attack Prevention l block IP directed broadcasts l block suspicious services and combinations l manage application attacks with a form of graphical puzzle (captcha) to distinguish legitimate human requests l good general system security practices l use mirrored and replicated servers when high-performance and reliability is required

Responding to DoS Attacks Good Incident Response Plan details on how to contact technical personal for ISP needed to impose traffic filtering upstream details of how to respond to the attack l antispoofing, directed broadcast, and rate limiting filters should have been implemented l ideally have network monitors and IDS to detect and notify abnormal traffic patterns

Responding to DoS Attacks l identify type of attack l capture and analyze packets l design filters to block attack traffic upstream l or identify and correct system/application bug l have ISP trace packet flow back to source l may be difficult and time consuming l necessary if planning legal action l implement contingency plan l switch to alternate backup servers l commission new servers at a new site with new addresses l update incident response plan l analyze the attack and the response for future handling

Summary l denial-of-service (DoS) attacks l network bandwidth l system resources l application resources l overwhelm capacity of network l forged source addresses (spoofing) l SYN spoofing/tcp connection requests l flooding attacks l ICMP flood l UDP flood l TCP SYN flood l distributed denial-of-service attacks (DDoS) l reflection attacks l amplification attacks l DNS amplification attacks l application-based bandwidth attacks l SIP flood l HTTP-based attacks l defenses against DoS attacks l responding to a DoS attack