120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick...

119
120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick [email protected]

Transcript of 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick...

Page 1: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Mapping the Internet and

Intranets

Steve Branigan, Hal Burch, Bill Cheswick

[email protected]

Page 2: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 2 of 120

Motivations

• Intranets are out of control– Always have been

• Highlands “day after” scenario

• Panix DOS attacks– a way to trace

anonymous packets back!

• Internet tomography

• Curiosity about size and growth of the Internet

• Same tools are useful for understanding any large network, including intranets

Page 3: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 3 of 120

The Original Project

• Long term reliable collection of Internet and Lucent connectivity information– without annoying

too many people

• Attempt some simple visualizations of the data

– movie of Internet growth!

• Develop tools to probe intranets

• Extended database for researchers

Page 4: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 4 of 120

Uses for the Internet data

• topography studies

• long-term routing studies

• publicly available database– (“open source”) for spooks

• interesting database for graph theorists

• combine with other mappers to make an actual map of the Internet

Page 5: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 5 of 120

History of the Project

• Started in August 1998 at Bell Labs

• April-June 1999: Yugoslavia mapping

• July 2000: first customer intranet scanned

• Sept. 2000: spun off Lumeta from Lucent/Bell Labs

• June 2002: “B” round funding completed

Page 6: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 6 of 120

Related Work

• See Martin Dodge’s cyber geography page

• MIDS - John Quarterman

• CAIDA - kc claffy

• Mercator

• Enter “internet map” in your search engine

Page 7: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 7 of 120

Page 8: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 8 of 120

Page 9: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 9 of 120

Methods - data collection

• Single reliable host connected at the company perimeter

• Daily full scan of Lucent

• Daily partial scan of Internet, monthly full scan

• One line of text per network scanned– Unix tools

Page 10: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 10 of 120

Methods - network scanning

• Obtain master network list– network lists from Merit, RIPE, APNIC, etc.– BGP data or routing data from customers– hand-assembled list of Yugoslavia/Bosnia

• Run a traceroute-style scan towards each network

• Stop on error, completion, no data– Keep the natives happy

Page 11: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 11 of 120

Daily database

• 100-200MB of text

• compresses to 5-10MB

• daily Internet results available from mapping web page– have not checked to see who gets it!

• Saved to different partition, and offloaded to other secure computer

Page 12: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 12 of 120

Traceroute

• Probes toward each target network with increasing TTL

• Probes are ICMP, UDP, TCP to port 80, 25, 139, etc.

• Some people block UDP, others ICMP

Page 13: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 13 of 120

Traceroute

Application level

TCP/UDP

IP

Hardware

Client

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

Application level

TCP/UDP

IP

Hardware

Server

Hop 1 Hop 2 Hop 3

Hop 3Hop 4

Page 14: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 14 of 120

Send a packet with a TTL of 1…

Application level

TCP/UDP

IP

Hardware

Client

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

Application level

TCP/UDP

IP

Hardware

Server

Hop 1 Hop 2 Hop 3

Hop 3Hop 4

Page 15: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 15 of 120

…and we get the death notice from the first hop

Application level

TCP/UDP

IP

Hardware

Client

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

Application level

TCP/UDP

IP

Hardware

Server

Hop 1 Hop 2 Hop 3

Hop 3Hop 4

Page 16: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 16 of 120

Send a packet with a TTL of 2…

Application level

TCP/UDP

IP

Hardware

Client

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

Application level

TCP/UDP

IP

Hardware

Server

Hop 1 Hop 2 Hop 3

Hop 3Hop 4

Page 17: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 17 of 120

… and so on …

Application level

TCP/UDP

IP

Hardware

Client

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

IP

Hardware

Router

Application level

TCP/UDP

IP

Hardware

Server

Hop 1 Hop 2 Hop 3

Hop 3Hop 4

Page 18: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 18 of 120

Advantages

• We don’t need access (I.e. SNMP) to the routers

• It’s very fast

• Standard Internet tool: it doesn’t break things

• Insignificant load on the routers

• Not likely to show up on IDS reports

• We can probe with many packet types

Page 19: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 19 of 120

Limitations

• Outgoing paths only

• View is from scanning host only

• Takes a while to collect alternating paths

• Gentle mapping means missed endpoints

• Imputes non-existent links

Page 20: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 20 of 120

The data can go either way

A

E F

D

B C

Page 21: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 21 of 120

The data can go either way

A

E F

D

B C

Page 22: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 22 of 120

But our test packets only go part of the way

A

E F

D

B C

Page 23: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 23 of 120

We record the hop…

A

E F

D

B C

Page 24: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 24 of 120

The next probe happens to go the other way

A

E F

D

B C

Page 25: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 25 of 120

…and we record the other hop…

A

E F

D

B C

Page 26: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 26 of 120

