# US 2008/0307524 A1 · Detecting Public Network Attacks Using Signatures and Fast Content Analysis

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

- Number: US 2008/0307524 A1
- Document ID: US20080307524A1
- Status: Published application
- Kind: A1
- Application number: 11/547,944
- Filed: 2004-12-01
- Published: 2008-12-11
- Earliest claimed: 2004-04-08
- Assignees: The Regents of the University of California
- Inventors: Sumeet Singh; George Varghese; Cristi Estan; Stefan Savage
- Web page: https://patentgrep.com/patent/US20080307524A1

## CPC

- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06F 21/55: Detecting local intrusion or implementing counter-measures
- H04L 9/002: {Countermeasures against attacks on cryptographic mechanisms (network architectures or network communication protocols for protection against malicious traffic H04L63/1441)}
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3247: {involving digital signatures}
- H04L 2209/60: Digital content management, e.g. content distribution
- H04L 2463/141: Denial of service attacks against endpoints in a network
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Network worms or viruses are a growing threat to the security of public and private networks and the individual computers that make up those networks. A content sifting method if provided that automatically generates a precise signature for a worm or virus that can then be used to significantly reduce the propagation of the worm elsewhere in the network or eradicate the worm altogether. The content sifting method is complemented by a value sampling method that increases the throughput of network traffic that can be monitored. Together, the methods track the number of times invariant strings appear in packets and the network address dispersion of those packets including variant strings. When an invariant string reaches a particular threshold of appearances and address dispersion, the string is reported as a signature for suspected worm.

## Claims

### Claim at position 1

-32. (canceled)

### Claim 33

A system for detecting a network attack, comprising:
a communication module configured to receive a plurality of packets on a network;
a signature module configured to receive said plurality of packets from the communication module and analyze the content of said packets to detect common content among said packets to identify a network attack.

### Claim 34 (depends on 33)

The system of claim 33, wherein the signature module further comprises:
a parser module configured to parse packets into a plurality of portions;
a key module configured to perform a data reduction on each of said plurality of portions to create a plurality of data reduced portions;
and a data module configured to store said data reduced portions in a data storage area,
wherein the reduced data portions in the plurality of data reduced portions have a smaller size and a constant predetermined relation with portions into which the packets are parsed and at least some of the portions into which the packets are parsed that differ are reduced to the same reduced data portion.

### Claim 35 (depends on 34)

The system of claim 34, further comprising a filter module configured to reduce the number of said plurality of data reduced portions prior to storage.

### Claim 36 (depends on 33)

The system of claim 33, further comprising a content analysis module configured to analyze the common content of said plurality of packets to identify a network attack.

### Claim 37

(canceled)

### Claim 38 (depends on 36)

The system of claim 36, wherein the content analysis module further comprises a correlation module configured to determine whether packets sent in a first interval to a destination address are sent from said destination address in a second interval.

### Claim 39 (depends on 36)

The system of claim 36, wherein the content analysis module further comprises a code detection module configured to identify the presence of executable code in a packet.

### Claim 40

(canceled)

### Claim 41

(canceled)

### Claim 42

(canceled)

### Claim 43

A computer implemented method for analyzing network activity, comprising:
receiving a plurality of packets transiting a network;
analyzing the content of said plurality of packets to detect common content among said packets; and
identifying network attacks based upon said analysis for common content.

### Claim 44

(canceled)

### Claim 45

(canceled)

### Claim 46 (depends on 43)

The method of claim 43 wherein analyzing the content further comprises performing a data reduction on at least a portion of each of the packets of said plurality of packets to form a plurality of data reduced packets, wherein the reduced data packets in the plurality of data reduced packets have a smaller size and a constant predetermined relation with the packets transiting the network and at least some of the packets transiting the network that differ are reduced to the same reduced data packet.

### Claim 47 (depends on 43)

The method of claim 43 further comprising comparing the destinations of said plurality of packets with destinations having known vulnerabilities.

### Claim 48

(canceled)

### Claim 49 (depends on 43)

The method of claim 43 wherein identifying further comprises identifying one or more signatures of an attack.

### Claim 50 (depends on 43)

The method of claim 43, wherein analyzing the content includes analyzing the content of the payloads in the plurality of packets.

### Claim 51 (depends on 46)

The method of claim 46 wherein said data reduction comprises performing a hash function on at least a portion of each of the packets.

