IP Flow Measurement Analysis with Flow Scan IPAM

  • Slides: 61
Download presentation
IP Flow Measurement & Analysis with Flow. Scan IPAM Workshop, Los Angeles, March 21,

IP Flow Measurement & Analysis with Flow. Scan IPAM Workshop, Los Angeles, March 21, 2002 Dave Plonka plonka@doit. wisc. edu Division of Information Technology, Computer Sciences Wisconsin Advanced Internet Lab

Agenda " What is Flow. Scan? " What are IP Flows? " Interpreting Sample

Agenda " What is Flow. Scan? " What are IP Flows? " Interpreting Sample Flow. Scan Graphs " Flow. Scan Hardware & Software Components " Graphs of Network Events & Anomalies " "Characteristics of Flow Anomalies" (work in progress)

What is Flow. Scan? " " Flow. Scan is a freely-available network traffic reporting

What is Flow. Scan? " " Flow. Scan is a freely-available network traffic reporting and visualization tool. Its development began in December 1998, and it was first released in March 2000. There are hundreds of users today including campuses and ISPs. Flow. Scan analyzes data exported by Internet Protocol routers.

What does Flow. Scan do? " Flow. Scan counts IP flows by protocol, application,

What does Flow. Scan do? " Flow. Scan counts IP flows by protocol, application, user population, or Internet connection. � Protocols include TCP and UDP. � Applications include email (SMTP), file sharing (e. g. Ka. Za. A). � User populations are subnets such as schools or departments. � Internet connections are transit and peering links between Autonomous Systems

What is a Flow? � An IP flow is a unidirectional series of IP

What is a Flow? � An IP flow is a unidirectional series of IP packets of a given protocol (and port where applicable), traveling between a source and destination, within a certain period of time. � K. Claffy, G. Polyzos, H. Werner-Braun, c. 1993.

What is a Flow? These flows represent an ftp file transfer that lasted 9

What is a Flow? These flows represent an ftp file transfer that lasted 9 seconds. Two bidirectional Internet connections, comprised of a total of 430 packets containing 380, 122 bytes, are summarized into just five flows.

Background on Flows & Routerbased Flow-Export " " " The notion of flow profiling

Background on Flows & Routerbased Flow-Export " " " The notion of flow profiling was introduced by the research community. Today, flow profiling is built into some networking devices for operational and accounting purposes. Vendor implementations include Cisco Net. Flow, Riverstone (formerly Cabletron) LFAP, Foundry (In. Mon) s. Flow These essentially use the definition introduced by [Claffy. PB] with timeout and TCP stateful inspection. The "IP Flow Information e. Xport" (IFPIX) Working Group in the IETF is currently working toward standardizing existing practice by definingrequirements, information model, and architecture for flow export implementations.

An "Atomic" Flow Diagram by Daniel W. Mc. Robb, from the cflowd configuration documentation,

An "Atomic" Flow Diagram by Daniel W. Mc. Robb, from the cflowd configuration documentation, 1998 -1999.

Interpreting Flow. Scan Graphs � Horizontal axis is time, current time to the right.

