Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Learning-Based Anomaly Detection in BGP Updates Jian Zhang Jennifer Rexford Joan Feigenbaum."— Presentation transcript:

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

2 Aug. 26, 2005 2 Motivations Identifying anomalous BGP-updates is important. Detecting security problems Flaky equipment It’s 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 Aug. 26, 2005 3 Anomalies in Update Dynamics Anomalies in update dynamics may reflect anomalies in the BGP updates. From a router’s 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 Aug. 26, 2005 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 Aug. 26, 2005 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 Aug. 26, 2005 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. Time # of Messages

7 Aug. 26, 2005 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 Aug. 26, 2005 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 [T min, T max ]. Using an interval large enough, our analysis can avoid the magic-number problem.

9 Aug. 26, 2005 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 Aug. 26, 2005 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 Aug. 26, 2005 11 System Overview Signal of updates Wavelet transformation Distribution of message-burst durations and intervals Representation in a vector space Learn normal dynamics and detect anomalies

12 Aug. 26, 2005 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 Aug. 26, 2005 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 Aug. 26, 2005 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.


Download ppt "Learning-Based Anomaly Detection in BGP Updates Jian Zhang Jennifer Rexford Joan Feigenbaum."

Similar presentations


Ads by Google