### Claim 52 (depends on 51)

The method of claim 51 wherein said hash function is an incremental hash function.

### Claim 53 (depends on 43)

The method of claim 43 further comprising determining whether there is an increasing number of sources and destinations of packets having common content.

### Claim 54 (depends on 43)

The method of claim 43 further comprising analyzing the content of said plurality of packets for the presence of a specified type of code.

### Claim 55 (depends on 43)

The method of claim 43 further comprising forming a plurality of portions from each of said plurality of packets, each portion comprising a specified subset of a packet.

### Claim 56

(canceled)

### Claim 57 (depends on 46)

The method of claim 46, wherein analyzing further comprises analyzing a subset of the data reduced portions, the subset identified by a common characteristic of each of the data reduced portions.

### Claim 58

A computer implemented method for analyzing network activity comprising:
obtaining a plurality of packets being transmitted across a network;
performing a data reduction on at least a portion of each of the packets of said plurality of packets to form a plurality of data reduced packets, wherein the reduced data packets in the plurality of data reduced packets have a smaller size and a constant predetermined relation with the packets being transmitted across the network and at least some of the packets being transmitted across the network that differ are reduced to the same reduced data packet;
detecting repetition of content among said plurality of data packets based on the reduced data packets;
analyzing sources and destinations of said plurality of packets; and
identifying network attacks based upon said detection of repetition and said analysis of sources and destinations.

### Claim 59 (depends on 58)

The method of claim 58 wherein the sources and destinations of said plurality of packets are only analyzed for packets wherein a repetition of content has been detected.

### Claim 60 (depends on 58)

The method of claim 58 further comprising comparing the destinations of said plurality of packets with destinations having known vulnerabilities.

### Claim 61

(canceled)

### Claim 62

(canceled)

### Claim 63 (depends on 60)

The method of claim 60, further comprising analyzing the content of the payloads in the plurality of packets.

### Claim 64

(canceled)

### Claim 65 (depends on 63)

The method of claim 63 further comprising analyzing the content of said plurality of packets for the presence of a specified type of code.

### Claim 66 (depends on 58)

The method of claim 58 wherein said data reduction comprises carrying out a hash function on at least a portion of each of the packets.

### Claim 67 (depends on 58)

The method of claim 58 wherein said detecting common content comprises using at least first, second and third data reduction techniques on at least a portion of each of the packets, to obtain at least first, second and third results, and to count said first, second and third results, and to detect repetition when all of said at least first second and third results have a frequency of occurrence greater than a specified amount.

### Claim 68 (depends on 65)

The method of claim 65 further comprising:
maintaining a first list of addresses;
forming a second list of sources that have sent to addresses on said first list; and
comparing a current source of common content to said second list.

### Claim 69 (depends on 58)

The method of claim 58 further comprising:
monitoring a first content sent to a destination;
monitoring a second content sent by said destination; and
determining whether there is a correlation between said first content and said second content.

### Claim 70 (depends on 58)

The method of claim 58 further comprising forming a plurality of portions from each of said plurality of packets, each portion comprising a specified subset of a packet.

### Claim 71

(canceled)

### Claim 72 (depends on 70)

The method of claim 70, wherein:
forming a plurality of portions further comprises
identifying all portions comprising a specified subset of a packet, and
forming a plurality of portions from a subset of said all portions;
each portion in the subset has a common characteristic.

### Claim 73 (depends on 72)

The method of claim 72, wherein the specified subset is a segment of data from the data payload having a predetermined byte size.

### Claim 74

A method of analyzing network activity comprising:
obtaining a plurality of packets transiting a network;
performing a data reduction on at least a portion of each of the packets of said plurality of packets to form a plurality of data reduced packets, wherein the reduced data packets in the plurality of data reduced packets have a smaller size and a constant predetermined relation with the packets transiting the network and at least some of the packets transiting the network that differ are reduced to the same reduced data packet;
analyzing said plurality of data reduced packets to detect a repetition of at least a portion of content among said plurality of data packets; and
analyzing said packets having repetitive content to determine if said packets are spreading.

### Claim 75 (depends on 74)

The method of claim 74, wherein analyzing for spreading comprises determining whether there is an increasing number of sources and destinations of packets having common content.

### Claim 76 (depends on 74)

