# US 2010/0074125 A1 · Discovering communication rules in a network trace

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0074125 A1
- Document ID: US20100074125A1
- Status: Published application
- Kind: A1
- Application number: 12/238,233
- Filed: 2008-09-25
- Published: 2010-03-25
- Earliest claimed: 2008-09-25
- Assignees: Microsoft Corporation
- Inventors: Ranveer Chandra; Srikanth Kandula
- Web page: https://patentgrep.com/patent/US20100074125A1

## CPC

- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- H04L 41/0846: {based on copy from other elements}
- H04L 41/085: Retrieval of network configuration; Tracking network configuration history
- H04L 41/0873: Checking configuration conflicts between network elements
- H04L 43/00: Arrangements for monitoring or testing data switching networks
- H04L 41/0631: using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L 41/16: using machine learning or artificial intelligence
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The claimed subject matter provides a system and/or a method that facilitates managing a network by mining a communication rule. An analysis engine can employ a packet trace within a network in order to provide timing information, wherein the network includes at least one of a host, a protocol, or an application. A traffic evaluator can extract a communication rule for the network based upon an activity matrix generated from the timing information in which the activity matrix includes at least one of a row of a time window for the packet trace and a column for a flow in the packet trace.

## Claims

### Claim 1

A system that facilitates managing a network by mining communication rules, comprising:
an analysis engine that looks at a portion of network traffic related to a network in order to obtain timing information, wherein the network includes at least one of a host, a protocol, or an application;
a traffic evaluator that extracts communication rules for the network, the communication rule is a representation of an underlying dependency between two or more flows as manifested in network traffic and the communication rule is mined by the traffic evaluator to identify such underlying dependency; and
the traffic evaluator leverages the communication rule(s) to provide network management, the network management is at least one of a network monitoring, a network diagnosis, or a network intrusion detection.

### Claim 2 (depends on 1)

The system of claim 1, the flow is a communication between a source and a destination within the network, at least one of the source or the destination is at least one of a local Internet Protocol (IP), a local port, a remote IP, a remote port, or a protocol.

### Claim 3 (depends on 1)

The system of claim 1, the communication rule for the network is based upon an activity matrix generated from the timing information, the activity matrix includes at least one of a row for a time window of the packet trace and a column for a flow in the packet trace.

### Claim 4 (depends on 1)

The system of claim 1, the communication rule is related to at least one of normal behavior of applications in the network, a misconfiguration of the network or anomalous/malicious traffic in the network.

### Claim 5 (depends on 1)

The system of claim 1, the communication rule is utilized for at least one of following purposes: detecting a configuration error within the network, detecting malicious or abnormal activity in the network or providing information related to how applications in the network are functioning.

### Claim 6 (depends on 1)

The system of claim 1, further comprising of a flow pair component that identifies communication rules based upon a correlation between flow-groups in the network traffic.

### Claim 7 (depends on 6)

The system of claim 6, each flow in the flow-group has activity at least one of present, absent, or new.

### Claim 8 (depends on 6)

The system of claim 6, the flow pair component identifies statistically significant dependences for at least one pair of flows by using scoring functions from data-mining such as JMeasure and modifying them to apply for the networking domain.

### Claim 9 (depends on 6)

The system of claim 6, the flow pair component uses a scoring function that does at least one of the following: scores groups of flows higher as they co-occur more frequently; scores groups of flows higher as the conditional probability of one flow happening when the others happen increases; encodes directionality in rules; corrects a bias towards flows that happen frequently; corrects for the negative correlation bias; or biases search towards flow groups that are more likely to be relevant.

### Claim 10 (depends on 1)

The system of claim 1, further comprising a universal dependency identifier that creates a generic communication rule based upon the identification of a dependency associated with a plurality of sources, or a plurality of applications communicating with one or a plurality of destinations and also dependencies associated with a source or application communicating with a plurality of destinations.

### Claim 11 (depends on 10)

The system of claim 10, the universal dependency identifier creates at least one communication rule by treating one or more of the following kinds of pluralities as a single group for purposes of correlation:
one or more ports that may be used by one or more applications;
one or more source IPs to identify one or more clients to a server; and
one or more server IPs to identify a functionally similar group of servers, which includes at least one of a set of equivalent DNS servers, Domain Controller servers, WINS servers or a web server cluster

### Claim 12 (depends on 10)

The system of claim 10, further comprising a template that automatically instantiates rules involving one or more of the pluralities above and scoring functions that rank rules involving pluralities.

### Claim 13 (depends on 1)

The system of claim 1, further comprising a rule generator that mines network traffic for communication rules, wherein the rule generator computes frequencies for the communication rules based upon counting the flow pairs that are active within a time window in the traffic.

### Claim 14 (depends on 1)

The system of claim 1, the rule generator utilizes a rule graph that consists of nodes corresponding to both flows and pluralities and includes a directed link between pairs of nodes that are linked by a communication rule; and the traffic evaluator obtains clusters of related rules based at least in part upon a spectrally partition of such rule graph.

### Claim 15 (depends on 1)

The system of claim 1, further comprising a real time stream component that provides dynamic and real time evaluation of the timing data to yield communication rules associated with the network in real time.

### Claim 16

A computer-implemented method that facilitates managing a network, comprising:
receiving a portion of data associated with a packet trace on a network;
generating an activity matrix from the packet trace to identify the activity of traffic flows between a source and a destination within the network;
utilizing a template to instantiate pluralities that abstract away parts of the flows the template is created based at least in part upon a portion of data related to the activity matrix; and
generating a communication rule that might include either flows or pluralities.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
dynamically receiving the portion of data associated with a packet trace in real time;
analyzing the packet trace data in real time; and
generating the communication rule in real time based at least in part upon the analysis.

### Claim 18 (depends on 16)

The method of claim 16, further comprising at least one of:
utilizing the communication rule to evaluate data packet traffic within the network;
utilizing the communication rule to detect a configuration error within the network; and
utilizing the communication rule to detect malicious traffic within the network.

### Claim 19 (depends on 16)

The method of claim 16, further comprising:
filtering at least one communication rule according to at least one of a threshold; a conditional probability or a support metric for pluralities
utilizing a scoring function to provide at least one of—a scoring of groups of flows higher as they co-occur more frequently; scoring groups of flows higher as the conditional probability of one flow happening when the others happen increases; encoding directionality in rules; correcting a bias towards flows that happen frequently; correcting for the negative correlation bias; or biasing search towards flow groups that are more likely to be relevant;
detecting a configuration error within the network with at least one communication rule;
detecting malicious or abnormal activity in the network with at least one communication rule; and
providing information related to how applications in the network are functioning with at least one communication rule.

### Claim 20

A computer-implemented system that facilitates managing a network by leveraging data mining, comprising:
means for employing a packet trace within a network in order to provide timing information, the network includes at least one of a host, a protocol, or an application;
means for generating an activity matrix from the timing information, the activity matrix includes at least one of a row for a time window in the packet trace and a column for a flow in the packet trace;
means for extracting a communication rule for the network;
means for filtering at least one extracted communication rule in accordance with a threshold;
means for utilizing the communication rule to provide information related to data packet traffic within the network;
means for utilizing the communication rule to detect a configuration error within the network; and
means for utilizing the communication rule to detect malicious traffic within the network.
