• No results found

Internet Infrastructure Security

N/A
N/A
Protected

Academic year: 2021

Share "Internet Infrastructure Security"

Copied!
30
0
0

Loading.... (view fulltext now)

Full text

(1)

Internet Infrastructure Security

Internet Infrastructure Security

Simon Fraser University

Scott Wakelin

(2)

4/27/2004

2

Road Map

Road Map

z

Project Goals and Overview

z

Project Status

z

Network Infrastructure

ISP Topology

ISP Interconnection

z

Routing Protocols

z

Routing Protocol Security Issues

z

Example Case: OSPF

z

Future Work

(3)

Project Goals

Project Goals

z

Understand Internet Infrastructure

and typical topology

z

Understand routing protocols

z

Understand attacks against Internet

Infrastructure

z

Demonstrate weaknesses of routing

(4)

4/27/2004

4

Is it important?

Is it important?

“Our very way of life depends on the

secure and safe operations of critical

systems that depend on cyberspace”

-

Richard Clarke, Former US Homeland Security Advisor on

(5)

Current Status

Current Status

z

Completed:

Implemented OSPF network using OPNET

Created “misbehaving” router scenario in OPNET

Used FlowAnalysis to analyze routing tables, in addition to link

and host statistics

Examined internal implementation of OSPF process module,

function blocks, identified potential code changes

Built NS model to simulate link cutting attacks

z

Work Remaining:

Determine feasibility of modifying OPNET to support “faulty”

router operation (eg. I know what to do, but can it be done?)

Gather additional traffic statistics

Code link selection/cutting algorithm in Tcl for NS-2

Demo, and Final Report

(6)

4/27/2004

6

Internet Infrastructure

Internet Infrastructure

z

“Network of Networks”

z

Subscriber networks connect to ISP POP’s

z

ISP POP’s interconnected via IP backbone

routers

z

ISP’s interconnected IXP (eg. MAE-WEST)

ISP = Internet Service Provider

POP = Point of Presence

(7)

Subscriber to ISP Network

Subscriber to ISP Network

ADM OC-48 OC-48 GE DS3 OC-3 OC-12 Metro SONET Ring

OC-192/STM64 Network A Network B Network C

(8)

4/27/2004

8

Typical POP Architecture

Typical POP Architecture

R b 0

R a 0

R a 1

R a 2

R a 3

R b 1

T o S u b s c r ib e r s

(9)

ISP POP Interconnect

ISP POP Interconnect

Ab0

Aa0

Aa1

Aa2

Aa3

Ab1

Seattle POP

Sb1

Sa0

Sa1

Sa2

Sa3

Sb0

Chicago POP

Cb1

Ca0

Ca1

Ca2

Ca3

Cb0

Portland POP

Lb0

La0

La1

La2

La3

Lb1

San Jose POP

End User A

(10)

4/27/2004

10

Interconnecting ISP

Interconnecting ISP

s

s

Ab0

Aa0

Aa1

Aa2

Aa3

Ab1

ISP A POP

Sb1

Sa0

Sa1

Sa2

Sa3

Sb0

ISP B POP

Cb1

Ca0

Ca1

Ca2

Ca3

Cb0

ISP C POP

Lb0

La0

La1

La2

La3

Lb1

ISP D POP

to other POP's to other POP's to other POP's to other POP's

Internet Exchange

Point (IXP)

(11)

Routing Protocols: OSPF

Routing Protocols: OSPF

z

OSPF is defined in RCF 2328

z

Link State Routing protocol

z

Intra-domain protocol

z

OSPF Phases:

Neighbor Discovery

LSA Generation

LSA Propagation

Shortest Path Calculation

z

OSPF runs over IP

OSPF: Open Shorted Path First

LSA: Link State Advertisement

(12)

4/27/2004

12

OSPF Packet Header

OSPF Packet Header

Version

Packet Type

Packet Length

Router ID

Area ID

Checksum

Authentication Type

Authentication Data

Octets

1

1

2

4

4

2