The method of claim 74 wherein analyzing spreading comprises:
monitoring a first content sent to a destination;
monitoring a second content sent by said destination; and
determining a whether there is a correlation between said first content and said second content.

### Claim 77 (depends on 74)

The method of claim 74 further comprising comparing the destinations of said plurality of packets with destinations having known vulnerabilities.

### Claim 78

(canceled)

### Claim 79 (depends on 74)

The method of claim 74 further comprising determining a signature of an attack based upon said analyzing of said plurality of data reduced packets and said analyzing spreading.

### Claim 80 (depends on 74)

The method of claim 74, wherein analyzing of said plurality of data reduced packets includes analyzing the content of the payloads in the plurality of packets.

### Claim 81 (depends on 76)

The method of claim 76 further comprising analyzing the content of said plurality of packets for the presence of a specified type of code.

### Claim 82 (depends on 74)

The method of claim 74 wherein said data reduction comprises carrying out a hash function on at least a portion of each of the packets.

### Claim 83 (depends on 74)

The method of claim 74 further comprising using at least first, second and third data reduction techniques on at least a portion of each of the packets, to obtain at least first, second and third results, and to count said first, second and third results, and to establish frequently occurring sections when all of said at least first second and third results have a frequency of occurrence greater than a specified amount.

### Claim 84 (depends on 74)

The method of claim 74 further comprising forming a plurality of portions from each of said plurality of packets, each portion comprising a specified subset of a packet.

### Claim 85 (depends on 84)

The method of claim 84, wherein a first portion of the plurality is from at least two packets.

### Claim 86 (depends on 84)

The method of claim 84, wherein analyzing further comprises analyzing a subset of the plurality of portions, the subset identified by a common characteristic of each of said portions.

### Claim 87 (depends on 86)

The method of claim 86, wherein the specified subset is a segment of data from the data payload having a predetermined byte size.

### Claim 88

An apparatus comprising:
a signature generator, having a connection to a network, to obtain a portion of data from the network, operating to carry out a data reduction on said data portion to reduce said data portion to a reduced data portion in a repeatable manner; and
a memory, storing said reduced data portions,
wherein said signature generator also operates to detect common elements within said reduced data portion, said analyzing reviewing for common content indicative of a network attack.

### Claim 89 (depends on 88)

An apparatus as in claim 88, wherein said signature generator determining frequently occurring sections of message information within said reduced data portion.

### Claim 90 (depends on 88)

An apparatus as in claim 88, wherein said memory stores information indicative of at least one of a number of sources sending the common content, and/or destinations that are receiving the common content, and said signature generator determines whether said number is increasing.

### Claim 91 (depends on 88)

An apparatus as in claim 88, wherein said signature generator also analyzes for the presence of a specified type of code within said data portion.

### Claim 92 (depends on 89)

An apparatus as in claim 89, further comprising a module that carries out an additional test on said frequently occurring sections of message information after said signature generator determines frequently occurring sections of message information.

### Claim 93 (depends on 92)

An apparatus as in claim 92, wherein said additional test is a test to look for an increasing number of at least one of sources and destinations of said frequently occurring sections of message information.

### Claim 94 (depends on 93)

An apparatus as in claim 93, wherein said module is a module to look for code within the frequently occurring sections.

### Claim 95 (depends on 88)

An apparatus as in claim 88, wherein said data reduction by said signature generator includes carrying out a hash function on said portion of data.

### Claim 96 (depends on 89)

An apparatus as in claim 89, wherein said determining frequently occurring sections is done by using at least first, second and third data reduction techniques on each said portion, to obtain first, second and third results, and to count said first, second and third results, and to establish frequently occurring sections when all of said first second and third results have a frequency of occurrence greater than a specified amount.

### Claim 97

(canceled)

### Claim 98 (depends on 92)

An apparatus as in claim 92, wherein said module:
maintains a first list of unassigned addresses in said memory;
forms a second list of sources that have sent to addresses on said first list; and
compares a current source of a frequently occurring section to said second list.

### Claim 99 (depends on 98)

An apparatus as in claim 98, wherein said module data reduces information prior to storing in said list.

### Claim 100 (depends on 98)

An apparatus as in claim 98, wherein said module operates to:
first monitor a first content sent to a destination;
second monitor a second content sent by said destination; and
determine a correlation between said first content and said second content as said additional test.

### Claim 101 (depends on 100)

