Learning-Based Anomaly Detection in BGP Updates - PowerPoint PPT Presentation

About This Presentation
Title:

Learning-Based Anomaly Detection in BGP Updates

Description:

Message burst duration and intensity. Inter-burst interval. Aug. 26, ... Distribution of message-burst durations and intervals. Representation in a vector space ... – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Slides: 15
Provided by: csPrin
Category:

less

Transcript and Presenter's Notes

Title: Learning-Based Anomaly Detection in BGP Updates


1
Learning-Based Anomaly Detection in BGP Updates
  • Jian Zhang
  • Jennifer Rexford
  • Joan Feigenbaum

2
Motivations
  • Identifying anomalous BGP-updates is important.
  • Detecting security problems
  • Flaky equipment
  • Its hard to define anomalies.
  • Only know the signatures of a few types of
    anomalies (e.g., constant updating)
  • Still at an early stage in understanding
  • What are the anomalies?
  • What signal they generate?

3
Anomalies in Update Dynamics
  • Anomalies in update dynamics may reflect
    anomalies in the BGP updates.
  • From a routers view, update dynamics show as a
    sequence of update messages.
  • Temporal features of this sequence are important
    in anomaly detection.
  • Message burst duration and intensity
  • Inter-burst interval

4
Previous Analyses of Update Dynamics
  • Many use simple aggregations.
  • Consider aggregations over time interval T.
  • Temporal features at levels finer than T are
    lost.
  • To detect constant updating, these features may
    not be necessary.
  • They may be needed to identify other types of
    anomalies.
  • Some suffer from the magic number problem.

5
Our Approach
  • Learn a model of normal update behavior.
  • Identify updates that deviate significantly for
    further investigation.
  • Difference from previous work
  • Multi-scale analysis
  • Representation captures more temporal features.

6
Transformation of Update Message Signals
  • We view the sequence of update messages for each
    prefix as a signal along time
  • Apply a wavelet transformation to the signal to
    reveal its temporal features.

7
Representation of Update Dynamics
  • Build histograms for the distributions of the
    temporal features.
  • View the histograms as a vector. A trace of
    update dynamics becomes a point in a vector
    space.
  • The transformation and the representation capture
    temporal features at different time scales.

8
Avoid Magic Numbers
  • It is hard to determine a good value for the
    magic numbers.
  • We consider a set of values in an interval
  • Tmin, Tmax.
  • Using an interval large enough, our analysis can
    avoid the magic-number problem.

9
Clustering
  • Traces of update dynamics are mapped into points
    in a vector space.
  • Clustering groups the update dynamics into
    clusters to reveal different types of dynamics.

10
Learn Normal Dynamics
  • Normal dynamics regions containing most of the
    update traces
  • Abnormal dynamics traces mapped to a location
    far away from the normal

11
System Overview
Wavelet transformation
Signal of updates
Distribution of message-burst durations and
intervals
Representation in a vector space
Learn normal dynamics and detect anomalies
12
Experiments
  • RouteViews data
  • 6 Months of update messages
  • Combined update messages from all RouteViews
    vantage points.
  • Clustering for a single prefix along time and
    across prefixes.

13
Preliminary Results
  • Focusing on individual prefixes
  • Typically, the largest cluster contains 80-90 of
    instances of the update dynamics.
  • Across prefixes
  • Several (3-4) largest clusters contain about 50
    of the prefixes.
  • In both cases, constant updating show as
    outliers.

14
Further Investigation
  • Ongoing work to find out
  • What are the particular types of dynamics in each
    cluster?
  • Are the updates in the small clusters that
    deviate from the normal real anomalies?
  • Use labeled examples to build the knowledge base.
  • Incorporate the route attributes in our
    representation.
Write a Comment
User Comments (0)
About PowerShow.com