2

8

(13)

Routing Protocols: BGP

Routing Protocols: BGP

-

-

4

4

z

BGP-4 is defined in RFC 1771

z

Path-Vector algorithm

z

Inter-domain protocol

z

BGP Phases:

Opening a BGP Connection

Exchange of routing tables

Maintenance of the connection

z

BGP Runs over TCP

(14)

4/27/2004

14

OSPF/BGP

OSPF/BGP

Interworking

Interworking

z

OSPF and BGP work alongside each

other in a router

z

Router maintain two route tables,

one internal, one external

z

Router uses BGP next-hop to index

(15)

Routing Protocol Security

Routing Protocol Security

z

….or lack thereof…

z

Implicit trust relationship amongst routers

z

Attacks can be devastating:

Service disruption

Loss of confidentiality

z

And difficult to detect

(16)

4/27/2004

16

OSPF Example

OSPF Example

z

One router can lie and advertise incorrect

costs

z

The lying router then becomes the part of

the preferred route to some other router

(perhaps gateway)

z

The lying router can then do just about

(17)

Example Topology using

Example Topology using

OPNET

OPNET

•Assume gateway1 has

sensitive data to send to

gateway2

•Assume all link costs equal

•Normal route:

(18)

4/27/2004

18

But what if

But what if

z

Router 3 lies?

z

Routers 1, 2 and the gateway routers

don’t know that Router 3 is lying.

z

They assume that what Router 3

(19)

OSPF Failure Case

OSPF Failure Case

z

Now all traffic from

G1 -> G2 goes

through Router 3

z

New Route:

G1 -> R1 -> R3 ->

R2 -> G2

z

Possible results:

Snooping

Packet

mistreatment

Congestion

???

(20)

4/27/2004

20

But what about OSPF Auth?

But what about OSPF Auth?

z

Authentication field in OSPF only

provides assurance that Router 3

sent the message

z

Authentication field DOES NOT mean

(21)

S

S

-

-

OSPF: A Solution?

OSPF: A Solution?

z

One solution is to have each router

digitally sign/authenticate each LSA

z

Problems:

Computationally expensive

Requires PKI for certification

Others

z

Still not a complete solution

(22)

4/27/2004

22

Link Cutting

Link Cutting

z

Targetting specific hosts/links and bringing them down

z

How?

Fibre cuts (for the serious attacker)

DDoS attacks

Others…

z

Idea: Force traffic to go through a node/link controlled by an

attacker

z

Requires some knowledge of the network topology:

Not so hard to obtain…See Rocketfuel research.

z

Bellovin et al. developed algorithm to select which links to

cut.

(23)

Link Cutting

Link Cutting

cont.

cont.

z

Traceroute can provide a lot of

information:

Tracing route to www.sprint.net [199.0.233.22]

over a maximum of 30 hops:

1 20 ms 30 ms 20 ms 209.53.1.226

2 20 ms 30 ms 20 ms 208.181.229.118

3 20 ms 30 ms 20 ms vancbc01gr01.bb.telus.com [154.11.4.97]

4 30 ms 30 ms 30 ms vancbc01br01.bb.telus.com [154.11.10.49]

5 20 ms 30 ms 30 ms sttlwa01gr01.bb.telus.com [209.53.75.166]

6 20 ms 30 ms 30 ms

sl-gw14-sea-10-0.sprintlink.net [144.224.23.33]

7 20 ms 30 ms 30 ms sl-bb21-sea-9-1.sprintlink.net [144.232.6.133]

8 70 ms 70 ms 70 ms sl-bb25-chi-2-0.sprintlink.net [144.232.20.157]

9 70 ms 71 ms 70 ms sl-bb23-chi-15-0.sprintlink.net [144.232.26.93]

10 90 ms 90 ms 90 ms sl-bb27-rly-11-0.sprintlink.net [144.232.20.185]

11 90 ms 90 ms *

sl-bb22-rly-10-0.sprintlink.net [144.232.14.177]

(24)

4/27/2004

