DOC PREVIEW
CMU 15441 Computer Networking - Lecture

This preview shows page 1-2-3-19-20-38-39-40 out of 40 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 40 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Security Part Two: Attacks and CountermeasuresFlashback .. Internet design goalsWhy did they leave it out?Security VulnerabilitiesIP-level vulnerabilitiesRouting attacksTCP-level attacksWhere do the problems come from?OutlineDenial of ServiceSimple DoSBackscatter AnalysisDistributed DoSSlide 14Smurf AttackReflector AttacksSlide 17Worm OverviewWorm Spreading ModelWorm Spreading modelProbing TechniquesRandom ScanningSubnet ScanningRouting WormHit ListTopologicalSome proposals for countermeasuresSlide 28FirewallsFirewalls (contd…)Packet FiltersSome examplesTypical Firewall ConfigurationFirewall implementationSample Firewall RuleSlide 36AlternativesIntrusion Detection SystemsClasses of IDSSummarySecurity Part Two:Attacks and CountermeasuresFlashback .. Internet design goals1. Interconnection2. Loss-resilience3. Multiple types of service4. Variety of networks5. Management of resources6. Cost-effective7. Low entry-cost8. Accountability for resourcesWhere is security?Why did they leave it out?•Designed for connectivity•Network designed with implicit trustNo “bad” guys•Security requirements are at the edgeEnd-to-end arguments in system designSecurity Vulnerabilities•At every layer in the protocol stack!•Network-layer attacksIP-level vulnerabilitiesRouting attacks•Transport-layer attacksTCP vulnerabilities•Application-layer attacksIP-level vulnerabilities•IP addresses are provided by the sourceSpoofing attacks!•Implicit use of IP address for authenticationRhosts•Fragmentation •Traffic amplificationRouting attacks•Black-hole attacks•Eavesdropping•Distance-VectorAnnounce low-cost routes•Link-stateDropping links from topologyMore robust than DV•BGPPrefix-hijackingPath alterationTCP-level attacks•SYN-FloodsImplementations setup state at servers before connection is fully established•Session hijackPretend to be a trusted hostSequence number guessing•Session resetsClose a legitimate connectionWhere do the problems come from?•Protocol-level vulnerabilitiesImplicit trust•Implementation vulnerabilitiesRoutersHosts•Incomplete specificationsOften left to the imagination of programmersOutline•Security Vulnerabilities•Denial of Service•Worms•Countermeasures: Firewalls/IDSDenial of Service•Make a service unusable, usually by overloading the server or network•Disrupt service by taking down hostsE.g., ping-of-death•Consume host-level resourcesE.g., syn-floods•Consume network resourcesE.g., UDP floodsE.g., ICMP floodsSimple DoSAttackerVictim VictimVictim• Attacker usually spoofs source address to hide origin• Aside: Backscatter AnalysisBackscatter Analysis•Attacker is sending spoofed TCP SYN packets to www.haplessvictim.comWith spoofed address chosen at random•My network sees TCP SYN-ACKs from www.haplessvictim.com at rate R•What is the rate of the attack?Assuming addresses chosen are uniform(2^32/ Network Address space) * RDistributed DoSAttackerHandler HandlerAgent Agent Agent Agent AgentVictimDistributed DoS•The handlers are usually very high volume serversEasy to hide the attack packets•The agents are usually home users with DSL/CableAlready infected and the agent installed•Very difficult to track down the attacker•How to differentiate between DDoS and Flash Crowd?Flash Crowd  Many clients using a serviceSlashdot EffectSmurf AttackAttacking SystemInternetInternetBroadcast Enabled NetworkBroadcast Enabled NetworkVictim SystemReflector AttacksOutline•Security, Vulnerabilities•Denial of Service•Worms•Countermeasures: Firewalls/IDSWorm Overview•Self-propagate through network•Typical Steps in Worm PropagationProbe host for vulnerable software Sends bogus input (for buffer overflow)Attacker can do anything that the privileges of the buggy program allows Launches copy of itself on compromised host•Spread at exponential rate 10M hosts in < 5 minutesHard to deal with manual interventionWorm Spreading ModelLet R be the scan-rate Let f be the fraction of vulnerable hosts at time tWorm Spreading modelQuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Probing Techniques•Random Scanning•Local Subnet Scanning•Routing Worm•Pre-generated Hit List•TopologicalRandom Scanning•32 bit number is randomly generated and used as the IP addressAside: IPv6 worms will be different …•E.g., Slammer and Code Red I•Hits black-holed IP space frequentlyOnly 28.6% of IP space is allocatedAside: can track worms by monitoring unused addressesHoneypotsSubnet Scanning•Generate last 1, 2, or 3 bytes of IP address randomly•Code Red II and Blaster•Some scans must be completely random to infect whole internetRouting Worm•BGP information can tell which IP address blocks are allocated•This information is publicly availablehttp://www.routeviews.org/http://www.ripe.net/ris/Hit List•Hit list of vulnerable machines is sent with payloadDetermined before worm launch by scanning•Gives the worm a boost in the slow start phase•Skips the phase that follows the exponential modelInfection rate looks linear in the rapid propagation phase•Can avoid detection by the early detection systemsTopological•Uses info on the infected host to find the next targetMorris Worm used /etc/hosts , .rhosts Email address booksP2P systems usually store info about hosts it connects toSome proposals for countermeasures•Better software safeguardsSafe versions of system calls•Host-diversityAvoid same exploit on multiple machines•IP address space randomizationMake scanning ineffective•Host-level solutionsMemory randomizationStack guards•Rate-limitingContain the spread of the attacks•Content-based filteringUse signatures in packet payloads•……Outline•Security, Vulnerabilities•Denial of Service•Worms•Countermeasures: Firewalls/IDSFirewalls•Lots of vulnerabilities on hosts in network•Users don’t keep systems up to dateLots of patchesLots of exploits in wild (no patch for them)•Solution?Limit access to the networkPut firewalls across the perimeter of the networkFirewalls (contd…)•Firewall inspects traffic through it•Allows traffic specified in the policy•Drops everything else•Two TypesPacket Filters, ProxiesInternetInternetInternal NetworkFirewallPacket Filters•Selectively passes packets from one