Interpreting Flow. Scan Graphs � Horizontal axis is time, current time to the right. � Vertical axis indicates magnitude of measurement, usually in bits, packets, or flows per second. � Outbound traffic is upwards, Inbound traffic is downwards (mnemonic: pejoritive `bottom feeders'). � Colored bars show traffic classification and are stacked (not overlayed) to show the total.

Interpreting Flow. Scan Graphs

Interpreting Flow. Scan Graphs

Hardware and Software Components

Hardware and Software Components

Router-based Flow Export Flow collector stores exported flows from router. Diagram by Mark Fullmer

Router-based Flow Export Flow collector stores exported flows from router. Diagram by Mark Fullmer (author of flow-tools), 2002.

Router-based Flow Export

Router-based Flow Export

Router-based Flow Export

Router-based Flow Export

Router-based Flow Export

Router-based Flow Export

Ethernet Flow Probe Workstation A Workstation B Flow probe connected to switch port in

Ethernet Flow Probe Workstation A Workstation B Flow probe connected to switch port in �traffic mirror�mode Diagram by Mark Fullmer (author of flow-tools), 2002.

Ethernet Flow Probe

Ethernet Flow Probe

Ethernet Flow Probe

Ethernet Flow Probe

Interpreting Graphs Review

Interpreting Graphs Review

Events & Anomalies " Denial-of-Service " Probes, Scans " Worm Propagation " Flash Crowds

Events & Anomalies " Denial-of-Service " Probes, Scans " Worm Propagation " Flash Crowds " Distributed Denial-of-Service

Inbound DSL Do. S Flood A campus DSL user's host (640 Kbps download) was

Inbound DSL Do. S Flood A campus DSL user's host (640 Kbps download) was the recipient of 50, 000 packets per second, whcih totaled over 10 megabits per second.

Active Hosts. . . indications of Network Abuse

Active Hosts. . . indications of Network Abuse

Code Red Worm Propagation The following graph (next slide) plots the difference between the

Code Red Worm Propagation The following graph (next slide) plots the difference between the number of UWMadison IP addresses that have transmitted traffic and the number that have received traffic. These values are plotted independently for each of UW-Madison's four class B networks. This metric represents the number of campus host IP addresses that participated in "monologues" - one way exchanges of IP information with hosts in the outside world. A negative value indicates that more src addresses have been used as received IP traffic than have generated outbound IP traffic. Negative numbers in the plot are an indication of inbound "scanning" or probing behavior (such as that done by the hosts in the outside world that were infected with the Code Red worm) because those scans often attempt to talk to unused campus IP addresses or to hosts which simply do not respond because of firewall policies.

Code Red Worm "Monologues"

Code Red Worm "Monologues"

Flash Crowds Larry Niven's 1973 SF short story "Flash Crowd" predicted that one consequence

Flash Crowds Larry Niven's 1973 SF short story "Flash Crowd" predicted that one consequence of cheap teleportation would be huge crowds materializing almost instantly at the sites of interesting news stories. Twenty years later the term passed into common use on the Internet to describe exponential spikes in website or server usage when one passes a certain threshold of popular interest. http: //www. tuxedo. org/~esr/jargon/html/entry/flash-crowd. html

Linux Release Events

Linux Release Events

Red. Hat 7. 2 Flows

Red. Hat 7. 2 Flows

The Blooming of the Titan Arum http: //www. news. wisc. edu/titanarum/ On June 7,

The Blooming of the Titan Arum http: //www. news. wisc. edu/titanarum/ On June 7, 2001, UW-Madison's 8 -feet, 5 -inch tall titan opened up gradually over the course of six hours This illustration shows Titan Arum in bud, left, and full bloom, center. Inside the base of the spadix (the fleshy central column of the flower) are over a thousand tiny flowers, right. Photo: Michael Rothbart, Illustration: Kandis Elliot

The Blooming of the Titan Arum http: //www. news. wisc. edu/titanarum/

The Blooming of the Titan Arum http: //www. news. wisc. edu/titanarum/

Outbound Distributed Do. S flood from 30+ Campus Hosts

Outbound Distributed Do. S flood from 30+ Campus Hosts

The Same ICMP DDo. S flood was also observed by Flow. Scan at another

The Same ICMP DDo. S flood was also observed by Flow. Scan at another campus. . .

The Knight IRC Robot Coordinated via Internet Relay Chat (IRC) using "robots". Independent observations

The Knight IRC Robot Coordinated via Internet Relay Chat (IRC) using "robots". Independent observations reported aggregates over 500 Mbs The Same DDo. S flood was also observed by Flow. Scan at other campuses. . .

Characteristics of Flow Anomalies http: //www. aciri. org/vern/imw-2001/imw 2001 -papers/47. pdf

Characteristics of Flow Anomalies http: //www. aciri. org/vern/imw-2001/imw 2001 -papers/47. pdf

Network Outage Campus border router inexplicably stops advertising one of the class B networks

Network Outage Campus border router inexplicably stops advertising one of the class B networks comprising about one fourth of the campus address space.

Low "Frequency" Anomaly Detected: Significant bulk-data transfers are performed by four campus file-sharing hosts

Low "Frequency" Anomaly Detected: Significant bulk-data transfers are performed by four campus file-sharing hosts in two campus LANs.

Credits & Thanks " Flow-related tools: � CAIDA � Tobi (cflowd, RRDTOOL) Oetiker (RRDTOOL)

Credits & Thanks " Flow-related tools: � CAIDA � Tobi (cflowd, RRDTOOL) Oetiker (RRDTOOL) � Mark Fullmer (flow-tools) � Carter Bullard (argus) � Flow. Scan " contributors Anomaly Characteristics & Wavelet Analysis: � Paul Barford � Amos � Jeff Ron Kline

Resources " Flow. Scan: http: //net. doit. wisc. edu/~plonka/Flow. S can/ � http: //wwwstats.

Resources " Flow. Scan: http: //net. doit. wisc. edu/~plonka/Flow. S can/ � http: //wwwstats. net. wisc. edu " " " Argus: http: //www. qosient. com/argus/ flow-tools: http: //www. splintered. net/sw/flowtools/ cflowd, Coral. Reef: http: //www. caida. org/ � tools/measurement/cflowd/ � tools/measurement/Coral. Reef/ " IP Flow Information e. Xport, an IETF Working Group: http: //ipfix. doit. wisc. edu