24

Link Cutting Example: NS

Link Cutting Example: NS

-

-

2

2

z

Network built using ISP topology

shown on pg. 7.

z

Attacker wants to see traffic flowing

between Node 27 and 25

z

Assume attacker has control of

backbone router 4

z

Normal path:

(25)

Normal Case: NS

(26)

4/27/2004

26

Link Cutting Attack

Link Cutting Attack

z

Attack Links 23-10, 22-17

z

Causes traffic to flow through

backbone router 4

z

New route:

(27)

Link Cutting Attack, cont.

(28)

4/27/2004

28

Future Work

Future Work

z

Implement S-BGP

IBGP, EBGP peers communicate using

IPSec

Each router cryptographically signs its

advertisements

z

Implement S-OSPF

z

Are the solutions scalable?

(29)

References

References

z [1] J. Moy, “OSPF Version 2”, RFC 2328, April 1998.

z [2] Y. Rekhter and P. Gross, “Application of the Border Gateway Protocol in the Internet”, RFC 1772, March 1995.

z [3] C. Metz, “Interconnecting ISP Networks”, IEEE Internet Computing, vol. 5, no. 2, March-April 2001, pp 74-80.

z [4] S. Kent, C. Lynn, and K. Seo, “Secure Border Gateway Protocol (S-BGP)”, IEEE Journal on

Selected Areas in Communications, vol. 18, no. 4, April 2000. pp. 582-592.

z [5] S. Kent, C. Lynn, and K. Seo, “Public-key infrastructure for the Secure Border Gateway Protocol (S-BGP)”, Proc. Darpa Information Survivability Conference and Exposition II, vol. 1, June 2001, pp. 239-252.

z [6] S. Kent, C. Lynn, and K. Seo, “Design and analysis of the Secure Border Gateway Protocol (S-BGP)”, Proc. Darpa Information Survivability Conference and Exposition II, vol. 1, Jan. 2000, pp 18-33.

z [7] H. Papadimitratos, “Securing the Routing Infrastructure”, IEEE Communications Magazine, vol. 40, no. 10, Oct. 2002, pp. 60-68.

z [8] A. Chakrabarti, and G. Manimaran, “Internet Infrastructure Security: A Taxonomy”, IEEE

Network, vol. 16, no. 6, Nov.-Dec. 2002, pp. 13-21.

z [9] S. M. Bellovin, and E. R. Gansner, “Using Link Cuts to Attack Internet Routing”, DRAFT, May 2003.

z [10] Rocketfuel, http://www.cs.washington.edu/research/networking/rocketfuel/ z [11] Marc Greis’ Tutorial for the UCB/LBNL/VINT Network Simulator “ns”,

(30)

4/27/2004

30

Questions?

References

Related documents

To determine the color of your child’s hair and eyes, you will flip your coins twice, once to represent the A gene, and once to represent the B gene.. If the

Measures of aggregate systemic risk Measures of individual systemic importance Distress insurance premium (DIP) 1 Marginal DIP 1 Conditional probability of systemic

z glavnim literarnim likom, ki je znan iz ljudskega pravljičnega izročila Kobe, mi pa smo na osnovi njene teorije o sodobni pravljici dodali tudi seznam literarnih likov, ki nastopajo

I, N.N., a servant of God, call upon thee, desire and conjure thee, O Spirit Anoch, by the wisdom of Solomon, by the obedience of Isaac, by the blessing of Abraham, by the piety

On the complex issue of how religion bears on public reason, see Kent Greenawalt, Religious Convictions and Political Choice (New York: Oxford University Press, 1988), chapters 8,

The following attributes have been identified for use with BGP: AS-Path Origin Next-hop Weight Local Preference.. Metric (Multi Exit Discriminator –

• PATH Attributes: This represents the additional information about the path of the advertised feasible routes. These path attributes are used by a BGP speaker to indicate

those Only routes used by router itself (i.e. those chosen into routing table) are propagated to chosen into routing table) are propagated to. other neighbors