An apparatus as in claim 100, wherein:
said first monitoring comprises monitoring multiple destinations; and
said second monitoring comprises monitoring multiple destinations during a different time period than said first monitoring.

### Claim 102

(canceled)

### Claim 103

(canceled)

### Claim 104 (depends on 98)

An apparatus as in claim 98 wherein said portion of data further includes a portion of a network header.

### Claim 105 (depends on 99)

An apparatus as in claim 99, wherein said portion of a network header is a port number indicating a service requested by a network packet.

### Claim 106 (depends on 98)

An apparatus as in claim 98, wherein said portion of data comprises a first subset of a network packet including payload and header and wherein said data portion module further obtains a second subset of the same network packet for subsequent analysis.

### Claim 107 (depends on 106)

An apparatus as in claim 106, wherein said data portion module forms a plurality of portions from each network packet, each of said plurality of portions comprising a specified subset of the network packet.

### Claim 108 (depends on 88)

An apparatus as in claim 88, further comprising forming a plurality of portions from each network packet, each of said plurality of portions comprising a continuous portion of payload, and information indicative of a port number requested by a network packet.

### Claim 109 (depends on 88)

An apparatus as in claim 88, further comprising:
first and second hash generators, respectively forming first and second hash functions of said portions;
a first counter, with a plurality of stages, connected such that respective stages of said counter are incremented based on said first hash function;
a second counter, with a plurality of stages, and connected such that respective stages of said counter are incremented based on said first hash function.

### Claim 110 (depends on 109)

An apparatus as in claim 109, further comprising a module that checks said one of said stages of said first counter and said one of said stages of said second counter against a threshold, and identifies said portion as frequent content only when both said one of said stages of said first counter and said one of said stages of said second counter are both above said threshold.

### Claim 111 (depends on 110)

An apparatus as in claim 110, further comprising a frequent content buffer table storing specified frequent content.

### Claim 112 (depends on 111)

An apparatus as in claim 111, further comprising at least a third counter, and a third hash generator, taking a third hash of said portion, and incrementing a stage of said third counter based on said third hash, where said module identifies said portion as frequent content only when all of said stages of each of said first, second and third counters are each above said threshold.

### Claim 113 (depends on 112)

An apparatus as in claim 112, wherein said signature generator includes a sliding window portion that first obtains said portion by taking a first part of the message, and subsequently obtains said portion by taking a second part of the message.

### Claim 114 (depends on 113)

A apparatus as in claim 113, wherein at least one of said hash functions is an incremental hash function.

### Claim 115 (depends on 98)

An apparatus as in claim 98, wherein said signature generator operates to form a hash function of at least one of the source or destination address, to form hash values using the hash function, to first determine a unique number of said hash values, and to second determine a number of said one of source or destination addresses based on said unique number from said first determine.

### Claim 116 (depends on 115)

An apparatus as in claim 115, wherein said count carried out by said signature generator further comprises scaling the hash values prior to said second determine.

### Claim 117 (depends on 116)

A apparatus as in claim 116, wherein said scaling comprises scaling by a first value during a first counting session, and scaling by a second value during a second measurement interval.

### Claim 118 (depends on 88)

An apparatus as in claim 88, wherein said memory stores a list of computers on the network, and stores an update level for each of said computers indicating which of said computers is susceptible to a specified kind of attack, and a module which monitors for said kind of attack only when the message is directed for a computer which is susceptible to said kind of attack.

### Claim 119 (depends on 118)

An apparatus of claim 118 where said module checks comprises checking for a message that attempts to exploit a known vulnerability to which a computer is vulnerable, as said specified attack.

### Claim 120 (depends on 119)

An apparatus as in claim 119, wherein said module checks for a field that is longer than a specified length.

### Claim at position 90

-123. (canceled)

### Claim 124 (depends on 46)

The method of claim 46, wherein analyzing further comprises analyzing a subset of the data reduced portions, the subset identified by a common characteristic of each of the data reduced portions.

### Claim 125 (depends on 124)

The method of claim 124, wherein
the common characteristic is the reduced data portion being equal to a value in a set of predefined values.

### Claim 126 (depends on 70)

The method of claim 70, wherein:
a first portion of the plurality is from two or more adjacent packets; and
the first portion is obtained by storing a minimum length subsection comprising data from the two or more adjacent packets.

### Claim at position 94

-128. (canceled)