View Full Document

CMU 15441 Computer Networking - Lecture

Documents in this Course
Lecture

Lecture

14 pages

Lecture

Lecture

19 pages

Lecture

Lecture

14 pages

Lecture

Lecture

78 pages

Lecture

Lecture

35 pages

Lecture

Lecture

4 pages

Lecture

Lecture

4 pages

Lecture

Lecture

29 pages

Lecture

Lecture

52 pages

Lecture

Lecture

40 pages

Lecture

Lecture

44 pages

Lecture

Lecture

41 pages

Lecture

Lecture

38 pages

Lecture

Lecture

40 pages

Lecture

Lecture

13 pages

Lecture

Lecture

47 pages

Lecture

Lecture

49 pages

Lecture

Lecture

7 pages

Lecture

Lecture

18 pages

Lecture

Lecture

15 pages

Lecture

Lecture

74 pages

Lecture

Lecture

35 pages

Lecture

Lecture

17 pages

lecture

lecture

13 pages

Lecture

Lecture

21 pages

Lecture

Lecture

14 pages

Lecture

Lecture

53 pages

Lecture

Lecture

52 pages

Lecture

Lecture

11 pages

Lecture

Lecture

20 pages

Lecture

Lecture

39 pages

Lecture

Lecture

10 pages

Lecture

Lecture

40 pages

Lecture

Lecture

25 pages

lecture

lecture

11 pages

lecture

lecture

7 pages

Lecture

Lecture

10 pages

lecture

lecture

46 pages

lecture

lecture

7 pages

Lecture

Lecture

8 pages

lecture

lecture

55 pages

lecture

lecture

45 pages

lecture

lecture

47 pages

lecture

lecture

39 pages

lecture

lecture

33 pages

lecture

lecture

38 pages

lecture

lecture

9 pages

midterm

midterm

16 pages