We’ve imputed a link that doesn’t exist

A

E F

D

B C

Page 27: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 27 of 120

Remediations

• Alternate routes not a factor on intranets

• Scan from several sources

• “stitching” needed– Traceroute in different directions gives

different interface IP addresses– Techniques needed to link multiple IP

addresses to a single host machine

Page 28: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 28 of 120

Network scanning

• Custom program

• Concurrently scans towards 500 nets at once

• Throttled to 400 packets/sec– 100 p/s over dialup modems!

• Slow daily scan for host on destination network

Page 29: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 29 of 120

Data collection complaints

• Australian parliament was the first to complain

• List of whiners (25 nets)

• Military noticed immediately– Steve Northcutt– arrangements/warnings to DISA and CERT

Page 30: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 30 of 120

Visualization goals

• make a map– show interesting features– debug our database and collection

methods– hard to fold up

• geography doesn’t matter

• use colors to show further meaning

Page 31: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 31 of 120

Page 32: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 33 of 120

Colored byAS number

Page 33: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 34 of 120

Page 34: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 35 of 120

Page 35: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 36 of 120

Page 36: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 37 of 120

Page 37: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 38 of 120

Page 38: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 39 of 120

Page 39: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 40 of 120

Page 40: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 41 of 120

Page 41: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 42 of 120

Page 42: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 43 of 120

Page 43: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 44 of 120

Page 44: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 45 of 120

Page 45: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 46 of 120

Page 46: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 47 of 120

Page 47: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 48 of 120

Page 48: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 49 of 120

Page 49: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 50 of 120

Page 50: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 51 of 120

Map Coloring

• distance from test host

• IP address– shows communities

• Geographical (by TLD)

• ISPs

• future– timing, firewalls, LSRR blocks

Page 51: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 52 of 120

Colored by IP address!

Page 52: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 53 of 120

Colored by geography

Page 53: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 54 of 120

Colored by ISP

Page 54: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 55 of 120

Colored by distancefrom scanning host

Page 55: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 56 of 120

US militaryreached by ICMP ping

Page 56: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 57 of 120

US military networksreached by UDP

Page 57: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 58 of 120

Page 58: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 59 of 120

Page 59: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Yugoslavia

An unclassified peek at a new battlefield

Page 60: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 61 of 120

Page 61: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Un film par Steve “Hollywood” Branigan...

Page 62: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 63 of 120

Page 63: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

fin

Page 64: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

NYC after 9/11

Page 65: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 66 of 120

CIDR and IP Counts

145K

150K

155K

160K

165K

170K

175K

180K

9/11 9/12 9/13 9/14 9/15 9/16 9/17 9/18 9/19 9/20 9/21 9/22

Date

Cou

nt

# Edges# CIDRs# IPs

Page 66: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 67 of 120

Routers in New York City

1000

1100

1200

1300

1400

9/11 9/12 9/13 9/14 9/15 9/16 9/17 9/18 9/19 9/20 9/21 9/22

Date

# R

ou

ters

Page 67: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 68 of 120

Internet before 9/11/2001

Page 68: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 69 of 120

Internet after 9/11/2001

Page 69: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Let’s look at some intranets

Page 70: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 71 of 120

Page 71: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 72 of 120

Page 72: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 73 of 120

Page 73: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 74 of 120

Page 74: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 75 of 120

Page 75: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 76 of 120

Page 76: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Anything large enough to be called

an “intranet” isout of control

Page 77: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 78 of 120

This is not the fault of network administrators!

• Robust internet design frustrates central control– Ad hoc growth– Mergers and acquisitions frustrate

long-term network planning and policies

• CIOs and auditors already know this

Page 78: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 79 of 120

Page 79: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 80 of 120

Page 80: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 81 of 120

Page 81: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 82 of 120

Page 82: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 83 of 120

We call these “routing leaks”

• Easily-found holes in the intranet perimeter

• Show up nicely on the maps

• Leaking hosts or routers announce routes to other networks or the Internet

• Sometimes left over from an old corporate split

• Non-functional VPNs can show up

Page 83: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 84 of 120

This wasSupposedTo be aVPN

Page 84: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 85 of 120

The maps are useful, but not the main data

• We collect tens of megabytes of network data

• There were unexpected subtleties to this process

• How do you display all this information, given that different clients want different data?

Page 85: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 86 of 120

The second technology: host leak detection

• Developed to find hosts that have access to both intranet and Internet

• Or across any privilege boundary

• Leaking hosts do not route between the networks

• May be a dual-homed host

• Not always a bad thing

• Technology didn’t exist to find these

Page 86: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 87 of 120

Possible host leaks

• Miss-configured telecommuters connecting remotely

• VPNs that are broken

• DMZ hosts with too much access

• Business partner networks

• Internet connections by rogue managers

