dos (denial of services) aamir wahid september 23 rd 2004

24
Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Upload: lawrence-shepherd

Post on 23-Dec-2015

221 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Dos

(Denial of Services)

Aamir Wahid

September 23rd 2004

Page 2: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

What is DoS Attack

• A DoS attack can disrupts or completely denies service to legitimate users, networks, systems, or other resources.”

• Can last from a few minutes to several days

Page 3: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Types of DoS Bandwidth Consumption

Network FloodingT3 vs. 56K

Amplifying AttackUsing multiple sites for attack

Page 4: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Distributed DoS Attacks

More effective than DoS Attacks Multiple sources for attack Tribe Flood Network, Trinoo, TFN2K

Zombie:A computer that has been implanted with a daemon that puts it under the control of a

malicious hacker without the knowledge of the computer owner.

Page 5: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Some History

DoS Tools: Single-source, single target tools IP source address spoofing Packet amplification (e.g., smurf)

Deployment: Widespread scanning and exploitation via

scripted tools Hand-installed tools and toolkits on compromised

hosts (unix) Use:

Hand executed on source host

BP (Before Pain) – Pre - 1990

Page 6: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

The danger grows - 1999

DoS Tools: Multiple-source, single target tools Distributed attack networks (handler/agent) DDoS attacks

Deployment: Hand-selected, hard-coded handlers Scripted agent installation (unix)

Page 7: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

DoS Attack in 2000

Example SYN Flood Attack February 5th . 11th, 2000 Yahoo, eBay, CNN, E*Trade, ZDNet, Datek and

Buy.com all hit Attacks allegedly perpetrated by teenagers Used compromised systems at UCSB

Page 8: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

•May 4th-20th, 2001•Gibson Research Corporationwww.grc.com/dos/intro.htm

DDoS attack from 474 machines• Completely saturated two T1s• 13-year-old claimed responsibility

Detailed Account of DDoS

Page 9: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

DoS Attacks on the Rise

24%27%

38%

0%

5%

10%

15%

20%

25%

30%

35%

40%

1999 2000 2001 2003

Frequency of DoS attacks increased 60% over the last three years…and still rising

Page 10: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Common forms of DoS•Buffer Overflow Attacks

•SYN Attack

•Teardrop Attack

•Smurf Attack

•Viruses

•Physical Infrastructure Attack

Page 11: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Buffer Overflow Attacks

Buffer overflow is an attempt to stuff to much information into a space in a computers memory.

Examples Sending e-mails that have attachments with

256-character file names to Netscape and Microsoft mail programs.

Sending large (ICMP) packets (this can be known as the Ping of Death attack)

Page 12: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

What is a SYN Flood?

Send spoofed SYN packets to system System responds with SYN/ACK Never receives final connection Backlog in connection queue

Web servers are particularly vulnerableHow to Detect SYN attack netstat -n -p TCP | grep SYN_RECV | grep :23 | wc -l

Page 13: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Smurf Attack Amplification attack Sends ICMP ECHO to network

Network sends response to victim system

The "smurf" attack's cousin is called "fraggle", which uses UDP echo packets in the same fashion

Page 14: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

VirusesComputer viruses, which replicate across a network in various ways, can be viewed as denial-of-service attacks where the victim is not usually specifically targetted but simply a host unlucky enough to get the virus. Depending on the particular virus, the denial of service can be hardly noticeable ranging all the way through disastrous.

Physical Infrastructure Attacks fiber optic cable. This kind of attack is usually mitigated by the fact that traffic can sometimes quickly be rerouted.

Page 15: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Impact of DoS Attacks Loss of Revenue

cont …

Costs of losses from the February 2000 Attacks: $1.2 billion cumulative

Estimated lost business from DDoS attacks at Amazon.com:

$200-300K/hour

Estimated costs of 24-hour outages:Brokerage Firm

$156 million

Cisco $30 millioneBay $4.5 millionAirline $2.1 million

Estimated cost of lost user access from one medium-grade attack:

$23K

Sources: Forrester, Yankee Group, IDC

Page 16: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

•Damage to Corporate Image and Brand•Cost of Over-engineering Network Resources•Cost to diagnose and rebuild systems

•Forensic cost estimated by University of Washington to be $22,000 per event

•Violation of service level agreements (SLAs)•Risk of litigation•Increase in insurance protection

Impact of DoS Attacks

Page 17: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Why Defense is Difficult

• SYN packets are part of normal traffic• Source IP addresses can be faked• SYN packets are small• Lengthy timeout period

Page 18: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Possible Defenses

Increase size of connections table Add more servers Trace attack back to source Deploy firewalls employing SYN flood defense

Page 19: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Who Offers a Defense?

PIX by Cisco Firewall-1 by Checkpoint Netscreen 100 by Netscreen AppSafe/AppSwitch by Top Layer

Page 20: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

How Bad Can It Get?

Theoretical maximums for attackers using: Analog modem: 87 SYNs/sec ISDN, Cable, DSL: 200 SYNs/sec T1: 2,343 SYNs/sec 474 hacked systems 94,800 SYNs/sec

Page 21: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

How Much Do You Need?

Single firewall for attacker with

single ISDN, DSL, or T1 Multiple parallel units for higher bandwidth Transparent. mode permits rapid

deployment

Page 22: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Conclusion

SYN floods are nasty Firewalls with SYN flood defense

can successfully counter attacks Multiple or distributed attacks may

require multiple parallel firewalls

Page 23: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

In Summary

Page 24: Dos (Denial of Services) Aamir Wahid September 23 rd 2004

Thank You