Lecture

Lecture

39 pages

Lecture

Lecture

14 pages

Lecture

Lecture

46 pages

Lecture

Lecture

8 pages

Lecture

Lecture

40 pages

Lecture

Lecture

11 pages

Lecture

Lecture

41 pages

Lecture

Lecture

38 pages

Lecture

Lecture

9 pages

Lab

Lab

3 pages

Lecture

Lecture

53 pages

Lecture

Lecture

51 pages

Lecture

Lecture

38 pages

Lecture

Lecture

42 pages

Lecture

Lecture

49 pages

Lecture

Lecture

63 pages

Lecture

Lecture

7 pages

Lecture

Lecture

51 pages

Lecture

Lecture

35 pages

Lecture

Lecture

29 pages

Lecture

Lecture

65 pages

Lecture

Lecture

47 pages

Lecture

Lecture

41 pages

Lecture

Lecture

41 pages

Lecture

Lecture

32 pages

Lecture

Lecture

35 pages

Lecture

Lecture

15 pages

Lecture

Lecture

52 pages

Lecture

Lecture

16 pages

Lecture

Lecture

4 pages

lecture

lecture

27 pages

lecture04

lecture04

46 pages

Lecture

Lecture

46 pages

Lecture

Lecture

13 pages

lecture

lecture

41 pages

lecture

lecture

38 pages

Lecture

Lecture

40 pages

Lecture

Lecture

25 pages

Lecture

Lecture

38 pages

lecture

lecture

11 pages

Lecture

Lecture

42 pages

Lecture

Lecture

12 pages

Lecture

Lecture

36 pages

Lecture

Lecture

46 pages

Lecture

Lecture

35 pages

Lecture

Lecture

34 pages

Lecture

Lecture

9 pages

lecture

lecture

49 pages

class03

class03

39 pages

Lecture

Lecture

8 pages

Lecture 8

Lecture 8

42 pages

Lecture

Lecture

20 pages

lecture

lecture

29 pages

Lecture

Lecture

9 pages

lecture

lecture

46 pages

Lecture

Lecture

12 pages

Lecture

Lecture

24 pages

Lecture

Lecture

41 pages

Lecture

Lecture

37 pages

lecture

lecture

59 pages

Lecture

Lecture

47 pages

Lecture

Lecture

34 pages

Lecture

Lecture

38 pages

Lecture

Lecture

28 pages

Exam

Exam

17 pages

Lecture

Lecture

21 pages

Lecture

Lecture

15 pages

Lecture

Lecture

9 pages

Project

Project

20 pages

Lecture

Lecture

40 pages

L13b_Exam

L13b_Exam

17 pages

Lecture

Lecture

48 pages

Lecture

Lecture

10 pages

Lecture

Lecture

52 pages

21-p2p

21-p2p

16 pages

lecture

lecture

77 pages

Lecture

Lecture

18 pages

Lecture

Lecture

62 pages

Lecture

Lecture

25 pages

Lecture

Lecture

24 pages

Project

Project

20 pages

Lecture

Lecture

47 pages

Lecture

Lecture

38 pages

Lecture

Lecture

35 pages

Roundup

Roundup

45 pages

Lecture

Lecture

47 pages

Lecture

Lecture

39 pages

Lecture

Lecture

13 pages

Midterm

Midterm

22 pages

Project

Project

26 pages

Lecture

Lecture

11 pages

Project

Project

27 pages

Lecture

Lecture

10 pages

Lecture

Lecture

50 pages

Lab

Lab

9 pages

Lecture

Lecture

30 pages

Lecture

Lecture

6 pages

r05-ruby

r05-ruby

27 pages

Lecture

Lecture

8 pages

Lecture

Lecture

28 pages

Lecture

Lecture

30 pages

Project

Project

13 pages

Lecture

Lecture

11 pages

Lecture

Lecture

12 pages

Lecture

Lecture

48 pages

Lecture

Lecture

55 pages

Lecture

Lecture

36 pages

Lecture

Lecture

17 pages

Load more
Download Lecture
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?