• Modem links to ISPs

Page 87: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 88 of 120

Leak results

• Found home web businesses

• At least two clients have tapped leaks– One made front page news

Page 88: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 89 of 120

Leak Detection Prerequisites

• List of potential leakers: obtained by census

• Access to intranet

• Simultaneous availability of a “mitt”

Page 89: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 90 of 120

Leak Detection Layout

Internet intranet

Mapping hostA

Test hostB

mittD

C

• Mapping host with address A is connected to the intranet

• Mitt with address D has Internet access

• Mapping host and mitt are currently the same host, with two interfaces

Page 90: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 91 of 120

Leak Detection

Internet intranet

Mapping hostA

Test hostB

mittD

C

• Test host has known address B on the intranet

• It was found via census

• We are testing for unauthorized access to the Internet, possibly through a different address, C

Page 91: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 92 of 120

Leak Detection

Internet intranet

Mapping hostA

Test hostB

mittD

C

• A sends packet to B, with spoofed return address of D

• If B can, it will reply to D with a response, possibly through a different interface

Page 92: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 93 of 120

Leak Detection

Internet intranet

Mapping hostA

Test hostB

mittD

C

• Packet must be crafted so the response won’t be permitted through the firewall

• A variety of packet types and responses are used

• Either inside or outside address may be discovered

• Packet is labeled so we know where it came from

Page 93: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 94 of 120

Leak Detection

Internet intranet

Mapping hostA

Test hostB

mittD

C

• This describes outbound leaks

• Inbound leaks are usually much more serious

Page 94: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 95 of 120

Possible problems

• NAT

• egress filtering

• transit of sensitive data over the public networks

Page 95: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 96 of 120

Our new tools give new views of intranets

• The pictures are mostly for management

• Maps can show progress– red is bad, blue is good– we can color the maps in many ways

• The real value in the reports is the list of anomalies– network leaks, routing loops, open

routers, etc.

Page 96: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 97 of 120

How we scan

• Via dialup, using RAS servers

• Secure tunnel, if you prefer– IP/SEC– PPTP– others?

Page 97: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 98 of 120

What we do

• Probe the network for things not in the official list

• Run a host enumeration

• Run leak tests on each host found

Page 98: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 99 of 120

Technology used

• Traceroute

• SNMP queries– Router type– Routing tables

• Pings

• Special leak detection probes– ICMP– UDP– Other possible if requested

Page 99: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 100 of 120

Report

• HTML-based

• Delivered on CDROM or DVD

• Maps

• Executive summary shows highpoints

• Interactive map viewer tool for Windows

Page 100: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 101 of 120

Competitors?

• Not yet, not quite– Many use the same terms, but offer

different services

• Some components are pretty easy and free– Host enumeration– But we do it better (!)

• A bit like HP OpenView– OpenView doesn’t scale– Much slower

Page 101: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 102 of 120

Value

• Discovers unknown parts of the network

• Data feeds into existing tools, enhancing their value

• You can’t secure what you don’t know about

• Due diligence for intranets– Insurance?

• M&A activity

• Personnel turnover leaves legacy connections

• Business partners

Page 102: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 103 of 120

Getting a report

• Web-based

• We can send you a CD-ROM

• You can access a web server– FreeBSD-based– One-time password authentication– Very paranoid server

Page 103: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Sample report

Page 104: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 105 of 120

Page 105: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 106 of 120

Page 106: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 107 of 120

Page 107: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 108 of 120

Page 108: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Internet report

Page 109: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 110 of 120

Page 110: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 111 of 120

Page 111: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 112 of 120

Page 112: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 113 of 120

Page 113: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 114 of 120

Page 114: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 115 of 120

Page 115: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 116 of 120

Page 116: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Intranet “Best current practices”

We are acquiring the data to produce a paper: statistics over a

variety of large intranets

Page 117: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 118 of 120

Some intranet statisticsfrom Lumeta clients

Intranet sizes (devices) 7,900 365,000Corporate address space 81,000 745,000,000Address space usage efficiency% devices in unknown address space 0.01% 20.86%

% routers responding to "public" 0.14% 75.50%% routers responding to other 0.00% 52.00%

Outbound host leaks on network 0 176,000% devices with outbound ICMP leaks 0% 79%% devices with outbound UDP leaks 0% 82%

Inbound UDP host leaks 0 5,800% devices with inbound ICMP leaks 0% 11%% devices with inbound UDP leaks 0% 12%

% hosts running Windows 36% 84%

Page 118: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

Mapping the Internet and intranets slide 119 of 120

Page 119: 120 slides Mapping the Internet and Intranets Steve Branigan, Hal Burch, Bill Cheswick ches@lumeta.com.

120 slides

Mapping the Internet and

Intranets

Steve Branigan, Hal Burch, Bill Cheswick

[email protected]