EP1960867A2 - Systemes et procedes pour traiter des flux de donnees - Google Patents

Systemes et procedes pour traiter des flux de donnees

Info

Publication number
EP1960867A2
EP1960867A2 EP06846609A EP06846609A EP1960867A2 EP 1960867 A2 EP1960867 A2 EP 1960867A2 EP 06846609 A EP06846609 A EP 06846609A EP 06846609 A EP06846609 A EP 06846609A EP 1960867 A2 EP1960867 A2 EP 1960867A2
Authority
EP
European Patent Office
Prior art keywords
network
data flow
data
flow
patterns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP06846609A
Other languages
German (de)
English (en)
Other versions
EP1960867A4 (fr
Inventor
Harsh Kapoor
Moisey Akerman
Stephen D. Justus
Jc Ferguson
Yevgeny Korsunsky
Paul S. Gallo
Charles Ching Lee
Timothy M. Martin
Chunsheng Fu
Weidong Xu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Crossbeam Systems Inc
Original Assignee
Crossbeam Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Crossbeam Systems Inc filed Critical Crossbeam Systems Inc
Priority to EP11007048.9A priority Critical patent/EP2432188B1/fr
Priority to EP11002731A priority patent/EP2442525A1/fr
Publication of EP1960867A2 publication Critical patent/EP1960867A2/fr
Publication of EP1960867A4 publication Critical patent/EP1960867A4/fr
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/047Probabilistic or stochastic networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1483Countermeasures against malicious traffic service impersonation, e.g. phishing, pharming or web spoofing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/141Denial of service attacks against endpoints in a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies

Definitions

  • This invention is in the field of computer security and protection. Specifically, it is in the field of protecting computer systems from viruses, attacks from hackers and other unauthorized intrusions, spyware, spam, phishing and other scams, malicious activities and code.
  • firewalls addresses and protects against these kinds of threats; however, this protection comes either at the expense of processing resources (in cases where a software firewall product must be installed on a server) or at the expense of operational complexity (in cases where the firewall product is embodied in a dedicated network device).
  • processing resources in cases where a software firewall product must be installed on a server
  • operational complexity in cases where the firewall product is embodied in a dedicated network device.
  • Network security is also being threatened from ever increasingly sophisticated threats that attack any and all vulnerabilities of network communication systems.
  • Packet switched network communication systems remain vulnerable to security threats in part due to their layered protocol schemes. Detecting and preventing threats and intrusions by inspecting only a packet header does not detect threats that attack application level information transported in and across packets. Therefore, needs exist for improved ways of providing switching and security services for networked environments.
  • Critical threats include, for example, viruses, network security holes, network communications, content inspection, intrusions, and other attacks that can be blocked by firewalls.
  • unified threat management including unified threat management using a flow processing facility that processes a data flow to address patterns relevant to a variety of types of threats that relate to computer systems, including computer networks.
  • the flow processing facility may use a set of artificial neurons for pattern recognition, such as a self-organizing map.
  • the flow processing architecture may use a set of artificial neurons, such as a self-organizing map (SOM) or neural net, to process data flows, wherein the set of artificial neurons enables recognition of patterns that are relevant to identifying threats of disparate types, including threats relevant to intrusion detection, intrusion protection, anti-virus protection, anti-spyware protection, and anti-spam protection, as well as other types of threats, such as related to phishing or unauthorized use of computer network resources.
  • SOM self-organizing map
  • the methods and systems disclosed herein for securing a computer resource include methods systems for providing a flow processing facility for processing a data flow, and configuring the flow processing facility to recognize patterns in the data flow, wherein the patterns are relevant to recognition of the presence of at least two of a virus, a spam communication, a hacker's attack, spyware, and intrusion on a computer network and wherein the flow processing facility recognizes patterns using a set of artificial neurons.
  • the patterns are relevant to recognition of a virus and a spam communication.
  • the patterns are relevant to recognition of a virus and a hacker's attack.
  • the patterns are relevant to recognition of a virus and spyware.
  • the patterns are relevant to recognition of a virus and intrusion on a computer network. In embodiments, the patterns are relevant to recognition of a spam communication and a hacker's attack. In embodiments, the patterns are relevant to recognition of a spam communication and spyware. In embodiments, the patterns are relevant to recognition of a spam communication and intrusion on a computer network. In embodiments, the patterns are relevant to recognition of a hacker's attack and spyware. In embodiments, the patterns are relevant to recognition of a hacker's attack and intrusion on a computer network. In embodiments, the patterns are relevant to recognition of spyware and intrusion on a computer network. In embodiments, the set of artificial neurons is a self-organizing map or a neural network.
  • the flow processing facility may include a machine-learning algorithm for characterizing the data flows.
  • the machine-learning algorithm may include a set of artificial neurons, such as and without limitation a SOM.
  • the architecture may be composed of modules, such as a control processor, a network processor, an application processor, a chassis, and so forth.
  • the flow processing facility may provide switching, security, and other network applications.
  • the flow processing facility may provide a network service by processing a data flow, recognizing patterns in the data flow, receiving the data flow from a network interface, characterizing the data flow within a data flow engine, and routing the data flow. Characterizing the data flow may be achieved with the aid of a set of artificial neurons. Routing the data flow may be associated with a result of characterizing the data flow.
  • the network interface may be a computer network, which may consist of an internetwork, an intranet, a VPN, a personal computer, a computer resource, and so forth.
  • the network interface may be a wireless network or a telecommunications network.
  • the data flow engine may be associated with an application processor module, which may include an application.
  • the data flow engine may include a data flow processor, which may include a machine learning logic facility, a machine learning acceleration hardware, a content search logic, and so forth.
  • the data flow engine may include a cell generator, a cell router, and so forth.
  • the cell router may be associated with an application processor module, which itself may include an application.
  • Network security management involves balancing a complex array of network participant needs.
  • Internal and external users have preferences and needs for effective productivity, while the corporation has needs for data integrity and expandability.
  • There are regulatory needs for confidential and financial data protection that must be balanced against client (customer) needs for timely access to information about products and services (including financial transactions). These needs are also to be balanced against protecting network integrity and reliability from threats from external (internet) and internal users.
  • Providing a network security solution that effectively delivers all of one participant's access needs may impose constraints on one or many other participants' needs such as making critical aspects of the network vulnerable to intrusions.
  • An approach to allow managed separation of aspects of a network security system based on participant criteria may include virtualization of the network.
  • Network virtualization may allow one or more participants (or participant types) to be logically connected to the network through a virtual network connection within a network security system such as the flow processing facility.
  • Network security may address both external threats and internal threats. Attacks from internal resources that may be properly authenticated to connect to a network may include laptops, smart mobile devices, PDS, and other devices that may reconnect to the network throughout the work day. Any threat that propagates from one networked client to another may be introduced from an infected client within a network.
  • This application describes a flow processing facility used in computer security with particular embodiments relating to content inspection.
  • network security policies may be enforced by inspecting a packet and, as necessary, responding to a result of the packet inspection.
  • the packet inspection may be directed at a header of the packet and/or a payload of the packet.
  • Such packet inspection may be performed at any and all layers of a network communication protocol stack (such as and without limitation the Internet Protocol stack). Inspecting the payload of the packet may be referred to as "deep packet inspection" or "payload inspection.”
  • any and all packet inspection may be directed at the inspection of data that encompasses a packet or flow of packets.
  • a flow processing facility may facilitate inspecting the content of packet payloads using content matching, behavioral anomaly detection, a combination of both, and so on.
  • This application describes another flow processing facility used in computer security with particular embodiments relating to threats posed by computer viruses.
  • Disclosed herein are various embodiments of anti-virus methods, systems, techniques and applications, including ones in which ISP provides anti- virus protection to all of its customers via a flow processing facility.
  • the network interface is to a computer network, an internet, an intranet, a VPN, a personal computer, a computer resource, a wireless network, or a telecommunications network.
  • the data flow engine is associated with an application processor module.
  • the application processor module includes an antivirus application.
  • the data flow engine includes a data flow processor.
  • the data flow processor includes a machine learning logic facility, which may include one or more artificial neurons, such as using a SOM or a neural network.
  • the data flow processor includes a machine learning acceleration hardware.
  • the data flow processor includes a content search logic facility.
  • the data flow engine includes a cell generator and/or a cell router.
  • the cell router is associated with an application processor module.
  • the application processor module includes or enables an antivirus application.
  • normalized data is produced using a set of artificial neurons.
  • the set of artificial neurons is associated with a data flow processor.
  • the antivirus facility is associated with, incorporates, or is incorporated in an application processor module.
  • the antivirus facility is associated with a security policy.
  • security screening includes removal of a virus, quarantining suspect code, sending an alert, triggering a security action (such as updating security policy or configuring security hardware) or the like.
  • the methods and systems disclosed herein include methods and systems for securing a computer resource, which include methods in systems for providing a flow processing facility for processing a data flow, and configuring the flow processing facility to recognize patterns in the data flow, wherein the patterns are relevant to recognition of a threat, such as related to a virus or other threat.
  • the flow processing facility recognizes patterns using a set of artificial neurons.
  • the patterns are relevant to recognition of a virus and a spam communication.
  • the patterns are relevant to recognition of a virus and a hacker's attack.
  • the patterns are relevant to recognition of a virus and spyware.
  • the patterns are relevant to recognition of a virus and intrusion on a computer network.
  • the patterns are relevant to recognition of a spam communication and a hacker's attack. In embodiments, the patterns are relevant to recognition of a spam communication and spyware. In embodiments, the patterns are relevant to recognition of a spam communication and intrusion on a computer network. In embodiments, the patterns are relevant to recognition of a hacker's attack and spyware. In embodiments, the patterns are relevant to recognition of a hacker's attack and intrusion on a computer network. In embodiments, the patterns are relevant to recognition of spyware and intrusion on a computer network. In embodiments, the set of artificial neurons is a self-organizing map or a neural network.
  • the flow processing facility may use a set of artificial neurons for pattern recognition, such as a self- organizing map.
  • the flow processing architecture may use a set of artificial neurons, such as a SOM to process data flows, wherein the SOM enables recognition of patterns that are relevant to identifying threats of disparate types, including threats relevant to attacks by hackers, network traffic from malfunctioning computing resources, as well as other types of threats, such as related to unauthorized use of computer network resources.
  • a SOM artificial neurons
  • the methods and systems relating to a firewall disclosed herein include methods and systems for securing a computer resource, which include methods in systems for providing a flow processing facility configured as a flow processing facility to recognize patterns in the data flow, wherein the patterns are relevant to associating the data flow with a firewall application and wherein the flow processing facility recognizes patterns using a set of artificial neurons.
  • the patterns are relevant to recognition of recognition a hacker's attack, a malformation of the dataflow, or a malfunctioning computing resource, or any combination of the foregoing.
  • the set of artificial neurons is a SOM.
  • This application describes a flow-processing switch used in network firewall applications.
  • Firewall applications are described in detail, including an example of a network firewall that provides protection against malformed and non-compliant data packets and malicious attacks.
  • An intrusion detection and prevention system may include any system or method used to keep attackers from gaining access to a network, resources on the network, data on the network, or communication pathways into and out of the network.
  • intrusion detection and prevention may be embodied as a firewall or as anti-virus software.
  • Intrusion detection and prevention may also provide defense against internal network attacks and help enforce corporate security policies. Additionally, intrusion detection and prevention may detect and prevent misuse from authorized users of a network by enforcing corporate security policies.
  • Blended attacks may employ a variety of methods (e.g. spam, malware, phishing) simultaneously to compromise security of systems, and spread in a multitude of ways (via e-mail, Web, IM, P2P, even wireless devices).
  • methods e.g. spam, malware, phishing
  • ways via e-mail, Web, IM, P2P, even wireless devices.
  • Intrusion detection and prevention may be considered a layered security infrastructure that can identify and stop network and application-level attacks before they inflict any damage by providing detection and prevention capabilities that result in network operational and financial benefits.
  • methods and systems in a flow processing facility for securing a computer resource may include receiving a data flow; employing a set of artificial neurons to make a determination, the determination indicating which of a plurality of patterns is present in the data flow; accessing a configuration, the configuration associating zero or more actions with each pattern of the plurality of patterns; executing the actions that are associated with the patterns that the determination indicates, the actions modifying the data flow; and transmitting the data flow.
  • the patterns may be relevant to one or more of recognition of a virus, a spam communication, a hacker's attack, recognition of a virus, spyware, and intrusion on a computer network.
  • the set of artificial neurons may be a self- organizing map.
  • methods and systems in a flow processing facility for providing a network service may include receiving data flow; making a characterization of the data flow, the characterization being made by a set of artificial neurons; and routing the data flow in response to the characterization.
  • the network service may be a security service that may include one or more of an anti-virus, anti- spam, hacker attack prevention, spyware prevention, intrusion detection, and intrusion prevention.
  • making a characterization may include inspecting content of the data flow, or analyzing a behavior of the data flow.
  • the data flow may include data packets.
  • Characterization may include inspecting a payload of the data packets.
  • methods and systems of securing a computer resource may include a flow processing facility for processing a data flow; a configuration facility adapted to configure the flow processing facility to recognize patterns in the data flow, wherein the recognition of patterns is accomplished with the aid of a set of artificial neurons; a receiving facility adapted to receive a data flow from a network interface to a data flow engine; a facility adapted to characterize from the data flow within the data flow engine; and a routing facility adapted to route the data flow, wherein characterizing the data flow is achieved with the aid of a set of artificial neurons and wherein routing is associated with a result of characterizing the data flow.
  • the network interface may be a wireless network, a telecommunications network, or a computer network such as an internet network, an intranet, a VPN, a personal computer, or a computer resource.
  • the data flow engine may be associated with an application processor module.
  • the application processor module may include an antivirus application, or a data flow processor.
  • the data flow processor may include a machine learning logic facility, a machine learning accelerator hardware, a search content logic facility.
  • the data flow engine may include a cell generator, a cell router that may be associated with an application processor module that may include an antivirus application.
  • methods and systems for securing a computer resource in a flow processing facility may include receiving a data flow; creating a normalization of the data flow; and routing the normalization to an antivirus facility.
  • the methods and systems may further include processing the normalized data flow using content inspection.
  • the antivirus facility may be embodied in the flow processing facility.
  • a normalization of the data flow may include normalizing one or more of data packet headers, data packet payloads, protocols, data flow behaviors, data flow packet arrival time, and data flow packet size. Normalization may be expressed in terms of standard deviations of measurement of features of the data flow, or as a statistical measure or a result of a mathematic calculation.
  • a flow processing facility for securing a computer resource may include a management facility adapted to configure the flow processing facility to recognize patterns in a data flow, wherein the recognition of patterns is accomplished with the aid of a set of artificial neurons; a receive port for receiving the data flow from a network interface to a data flow engine; a normalization facility for producing normalized data from the data flow within the data flow engine; and a routing facility adapted to route the normalized data to an antivirus facility for security screening of data flow patterns.
  • the network interface may be a wireless network, a telecommunications network, or a computer network such as an internet network, an intranet, a VPN, a personal computer, or a computer resource.
  • the data flow engine may be associated with an application processor module.
  • the application processor module may include an antivirus application, or a data flow processor.
  • the data flow processor may include a machine learning logic facility, a machine learning accelerator hardware, a search content logic facility.
  • the data flow engine may include a cell generator, a cell router that may be associated with an application processor module that may include an antivirus application.
  • methods and systems in a flow processing facility for securing a computer resource comprising: receiving a data flow; employing a set of artificial neurons to make a determination, the determination indicating which of a plurality of patterns is present in the data flow, the plurality of patterns being associated with a firewall application; and routing the data flow to the firewall application when the determination indicates that at least one of the plurality of patterns is present in the data flow.
  • the patterns may be relevant to one or more of recognition of a hacker's attack, a malformation of the data flow, recognition of a malfunctioning computer resource.
  • the anomaly may be associated with the dataflow.
  • the set of artificial neurons may be a self organizing map.
  • methods and systems of intrusion detection and prevention of a network may include detecting an intrusion based on a signature or a network anomaly; and preventing the intrusion from propagating to the network.
  • methods and systems of intrusion detection and prevention in a network may include providing a flow processing facility in-line with a network firewall; configuring the flow processing facility to detect intrusions that pass through the firewall; routing the detected intrusions to a prevention processor; and taking a preventive action on the detected intrusion such that the data flow of the detected intrusion is not propagated to the network.
  • methods and systems of intrusion detection and prevention of a network comprising: flow processing facility that is configured to detect and prevent intrusions in network data flowing through the facility, the facility comprising a plurality of network ports for connecting network devices for communicating network data; and a data flow processor for associating network data flows with one or more of signatures, process anomaly thresholds, network rate thresholds.
  • methods and systems may include a flow processing facility for processing a data flow; a facility adapted to configure the flow processing facility to recognize patterns in the data flow; a receiving facility adapted to receive the data flow in a data flow processor facility; and a facility adapted to produce normalized data based at least in part on at least one of a plurality of machine learning logic associated with the data flow processor facility.
  • the data flow may be associated with a network interface such as a wireless network, a telecommunications network, and a computer network.
  • the computer network may be an internet network, an internet, a VPN, a personal computer, or a computer resource.
  • the data flow processor may include a machine learning logic facility, a machine learning acceleration hardware, or a content search logic facility.
  • [0051] in the methods and systems may be at least one of computer code, computer file type, software application type, virus, a spam communication, a hacker's attack, spyware, and intrusion on a computer network and wherein the flow processing facility recognizes patterns using a set of artificial neurons.
  • the normalized data may be produced using a set of artificial neurons or at least one of a set of self organizing maps.
  • the artificial neurons may be associated with a data flow processor.
  • methods and systems may include a flow processing facility for processing a data flow, wherein the data flow comprises packets; a pluraliiy of packets, wherein each packet includes a payload; an application processing module of the flow processing facility for inspecting a content of the payload of at least some of the plurality of packets; and a switch matrix for controlling the flow of packets related to the inspected packets based on the inspection.
  • content inspection may include content matching which may include regular expression matching.
  • Content inspection may include using one or more of self organizing maps, using neural networks, using behavioral anomaly detection.
  • Behavioral anomaly detection may include neural networks, or self-organizing maps.
  • Content inspection may be based on one or more action rules or a security policy.
  • content inspection may determine the nature of data in the packet payload.
  • the nature may include one or more of a source of the packet and a data type of the packet.
  • the source may include a website, while the data type may include one or more of audio, video, email, and program executable code.
  • the packet may be associated with a layer of a communication protocol such as a network layer, an application layer, and a transport layer.
  • methods and systems may include providing a flow processing facility for processing a data flow, wherein the data flow comprises packets; receiving a stream of packets, wherein each packet includes a payload; determining the nature of data in a payload of a first packet; determining the nature of data in a payload of a second packet; comparing the first packet nature to the second packet nature; controlling a flow of the stream based on the comparison.
  • controlling may include marking the packets of the stream, rejecting packets of the stream, redirecting the stream to a secure process, or redirecting the stream to an inspection process with in the flow processing facility.
  • methods and systems may include providing a flow processing facility for processing a data flow; determining a behavioral time-history metric of a portion of the data flow; determining a behavioral metric of a current packet related to the portion; comparing the behavioral metric to the time-history metric; and controlling a flow of packets related to the current packet based on the comparison.
  • the time-history metric may be associated with a layer of a communication protocol.
  • the portion of the data flow may be related to synchronizing a mobile computing device with a network resource.
  • methods and systems may include a network interface for receiving packets; a processor for executing content inspection algorithms; and a network processing module for directing the packets based on a result of the processor executing the content inspection algorithms on the received packets.
  • the flow processing facility may be embodied as a network appliance, a network firewall, or a computer program.
  • the firewall may be embodied as a computer program or a network appliance.
  • the processor may be a COTS processor.
  • the algorithms may be compiled to a native format compatible with the COTS processor, and wherein the compiled algorithms are stored in a memory accessible by the processor.
  • the processor may be a special purpose processor, and wherein the algorithms are configured in hardware elements of the processor.
  • the special purpose processor may be an application accelerator.
  • the methods and systems may further include an application accelerator for accelerating processing of the packets.
  • a methods and systems of a flow processing facility may include a plurality of application processor modules for detecting intrusions in packet payloads, wherein each of the plurality of application processor modules is configured to detect intrusions at a specific network layer; and a switching fabric for routing packets through the plurality of application processor modules so that a packet is processed through at least two processor modules.
  • the packet may be replicated by the switching fabric for parallel processing in at least two processor modules.
  • a packet may be processed through a first processor module and then processed through a second processor module of the plurality of processor modules.
  • methods and systems of network security may include providing a flow processing facility for processing a data flow, wherein Ihe data flow comprises communication packets; receiving the communication packets, wherein each packet comprises a plurality of protocol layer packet data; processing the packets to determine a corresponding protocol layer for each packet data; and inspecting each packet data according to the corresponding protocol layer inspection rules.
  • methods and systems of a firewall facility may include a flow processor for processing network packets being transferred between an intranet port and an extranet port of the firewall; content inspection algorithms executed by the flow processing facility to detect abnormalities in the packets; content strings that define invalid packets; and an application processing module for determining if an abnormal packet is an invalid packet.
  • the methods and systems may include a network processing module for taking action on abnormal or invalid packets. Taking action may include dropping the packets or dropping subsequent packets associated with a stream of the abnormal or invalid packets.
  • the content strings may define an invalid application layer packet header, an invalid network layer packet payload, malicious code, one or more computer viruses, or one or more spam campaign packets.
  • the content inspection algorithms may include one or more of behavioral analysis and regular expression matching.
  • methods and systems may include providing a flow processing facility for processing a data flow, wherein the data flow comprises routed data packets; providing routing information for the data packets; inspecting the packets to determine a validity for each packet; combining the inspection result with packet routing information into a network behavior; establishing a baseline for network behavior; and comparing ongoing network behavior to the baseline to detect abnormal network behavior in the flow processing facility.
  • the packet routing information may include one or more of a port identifier, a source, a destination, and a route.
  • methods and systems of virtual network security may include providing a flow processing facility for processing a data flow; establishing a first security policy for a first virtual network; establishing a second security policy for a second virtual network; and processing the data flow for the first and second virtual networks through the data flow processor, wherein portions of the data flow that are associated with the first virtual network are processed according to the first security policy, and wherein portions of the dataflow that are associated with the second virtual network are processed according to the second security policy.
  • the data flow may be composed of data packets.
  • the portions of the data flow associated with the first virtual network may include the data packets associated with the first virtual network, and wherein the portions of the data flow associated with the second virtual network comprise the data packets associated with the second virtual network.
  • each virtual network may support one or more of an enterprise, individual user, home user, home office user, service provider, security provider, central office, remote office, data provider, university, social club, public facility, library, town offices, state offices, federal offices, and virtual private network.
  • Each security policy may support one or more of unified threat management, intrusion detection, intrusion prevention, intrusion detection and prevention, internet firewall, URL filtering, anti-virus, anti-spam, anti- spyware, http scanning, application firewall, xml firewall, and vulnerability scanning.
  • methods and systems of a virtual network security service may include providing a flow processing facility for processing a data flow; establishing a virtual network for a customer; receiving a security policy for the customer receiving a data flow including data packets that are associated with at least the customer; routing the data flow through the flow processing facility; and applying the security policy to data packets that are associated with the customer.
  • methods and systems of a virtual internet firewall may include a flow processing facility for processing a data flow; a security policy of a first virtual network; a security policy of a second virtual network; and routing the data flow through the firewall so that the flow processing facility processes the data flow according to the first security policy and according to the second security policy.
  • the methods and systems may further include a management facility.
  • the management facility may update one of the security policy of the first virtual network and the security policy of the second virtual network.
  • methods and systems may include providing a plurality of flow processing facilities for processing a data flow; providing a network management facility that is networked with the plurality of flow processing facilities; configuring two or more of the plurality of flow processing facilities into a virtual network; and managing a security policy of the virtual network, wherein the two or more flow processing facilities in the virtual network receive and execute the security policy.
  • managing may include updating two or more flow processing facilities simultaneously.
  • each of the two or more flow processing facilities may be connected to different network segments.
  • At least one of the two or more flow processing facilities may be located remotely from the others of the two or more flow processing facilities. Being remotely located may include being connected through the internet.
  • the methods and system may further include routing portions of the data flow through a switch fabric to each of the two or more flow processing facilities.
  • methods and systems of testing network security may include providing a flow processing facility for processing a data flow; providing two virtual networks; configuring the flow processing facility to process the data flow through each of the two virtual networks in parallel; applying an experimental security policy to one of the two virtual networks; and comparing the processing of the data flow through the two virtual networks to test the experimental network security policy.
  • methods and systems of network security may include providing a flow processing facility for processing a data flow, wherein the data flow processing facility includes a memory; receiving a data flow into the memory; assembling the data flow into data streams; processing the data stream in the data flow processing facility for detecting network security violations; and preventing the data stream from propagating the security violations to the network.
  • the flow processing facility may be embodied as a firewall.
  • the firewall may be embodied as a network appliance.
  • the flow processing facility may be embodied as a program executing on a networked computing facility.
  • Security violations may include intrusion of applications, databases, file systems, operating systems, network communications, and security policies.
  • Detecting may include analyzing system calls, application logs, file-system modifications, server activities, and server states.
  • the networked computing facility may be a network server, a web server, a management server, a client computer, a hub, or a router.
  • detecting may include one or more of packet header inspection, packet payload inspection, content inspection, data stream behavioral anomaly detection, content matching, regular expressing matching, self-organizing maps, misuse algorithms, network protocol analysis, and neural networks.
  • Preventing may include quarantining, dropping packets, dropping a data stream, re-routing packets, re-routing a data stream, URL filtering.
  • receiving may include network transmission from one or more of a firewall, network appliance, network server, network client, a virtual private network, a wireless network, network routers, network hubs, network segments, VoIP ports, users, and web clients.
  • data flow may be comprised of data packets.
  • processing may include inspecting one or more of data packet headers, data packet payloads, network layer packets, application layer packets, and transport layer packets.
  • methods and systems of network security may include providing a flow processing facility for processing a data flow; receiving a network activity baseline; processing a data flow to calculate a metric of network activity; and comparing the baseline to the metric to detect one or more anomalies in the data flow; preventing an anomalous data flow from propagating an intrusion to the network.
  • Comparing may include protocol analysis which may include low level analysis of the data flow such as analysis of network layer and transport layer protocols. Protocol analysis may alternatively include one or more of packet arrival time stamping, packet filtering, and packet triggering. Arrival time stamping may facilitate detecting anomalies in two or more data flows that are merged together.
  • the metric may include a rate of network activity.
  • method and systems of network security may include providing a flow processing facility for processing a data flow; learning a network activity baseline; processing a data flow to calculate a rate of network activity; comparing the learned baseline to the calculated rate to detect one or more anomalies in the data flow; and preventing an anomalous data flow from propagating an intrusion to the network.
  • learning may include using self-organizing maps, using neural net algorithms, or predicting a rate of network activity.
  • the predicted rate may include estimating one or more of total number of data packets, number of IP packets, number of ARP packets, connections/second rate; data packets/connection rate, number of data packets per port.
  • Methods and systems may further include adjusting the activity baseline based on an aspect of the network.
  • the aspect may be past network activity rates.
  • preventing may include one or more of granular rate-limiting on a specific dimension of an intrusion, source tracking, connection tracking, dark- address filtering, network scan filtering, port scan filtering, legitimate IP address validation, data packet rejection, data stream rejection, alerting, anomaly logging, and rerouting a data stream to a virtual network.
  • Alerting may include one or more of email notification, system logging, snmp output, SMS-external transmission, calling a pager, executing an application, spawning a process, console updating, and instant messaging.
  • Fig. 1 depicts a networked computing environment.
  • Fig. 2 depicts an expanded view of a flow processing facility in the networked computing environment.
  • Fig. 3 depicts an expanded, logical view of a network processor module.
  • Fig. 4 depicts an expanded, logical view and process flow of a data flow engine.
  • Fig. 5 depicts an expanded, logical view of an application processor module.
  • Fig. 6 depicts a logical progression for reconfiguring the flow processing facility in response to a changing data flow.
  • Fig. 7 depicts an expanded, logical view and process flow of content searching.
  • Fig. 8 depicts an expanded, logical view and process flow of portions of Fig. 7.
  • Fig. 9 depicts a pattern tree for using an initial root node.
  • Fig. 10 depicts a pattern tree with failure transitions of terminal nodes.
  • Fig. 11 depicts details of a pattern tree with a terminal node and an empty leaf node.
  • Fig. 12 depicts a pattern tree with a terminal node and an empty leaf node.
  • Fig. 13 depicts a pattern tree embodied in a computer memory.
  • Fig. 14 depicts a relationship of pattern position tables.
  • Fig. 15 depicts a pattern tree resulting from using an initial root node.
  • Fig. 16 depicts a pattern tree resulting from using an initial root node with an alternate data expression.
  • Fig. 17 depicts a pattern tree resulting from using an initial root node with another alternate data expression.
  • Fig. 18 depicts the use of a Header-ID.
  • Fig. 19 depicts an address bit map.
  • Fig. 20 depicts a two-packet replay.
  • Fig. 21 depicts a simplified communication processing system.
  • Fig. 22 depicts a simplified arrangement of a behavior analysis engine.
  • Fig. 23 depicts a neural net.
  • Fig. 24 depicts a learning phase of a neural net.
  • Fig. 25 depicts a detection phase of a neural net.
  • Fig. 26 depicts an expanded, logical view and process flow of a neuron.
  • Fig. 27 depicts real-time updates to a self-organizing map.
  • Fig. 28 depicts reduction of false positives.
  • Fig. 29 depicts a computer network incorporating intrusion detection and prevention.
  • Fig. 30 depicts a simplified schematic of an enterprise network.
  • Fig. 31 depicts the relationship of packet payloads to IP stack layers.
  • An aspect of the present invention involves systems and methods for processing data flows.
  • This data flow processing includes deploying software and/or hardware applications in a networked computing environment 100, wherein the applications operate within a network component referred to hereinafter as a flow processing facility 102.
  • the flow processing facility 102 may indeed include a networking switch.
  • the flow processing facility 102 need not be a networking switch, but instead another type of network computing device. All such embodiments of the flow processing facility 102, many of which are described in detail hereinafter and others of which will be appreciated from the present disclosure, are intended to fall within the scope of the present invention.
  • aspects of the present invention may relate to and/or be directed at and/or associated with one or more of the following network applications: firewall; intrusion detection system (IDS); intrusion protection system (IPS); application-level content inspection; network behavioral analysis (NBA); network behavioral anomaly detection (NBAD); extrusion detection and prevention (EDP); any and all combinations of the foregoing; and so forth. Additionally or alternatively, aspects of the present invention may provide and/or be associated with a security event information management system (SEIM); a network management system (NMS); both a SEIM and a NMS; and so on.
  • SEIM security event information management system
  • NMS network management system
  • the network applications may exist and/or be associated with a network computing environment, which may encompass one or more computers (such as and without limitation the server computing facilities) that are operatively coupled themselves and/or to one or more other computers via a data communication system.
  • a network computing environment which may encompass one or more computers (such as and without limitation the server computing facilities) that are operatively coupled themselves and/or to one or more other computers via a data communication system.
  • Many data communications systems will be appreciated, such as an internetwork, a LAN, a WAN, a MAN, a VLAN, and so on.
  • the communications system may comprise a flow processing facility.
  • the flow processing facility an object of the present invention, may provide, enable, or be associated with any and all of the aforementioned network applications. Additionally or alternatively, the flow processing facility may provide, enable, or be associated with numerous other functions, features, systems, methods, and the like that may be described herein and elsewhere.
  • any and all of the network applications, the SEIM, the NMS, and so forth may comprise a facility or group of facilities that may be implemented as one or more software programs and/or hardware devices. In embodiments, these facilities may be integrated into a networked environment and may function within that networked environment.
  • the firewall may implement one or more measures to detect, prohibit, circumscribe, and/or otherwise limit packet-based, logical connections and individual network packets that are disallowed, such as and without limitation by a reference network security policy.
  • a policy may consist of information concerning the conditions (if any) under which a facility that is interacting with a network may be granted access to and/or from network resources, facilities, services, devices, and the like.
  • the firewall may operate on packets of a data flow.
  • the firewall may process the headers of the packets, the payloads of the packets, or both.
  • the firewall may embody a stateful process that examines the headers, payloads, or both in the context of a network state. This state may relate to a session or connection that is associated with a particular protocol or application in use over the network. In an example and without limitation, this state may relate to a TCP/IP connection.
  • the firewall may be an example of an intrusion detection system
  • the intrusion detection system may implement one or more measures to detect unwanted manipulations of a networked resource (such as a network file or network file system, a server facility, a desktop computing facility, a networked printer, and so on).
  • a networked resource such as a network file or network file system, a server facility, a desktop computing facility, a networked printer, and so on.
  • Such manipulations may, without limitation, comprise accessing, modifying, deleting, utilizing, denying service, activating service, hiding, revealing, naming, renaming, logging in, logging out, and so on.
  • the intrusion detection system may be directed at detecting intrusions by examining, monitoring, or otherwise processing information associated with a network protocol, a communications technique, a computing application, a business method, and so on. Such processing may be related to data packets, communications flows of data packets, trends in communications flows, and so on.
  • the intrusion may operate in a passive manner (simply observing data packets and related flows) or in an active or reactive manner (by participating in a communication, such as and without limitation by intercepting, generating, modifying, or otherwise affecting data packets and related flows).
  • the intrusion detection system may itself provide one or more networked resources, such as and without limitation a honeypot, which may entice a would-be intruder to interact directly with the intrusion detection system and, thus, be detected by the system.
  • the intruder may be a human user, an automatic process, some combination of the two, or a plurality of the foregoing.
  • the intrusions may relate to an intentional misuse of a network resource, an unintentional or erroneous misuse of a network resource (such as due to a process error in a computer program), and so on.
  • the intrusion prevention system may implement one or more measures to prevent unwanted manipulations of a networked resource.
  • the intrusion prevention system may be related to the intrusion detection system, but may be directed at preventing intrusions rather than simply detecting them.
  • these systems may be so closely related that detection and prevention capabilities can be combined into an intrusion detection and prevention system.
  • such a system may monitor for unwanted manipulations of networked resources and either prevent them entirely or stop them while they are still in progress.
  • a networked resource may come under a denial of service attack, in which the resource is flooded with malicious data packets.
  • the intrusion detection and prevention system may (perhaps only momentarily) not recognize the onset of the attack. In this case, the intrusion detection and prevention system may stop the attack while it is in progress. If, however, the data packets are malformed or otherwise suspect, then the system may be able to recognize even the first instance of these packets and prevent the attack entirely.
  • Application-level content inspection may relate to processing a data flow by examining the application-layer payloads of the packets that make up the flow. Such processing may be aware of application-level logic and/or the measured or expected communication patterns of an application. Such "awareness" may be provided by a program (or programmed logic) and/or may be acquired over time, such as and without limitation according to an artificial intelligence system or method. Application-level content inspection, perhaps like all data flow processing, may consist of pattern matching, behavioral analysis, anomaly detection, and so forth. It will be appreciated that application-level content inspection may be an aspect of any and all systems and methods that are directed at or responsive to the application-layer information of a data flow. It will be appreciated that the application layer may reside above the transport layer, network layer, and data link layer in the IP protocol stack. It will also be appreciated that the application layer may reside above all other layers in an OSI protocol stack.
  • Network behavioral anomaly detection may monitor network data flows so as to detect anomalous data flows.
  • Such flows may contain types, patterns, frequencies, or other aspects of data that are unusual, unexpected, new, different, or otherwise unlike a normal flow.
  • Such terms as “normal” and “anomalous” may be inherently broad because what is normal for a particular network environment (of servers, clients, network connections, network devices, and so on) may be anomalous for another.
  • a network environment containing a file server may exhibit a relatively large amount of data flows out of the file server as other computing devices access files on the server.
  • a network environment that doesn't contain a file server may exhibit relatively large amounts of data flowing out of a server only under anomalous conditions, such as and without limitation when a particular server contains a malicious program that illicitly transmits files from the server to another computing facility.
  • anomaly detection may encompass artificial intelligence or machine learning techniques that allow software programs and/or hardware devices to obtain a model of what data flows are "normal," perhaps (in whole or in part) by observing data flows in the networked environment. Then, by comparing actual data flows with such a model, it may be possible to detect anomalies.
  • the observing and comparing of data flows may, without limitation, include processing headers, payloads, protocols, and so on. In embodiments, this processing may comprise regular expression matching on payloads and/or protocols.
  • Extrusion detection and prevention may detect and prevent the transmission ("act of extrusion") of classified, secret, sensitive, protected, confidential, proprietary, or otherwise private information from within an authorized network area out to an unauthorized network area.
  • a network area may comprise a LAN, MAN, WAN, VLAN, or any and all other instances of a data network.
  • a network area may exist within another network area, such as a VPN may be used to establish a private network within an otherwise public network (or, for that matter, may be used to establish a private network within an already private network).
  • a network may comprise a single computing facility, such as a network server. In this case, the transmission of private information from the network server, regardless of the destination, may be considered an act of extrusion.
  • a network may comprise any number of computing facilities, such as network servers, switches, routers, hubs, clients, and the like.
  • the information may comprise a file system, a database, a file, a record, a field, a value, a sequence of bytes, a byte, a bite, or any and all information.
  • extrusion detection and prevention may examine whether and/or what traffic flows to and/or from a particular network area; the content of the traffic; and so on.
  • a corporation may control a network area. The corporation, as a general privacy policy, may not want social security numbers to be transmitted from its network area out to other network areas.
  • extrusion detection and prevention may be able to enforce such a policy by blocking any and all data flows that contain (or, at least, appear to contain) a social security number from being transmitted out of the network area to another network area (such as and without limitation the Internet).
  • a social security number such as and without limitation the Internet
  • Security event information management systems and methods may process security event information.
  • Security event information may encompass any and all information that may be generated during the course of processing, monitoring, blocking, allowing, modifying, routing, rerouting, or otherwise handling or observing any and all aspects of any and all data flows that are associated with the networked environment.
  • the processing of security event information may be directed at collecting, storing, monitoring, and/or otherwise processing the security event information. In embodiments, this information may take the form of alerts, logs, emails, text messages, signals, instant messages, or any and all other forms of system, automatic, or manual messages.
  • the processing of the security event information may include responding to particular security event information, perhaps in accordance with a risk factor that may be associated with the information.
  • security event information that is indicative of a major network security breach may be associated with a high risk factor.
  • the processing of the security event information may include producing a report of the responses to the particular security event information. This report may comprise an audit trail, which may allow an auditor to view a history of events, associated risk factors, association actions taken in response, and so forth.
  • Network management systems and methods may monitor any and all performance metrics that may be associated with a networked computing environment and, perhaps in response to this monitoring, may adjust any and all parameters or aspects of the networked computing environment so that the performance metrics are returned to and/or maintained at predetermined, estimated, calculated, or otherwise specified levels.
  • These systems and methods may address one or more aspects of a network management model, such as and without limitation performance management, configuration management, accounting management, fault management, security management, and so forth.
  • Configuration management may encompass the monitoring versions of software, firmware, hardware, and the like that are associated with the networked computing environment. Configuration management may be directed at monitoring (and, if need be, adjusting) any and all aspects of the networked computing environment's performance in light of these versions. As the versions themselves may be an aspect of the networked computing environment, configuration management may adjust the versions, such as and without limitation by requesting or automatically conducting the installation of software, firmware, hardware, and the like.
  • Fault management may encompass an automatic detection of a fault in a networked computing environment and an automatic action directed at correcting the fault.
  • This automatic action may comprise transmitting an alert to a human operator of the networked computing environment, automatically reconfiguring or adjusting any and all aspects of the networked computing environment, and so forth.
  • the fault may comprise a link failure, a node failure, a power failure, intermittent communications, degraded communications, and the like.
  • Security management may encompass the monitoring and/or control of access to resources in a networked computing environment.
  • Access to resources in a networked computing environment may, without limitation, comprise logging into a resource, communicating with a networked resource, configuring or reconfiguring a networked resource, monitoring a networked resource, and so forth.
  • Security management may include the automatic logging of any and all access (or attempted access) to any and all resources in the networked computing environment.
  • the control of access to the resources may consist of partitioning the networked computing environment into authorized areas and unauthorized area.
  • Authorization may encompass a mapping of network users to network resources, wherein the mapping indicates whether a particular user has access to a particular network resource (and, if so, under what conditions, if any).
  • Security management may include the automatic generation of such mappings.
  • any and all of the aforementioned features, functions, systems, and methods may be combined, according to the present invention, with machine learning or artificial intelligence techniques (as described hereinafter and elsewhere) into a single facility.
  • NBA or NBAD may be combined with a SOM into a single facility.
  • the SOM (or, more generally, artificial neurons) may store historical information, perhaps obviating the use of a database to store the historical information.
  • this single facility may encompass a general purpose host processor, such as and without limitation a COTS CPU. Many other such examples are described hereinafter and still others will be appreciated. All such examples are within the scope of the present invention.
  • an example networked computing environment 100 for data flow processing includes a flow processing facility 102 that is operatively coupled to an internetwork 104, a plurality of server computing facilities 108, and a number of departmental computing facilities 110 that are associated with an enterprise.
  • the departmental computing facilities 110 are an engineering department (Eng Dept.) a marketing department (Mktg Dept.) and another department (Other Dept.).
  • the flow processing facility 102 is described in detail hereinafter with references to Fig. 1, Fig. 2, and other figures.
  • the flow processing facility 102 receives, processes, and transmits a data flow, which is described in detail hereinafter with reference to Fig. 4.
  • the internetwork 104 may be the Internet, or it may be any wired, wireless, or combined wired/wireless data network for transmitting flows of data between one computing facility and another.
  • the networked computing environment 100 also includes a plurality of network- connected computing facility 112. These facilities 112 may or may not be associated with the enterprise.
  • the network-connected computing facilities 112 may include any client or server computing device that may be operatively coupled to the internetwork 104. These facilities 112 may be provided in the present depiction to illustrate that any number of a variety of computing devices may be operatively coupled to the internetwork 104. Via the internetwork 104, these facilities may communicate data flows with the flow processing facility 102. Via the flow processing facility 102 and the internetwork 104, the network-connected computing facilities 112 may communicate with one or more of the server computing facilities 108 or any of the departmental computing facilities 110.
  • the server computing facilities 108 may receive and transmit data flows. These flows may be directed at the departmental computing facilities 110 or they may be directed at a computing facility that is operatively coupled to the internetwork 104. In any case, the flow processing facility 102 receives data flows from the departmental computing facilities 110 and other computing facilities via the internetwork 104. The flow processing facility 102 may classify, categorize, or otherwise process the data flows. Depending upon this processing, the flow processing facility 102 may: discard some or all of the data flow; modify some or all of the data flow; pass through some or all of the data flow in an unmodified form; analyze some or all of the data flow; and so forth.
  • the flow processing facility 102 may perform as a network switch, hub, router, server, client, gateway, proxy, reverse proxy, load balancer, server, Web server, application server, firewall, URL filter, VLAN, or any other network, data flow, packet handling, or application-level service.
  • a network switch hub, router, server, client, gateway, proxy, reverse proxy, load balancer, server, Web server, application server, firewall, URL filter, VLAN, or any other network, data flow, packet handling, or application-level service.
  • flows of data are implemented as a set of associated Internet Protocol (IP) packets.
  • IP Internet Protocol
  • all possible embodiments of flows of data over the internetwork 104 may be transmitted, received, and processed by the flow processing facility 102.
  • the flow processing facility 102 is adaptable to any network environment utilizing any network protocols.
  • the flow processing facility 102 may support literally any link-, data-, transmission-, or application-level protocol. It will be seen that this adaptation is achieved through a variety of software or hardware features, all of which are subjects of the present invention.
  • the example networked computing environment 100 is simplified for pedagogical purposes.
  • the environment 100 does not show the plurality of networking devices that comprise the internetwork 104, the various hubs, routers, and switches that may comprise the networked computing operation of an actual enterprise, and so on.
  • These simplifications are provided for the purpose of drawing attention to the flow processing facility 102, which is an object of the present invention.
  • networked computing environments 100 can be arbitrarily complex and assume a countless number of configurations, the deployment of the flow processing facility 102 is not in any way limited to the particular networked computing environment 100 shown here.
  • the flow processing facility 102 can provide a service even when only one other computing device is operatively coupled to it. While particular embodiments of the flow processing facility 102 may be limited in the number of physical, operative couplings that are supported (such as due to a limited number of physical network ports), there is no theoretical limit to the number of physical, operative couplings that could be supported by a flow processing facility 102. Moreover, the flow processing facility 102 does not inherently limit the number of logical operative couplings (such as and without limitation, TCP/IP connections) that can be present in embodiments. Many more advantages, features, and functions of the flow processing facility 102 are described hereinafter and elsewhere.
  • the flow processing facility 102 may be deployed in dedicated network hardware; associated with dedicated network hardware; contained in or by dedicated network hardware; connected with dedicated network hardware; and so forth.
  • the flow processing facility 102 may contain, comprise, include or encompass dedicated network hardware.
  • This dedicated hardware may, without limitation, be provided in a rack-mount unit, in a chassis/blade configuration, or in a standalone unit with an arbitrary form factor.
  • the standalone unit may be a consumer-oriented device, comprising without limitation one or more of a firewall, a router, a wireless access point, a print server, an HTTP management interface, an Ethernet port, a URL filter, and a MAC access control list.
  • the flow processing facility 102 can be deployed in, associated with, or comprise a shared device that supports the flow-processing features of the present invention and additional features.
  • This shared device can be a network client, such as and without limitation a PC, cell phone, pager, laptop, PDA, networked sensor, set-top box, video game console, TiVo, printer, VoIP device, handheld computer, smart phone, wireless e-mail device, Treo, Blackberry, media center, XBOX, PlayStation, GameCube, palmtop computer, tablet computer, and the like.
  • the shared device can be a network server, such as and without limitation a rack mount computer, blade computer, tower computer, supercomputer, quantum computer, and so forth.
  • the shared device can be an application server, such as and without limitation a database server, Web server, file server, print server, Web services server, e-mail server, calendar server, software update server, e-commerce server, blog server, proxy server, reverse proxy server, and so forth.
  • the shared device can be a network component, such as and without limitation a router, switch, hub, IP gateway, VoIP gateway, SAN, NAS, modem, wireless access point, firewall, load balancer, cable modem, DSL modem, satellite modem, DSLAM, NIC, and the like.
  • the flow processing facility 102 can be deployed in, associated with, or comprise an auxiliary device that supports the flow-processing features of the present invention and any and all additional features.
  • This auxiliary device can, without limitation, be a dongle, USB key, Fire Wire device, smart card, securID, Disk-On-Chip, and so forth.
  • the flow processing facility 102 can be deployed in, associated with, or comprise network software that supports the flow-processing features of the present invention and additional features.
  • This software can be dedicated software, such as and without limitation a standalone application, a server application, an application suite, and so forth.
  • the software can be shared local software such as and without limitation a library, a library function or method, an embedded operating system, and so forth.
  • the software can be shared, networked software such as and without limitation a Web service or the like. Other kinds of network software will be appreciated from this disclosure and such network software is intended to be encompassed by the present invention.
  • the flow processing facility 102 may comprise a virtualization aspect. This aspect may cut across any and all of the systems and methods described herein, so as to support the virtualization of them.
  • virtualization may be applied to provide a logical arrangement of policies, networks, behavioral analyses, applications, any and all combinations of the foregoing, and so on. Virtualization may enable the flow processing facility 102 to provide its features and functions in ways that are logically beneficial or convenient; logically tailored to data flows or to users of data flows; consistent with an abstract and logical model (as opposed to a literal and physical model); and so forth.
  • virtualization may present the server computing facility 108 with different policies, networks, behavioral analyses, applications, and so on than it provides to the network-connected computing facility 112. From the perspective of the server computing facility 108 and the network-connected computing facility 112, there may not be an indication that virtualization is in effect.
  • the flow processing facility 102 may subject the server computing facility 108 to policies, networks, behavioral analyses, applications, and so on without indicating that those are being provided according to virtualization and without providing any indication as to whether other network resources (such as and without limitation the server computing facilities 108) are being subject to the same.
  • Other such applications of virtualization may be described herein and still others will be appreciated. All such applications of virtualization are within the scope of the present invention.
  • FIG. 2 another view of the example networked computing environment 100 is shown.
  • the public network 202 may encompass the internetwork 104 or any other data communications network, whether wired, wireless, packet- oriented, digital, analog, and so forth.
  • the private network 204 may encompass any data communications network and may include the server computing facilities 108, the departmental computing facilities 110, and so forth.
  • a management server 228 is associated with the flow processing facility 102.
  • the management server 228 provides an administrative interface to the flow processing facility 102. Via this interface, any function or feature of the flow processing facility 102 may be configured, edited, monitored, modified, installed, uninstalled, activated, deactivated, or otherwise controlled or viewed by an administrator.
  • the management server 228 may be composed of a computer or computing facility that provides a user interface to better enable interaction with the administrator.
  • the management server 228 is operatively coupled with the flow processing facility 102 via a data network.
  • this data network may encompass a dedicated physical data connection between the management server 228 and the flow processing facility 102, such as may be provided by a serial cable, an Ethernet cable, a wireless communication channel, or any other such device.
  • the management server 228 may provide a graphical user interface, which can be interactive (i.e. both providing information to and accepting information from the administrator) or can be non-interactive (i.e. simply providing information to the administrator).
  • the management server 228 may provide a command-line interface, which may accept textual commands that are input by the administrator and in return provide textual responses to those commands.
  • a graphical user interface is provided that also includes a window containing a command-line interface.
  • GUI graphical user interface
  • CLI command-line interface
  • the management server 228 renders this interface and accepts input associated with the interface.
  • Communication between the management server 228 and the control processor module 208 enables the user interface by transmitting instructions from the user interface to the flow processing facility 102 and by transmitting information from the flow processing facility 102 to the user interface.
  • the communication between the management server 228 and the control processor is conducted over an out-of-band data network that is not the data network 202 or 204 that provides the data flows.
  • Data packets which may be described in greater detail hereinafter with reference to Fig. 4, may be associated with data flows and are subject to processing by an application processor module 212.
  • the GUI/CLI may be provided by an administration application that is installed on the management server 228 by an installation wizard.
  • the administration application may utilize SNMP to securely retrieve statistics and trap information from the flow processing facility 102. All communications between the GUI/CLI application and the flow processing facility 102 may be secured according to SSH, SSL, HTTPS, or any other secure data communication protocol.
  • An audit trail which can be maintained by both the flow processing facility 102 and the administration application, may contain any or all information pertaining to communications between the management application, the performance or actions of the flow processing facility 102 and its elements and so forth.
  • the administration application may be a native management tool associated with an application that is provided by the application processor module 212. In this way, although the application resides in the application processor module 212, an administrator can manage the application as though it were installed in a traditional server such as the Dell PowerEdge 850 server, and not in a flow-processing switch according to the present invention.
  • Administration of the flow processing facility 102 and its elements can be provided via a three-tiered, role-based administration technique.
  • a master administrative role may be associated with complete access to the elements of the system. This role may also be associated with the ability to create a plurality of sub-administrators. With access rights to specific devices or device groups, the sub-administrator role may be associated with a number of privileges.
  • the flow processing facility 102 is implemented according to an architecture, which, in the preferred embodiment, may comprise a switch architecture.
  • This architecture may include a network processor module 210, an application processor module 212, and a control processor module 208.
  • the network processor module 210 may be described in detail hereinafter with reference to Fig. 3.
  • each of the processor modules 208, 210, 212 are adapted to physically couple to a slot 214.
  • the slot 214 provides power and data to the processor modules.
  • a chassis 218 may be provided, which contains a plurality of slots 214.
  • a passive backplane 220 which provides the data to the slots and via the slots to the processor modules 208, 210, 212, is contained within the chassis 218.
  • a number of power supplies 220 and fans 222 are included to provide power and air circulation to the components of the chassis 218 as well as to the processor modules 208, 210, 212, which are physically coupled to the chassis 218.
  • the flow processing facility 102 architecture may support any number of processor modules 208, 210, 212 in any permutation, limited only by the number of slots 214 in a particular chassis 218.
  • an administrator may physically add or remove processor modules 208, 210, 212 from the chassis 218 by inserting or removing the processor modules 208, 210, 212 from their respective slots 214.
  • the application processor module 212 includes a host application or network service that processes a data flow.
  • the application processor module 212 comprises one or more resident microprocessors either executing the host application or providing the network service.
  • Applications and network services are distributed to and throughout the resident microprocessors. This distribution can include: the replication of applications and network services; the configuration of them into a failover arrangement; and so forth.
  • the application processor module 212 is described in greater detail hereinafter with reference to Fig. 5.
  • Applications provided by the application processor module 212 may be software applications. These applications may be updated or maintained from time to time (such as in response to a published bug fix) or periodically (such as the daily retrieval of an application- specific log file). Applications and the application processor modules 212 in which they reside can be grouped and can be managed as a group. This provides a level of convenience for an administrator of the flow processing facility 102, who may want to update, activate, or deactivate groups of applications or application processor modules 212 without having to refer to each of the individual elements in the group.
  • One class of applications provided by the application processor module 212 may encompass a content scanning function (which may encompass content inspection) for providing an anti-virus feature; an anti-spam feature; an anti-spyware feature; a pop-up blocker; protection against malicious code; an anti-worm feature; an anti-phishing feature; or a protection against an exploit.
  • the anti-spam feature may be associated with a real-time black list; a DNS lookup; a header verification; a keyword filter; a spoof detector; an adaptive filter; and so forth.
  • the anti- spyware filter may be associated with scanning a download; monitoring for output communications from a spyware program; monitoring or regulating the use of cookies in applications; and so forth.
  • the malicious code protection may scan applications in-transit through the flow processing facility 102 for any kind of malicious code such as and without limitation a wabbit.
  • the exploit protection may be directed at detecting vulnerabilities in or exploits for ActiveX, Java, Flash, Javascript, Greasemonkey, JPG files, BMP files, Microsoft Office macros, and so forth.
  • Content scanning may be applied to any data flow, for example and without limitation data flows associated with an SMTP session, a POP3 session, an HTTP session, or an FTP session.
  • a template can store a set of pre-conf ⁇ gured parameters. These parameters may relate to applications or other elements of the flow processing facility 102, allowing the facility 102 and/or its elements to be rapidly configured according to the parameters. An existing configuration of the flow processing facility 102 and/or its elements may be expressed at the template. Thus, the template may be used in a backup operation and a restore operation, both of which relate to one or more configuration parameters of one or more elements of the flow processing facility 102.
  • the control processor module 208 coordinates the elements of the flow processing facility 102. These elements include the network processor modules 210, the application processor modules 212, and so on.
  • the control processor module 208 enables management access to the flow processing facility 102 and its elements. This management access can include access to local facilities (memory, hard drives, network ports, network services and software applications, and so on) that reside within the elements.
  • the management server 228 receives or produces aggregate health and status information associated with the flow processing facility 102. Any function or feature of the flow processing facility 102 that is subject to control by an administrator or about which information is provided to an administrator can be provided through a physical data port of the control processor module 208. This data port can be operatively coupled to the management server 228. Through this coupling, information may be both received from the management server 228 and provided to the management server 228. This information may originate from the control processor module 208 or from the management server 228 and may be directed at controlling or monitoring the flow processing facility 102.
  • the elements of the flow processing facility 102 are implemented as processor modules 208, 210, 212 or "blades" which plug into a chassis 218 that is implemented according to the network architecture.
  • the management server 228 is implemented in a host machine that does not plug into this chassis 218.
  • the flow processing facility 102 is implemented as a rack-module with failover (such as and without limitation VRRP failover) or as a blade-chassis 218 module.
  • the implementation of the flow processing facility 102 may include fully redundant elements and features that support complete redundancy.
  • These elements and features may include the fans 222; the power supplies 220; the passive backplane 224; data-switch fabrics; control-switch fabrics; control processor module 208 with RAID-I mirrored hard drives; active/active failover configuration between two switches; logical interface redundancy (such as and without limitation as may be provided by VRRP); applications (such as in a load-balancing and/or failover configuration); stateful, dynamic re-routing of data packets and flows; dynamic standby modules for M:N sparing; full hot-swap and zero-configuration replacement for failed modules; a dedicated, high-availability link between elements; and so forth.
  • the flow processing facility 102 may support a single-box high availability mode (SBHA) or a multi-box high-availability mode (MBHA)Jn the preferred embodiment, the flow processing facility 102 is implemented as a chassis-based system with no need for external switches, load balancers, taps, or port mirrors.
  • the flow processing facility 102 may support intelligent load balancing from the network processor modules 210 to the application processor modules 212 based upon actual usage metrics of the application processor modules 212.
  • the flow processing facility 102 supports serialization of the applications and network services. In other words, the flow processing facility 102 can route a data flow between a series of applications and network services that are provided by the application processor module 212.
  • a data flow may be routed to a firewall application, then to an antivirus application, then to a URL filter, then back to the firewall.
  • the flow processing facility 102 supports parallelization of the applications and the network services. In other words, the flow processing facility 102 can duplicate a data flow and simultaneously route the duplicates to two different applications or network services which are provided by the application processor module 212. In one example, one of the duplicates is routed to an intrusion detection application while another duplicate is routed to a URL filter. Many other such examples will be apparent, will be discussed herein, or will be discussed in the documents referenced herein, and all such example applications of the flow processing facility 102 are encompassed by the present disclosure.
  • the network processor module 210 may include a physical network interface 302; a switching fabric 304; a data flow engine 308; and a data flow processor 310 that includes content search logic 312; self-organizing map logic 314; and self-organizing map memory 318.
  • the network processor module 210 communicates with the public network 202 as well as the private network 204 via the physical network interface 302.
  • the physical network interface 302 may encompass a physical network port, plug, or socket.
  • Switching fabric 304 provides a mechanism and logic for communicating information between the network processor module 210 and other modules 208, 210, 212 via the backplane 224.
  • FIG. 3A a detailed view of an alternate embodiment of the network processor module 210 is shown. As compared with the network processor module 210 of Fig. 3, that of Fig. 3A is identical except that it does not comprise the machine learning logic 314 and the machine learning acceleration hardware 318. Generally, any and all descriptions that reference Fig. 3 or elements thereof do equally and simultaneously refer to Fig. 3 A, except where references to the machine learning logic 314 or the machine learning acceleration hardware 318 necessarily constrain the description to reference Fig. 3 only (since Fig. 3A does not comprise these elements).
  • the network processor module 210 provides a physical and/or logical interface to a communications system, such as an IP-based data network, which may encompass the public network 202 and/or private network 204.
  • This module 210 may contain one or more physical network ports or interfaces 302, which may accept physical connections to the communication system. It may be appreciated that any number of physical connections may be provided by the flow processing facility 102 through the addition of an adequate number of network processor modules 210 to the chassis 218.
  • Network processor modules 210 can contain a homogenous or heterogeneous collection of physical network interfaces 302.
  • the physical interfaces 302 may be auto-sensing (such as and without limitation a 10/100 auto-sensing Ethernet port), or, the physical interfaces 302 may have a fixed or manually configured setting such as and without limitation a dedicated uplink port or a port that is configured via a physical switch to perform as an uplink or downlink port.
  • the network processor module 210 can receive and classify data flows. This classification can be related to any feature, aspect, or nature of the data flow or to any information that is associated with the data flow. Some examples of these include source address, destination address, time of day, day of week, user-agent token, the contents of a packet pay load, and so forth. In any case, the classification may be used to drive a decision process which directs the data flow to an application processor module 212 via the passive backplane 224. As data flows are routed between systems and elements according to the present invention, the data flows may be transmitted in a compressed format. These compressed flows may travel between blades, between chassis 218, between devices, and so forth.
  • the data flow may return in an augmented, reduced, or otherwise altered state from the application processor module 212 back to the network processor module 210.
  • the network processor module 210 may further classify the data flow; transmit the data flow to another application processor module 212; transmit the data flow out to the public network 202 or the private network 204; or otherwise process, direct, redirect, return, or discard the data flow.
  • a data flow arrives at the network processor module 210 via the physical network interface 302 or via the switching fabric 304 of the flow processing facility 102.
  • the data flow is then received by the data flow engine 308 and then processed by the data flow processor 310.
  • the data flow engine 308 may direct the data flow at one or more modules 208, 210, 212.
  • the switching fabric 304 receives the data flow and transmits the data flow via the backplane 224 to the designated module(s) 208, 210, 212.
  • one function of the network processor module 210 is to receive and direct data flows.
  • a data flow may be directed according to one of its features, which are described hereinafter with reference to Fig. 4.
  • the data flow may be directed at an external network device that is identified by a network address such as an IP address, MAC address, URI, or any other network identifier.
  • the data flow may be transmitted via the physical network interface 302 to the external device.
  • the data flow may be transmitted via the switching fabric 304 to another network processor module 210 that transmits the data flow via its physical network interface to the external device.
  • Other such configurations are possible and encompassed by the present disclosure.
  • the machine learning logic 314 classifies a data flow or portion thereof.
  • the classification is binary, with some data flows being classified as "normal” and others being classified as “anomalous.”
  • the machine learning logic 314 includes a self-organizing map or Kohonen map. Throughout this disclosure, the machine learning logic 314 may be described in the context of its preferred embodiment. However, any system or method for the classification of data, whether or not drawn from the field of machine learning and whether or not associated with a binary classification scheme, may be utilized within the scope of the present invention as the machine learning logic 314. Therefore, all such systems and methods are encompassed by this disclosure.
  • the classification of data is achieved by comparing a feature vector of the data flow with each of a plurality of artificial neurons that populate an array.
  • Each of the artificial neurons is characterized by a weight vector. While the feature vector and the weight vectors of the artificial neurons may include an arbitrarily high number of dimensions, the array of artificial neurons is typically two or three dimensional. In the preferred embodiment, the array of artificial neurons is a two-dimensional, 10-by-lO array. After an unsupervised training process in which weight vectors of the artificial neurons are adjusted, a mapping process compares an input vector to the weight vectors.
  • the artificial neuron characterized by the weight factor positioned at the smallest Euclidean distance from the feature vector, is declared the winning neuron, and the feature vector is this mapped to that neuron.
  • Mapping may include incrementing or implementing a counter associated with the neuron, updating a running average associated with the neuron, and so forth. Over time, this mapping of feature vectors creates a distribution or "output map.”
  • An anomalous data flow will produce an atypical output map by causing at least one of the values in the output map to become unusually large or unusually small in relation to the other values. Such anomalous data flows are flagged for additional inspection.
  • the training data may comprise a set of feature vectors which are typically generated or extracted from one or more representative data flows. These data flows may be simulated or actual, and may be recently, currently, or previously generated. The type of features that comprise the feature vectors may depend upon a subject of the training process.
  • the subject of the training process may be associated with a networking behavior of a data flow and/or a content behavior of a data flow.
  • the features may be related to one or more packet headers and/or payloads that are associated with the data flow.
  • the networking behavior may be associated with a connection time, an interconnection time, a request time, a response time, a count of a number of bytes in a connection, any and all other features of the packet headers and/or payloads, and so forth.
  • the features may be related to one or more payloads that are associated with the data flow.
  • the features may be extracted by using sequential one- or two-byte chunks (referred to herein as a lGram or 2Gram) of the payloads. As each chunk is extracted, it is normalized and then sorted, resulting in a profile.
  • the profile may be divided into discrete and/or finite divisions. Each of these divisions may comprise some or all of the occurrences of a lGram or 2Gram. In embodiments, the subject may encompass a count of the occurrences.
  • the machine learning logic 314 may normalize or convert the data flow into a feature vector, which is the input vector to a SOM.
  • the SOM may be selected from a plurality of SOMs. This selection may be influenced by the inspection of the packet headers, payloads, protocol, behavior, and so on. In an example and without limitation, the SOM that is selected might correspond to the application associated with the flow.
  • Normalization of the data flow 444 may be with respect to any and all features of the of the data flow 444. These features may, without limitation, be associated with and/or comprise headers, payloads, protocols, behaviors, and so on.
  • a normalization of a data flow 444 may encompass a time at which a packet of the flow arrived (perhaps measured in milliseconds) and a size of the packet (perhaps measured in millions).
  • a normalization of a data flow 444 may be expressed in terms of standard deviations of measurements of features of the flow. More generally, in embodiments, the normalization may be expressed in terms of a statistical measure or as a concrete and tangible result of a mathematic calculation.
  • the mapping process is applied to feature vectors which are generated from actual data flows that are specifically associated with network communications.
  • the flows and/or their contents are classified and a self-organizing map corresponding to that classification is used in the mapping process.
  • one self- organizing map may be trained with feature vectors from HTTP sessions while another is trained with feature vectors from SMTP sessions.
  • feature vectors associated with that flow are mapped to the HTTP-trained self- organizing map (SOM), and not the SMTP-trained SOM, and the same process applies in reverse.
  • SOM HTTP-trained self- organizing map
  • Such recognition may be achieved by inspecting IP packet headers, IP packet payloads, destination port addresses, URLs and so forth.
  • the mapping process involves computing the Euclidean distance between an input vector and the weight vector of an artificial neuron.
  • distance- computing circuitry may be provided.
  • This circuitry comprises distance-computing logic, contains memory for storing a plurality of weight vectors, and encompasses a logic that enables the memory to be indirectly addressed.
  • the machine learning acceleration hardware 318 provides this circuitry.
  • the machine learning acceleration hardware 318 may be appropriately implemented to accelerate the machine learning logic 314.
  • the machine learning acceleration hardware 318 may comprise a cache, an ASIC, an FPGA, a DSP, a quantum computing device, or any other hardware that accelerates or serves as a co-processor to the machine learning logic 314.
  • the SOM that receives the training data is in the training process and may eventually replace the SOM with the corresponding SOM that is in the mapping process.
  • This arrangement is advantageous considering that network data flows, due to many factors such as network congestion, application usage patterns, user access patterns and so forth, are dynamic.
  • the SOM that is in the mapping process most likely trained on data that may now be outdated and, therefore, may or may not reflect optimal and contemporary data flows.
  • a newly-trained SOM may replace it. In this way, the system maintains a relatively current view of what is "normal" and can continuously monitor data flows for anomalies.
  • the SOMs that are fed into the training process may initially contain randomized weights. This occurrence may help ensure that the SOMs aren't biased before training begins.
  • One consequence of this randomization is that the output maps of any two SOMs are likely to be quite different, even when considering or assuming the possibility of identical training data and identical input vectors. In the present invention, this may be undesirable because it might introduce a discontinuity when one SOM is replaced with a newly-replaced SOM.
  • a detection threshold or set of detection thresholds that may be applicable to the output map of the first SOM may not be applicable to the output map of the second SOM.
  • an additional SOM may be added to the training process, whereby, being already biased by the SOM it is about to replace, its output map may be similar to the output map of the SOM it is to replace.
  • the system can generate, in real time, an output map in response to a data flow 444.
  • the detection process that is applied to the output is also conducted in real time.
  • a data flow 444 is flagged as anomalous, it may be processed off-line and/or out of band, where a more in-depth analysis is performed.
  • the output maps may periodically be read and reset. When reading the output map, a test may determine whether the output map contains an indication of an anomaly. Alternatively, the values in the output may be continuously normalized to represent running averages of the number of feature vectors that are mapped to each of the artificial neurons. In any case, the indication of an anomaly will appear as an unusual, relatively high, or relatively low value in the output map.
  • a detection threshold may previously be selected for each of values in the output map, wherein the threshold is statistically calculated to yield a maximal detection rate given a maximum false-positive rate. This rate may vary from application to application. When the values in the output map exceed this threshold, the flow is flagged for additional inspection.
  • a data flow 444 is received at the network processor module 210, its packet headers and/or payloads may be inspected.
  • This inspection (which when specifically directed at the payload may comprise content inspection) may be performed by the content search logic 312 and may encompass the inspection of source IP address, destination IP address, source port, destination port, application associated with the flow, user associated with the flow, content of the payload, and so forth.
  • the communication flow may be divided into chunks, which may be the packets.
  • a SOM may generate information (such as and without limitation a signature) that is associated with a data flow 444.
  • the compiler that may be provided in association with and/or as part of the flow processing facility 102 may process this information as input (as described herein with reference to Fig. 3 and elsewhere).
  • the output of the compiler (or the signature itself, if the compiler is not present and/or not used) may be provided to the content search logic 312, which may then provide a content search functionality that is influenced by the information or signature that may have been generated by the SOM.
  • the content search logic 312 may include an implementation of the Aho- Corasick algorithm, an optimization or modification thereof, or any other algorithm or heuristic for performing pattern matching, such as and without limitation regular expression matching, on a data flow.
  • the content search logic 312 may locate all instances of strings in the data flow that match strings in a dictionary.
  • the Aho-Corasick algorithm may utilize a rooted tree structure (or, "pattern tree") to represent a set of patterns. Each link (or, "transition") between nodes may denote a character or token selected from an alphabet of the same. Each node in the tree may represent a match of a prefix of one or more strings in the dictionary.
  • a pattern search process may start at the root node of the tree structure and with an input string.
  • the input string may be a data flow 444; or a segment, portion, or subset thereof.
  • the process may traverse the tree by selecting, one by one, transitions that match successive tokens from an input string.
  • the tree is traversed until the input string terminates; a leaf node is reached; or there are no transitions out of a node that match the next token from the input string.
  • the input string may have failed to match a string in the dictionary.
  • a pre-computed failure transition may be used to determine the next node.
  • the failure transition may link to a node that corresponds to the longest prefix of a string in the dictionary that matches the most recent tokens of the input string. This transition can be pre- computed for each node because it may be solely dependent on data that is known a priori (i.e., the pattern of input tokens that reach the node where the failure occurs and the prefixes of the strings in the dictionary).
  • the token that failed to match a transition may be applied again, this time to the node at the destination of the failure transition.
  • the pattern search process may continue in this manner until all of the characters of the input string have been applied.
  • the search algorithm may be further optimized by generating a failure transition table.
  • the failure transition table may also be pre-computed using the pattern set and the matched prefix.
  • the failure transition table may be calculated by finding the longest prefix of the pattern set for all suffixes of the current node. This calculation may produce a list of failure transitions which may be judged to compose the failure transition node(s).
  • the links of all the failure transition nodes may be merged to form a table of links where each link may be associated with a possible search character. When merging the links, the link in the node with the longest prefix may be given precedence.
  • the resultant failure transition table may then utilize a character as input to generate the next node.
  • Such a table may provide one set of pre-computed failure transitions for all applicable characters.
  • the failure transition table may be merged such that the links in the node that may have existing links may be given precedence.
  • a pattern search procedure may then start and proceed in the same fashion as the original method. Since the failure transitions and then- ultimate destinations may now be built in to the nodes links, the fail character may not need to be applied again.
  • the fail character may be matched only once to proceed to the next node. If the character does not correspond to any links in the node (including the failure transition links), the current string segment may not match any patterns in the pattern set and the search resumes with the next character at the root node.
  • the resultant search performance of the optimized search may now be seen as linear to the size of the text.
  • the pattern tree can be viewed as the next state logic for a state machine.
  • each node may be seen to represent a state in the state machine.
  • the links then, may compose transitions from one state to another.
  • the state machine may receive characters as input and may uses this input (and/or may use other factors) to calculate the next state.
  • the input string may match a string in the dictionary. Otherwise, the string may not match.
  • an optimized representation of the pattern tree may use a default value for the root node identifier. This may reduce the space required to store a representation of the tree.
  • Fig. 9 depicts a tree built for the pattern set AABA, ABEBE, ABF, BEBC, BEBB and BDD.
  • Node 1 is the root node.
  • Each node in the tree represents a prefix of one or more patterns in the pattern set, the bolded nodes representing complete patterns. Although all terminal nodes are leaf nodes in the example, this is not a necessary characteristic.
  • a searched-for pattern that is another searched-for pattern's prefix will result in a terminal node that is not a leaf node.
  • a straight line represents a state transition based on the successful match of the next character in the search text. The curved lines are state transitions taken when the match of the next character is not successful. When there are no curved lines from a state, a failed match will cause a state transition to the root.
  • Fig. 9 searches for a single match. If all matches are desired, the pattern search can continue at the terminal node by adding the failure transitions. In this case node 16 will have a failure transition to node 3, node 13 will have a failure transition to node 2, and node 17 will have a failure transition to node 6. AU the other terminal nodes have failure transitions to the root node.
  • the input string is ABEBC and that it is to be searched simultaneously for all of the search patterns, i.e., AABA, ABEBE, ABF, BEBC, BEBB and BDD.
  • the state machine starts at node 1 and, since the first input-string character is A, follows the A edge from node 1, i.e., the edge that leads that node to node 2.
  • the next input-string character, B matches an edge from node 2, so the state machine follows that edge to node 5.
  • the next character, E causes a transition to node 9. Node 14 is entered on the next character B.
  • the next character C does not match any edge from node 14, so the fail transition is taken to node 11.
  • There the machine again tries to match character C. This time a match is found and state 15 is entered.
  • State 15 is a terminal node and indicates that the input string includes one of the search patterns namely, BEBC.
  • a hardware-based string search supports position constraints.
  • search parameters or signatures for this search may be expressed in the SNORT language.
  • search parameters or signatures may specify position dependent patterns; absolute position patterns; relative position patterns; and negative and positive patterns.
  • the position dependent patterns relate to a specific position in a packet.
  • the absolute position patterns relate to a position from the beginning of a packet.
  • the relative position patterns relate to a position relative to a previous pattern match.
  • a compiler may be provided in association with and/or as part of the flow processing facility 102.
  • the compiler may process input that is associated with search parameters, regular expressions, signatures, or any and all other specifications of content search, pattern matching, position constraints in string search, and so forth.
  • the compiler may compile this input into an output that is directed at and/or suitable for programming and/or instructing any and all of the computational hardware of the flow processing facility 102.
  • such hardware may comprise one or more of a digital signal processor; an FPGA; a particular brand, model, or series of central processing unit; an ASIC; and so forth.
  • the content search logic 312 may encompass this hardware. It will be appreciated that the compiler may enable the processing of any and all search parameters or signatures such that the parameters or signatures are so transformed.
  • Embodiments of the content search logic 312 may encompass hardware-based regular expression matching logic.
  • This hardware matches input strings to regular expressions.
  • the regular expressions may include characters, quantifiers, character classes, meta-characters, and so forth.
  • the matching may be greedy or non-greedy and may include look-head and look- behind functionality.
  • the hardware also supports back-references.
  • This hardware may include a hardware implementation of the Aho-Corasick algorithm, an optimization or modification thereof, or any other algorithm or heuristic for performing regular expression matching on a data flow.
  • Embodiments of the content search logic 312 may encompass hardware-based regular expression logic while performing a search for position dependent substrings.
  • a regular expression may first be partitioned into a set of position dependent substrings.
  • a pattern tree may then be constructed which represents and enacts the search for substrings.
  • the relative positions of the substrings may be examined and, depending upon the result of the examination, a positive or negative match may be effectively determined.
  • the logic may include the capability of detecting character classes (such as /[abc]/) and wildcards (such as * and .) which may be included in the regular expression.
  • the logic may be capable of matching the beginning as well as the end of a string.
  • the hardware-based regular expression logic can match alternation (such as /cat
  • alternation such as /cat
  • all possible matches resulting from an alternation may be built into the pattern tree.
  • the character class detector may be employed to match alternation.
  • the hardware-based regular expression logic may be able to match repetitive patterns (e.g. patterns repeated using quantifiers such as /a ⁇ 3 ⁇ / ⁇ "match '
  • a process and logical flow of the flow processing facility 102 involves the data flow engine 308.
  • the process and logical flow are directed at receiving, processing, and, when appropriate, transmitting a data flow 444.
  • the data flow 444 is composed of an IP-packet sequence, such as may be associated with a connection-oriented protocol (e.g., TCP/IP) or a connectionless protocol (e.g., UDP/IP).
  • a connection-oriented protocol e.g., TCP/IP
  • a connectionless protocol e.g., UDP/IP
  • Each packet and, by extension, the data flow 444 may be composed of packet headers and packet payloads. Both headers and payloads may comprise digitally encoded information.
  • the headers may conform to a network protocol's specification or, in some malicious or erroneous cases, may defy the network protocol's specification.
  • the payloads may embody information directed at an application and/or encapsulated packets (or fragments thereof).
  • features of the data flow 444 may, without limitation, comprise a field, flag, code, or other information in a header; a particular value of a field, flag, code, or other information in a header; a sequence of those values across a plurality of headers; a difference or other relation between two or more headers; a timing associated with one or more headers (for example and without limitation, an arrival time, a inter-arrival time, a response time, a lag time, and so forth); a count or size associated with one or more headers (for example and without limitation, a size of the header as measured in bytes, a size of a payload as indicated in the header, a sequence number or count of the packets in the data flow 444 as indicated in the header, a count of a plurality of headers; and so forth); a value in a payload; a sequence of values in a payload; a sequence of values across a plurality of payloads; a difference or other relation between two or more
  • the data flow 444 may be received at the physical network interface 302 and then provided to the data flow engine 308. There, the data flow 444, which may be embodied as one or more network data packets 402, may be duplicated. One of the duplicate data flows 444 may proceed to a cell generator 404, while the other may be routed to the data flow processor 310.
  • the cell generator 404 may convert the packet 402 into a data cell 408, which may simply be an alternate representation of the packet 402.
  • This data cell 408 may be optimized for transmission via the backplane 224 and the switching fabric 304.
  • the data cell 408 may also be optimized for communication between the network processor module 210 and the application processor module 212.
  • the data cell 408 is transmitted to a cell router 410.
  • the cell router 410 may consider the data 408 in light of an application identifier 412 and security policy 414. Based upon that consideration, the cell router 310 may direct the data cell to the application processor module 212; to a packet generator 418; or to a done logical block 420.
  • the application processor module 212 can receive the data cell 408 from the cell router 410, process the data cell 408; and return the data cell to the cell router 410. This processing of the data cell 408 by the application processor module 212 is described in detail hereinafter with reference to Fig. 5.
  • the packet generator 418 can receive the data cell 408 and transform it into a packet 402, wherein both the data cell 408 and the packet 402 are elements of a data flow. These packets 402 are transmitted as a data flow to the physical network interface 302 from which they are transmitted out of the flow processing facility 102.
  • the done logical block 420 is provided to illustrate that some data cells may be discarded by the cell router 410. The reasons for discarding data cells are numerous, but some examples include reducing network congestion associated with the data cell; reducing resource utilization associated with the data cell; eliminating a data cell that is associated with a prohibited application, source, destination, or some such; and so forth.
  • the application identifier 412 may be associated with an application group 422, which may be associated with a normalized data type 424, which may be associated with normalized data 428.
  • the application identifier 412 relates to an application that is or could be operating in an application processor module 212.
  • One or more application identifiers 412 may be associated with an application group 422, which may simply be a set of application identifiers 412 that are provided together as group.
  • the normalized data type 424 may simply indicate the type of the normalized data 428.
  • the normalized data 428 may encompass a representation of the data flow 444.
  • each of the elements of Fig. 4 is depicted as a singular block. Particularly in this figure and generally in all figures, it may be appreciated that any of the elements of a figure may encompass a plurality of such elements, even in cases where the depiction may seem to suggest otherwise.
  • the security policy 414 may be associated with an identifier 430, which may be associated with the normalized data 428.
  • the identifier 430 may include one or more of the following: a customer identifier 432; a service identifier 434; a service level identifier 438; or another identifier 440.
  • the security policy 414 may specify any number of limitations or conditions that may be applied to the data flow 444 or its corresponding data cells 408.
  • the security policy 414 that may be associated with an application that resides within the application processor module 212.
  • the security policy 414 specifies that certain data cells 408 may be processed by the application processor module 212 while others may not.
  • the security policy 414 may specify whether the data cells may be passed through to the packet generator 418 and out of the flow processing facility 102, or whether the data cells may be routed to the done logical block 420, where they are discarded (or, perhaps, logged - but in either case not allowed to leave the flow processing facility 102).
  • the identifier 430 of the normalized data 428 may encompass metadata related to the normalized data 428.
  • the normalized data 428 is related to a customer that is assigned a customer identifier 432.
  • the customer may be an in-house customer, who may be associated with the departmental computing facilities 110.
  • the customer may be an outside customer, whose computing facilities are operatively coupled to the internetwork 104.
  • the data flow 444 may originate from an application or computer system that is associated with or operated by the customer.
  • a particular security policy 414 may be associated with the customer.
  • a customer is denied access to the departmental computing facilities 110 but is granted access to the server computing facilities 108.
  • the chain of associations between that data 428, the customer identifier 432, and the security policy 414 will be invoked.
  • the cell router 410 may act in accordance with the invoked security policy 414, causing all data cells 408 that are of a data flow 444 of the customer and that are addressed to the departmental computing facilities 110 to be routed to the done logical block 420.
  • Many other such examples are described herein and will be appreciated from the present disclosure, and all such examples are encompassed by the present invention.
  • the normalized data 428 is related to a service that is associated with a service identifier 434.
  • the service may be provided by the flow processing facility 102.
  • the service may be provided by a server computing facility 108, the departmental computing facilities 110, or any other computing facilities that are operatively coupled to the flow processing facility 102 or the internetwork 104.
  • the service is a peer-to-peer networking technology that is provided by two computing facilities 108 that are operatively coupled via the flow processing facility 102.
  • a security policy 414 that denies transmission of a data flow 444 may be associated with a service identifier 434 that is associated with a normalized data 428 representation of a peer-to-peer data flow 444. In this way, when such normalized data 428 is present, the chain of associations between that data 428, the service identifier 434, and the security policy 414 will be invoked.
  • the cell router 410 may act in accordance with the invoked security policy 414, causing all data cells 408 that are of the peer-to-peer data flow 444 to be routed to the done logical block 420.
  • the normalized data 428 is related to a service level that is associated to a service level identifier 438.
  • the service level may be associated with a service that is provided by the flow processing facility 102.
  • the service may be provided by a server computing facility 108, the departmental computing facilities 110, or any other computing facilities that are operatively coupled to the flow processing facility 102 or the internetwork 104.
  • the service may relate to two or more computing facilities 108 that are both engaged in a peer-to-peer application and operatively coupled via the flow processing facility 102.
  • a security policy 414 that denies transmission of a data flow 444 may be associated with a service identifier 434 which is associated with a normalized data 428 representation of a peer-to-peer data flow 444. In this way, when such normalized data 428 is present, the chain of associations between that data 428, the service 434 identifier, and the security policy 414 will be invoked.
  • the cell router 410 may act in accordance with the invoked security policy 414, causing all data cells 408 that are of the peer-to-peer data flow 444 to be routed to the done logical block 420.
  • the normalized data 428 may be related to something that is associated with an identifier 430.
  • the other identifier 440 is provided to emphasize that any and all identifiers 430 that will be appreciated or that are mentioned herein may be represented and utilized according to the present invention. Many other such examples are described herein and will be appreciated from the present disclosure, and all such examples are encompassed by the present invention.
  • a system includes hardware- based logic that matches action rules 450 to packets 402 and/or their corresponding data cells 408.
  • the cell router 410 and/or the cell generator 404 may encompass this hardware-based logic.
  • the logic may accept an action rule.
  • the action rule 450 may include a header rule 452, which describes an aspect of a header such as protocol type, source address, destination address, source port, destination port, TCP direction, and so forth.
  • the action rule 450 may additionally include a content rule 454, which relates to a transport-level payload, such as the payload of one or more TCP packets.
  • the header rule 452 may be designated as focused and only one focused rule can match a given packet.
  • the header rule 452 may be designated as promiscuous and any number of promiscuous rules can match a given packet or data cell 408.
  • a compact representation of the header rule 452 may be provided. This representation may explicitly represent a focused header rule 452 combined with a representation of one or more promiscuous header rules 452. (Details on the methods that implement these compaction techniques may be found below in paragraph 200.)
  • a header rule 452 may relate to an action of the cell router 410. In particular, the action may encompass both routing a data cell 408 to a particular application processor module 212 and addressing the data cell 408 to a particular application within the application processor module 212.
  • the action rules 450 may specify an action that occurs when the header rule and/or content rule match an aspect TCP packet 402 or a sequence of TCP packets 402.
  • the action can be to pass or drop the packets 402.
  • the action can be to receive, modify, and send the packets, resulting in a modification to the headers and/or payloads of the packets 402.
  • the action can be to receive, process, and send a response to the packets 402, such as may occur in a proxy or cache that itself recognizes a request in the payloads of the packets 402.
  • a data flow engine 308 may respond, just as a proxy or cache would, to a request without passing the packets 402 or data cells 408 associated with the request to the destination specified in their headers.
  • an action rule 450 may specify an action that triggers a transaction.
  • the transaction may encompass a financial transaction associated with the provision of a service.
  • an owner or operator of the flow processing facility 102 may automatically charge a fee every time the data flow engine 308 responds to a request as a proxy or cache would.
  • the transaction may encompass a database transaction.
  • a modification to a logging database may be conducted and committed in response to packet 402 or data cell 408 that matches the action rule.
  • the logging database may contain a log of alerts 442, packets 402, data cells 408, or information associated with any and all of the foregoing.
  • the logging database may be provided and/or maintained by a management server 228; a flow processing facility 102; a computing facility that is operatively coupled to a flow processing facility 102 via a physical network interface 302.
  • a management server 228 may provide a management server 228; a flow processing facility 102; a computing facility that is operatively coupled to a flow processing facility 102 via a physical network interface 302.
  • Many other such examples involving a transaction will be appreciated and all such examples are within the scope of the present disclosure.
  • the action rule 450 may specify an action that triggers a translation of one protocol to another, where the protocol may be at the application level, the transport level, the network level, the link level, or any other such level.
  • the present invention may include a subscriber profile.
  • This profile may relate an application to a subscriber. In doing so, it may specify access control rules, privileges, and preferences associated with that relation.
  • Systems and methods of the present invention can store, distribute, modify, act in accordance with, and enforce aspects of the subscriber profile.
  • the action rule may specify an action that comports with the subscriber profile.
  • the action rule may specify that packets 402 or data cells 408 that are associated with a subscriber get a higher priority than those that are not associated with the subscriber. This higher priority may entitle the packets 402 or data cells 408 to faster processing, higher bandwidth, lower latency, a preferred route, and so forth.
  • a system according to the present invention may include hardware-based logic that reassembles a data flow 444 from TCP packets 402.
  • This logic which may be encompassed by the cell generator 404, includes a replay process, which repeats current data and appends a packet to a TCP flow 444.
  • the replay process may be recursive; the appended packet 402 may become part of the current data, to which the replay process can again be applied.
  • the logic may also include pattern-matching circuitry (such as the regular expression logic, which may be an embodied as the content search logic 312) that triggers the replay process on a partial rule match, exemplified when a pattern in an action rule straddles a packet boundary.
  • a data flow 444 can be replayed any number of times, with the replays being presented to pattern-matching circuitry associated with action rules 450.
  • the data flow 444 can be incrementally extended as the payloads of additional TCP packets are appended to the data flow 444.
  • the data flow engine 308 may issue an alert 442.
  • the alert may be in the form of a data element, an electric signal, an audible or visible annunciation, and the like.
  • the issuance of the alert may pertain to a condition of the data flow engine 308, such as and without limitation an internal error, a pending failure, a status report, and so forth.
  • the alert may be provided to another element of the flow processing facility 102, to a human operator of the flow processing facility 102, or to any other facility capable of receiving the alert.
  • the alert may be transmitted via a wireless or wired communication link that may or may not be the internetwork 104, the backplane 224, the switching fabric 304, and so on.
  • data flows 444 may encompass information that is encoded by different layers of a network stack.
  • the networks stack may comprise the Internet Protocol (IP) stack.
  • IP Internet Protocol
  • a data flow 444 may be composed of an IP-packet sequence that adheres to an Internet Protocol (IP) stack 3100.
  • IP Internet Protocol
  • the IP stack 3100 will be familiar to those skilled in the art.
  • Higher layer packets may be encapsulated in the payload of lower layer packets such that network communication devices that operate at the lower layer may transfer packets with arbitrarily complex payloads without regard for the complexity or content of the payload.
  • the uppermost layer is the application layer 3110.
  • This layer 3110 may be used to define the particular data and/or data structures that applications may communicate. This data may be application specific and its design may be left to an application developer. In this way, any application-to-application communication may be developed and/or specified independently from the transport mechanism used to communicate the data between applications.
  • Application-to-application communications may be encapsulated in one or more transport layer 3112 packets.
  • the transport layer 3112 may provide communication specifications that relate to the transport of data between applications. In embodiments, these specifications may be implemented across a plurality of computing facilities, providing a standard abstraction (or set of such abstractions) on top of which the application layer 3110 may reside. These abstractions may provide standardized systems and methods of communication between applications.
  • UDP a transport layer 3112 protocol
  • TCP a transport layer 3112 protocol
  • Many other transport protocols may operate at the transport layer 3112.
  • a transport layer 3112 packet (header and payload) may be encapsulated in the payload of a network layer 3114 packet.
  • the network layer 3114 may enable the transfer of data between host computers over a network, perhaps without regard to the particular applications that may be communicating via the data.
  • Network services associated with the network layer 3114 may include routing network layer 3114 packets from a source host to the destination host.
  • a network layer 3114 packet may be encapsulated in the payload of a data link layer 3118 packet.
  • the data link layer 3118 may be associated with the transfer of data between physical nodes in a network.
  • the data link layer 3118 may be associated with Ethernet, WiFi, Token ring, and so on.
  • a network layer 3114 packet may be formed in accordance with the requirements of a physical data link.
  • an alternate embodiment of the data link layer 3118 may consist of frames containing payloads, wherein each frame may comprise a frame header, the payload, and a frame trailer.
  • any reference to a header in the data link layer 3118 may refer to a packet header or to both a frame header and trailer, depending upon the embodiment of the layer 3118.
  • Any and all of the systems and methods of the flow processing facility 102 may be directed at content inspection. Many examples of content inspection are described herein and will be appreciated. All such examples are within the scope of the present disclosure.
  • the application processor module 212 may include the switching fabric 304 and a plurality of application processing units 502.
  • Each of the application processing units 502 may include an application accelerator 504, a central processing unit (CPU) 508, a random access memory device (RAM) 510, and a plurality of applications 512.
  • the applications 512 may include a unified threat management (UTM) application, which in turn may encompass one or more of a firewall application 514; an intrusion protection system (IPS) application 518; an anti-virus application 522; a URL filter application 524; an anti-spam application 528; and another UTM application 530.
  • the application processing unit may be a logical or physical unit, encompassing one or more hardware devices or software applications.
  • the applications 512 may also include another, non-UTM application 532. Many aspects of the application 512, the application processing unit 502, and the application processor module 212 may be described hereinabove with reference to other figures.
  • the application processing unit is a commercial- off-the-shelf (COTS) computer or emulates the same.
  • the applications 512 may be software applications that are uploaded, stored, and/or built into the application processing unit 502.
  • the applications 512 are best-of-breed software applications that are not specifically designed for operation in a flow processing facility 102.
  • the applications are preferably, but not necessarily implemented, for COTS computers. Since the application processing unit is a COTS computer or emulates a COTS computer, the applications are capable of operating within the application processing unit 502 as though they were operating within a COTS computer.
  • the application accelerator 504 may be a specialized hardware device for accelerating a computational feature of an application 512.
  • the application accelerator 504 is a cryptographic acceleration engine for encrypting and decrypting data.
  • the application 512 may be designed to utilize the application accelerator 504.
  • the application processing unit 502 may automatically utilize the application accelerator 504.
  • the application accelerator 504 may comprise an FPGA and the application processing unit 502 may profile the execution of the application 512 in order to identify a critical section of the application 512 that is compute intensive. Providing an accelerated execution of the critical region, this critical section may be dynamically programmed into the FPGA.
  • a UTM application may encompass a system or method that accepts a data flow 444 and classifies it according to whether or not a more detailed inspection of the flow 444 is warranted. If the detailed inspection is warranted, the UTM application may communicate and/or refer the data flow 444 to the application accelerator 504 for further' processing. This further processing may include processing of headers, payloads, protocols, communication traffic patterns, behaviors, and so on. In any case, the application accelerator 504 may be directed at providing real time processing of the flow 444. This further processing may be directed at providing one or more aspects of unified threat management, such as those described herein and elsewhere, and those that will be appreciated.
  • the CPU 508, in the preferred embodiment, is a COTS CPU such as an Intel Xeon processor, a Sun Sparc processor, or any other processor.
  • the RAM 510 may be any embodiment of RAM, including SRAM, DRAM, Flash RAM, and so forth. Many of the applications 512, 514, 518, 520, 522, 524, 528, 530, 532 are herein described in detail and/or will be appreciated from the present disclosure. All such applications are within the scope of the present invention.
  • FIG. 6 an example sequence of events 600 shows how the flow processing facility 102 can adapt to changeable data flow conditions.
  • the figure presents six snapshots of the flow processing facility 102.
  • Each snapshot includes two application processor modules 212, a network processor module 210, and a control processor module 208. Arrows that are unassociated with those modules indicate the progression of snapshots as the flow processing facility 102 adapts to changes in the data flow 444 over time.
  • the first snapshot is the top, leftmost snapshot.
  • a data flow 444 enters the network processor module 210, which routes the data flow to an application processor module 212.
  • the application processor module 212 returns the data flow back to the network processor module 210, which transmits the data flow 444 out of the flow processing facility 102.
  • the data flow 444 may be represented at times as packets and at times as data cells. It will also be understood that the data flow 444 or elements thereof may be modified by an application residing in the application processor module 212.
  • the data flow 444 as it first arrives at the network processing module 210 is of such a nature that processing it at one application processor module 212 would exceed the capabilities of that module. This nature may relate to network bandwidth, processor or CPU bandwidth, RAM- related requirements, and so forth.
  • the application processor module 212 recognizes that it is incapable of completely processing the data flow 444.
  • the application processor module 212 transmits an application-alert signal 602 to the control processor module 208.
  • This application-alert signal 602 serves to notify the control processor module 208 that an overload condition exists at the application processor module 212.
  • the alert signal 602 may further indicate the nature of the overload or any other data or metadata associated with the overload.
  • the control processor module 208 receives the alert signal and processes it.
  • the control processor module 208 transmits three signals (Sl, S2, S3), one directed at each of the two application processor module 212s and one directed at the network processor module 210.
  • the signal Sl to the application processor module 212 that is currently handling the data flow 444 may encompass an acknowledgement of receipt of the application- alert signal 602.
  • the signal S2 to the network processor module 210 may encompass instructions to begin dividing the data flow 444 into two data flows 444.
  • the signal S2 may further encompass instructions to transmit one data flow 444 to the presently active application processor module 212 while transmitting the other data flow 444 to the presently inactive application processor module 212, which is the topmost APM 212 in the present snapshot.
  • the signal S3 may encompass instructions to the inactive application processor module 212 to configure itself to accept a data flow 444 and to process that data flow 444 with a particular application 512 or set of applications 512. These applications 512 may be the same application 512 or applications 512 that are presently processing the data flow 444 at the active application processor module 212.
  • the presently inactive application processor module 212 may be configured in response to the signal S3 to replicate the functionality of the active application processor module 212.
  • the data flow 444 into the network processor module 210 is the same as in the previous snapshot. However, now the network processor module 210 divides the incoming data stream into two smaller data flows 444. Both of the application processor modules 212 receive one of these data flows 444. These data flows 444 are of a nature that the receiving application processor modules 212 can process them without creating an overload condition. Having processed the data flows 444, the application processor modules 212 return the data flows 444 to the network processing module 210, where they are reunited into a single data flow 444 that is transmitted out of the flow processing facility 102.
  • the data flow 444 arriving at the network processor module 210 is of a reduced nature as compared with what it was in the previous snapshot. As before, it is divided and each of the resultant data flows 444 are transmitted, received, and processed as before. However, as depicted by dotted lines, the data flows 444 resulting from the division are of a nature that a single application processor module 212 could process both of them without creating an overload condition. In other words, at this point it is now unnecessary to divide the data flow 444 as it first arrives at the network processor module 210.
  • the network processor module 210 recognizes this condition and transmits a network-alert signal 604 to the control processor module 208 .
  • the control processor module 208 receives this alert 604 and processes it.
  • the control processor module 208 transmits a signal S4 to the network processor module 210. This transmission may be in response to the network-alert signal 604.
  • the signal S4 may encompass an instruction to the network processor module 210 to cease dividing the incoming data flow 444 and, instead, to resume the original mode of operation as depicted and described with reference to the first snapshot.
  • the network processor module 210 receives and processes this signal S4.
  • the network processor module 210 complies with this signal S4 and the flow processing facility 102 assumes the configuration of the first snapshot.
  • FIG. 7 depicts an embodiment of an aspect of present invention.
  • a monitoring system 700 (which may be subsumed within content search logic 312) receives an input data stream 702 and employs an apparatus reflected in the elements with Fig. 7. In some implementations, it may be desirable to process input data stream 702 in small units, typically bytes. Note also that in practice, some embodiments of the invention may or may not segregate functions among discrete hardware and/or software modules according to a precise fashion, such as that shown in Fig. 7. It will be appreciated that the layout of the drawing in Fig. 7 may serve to illustrate, without limitation, a method wherein functionality of the present invention may be embedded. In this sense, Fig. 7 and related drawings may provide a simplified view of the present invention for pedagogical purposes, in a manner that conveys novel teachings of the present invention.
  • Character issuer 704 accepts input stream 702 and may formulate a representation of a new character (which may be composed as a byte and/or other data unit) which may be presented together with an indication of that character's position input data stream 702.
  • Node RAM 706 (and/or some read/write capable device) may contain node-representing data structures whose contents may have been determined from some set of one or more of patterns to be matched.
  • Matching engine 708 may be used to fetch node identifiers (and/or other related information) from node RAM 706 by presenting addresses constructed from input data stream 702 and a last-fetched node identifier. Note, however, that, as detailed below, the last- fetched identifier may not have been fetched from node RAM 706.
  • One possible method for executing this construction mechanism may be described in detail hereinafter or elsewhere.
  • the data fetched by matching engine 708 may include (but may not be limited to) a node identifier, but may also include an indicator of whether that node represents the end of a complete match that may be required by one or more predefined rules.
  • matching engine 708 may present an address to table RAM 710 dictated by the match- indicating node's identity. That address may point to one or more list(s) of rules that may be related to detection of this pattern and that may require enforcement when such a string has been found. From this information, matching engine 708 may produce output 712 that may cause any appropriate action to be taken.
  • FIG. 7 illustrates one possible implementation, there may be many, perhaps widely varied architectures within which the present invention's teachings can be implemented. In an example, they can be implemented in any general-purpose digital computer; in dedicated or application-specific hardware; in any and all combinations of the foregoing; and so on. In any and/or all of these variations, the functions that may be associated with the content search logic 312 or any and all other elements of the present invention may be distributed or arranged in any number of ways within an embodiment, wherein any particular arrangement may be suited for or directed at requirements that are associated with a use and/or context of the embodiment.
  • Fig. 8 depicts in more detail the data flow associated with matching engine 708.
  • the individual character from the "packet data" may be used concurrently in addressing both other-node RAM 804 and root-RAM 806.
  • root-RAM 806 may contain only the root node of a pattern tree (i.e., a data structure that lists the root node's child nodes), although other embodiments that employ such concurrent node addressing may also include the root node's closest descendant nodes.
  • the other-node RAM 804 includes all the other nodes. Since the single node that root-RAM 806 contains may ordinarily require less than a single kilobyte of storage, the integrated circuit within this embodiment's matching engine 708 may include root-RAM 806 on board.
  • pattern trees (such as those of Fig. 9 and other figures) that may reach several thousand nodes (or more), and the storage requirements of such trees or associated arrays may exceed, for example and without limitation, half a megabyte of memory.
  • some embodiments may provide other-node RAM 804 in a separate dedicated read/write capable device of sufficient capacity and speed to support storage and/or processing of such pattern trees.
  • addressing requirements may require both a high-order, node-indicating portion and a lower- order, link-indicating portion (where the latter identifies an entry within the node).
  • Each such entry may both 1) identify a respective child node; and 2) indicate whether that node is a terminal node.
  • the node-identifying portion of the RAM output that results from addressing such an entry may form the high-order bits of the address that will be next applied to the other-node RAM 804.
  • the low-order bits of that address may then be derived from the next input character.
  • both matching engines 708 may receive the same data, but the tree structures in their read/write capable devices would represent different patterns.
  • One advantage of such an extension may be that two pattern matchers doubles the amount of pattern memory and may allow some patterns to be preprocessed.
  • One of the pattern matching engines 708 can, for example and without limitation, be dedicated to case-insensitive patterns by changing the case of the string before the search operation. This may improve the tree's efficiency and may additionally reduce the amount of memory used for each pattern.
  • One implementation supports four pattern trees.
  • one pattern tree is dedicated to patterns in the URL.
  • a second pattern tree is used for decoded telnet (i.e. preprocessed telnet data located in the decode buffer).
  • the third pattern tree contains the rest of the search patterns.
  • the fourth pattern tree is reserved for future optimization.
  • each pattern tree has its own on-chip root node and its own initial root node, but this optimization is optional and represents one of many possible optimizations that may be employed.
  • Embodiments of the present invention also deal with the condition wherein the next input character results in a failure (that is, when there is no searched-for pattern in which that character succeeds the prefix that the current node represents).
  • the current node is node 14 in Fig. 9. That node represents the ABEB (which will be referred to in the following as the "current prefix"). If the next input character is D, a failure has occurred, because there is no prefix ABEBD in any of the searched-for patterns.
  • the node 14 data structure would nonetheless include an entry corresponding to D, and that entry would identify the BD- representing node 7, because B is the longest suffix of the node-14-represented prefix ABEB that D immediately succeeds in any searched-for string.
  • the current node's entry corresponding to the next input character would identify the node that represents the longest prefix that results from concatenating the current input character with a suffix of the current prefix.
  • a given node may not need an entry for a given character if that character's entry in the given-node structure would represent a link to the same node as its entry in the root-node structure would. Specifically, since the root- node structure's entry for A identifies node 2 and node-14 structure's would, too, node 14 may not require an entry for that node.
  • some implementations may add a mechanism to allow the removal of a portion of the node links when these links may be holding the default, root- node-identifying value.
  • many nodes may use only a small number of links to hold node IDs. The rest may, in general, be the default value, which is the root node ID.
  • the links with node IDs may be stored.
  • associated memory space may be divided into sixteen regions of equal size. Each region may then be programmed to use one of three node sizes.
  • the node sizes (in this example) are 64 entries, 128 entries, and 256 entries.
  • the alignment of the nodes in each region may also be programmable. The possible alignments are O 5 64, 128 and 192 entries. The alignment thus maps the reduced node entries in memory into the original node offsets, thereby reducing the memory requirement.
  • the region number 0 may be permanently set to a node size of 256 entries, and although this may not itself provide optimization, within the present invention, this approach may provide another optimization.
  • Figure 11 provides, without limitation, an example of this approach.
  • on-chip memory is deployed and leaf nodes that have no links may be further optimized by eliminating the entire table of links. Since all the links will, in this case, be the default value, the next node may be solely determined by an on-chip root lookup. Empty leaf nodes will be assigned node IDs that do not map to physical memory. Region number 0 is permanently set to a node size of 256 entries so the El and EO bits are not used in the formulation of the node number. Thus, this configuration may allow an optimization wherein nodes may be mapped without using any memory space. When the region number is 0 and the El bit is 0, the circuit may map the node ID to the appropriate read/write capable device.
  • the node ID is used to determine the next node.
  • the T bit is 1 and the El bit is 1, an empty leaf node will be decoded and the next node will be determined by the on-chip root lookup.
  • the resultant node ID format and SRAM (or some appropriate read/write capable device) address format is shown in Fig. 11.
  • empty leaf nodes may only be allowed in region 0. Therefore, an empty leaf node may be decoded whenever the T bit is set and the El bit is set and the region number is 0. The El bit is ignored in regions 1 to 15 if they have node sizes of 256 entries.
  • the node ID may be reserved for the root node where the region number is 0, the T bit is 0 and the El bit is 1. In this instance, this ID composes the root node for all trees and an optimization is realized in the use of the on-chip root lookup to determine the next node.
  • Fig. 11 illustrates, without limitation, an example embodiment wherein a pattern tree with a terminal node and an empty leaf node is shown.
  • Terminal node 3 is not empty because it needs to transition to node 2 when it detects the character 'b' and therefore requires a link to be placed in its table.
  • Fig. 12 illustrates a pattern tree with a terminal node and an empty leaf node, which may be implemented with a root node and 4 nodes in SRAM (or any and all other memory devices).
  • Fig. 13 illustrates, for example and without limitation, how such a pattern tree may be embodied in the SRAM (or any and all other memory device).
  • all the nodes are in a 256-entry region. Each node has 256 links, and each link consists of a node ID. If the link is empty (meaning that node does not have a transition for that particular character offset) its node ID must be the root node.
  • Terminal nodes are programmed by setting the terminal bit on all links to the terminal node.
  • Node 23 is terminal by virtue of the terminal bit being set in a node ID at offset 'a' in node 22.
  • the empty leaf node 2OE is a terminal node because the terminal bit is set at offset 'c' in node 21. The node offset of the empty leaf node is not used to calculate the next node. When the matching engine 708 encounters an empty leaf node, the next node will be the root node.
  • the node offset of the empty leaf node is still important since it will be used to generate the match event number which indexes into an even translation table which may identify to subsequent circuitry the rule that the detected match contributes to satisfying.
  • An embodiment of the event translation table may be described in detail hereinafter or elsewhere.
  • embodiments may provide methods that optimize position dependent string searches.
  • embodiments of the flow processing facility 102 may include such position dependent string searches.
  • the content search logic 312 may comprise and/or support such string searches. It will be appreciated that these string searches (or, indeed, any and all string searches) may be implemented in hardware, software, or a combination thereof.
  • Porture dependent patterns may be understood to refer to patterns that provide valid matches only if they occur at a specified position within a packet.
  • Absolute position patterns may be understood to refer to patterns with position parameters that are measured from the beginning of the packet.
  • Relative position patterns may be understood to refer to patterns with position parameters that are measured from the end of the previous pattern match.
  • position dependent patterns may be translated as position independent patterns except that the command used in the event translation table may, in this case, be the TRNS_POS command instead of the TRNS_RULE command. Additionally, an entry in the position events table is needed to specify the pattern position and resultant rule number and sub-rule number.
  • Fig. 14 shows one implementation of the relationship between the tables.
  • the absolute position pattern may, in this instance, be translated by using a PCMD START command in the position events table to specify the position parameters. To accomplish this, two consecutive entries in the position events table are reserved for the absolute position pattern. The first entry is then written with the PCMD-START command and the absolute position data. The second entry is written with the PCMD-DONE command along with the rule number and sub-rule number. The offset of the first position entry is then written into the event translation table along with the TRNS_POS command. The event translation table is written using the node number as the offset into the table.
  • the relative position pattern in this instance is translated with a PCMD_NEXT command in the position events table to specify the position parameters.
  • relative positioning requires a position to be established with a match of a pattern. This may be accomplished with the PCMD_START command. In this case, however, it may not be necessary for the PCMD START command to be position dependent. But the pattern must use the position event table to establish the initial position for the relative position patterns that will follow.
  • the PCMDJSfEXT command will be used, in this instance, to specify relative position values.
  • a PCMD-DONE command will indicate the rule number and sub-rule number for resultant matches.
  • the following table shows the values used, in this example, for the low range and high range fields in the position event entry for relative position events based on the SNORT language.
  • Negative patterns may also be implemented in a position events table, where “negative patterns”, in these implementations, may be understood to refer to patterns that match only if the pattern is not detected within a specified position range. Negative patterns may require an "anchor pattern" to establish the current position context. In this example implementation, the negative pattern is written into the position events table after the anchor pattern. The PCMD_NEG_NEXT command is then used to set the position range in which the pattern is not expected.
  • the string "ab” will, in this example, generate a match event with the node number 150.
  • the node number translates to a TRNS_POS command with a position number of 133.
  • the position number is used to invoke the PCMD_START command at offset 133 in the position events table.
  • the PCMD_START command will check for a valid position and then load the next command into the position context.
  • the position context now contains the position of the string "ab” and the command of the negative pattern. If the string "cd" is detected and generates a match event, the match event will produce a TRNS_POS command that will invoke the PCMD NEG NEXT command at offset 134.
  • the position in this example, is checked against the stored position and range.
  • the PCMD_NEG_NEXT command will clear the position context if the position of the string "cd" is within the 100 character range. If the 100 character position range is reached without detecting the string "cd", the next command is retrieved and executed. In this case, the next command is a PCMD_DONE command that generates a rule match event.
  • a "regular expression” may be understood to refer to a representation of a pattern that may have a variable length and may possibly have many alternate forms.
  • searching for regular expression patterns may often require intensive processing power and memory since conventional algorithms, geared towards searching for a single expression, may not scale well in computational terms when attempting to search for many expressions simultaneously.
  • memory utilization may also be a problem since these memory requirements may increase exponentially as the number search expressions increases.
  • the present invention provides methods to search for many expressions simultaneously, addressing situations wherein memory utilization increases linearly with the number of expressions and/or wherein there may be untenable increases in computation complexity. Note that, as in the foregoing examples, while these methods may be illustrated in the following example implementations as applied in hardware, such implementations may be accomplished through a number of means (see paragraph 91 above).
  • a regular expression may be understood in the following examples to compose a text string that may include "metacharacters” to describe complex patterns.
  • “Metacharacters” may be understood in the following examples to compose ASCII characters that may be reserved for specifying pattern features. Note that in some implementations, these reserved ASCII characters can still be used in other contexts via an escape sequence.) Note also that regular expressions are by convention typically delimited by the slash character, and this convention is adopted in the following examples.
  • Regular expressions may also, in the present invention, define some useful non-character string attributes, such as the beginning of the string and/or the end of the string. When the regular expression features are combined, they may provide a flexible and compact method for describing complex patterns.
  • Some embodiments of the present invention that detect patterns specified by regular expression may or may not support some or all regular-expression constructs.
  • An embodiment that is provided hereinafter for the purposes of illustration and not limitation may not support the following regular-expression features:
  • Nested quantifiers such as /(c(ab) ⁇ 2, ⁇ ) ⁇ 3, ⁇ /
  • each regular expression construct may be implemented using one type of pattern-detection circuitry.
  • Regular expressions may be implemented in this example pattern-detection circuitry by partitioning the regular expression into a set of position dependent substrings that are equivalent to the regular expression. By virtue of this method, searching for regular expressions in the pattern-detection circuitry will then consist of searching for the position dependent substrings. The associated pattern tree may then be used to hold and to search the substrings of the regular expression.
  • a "character class detector” may be used to detect the character class and wildcard constructs in subject regular expressions.
  • the "character class detector” may be understood in the following examples to compose a logic function that detects "character class strings.”
  • a character class may be understood in the following examples to specify a set of byte values that will produce a match and, in the present example, is delimited with square brackets. In an example, the character class /[abc]/ will match the characters 'a' or 'b' or V.
  • a "negative character class" may be specified in the following examples with the caret character as the first character inside the square brackets.
  • the expression /[ ⁇ abc]/ will match any 8-bit value except for the characters 'a', 'b' or 'c'.
  • the character class detector when the character class detector matches a character class, it may monitor the data stream to determine the string with the most consecutive matches. When the character class string ends, the character class event number along with its position may be sent to a "correlation block" for further processing.
  • AU substring patterns other than character classes may be are stored in the pattern tree in SRAM (or other read/write capable device.) These substring patterns may be searched by traversing the tree to find the terminal nodes. When a terminal node is encountered, the match event along with its position may be sent to the "correlation block" for processing.
  • the "correlation block” may be understood in the following examples to compose a function that may validate the position of the patterns relative to each other.
  • some or all position parameters may be held on-chip and used to verify patterns as they occur. In this manner, the relative position context may be maintained so that next pattern can be correctly validated.
  • correlation may also aggregate multiple pattern matches into rule matches.
  • alternation is specified in regular expressions with the 'I' character. The regular expression /abc
  • Alternation of character may also be achieved, in this example implementation, with the character class denoted by square bracket groupings.
  • the regular expression /[abc]/ matches the strings "a", "b" and "c".
  • methods using character class may be implemented in one of two ways.
  • the pattern tree may be used to encode all the possible matches.
  • a node may be created for each character, and the character link to each node is added.
  • Each node may also have its terminal bit set to indicate the match of the pattern. Thus, a match may result when any of the characters in the character class are encountered.
  • the second method may use the character class detector block.
  • the character class detector scans for standard character classes and, in this implementation, for up to 32 user defined character classes. But note that since the character class detector may be a limited resource, implementations that use this method typically deal with complicated patterns.
  • quantification may be specified with quantifiers using the '*', '+', '?' or ' ⁇ ' metacharacters.
  • the quantifiers in this case, indicate the number of times the previous character or group is to be consecutively matched.
  • the use of quantifiers may result in an expression that can be matched at different lengths.
  • the matching of the longest pattern is called, in these example implementations, a "greedy” match, whereas by contrast, a "non-greedy” match will find the short pattern that matches the expression.
  • the following table shows the lists the greedy and non- greedy quantifiers.
  • an asterisk may indicate a match string consisting of 0 or more instances of the previous character or group.
  • /a*/ specifies a string of 0 or more a's.
  • the strings "”, “a”, “aaa” and “aaaaaa” all match the regular expression /a*/.
  • the regular expression /.*/ represents a string of 0 or more characters without any regard for the value of the character.
  • the plus sign indicates a match string consisting of 1 or more instances of the previous character or group.
  • the strings "a”, “aaa” and “aaaaaaa” all match the regular expression /a+/ but the string "" does not match.
  • a more general form of quantifiers may, in the examples that follow, use the curly brackets in the form of / ⁇ x, y ⁇ /.
  • X indicates the minimum number of iterations and y indicates the maximum number of iterations. If y is not present, the maximum number of iterations is infinity. Therefore, /a*/ can also be expressed as /a ⁇ 0, ⁇ / and /a+/ can also be expressed as /a ⁇ l, ⁇ /.
  • the regular expression when the /.*/ construct is encountered, the regular expression may be divided into three substrings. In these cases, the string before the /.*/ becomes a substring and the string after the /.*/ becomes a second substring. A third string may be formed by combining the two substrings.
  • the expression /abc.*def/ will produce the substrings "abc", "def” and "abcdef .
  • Searching for the expression /abc.*def/ will, in these examples, consist of searching for the string "abc” and then searching for the "def (i.e. the second string has a relative position and must be detect after the first).
  • the /a?/ construct may, in the following examples, produce two strings.
  • the question mark quantifier in this case specifies a match of zero or one, so the two strings created are the null string and "a".
  • the expression /abc?de/ is found by searching the string "abde” or "abcde”.
  • the /a*/ expression produces two strings.
  • the construct may be removed because it is replaced with the null string.
  • the construct may be replaced with /a+/.
  • the methods embodied in following example implementation use a character class to search for the 'c+' .
  • the 'c+' expression is replaced with the character class [c]+ which may be found by the character class detector.
  • the character class detector may return the longest string of consecutive character classes.
  • the expression / abc+de/ is then found by searching for the string "ab", then searching for the character class string [c]+ and then searching for the string "de”.
  • the expression may be matched if the example correlation module verifies that each string occurs right after the previous string.
  • processing of the quantifiers ' ⁇ x,y ⁇ ' and ' ⁇ x, ⁇ ' is executed in a manner similar to that applied to the quantifier '+' .
  • the difference, in this case, is that the position limits are encoded into the position rules and verified in the correlation module.
  • Negative character classes are supported, in the following example implementations, by means of a character class detector.
  • the negative character class is specified, in this case, with the caret character as the first character in a character class.
  • the expression /[ ⁇ abc]/ will match any character except for the characters 'a', 'b' or 'c' .
  • efficiencies may be achieved within the teachings of the present invention by combining alternation and quantification to create complex patterns.
  • the same partitioning procedures may be used when both alternation and quantification are used in the same expression.
  • two expressions may be derived /(cbd
  • transformations may be applied to both expressions.
  • d.*)e/ may produce the substrings "cbde", /c*e/ and /d.*e/, and the expression /a+(cbd
  • the expression /c*e/ may be replaced "e" and /c+e/, and the string /a+c*e/ may produce /a+e/ and /a+c+e/.
  • the string /d.*e/ may then be divided into 2 strings "d” and "e” where the second string must be detected after the first.
  • the expression /a+d.*e/ may be divided into the strings /a+d/ and "e” and the second string must be detected after the first.
  • the character iterations may be replaced with the character class.
  • Some implementations of the present invention may support positive lookahead and lookbehind functionality.
  • these assertions have zero width which means that the matching of the enclosed expression does not move the character pointer used to maintain the current character to process.
  • the expression preceding the positive lookahead assertion will match only if the lookahead expression matches, and the expression preceding a negative lookahead assertion will match, only if the lookahead expression does not match.
  • the proceeding expression matches only if the lookbehind expression matches.
  • the proceeding expression matches only if the lookbehind expression does not match.
  • the expression (? ⁇ !foo)bar matches the string bar if the preceding 3 characters are not foo.
  • the ' ⁇ ' (caret) is also a "zero with" assertion, and may be used to match the beginning of the string, and/ or the beginning of the packet.
  • the ' ⁇ ' may be implemented in the present example pattern-detection circuitry by starting the packet scan at an initial root node in the pattern tree that implicitly matched the beginning of the packet. After comparing the first character, the initial root state is no longer used and will only be entered again at the beginning of the next packet. The initial root node, then, is different from the root node of the pattern tree, and the root node of the pattern tree implies no matches, and thus, can be entered at any byte within the packet.
  • the expression / ⁇ apple/ may produce a search string of "apple".
  • the string "apple” may link, in this case, to the initial root node but not the root node. Therefore, the string "apple” can be matched at the beginning of the packet but will not match after the beginning of the packet since the root node is not linked to the string "apple.”
  • the $ metacharacter matches the end of the string and/or the end of the packet.
  • this may be implemented within the pattern-detection circuitry in the EOP_registers.
  • a range of node ID can be reserved to additionally check for the end of the packet.
  • the EOP_register may be programmed with a base number and an offset. If the node ID is within the range indicated by the EOP register, a match event may be generated if the current character is the last character of the packet.
  • the expression /apple$/ produces the string "apple.”
  • modifiers may be used in regular expressions to control the interpretation of some features.
  • Modifiers are located at the end of the expression after the slash and may be represented with the letters i, m, s and x. In the example expression /apple/is, the i and s modifier is specified.
  • the dot metacharacter in the expression will match the newline character. If the s modifier is not present, the dot metacharacter would match the newline. Without the s modifier, the dot metacharacter may be replaced with the character class [ ⁇ ⁇ n].
  • the m modifier is used in this example implementation to treat the search text as multiple lines.
  • the search text is considered one long string.
  • the ' ⁇ ' metacharacter will match the beginning of the search text and the '$' metacharacter will match the end of the search text. If the m modifier is present, the ' ⁇ ' metacharacter will match the beginning of the search text and also immediately after a newline character. With the m modifier present, the '$' metacharacter will match the end of the search text and also immediately before a newline character.
  • the m modifier may be implemented in the example pattern-detection circuitry by inserting a newline at the beginning of the expression if the ' ⁇ ' character is used.
  • the resultant string would then be linked to the root node of the pattern tree, and the initial root node will be linked to the second character of the expression to bypass the newline that was inserted.
  • the expression / ⁇ apple/m will produce the string " ⁇ napple", the root node will link to the newline character and the initial root node will link to the 'a' character.
  • the expression / ⁇ apple/ will be matched if the string "apple" appears at the beginning of the search text or at the beginning of a line which was terminated by the newline.
  • the example pattern- detection circuitry may implement the m modified '$' metacharacter by appending a newline to the end of the string.
  • the string can now be matched by matching the newline and/or to the end of the packet.
  • the expression /apple$/m will produce the string "apple ⁇ n" where the node ID of the 'e' is assigned to a value within the range of the EOP registers.
  • the expression /appleWm will match the string "apple” if it occurs just before a newline or at the end of the search text.
  • the x modifier may cause all white space characters in the expression to be ignored except when it is escaped or if it is in a character class. This modifier may only affect the interpretation of characters and can be implemented in the regular expression compiler.
  • the U modifier may be used to apply a regular expression to a decoded URL string.
  • the R modifier may change the starting position of the regular expression search to the end of the last matched pattern.
  • the B modifier may select the undecoded data for use in the regular expression search.
  • the present invention may extend these optimizations to situations requiring the matching of the beginning of a string.
  • the "caret" character at the beginning of a regular expression matches the beginning of the string or packet.
  • this may be implemented with an initial root node in the pattern tree.
  • the initial root node has a pre-defined number and scans may start at the initial node.
  • Fig. 9 To illustrate the use of the initial root node, the example from Fig. 9 is used.
  • the patterns AABA, ABEBE, ABF, BEBC, BEBB and BDD are to be inserted into the pattern tree, but, in this case, the AABA pattern is changed to / A AABA/.
  • Fig. 15 shows the resultant tree.
  • packet scans start at the initial root node but eventually transition to the main tree.
  • the pattern AABA is matched at the terminal node 12 but can only get there from the initial root node.
  • the "caret anchored" strings are inserted onto the tree at the initial root node, and when merging, nodes in the initial tree are not considered when selecting prefix nodes. In addition, all nodes in the initial tree are merged. It is evident that method is different from merging of the main tree in that in the latter case, only nodes that have a depth greater than one are merged, and the nodes in the initial tree are never merged with other nodes.
  • Fig. 16 shows the pattern tree with the expression / ⁇ AABA/m. Note that there are now two ways to get to the terminal node 12. One path starts at the initial root node while the other starts at the root node. If the pattern AABA is not at the beginning of the packet (i.e. start at the initial root node) then it is only matched if it follows a newline character.
  • the caret anchored string is prepended with a newline and then inserted into the tree at the root node. A link is then made from the initial root node to the representing the match of the first character and the newline.
  • the pattern tree in Fig. 17 contains the patterns / ⁇ AC/, / ⁇ AABA/m, ABEBE, ABF, BEBC, BEBB and BDD. Notice that because the first character of the two regular expressions is the same, they are merged, in this example, by copying the transitions from node 17 to node 19.
  • the following steps may be used to build the pattern tree with caret anchored strings.
  • - Insert caret anchored patterns to form the initial tree - if there are overlaps with patterns that have implicit newlines, propagate the link between the initial root node and the node representing the first character of the pattern with an implicit newline onto the next node in the initial tree. On the initial tree, links to other nodes in the initial tree have precedence.
  • a link to the rooted tree is ignored if that link character is already used for a link to the initial tree.
  • a link to the initial tree will overwrite a link to the rooted tree.
  • - Merge all patterns - when merging the initial tree, implicit newlines are ignored (i.e. when comparing prefixes, the implicit newline is removed before the comparison).
  • the present invention may extend these optimizations to situations requiring the matching of the end of a string.
  • the '$' or end of the string may be matched with the EOP registers.
  • the EOP register defines a base number for a range of node numbers that will be reserved for end of string matching.
  • the EOP Mask Register defines the size of the range of node numbers.
  • the node representing the last character in a pattern that matches the end of the string may be assigned a node number in the range defined by the EOP register and EOP Mask register.
  • the EOP register may be programmed to 0x0100 and the EOP Mask Register may be programmed to 0x0003. This specifies a range of 16 node numbers that will be reserved for the end of string matching.
  • the string "AABA" When presented the pattern /AABA$/, the string "AABA" will be inserted into the pattern tree. Then the terminal node of the string may be assigned to node number OxOlOl . If the node number OxOlOl is matched, the next character is checked to see if the end of the packet has been reached. If another character exists (current character is not the last), the event is discarded. If there are no more characters (meaning the packet has ended), a match event is generated using the node number 0x0102 (i.e. 0x0101 + 1).
  • the translation commands for this pattern may be loaded into offset 0x0102 of the event translation table. If the pattern is /AABA$/m, then the string "AABAVn" may be inserted into the pattern tree, and the node representing the last A is designated a terminator, and that node may be assigned node number 0x0101. Likewise, in this example, an event with node number 0x0102 may be generated if node number 0x0101 is detected at the end of the packet. The event translation table may then be written with the translation commands at offset of 0x0102. The node representing the newline is thus, also a terminal node.
  • This node can be arbitrarily assigned, but its corresponding location in the event translation table will contain a link to the entry at 0x0102. Therefore, detecting the string at the end of the packet or at the end of a line will, in this example implementation, execute the same translation commands.
  • the present invention may also extend these optimizations to expressions with alternations are implemented by either inserting all possible combinations of patterns into the pattern tree or by using the character class detector.
  • each pattern in the alternation group may be inserted into the pattern tree.
  • the translation of each pattern will produce the same rule number and sub-rule number. Therefore, a match resulting from either pattern will produce the same result.
  • the patterns may, in the example implementation, be unwound to obtain a set of equivalent patterns.
  • dc)/ will generate the patterns "abba”, “abdc", “cdba” and “cddc”. AU of the generated patterns may then be inserted into the pattern tree and their translation commands programmed to produce the same result.
  • a character class may be considered functionally equivalent to alternation of single characters. If there are many alternate characters in an expression, the character class may be chosen since it may implement the expression more efficiently.
  • the character class may be implemented by assigning a "character class number" to the expression. Each character in the character class may then be used as an offset into the "character class table” in order to set a bit representing that character.
  • a character class event is sent to the position context.
  • Character class methods may have an anchor string which establishes the position in the position context and which may also trigger the character class. Such a trigger may enable the selected character class in the character class detector.
  • the CC command for this expression would have both the low range and high range values set to OxFFFF and the NEGATE bit may be cleared.
  • the negative character class may be handled in the same manner as the character class except that the character values used for detection may be the values not listed in the square brackets.
  • the expression /[ ⁇ abc]/ matches every character value except for 'a', 'b' and 'c'.
  • the present invention may extend its teachings to matching repetitive patterns. Patterns larger than one character that are repeated using quantifiers may be implemented by unwinding the repetition and inserting the resulting patterns into the pattern tree. The following scenarios are possible.
  • the expression /(patternl) ⁇ x ⁇ / - may be unwound to the string "abcabcabc".
  • the node representing the last character may be the terminal node.
  • the pattern may be unwound to at least the minimum value x + 1.
  • the links can then be looped back to repeat the pattern.
  • the expression /(abc) ⁇ 3, ⁇ may unwind to the string "abcabcabcabc".
  • the link at the last character will loop back to the last 'b' upon detecting an 'a'.
  • the minimum unwound pattern must not be a subset of another pattern, and the unwinding should continue until the pattern is no longer a subset of another pattern.
  • this type of quantifier occurs at the end of the regular expression, in the example implementation, it may be reduced to ⁇ x ⁇ because continuing to search beyond x matches does not change the match status. It may, however, affect the final position of the match.
  • the expression /(ab) ⁇ 2, ⁇ / may actually be implemented as /(ab) ⁇ 2 ⁇ /, and when searching the string "abababababac", will produce a match at the position of the second 'b'. But, the match position should have been the last 'b' character. If there are no more position dependent patterns after the regular expression such as a string test command, the match position is not used and hence does not affect the search.
  • repeating patterns with alternation may also implemented by unwinding the patterns.
  • multiple patterns are generated because each repetition causes a replication due the alternation.
  • the expression /(abc)def) ⁇ 3 ⁇ / unwinds to 8 strings "abcabcabc", “abcdefabc”, abcdefdef ', "defabcabc”, defdefabc”, "defdefdef , defabcdef ', "abcabcdef .
  • the patterns in this case may also unwound at least x + 1 times, and links are added in order to loop back to the last pattern.
  • the difference, in the example implementation, is that in this case, the link must be made to a node that matches the last pattern.
  • the patterns in this case cannot be a subset of other patterns in the tree.
  • This type of quantifier may also be reduced to ⁇ x ⁇ when encountered at the end of the regular expression. Therefore the expression /(abc
  • the patterns in this expression may be unwound exactly y times and may thus produce multiple patterns because of the alternation.
  • this quantifier is used at the end of the regular expression, it may be reduced to ⁇ x ⁇ .
  • def) ⁇ 3,5 ⁇ / may implemented as /(abc
  • the patterns when matching the wildcard (dot) character repetitively with the s modifier, the patterns may be treated as position dependent strings.
  • the patterns may be inserted into the pattern tree and then associated with relative positions stored in the position events table. In these instances, the following scenarios are possible:
  • the expression (/abc. ⁇ x ⁇ def/s) may be translated into the string "abc" and "def '.
  • the string "abc” may be configured to a generate position event from the event translation table. The position event will invoke a PCMD_START command with all ones in the range field (indicating no range limits).
  • the string "def may be configured to generate a position event that will execute the command following the PCMD_START command. That location is programmed with a PCMDJSfEXT command and both range fields are set to x. It is evident that this is functionally equivalent to relative positioning of strings using content options such as "distance:x; with ⁇ rx;”.
  • the expression (/abc. ⁇ x, ⁇ def/s) may be translated into the string "abc" and "def.
  • the string "abc” may be configured to generate a position event from the event translation table. The position event will invoke a PCMD_START command with all ones in the range field (indicating no range limits).
  • the string "def may be configured to generate a position event that will execute the command following the PCMD_START command. That location is programmed with a PCMDJSfEXT command and both low range field is set to x and the high range field is all ones. It is evident that this is functionally equivalent to relative positioning of strings using content options such as "distances;”.
  • the expression (/abc. ⁇ x,y ⁇ def/s) may be translated into the string “abc” and "def” .
  • the string “abc” may be configured to generate a position event from the event translation table. The position event will invoke a PCMD_START command with all ones in the range field (indicating no range limits).
  • the string "def may be configured to generate a position event that will execute the command following the PCMD_START command. That location is programmed with a PCMD NEXT command and both low range field is set to x and the high range field is set to y. It is evident that this is functionally equivalent to relative positioning of strings using content options such as "distances; within:y;.
  • the dot when matching the wildcard (dot) character repetitively without the s modifier, the dot may be replaced with the negative character class [ ⁇ ⁇ n] and the patterns will produce position dependent strings.
  • the patterns may be inserted into the pattern tree and then associated with relative positions stored in the position events table.
  • a character class trigger may be invoked when the wildcard is to be matched.
  • ⁇ x ⁇ / translates to /[ ⁇ ⁇ n] ⁇ x ⁇ / -
  • this may be implemented with the character class detector via a PCMD_CC command in the position events table.
  • the PCMD_CC command may be programmed with x in the MIN and MAX field.
  • a match occurs if a character class event for [ A ⁇ n] is not detected before processing MAX number of characters.
  • the search may be terminated if a character class event for [ ⁇ ⁇ n] is detected before processing MIN number of characters.
  • /. ⁇ x, ⁇ / translates to /[ ⁇ ⁇ n] ⁇ x, ⁇ / -
  • this may be implemented with the character class detector via a PCMD-CC command in the position events table.
  • the CC command may be programmed with x in the MIN and MAX field.
  • a match occurs if a character class event for [ ⁇ ⁇ n] is not detected before processing MAX number of characters.
  • the search may be terminated if a character class event for [ A ⁇ n] is detected before processing MIN number of characters.
  • /. ⁇ x,y ⁇ / translates to /[ A ⁇ n] ⁇ x,y ⁇ / -
  • this may be implemented with the character class detector via a PCMD_CC command in the position events table.
  • the PCMD_CC command will be programmed with x in the MIN and y in the MAX field.
  • a match occurs if a character class event for [ ⁇ ⁇ n] is not detected before processing MIN number of characters.
  • the search may be terminated if a character class event for [ ⁇ ⁇ n] is detected before processing MIN number of characters.
  • the expression can be implemented by unwinding it.
  • This method may be seen as being similar to using quantifiers on patterns except that in this case, the patterns are single characters.
  • the expression /a ⁇ 3 ⁇ / may be unwound to the string "aaa”.
  • the expression /a ⁇ 2, ⁇ / may be unwound to the string "aaaa” where a link is used to loop back to the repeated character.
  • the same restriction may apply when the quantifier appears at the end of the regular expression.
  • the expression /a ⁇ 2, ⁇ / may be reduced to /a ⁇ 2 ⁇ /.
  • a character class requires that an anchor string or anchor pattern precede it, and this is due to the need to trigger character classes.
  • the position context needs an anchor pattern to establish the position context and to trigger the character class. Examples of expressions that violate this requirement may include ⁇ w+ ⁇ s/, /[ ⁇ ⁇ n] ⁇ 3, ⁇ s/ or ⁇ d+ ⁇ s/. But note that a character class may be allowed at the beginning of the expression if it can be unwound. In an example, the expression ⁇ sGET/ may be unwound to produce the strings " GET" and " ⁇ tGET ⁇
  • a character class may be instantiated by placing a PCMD_CC command after an anchor pattern in the position events table.
  • the PCMD_CC command parameters may be used to specify the valid ranges for detecting character class events.
  • the anchor pattern is detected, the command for the anchor pattern is invoked and will also trigger the character class.
  • the position context may, in this implementation wait for a character class event until MAX position is reached.
  • examples of the patterns in these scenarios may include: /[characters] ⁇ x ⁇ / -
  • the character class detector may load [characters] (i.e. the set of byte values that are not included in [characters]) in the character class table.
  • the PCMD CC command may then inserted in the position events table immediately after the anchor pattern and set min position to x and max pos to x.
  • the character class detector may load [characters] (i.e. the set of byte values that are not included in [characters]) in the character class table.
  • the PCMD_CC command may then inserted in the position events table immediately after the anchor pattern and set min position to x and max pos to OxOFFF.
  • the character class detector may load [characters] (i.e. the set of byte values that are not included in [characters]) in the character class table.
  • the PCMD_CC command may then inserted in the position events table immediately after the anchor pattern and set min position to x and max pos to y.
  • the character class detector may load [characters] (i.e. the set of byte values that are not included in [characters]) in the character class table.
  • the PCMD_CC command may then inserted in the position events table immediately after the anchor pattern and set min position to x and max pos to y.
  • the character class detector may load [characters] (i.e. the set of byte values that are not included in [characters]) in the character class table.
  • the PCMD_CC command may then inserted in the position events table immediately after the anchor pattern and set min position to x and max pos to OxOFFF.
  • the character class detector may load [characters] (i.e. the set of byte values that are not included in [characters]) in the character class table.
  • the PCMD_CC command may then inserted in the position events table immediately after the anchor pattern and set min position to x and max pos to y. [00340] Note that the minimum and maximum fields in the PCMD_CC command may in this example implementation, limit the quantifiers to 4000 or less.
  • the negative character class may also use the character class detector.
  • the expression /name:[ ⁇ ⁇ n] ⁇ x ⁇ / may be implemented by partitioning the string into the pattern "name:” and the character class [ ⁇ ⁇ n] ⁇ x ⁇ .
  • the pattern "name:” will generate a position event that will establish the position context for the character class, and the position event invokes the PCMD-START command.
  • the next command may be read — this will be will be a PCMD_CC command which initiates a character class trigger and specifies the limits x and y.
  • a character class event may also generated (that is, when one of the characters inside the brackets is detected).
  • the character class event may be compared with the limits x and y, and if the character class event is within the position limits, the next command may then be read and executed. If a character class event is not detected when the current position reaches the maximum limit, a match is assumed and position context is updated with the maximum limit. The next command is then read and executed.
  • an action rule 450 may be considered to have one or both of the following two rule components: 1) a header rule 452 which describes an aspect of a header such as protocol type, source address, destination address, source port, destination port, TCP direction, and so forth; and 2) a content rule 454, which relates to a payload.
  • a header rule 452 which describes an aspect of a header such as protocol type, source address, destination address, source port, destination port, TCP direction, and so forth
  • a content rule 454 which relates to a payload.
  • the action rules 450 may, in the present description, be applied to in response to individual packets, the determination as to whether a packet satisfies a given rule may additionally depend not only on that packet's contents but also on those of other packets.
  • every action rule 450 includes a header rule 452, but not all action rules include content rules 454.
  • header rules 452 may be divided between "focused” and "promiscuous.”
  • a "promiscuous" header rule may be understood (in the context of the present example implementation) to refer to those header rules that are satisfied by a packet but such that that packet also satisfies other header rules, including other promiscuous header rules.
  • a "focused" header rule may be understood (again in the context of the present example implementation) to refer to those header rules that are satisfied only by a packet that satisfies no other focused packet rule, but such that that packet may additionally satisfy one or more promiscuous header rules.
  • a header may satisfy, the example implementation may employ a "Header-ID" that 1) explicitly identifies the focused header rule that the header satisfies; and 2) encodes the combination of promiscuous rules it satisfies.
  • Fig. 18 depicts one format that may be used for this purpose. Note that the format depicted in Fig.18 requires only 32 bits, but any other configuration may be used. ,
  • the Header-Number identifies the focused header rule that the header associated with the subject satisfies. More precisely, its Header-Offset portion is the first number in a range of numbers that identify action rules 450 of which that focused header rule 452 is a component.
  • the numbers that may used to identify action rules may be such that they reflect the composite, header/content nature of the relevant action rule 450; the most- significant bits identify the header rule 450, and the least-significant bits specify a choice among the content rules 454 that may be mated with that header rule to make up an action rule 452.
  • Header-Number's Header-Mask field conveys how many most-significant bits represent identify the header rule 452 and, consequently, how many least-significant bits identify which of the possible mating content rules 454 are intended.
  • Fig. 18 shows the valid bits in the Header-Offset for each possible Header-Mask value.
  • the Header-ID may not need to specify any other focused header rule 452. But note also that packet's headers may satisfy several promiscuous header rules, and so the Header-ID must specify them. In practice, however, the total number of promiscuous rules may be relatively small. Moreover, only a very small fraction of the theoretical number of combinations of those rules may actually occur. Implementations of the present invention may take advantage of this fact by using the Header-ID' s Overlap-Number field to identify which of a number of preconfigured sets of promiscuous header rules 452 also match the current packet.
  • the contents of the Overlap-Number field may be used to address a 256 x 32-bit bitmap that may be integrated with a correlation module.
  • the purpose of this correlation module may be to determine which action rules 450 the packet satisfies.
  • the values in this field may be used by the correlation module to determine if patterns detected in the scan are relevant to this packet. Perhaps only patterns associated with Header-Numbers specified in this field are considered when correlating patterns to the rule set.
  • the M bit in the HEADER- ID may be set to indicate a rule match solely based on the header fields.
  • the example pattern-detection circuitry may insert a header alert in the results message when the M bit is set.
  • the PT field may, in the example implementation, indicate the packet type of the current packet. This field may be derived from the protocol type field in the IP header. The following table describes the encoding for the PT field.
  • the header match table above may be used, in the example implementation, to search for header matches.
  • the header match table may use the Header-ID from the packet header to determine the matching Header Numbers.
  • Each rule event and position event generated from the event translation table is compared to the Header-Numbers to filter out events that may be irrelevant based on the header rules matching performed.
  • Header-Numbers may be specified with the Header-ID.
  • the Header-ID may contain a Header-Number and an -Overlap-Number, as shown in Fig. 18.
  • One Header-Number may be obtained directly from the Header-ID and loaded into Header-Number RegisterO.
  • the other 32 Header-Numbers may be selected via a 256 entry bitmap with 32 bits in each entry.
  • the Overlap-Number may then be used as an offset into the bitmap memory to retrieve a bitmap entry.
  • Each bit in the bitmap entry is associated with a Header-Number Register. When the bit is set, its associated Header-Number Register may be judged to be valid and may thus be used when checking rule events. If the bit is cleared, its associated Header-Number Register is not used during compares.
  • Header-Number Registers 1 through 32 may be configured at the time the rule set is updated.
  • the Header-Number may consist of a 14 bit Header-Offset field and a 4 bit Header-Mask field.
  • the Header-Mask indicates the number of valid bits in the Header-Offset field.
  • the comparison operation is performed by comparing the valid bits in the Header-Offset to the equivalent bits in the RULEJSTUMBER in the rule event. If all of the valid bits are equal, than the event ID matches the Header-Number.
  • a rule event is passed on as a matching rule event if the RULE JSfUMBER matches any of the valid Header- Numbers.
  • Header-ID In the present example implementation, suppose a value of 0xl541_0002 is used for the Header-ID and the bitmap entry for offset 0x02 is 0x0000_0001.
  • Header-Number Register 1 contains a header offset of 0x2388 and a Header- Mask of 0x3.
  • the Header-ID will produce a Header Offset of 0x0550 and a Header Mask of 0x4 which is loaded into Header-Number Register 0.
  • the overlap number from the Header-ID is 0x0002.
  • the overlap number is used as an offset into the bitmap to read entry at bitmap offset 0x02.
  • the table entry at offset 2 has only one bit set.
  • Header-Number Register 1 With bit zero set, Header-Number Register 1 is enabled. All other Header-Number Registers are disabled.
  • a match event arrives with an event number of 0x0333, it is compared to Header-Number RegisterO by masking out the invalid bits and comparing only the valid bits. The event number is changed to 0x0330 by the Header-Mask of Header-Number RegisterO.
  • a comparison of bits [14:4] of the event number and the Header-Offset results in no match.
  • the same sequence is performed for Header-Number Register 1 which also results in no match.
  • a match event arriving with an event number of 0x0553 will match since masking it with the Header-Mask will produce 0x0550 which is equal to the Header-Offset.
  • This scheme is based on the fact that, in practice, most header rules do not overlap. When there are overlaps, the number of overlapping header rules may be relatively small. In the present example implementation, 32 overlapping header rules are supported so that the complete rule base can only have 32 overlapping header rules. But in the present example implementation, if more overlapping Header-Numbers are needed, the Header-Numbers can also be selected based on protocol type. In this case, the Header-Number registers 1 through 32 will consist of 4 Header-Numbers. Thus, each Header-Number register is still enabled by the bitmap but the packet type may be used to select one of the four Header-Numbers in each register. Note, however, that Header-Number Register 0 is not affected by these variations.
  • the teachings of the present invention may include processing of data flow 444 using replay.
  • many protocols for example, in TCP
  • messages may be sent in multiple packets.
  • the message may be reassembled at the destination from the individual received packets.
  • the data flow to be examined may not be present in a single packet.
  • the packets may not arrive consecutively, and the packets from a single message may be interspersed amongst packets for other messages.
  • the present invention provides methods, illustrated in the present example implementation, for achieving these goals by buffering message data and executing patterns searches within those assembled messages (as described in the foregoing) without disrupting the TCP protocol.
  • the methods that may be applied in the present example implementation include techniques for buffering forwarded data and for intelligently releasing buffers.
  • the pattern- detection circuitry may request a replay of the current packet with the next packet of the TCP flow (other protocols may support similar invocations). This operation is implemented in a recursive fashion; that is, after the replaying of 2 packets, the pattern-detection circuitry may then indicate that it requires another replay of the original 2 packets plus a third.
  • the pattern-detection circuitry may issue replays when it encounters a partial rule match (that is, when a signature straddles more than one packet), and/or when it needs to perform some protocol preprocessing that requires inspecting strings that span more than 1 packet.
  • a partial rule match that is, when a signature straddles more than one packet
  • the BIF will always forward the packet when a replay is requested and store a copy in the TQUEUE.
  • Fig. 20 provides an example, in the context of the example implementation, of a two-packet replay. In this example, the following steps are executed:
  • the BIF strips the L2 header and appends a BIF_2_CSF Header on Packet "A" and sends to the pattern-detection circuitry.
  • the "C” bit is set, enabling the replay function in the pattern-detection circuitry if the pattern-detection circuitry detects conditions that warrant a replay.
  • the length of the packet, excluding the L3 (IP) and L4 (TCP) headers is "n" bytes.
  • the pattern-detection circuitry generates a result in the CSF-RSLT message back to the BIF.
  • the returned offset (START_OFFSET) is set to 0x0. This indicates that the BIF should replay this packet with the next packet of the TCP flow (which is indicated by the same FLOWJD).
  • the BIF receives packet "B”, the next packet of the flow, strips its L2, L3, and L4 headers, and appends the payload to packet "A", which is in its original form. Both packets are sent as one CSF_PKT with a payload length of n+m. The "C" bit is once again set.
  • the pattern-detection circuitry scans the combined packet and returns a result.
  • the ST ART-OFFSET is set to n+m. Since the offset has advanced to the end of the combined packet, these packets do not need replaying anymore.
  • the BIF then sends packet "C" in a similar fashion to how packet "A” was sent in step 1). The process may then repeat.
  • the pattern-detection circuitry may also be possible for the pattern-detection circuitry to return a START_OFFSET that points to the middle of the payload of either the original sending of a packet (such as ⁇ in steps 1) or 5), above), and/or to the middle of one of the packets that were replayed (such as step 3), above).
  • the BIF will take the original L3 and L4 headers of the packet to be replayed and append the payload portion, starting at "START_OFFSET", and then the next packet will be appended as before. This combined packet will then be replayed to the pattern-detection circuitry.
  • the teachings of the present invention may encompass the inspection of data flows 444 to detect anomalous and/or malicious content within those flows.
  • the foregoing disclosure outlines the operations embodied by the invention in these operations, and paragraphs 89-219 outline one or more example implementations of the elements that may compose and/or may be associated with content search logic 312.
  • Fig. 21 depicts the simplified communications processing system to which the following example implementation may be applied. Note, however, that this simplification is presented for pedagogical purposes and should not be seen to limit and/or otherwise circumscribe descriptions and/or figures presented herein or elsewhere.
  • the simplified example system of Fig. 21 receives communications in form of packets 404 on which it performs various operations.
  • the system may treat the incoming traffic as divided into different "flows" characterized by respective features such as the node that receives the flow, the application (HTTP, SMTP 5 etc.), the payload (text, JPEG, etc.), other features, or combinations of those features, and among the system's functions may be to de-multiplex the incoming traffic into such flows.
  • data flow engine 308 may, in this example, represent the consolidated functionality that may perform this and/or other functions separate from the protection functions discussed below. Note that, with the exception of forwarding traffic, which may depend on such protection operations, the data flow engine 308 operations are not of interest in the following descriptions.
  • the flows may include content that may be considered “dangerous" and/or which may otherwise need to be specially monitored according to requirements of a particular instance of the following example implementation.
  • content search logic 312 one purpose of the functionality that may be embedded in content search logic 312 is to search the incoming flows for such signatures.
  • functionality associated with content search logic 312 may cause and/or signal some appropriate action, such as, for example and without limitation, preventing the offending flow from being forwarded.
  • the simplified example system of Fig. 21, may additionally include a behavior-analysis engine 2104.
  • behavior-analysis engine 2104 may attempt to find flows that differ (in some fashion) from those normally encountered (presumably benign) flows.
  • the behavior-analysis engine 2104 may be or be associated with the machine learning logic 314 and/or the machine learning acceleration hardware 318.
  • behavior-analysis engine 2104 may comprise a neural network for finding unusual flows.
  • the neural network may be an instance of any and all neural networks for finding unusual flows, pattern matching, and so forth. Such neural networks are described herein and elsewhere.
  • Some embodiments may use appropriately programmed general-purpose digital computers to implement the neural network (and/or other structures associated with and/or which may be embedded within behavior-analysis engine 2104). But some applications will require real-time filtering of high-speed data flows.
  • "Real-time" filtering may be understood to mean that the net functionality of the apparatus depicted in Fig.l executes its functionality such that any delay such a system may impose upon non-anomalous flows would be maximally transparent (that is, at least small enough) to permit proper (that is, normal) operation of flows in the associated apparatus, but which also enable the system associated with the apparatus in Fig 1 to interrupt detected anomalies before they can do damage.
  • Fig. 22 depicts in simplified form one possible hardware arrangement of the behavior-analysis engine 2104.
  • the functions depicted in Fig 22 provide a pedagogical illustration of the following example implementation, and shall not be construed to limit, amend, and/or otherwise circumscribe previous depictions and/or descriptions conveyed in the foregoing paragraphs and figures.
  • the behavior-analysis engine 2104 may a complete, partial, or alternate embodiment of the data flow processor 310 and/or any other element of the flow processing facility 102 as described herein and elsewhere.
  • a packet parser 2206 may divide the input ("traffic in 2204"; which, in embodiments, may be “the packets 402") into “chunks” from which the system may extract respective feature vectors.
  • a typical "chunk” may be an Internet Protocol ("IP”) datagram or other link- or other-level protocol data unit.
  • IP Internet Protocol
  • packet parser 2206 may divide those "chunks" into header and payload portions, from which header analyzer 2208 and content analyzer 2210 may extract the features in different ways, as outlined in the following description.
  • Header analyzer 2208 may extract features that may include, without limitation, the various fields within the IP header and/or with an encapsulated transport-layer header.
  • header analyzer 2208 may also derive other features from statistics taken over multiple "chunks". Examples of such other features may include, without limitation, connection time, and/or requests per unit time, and/or average request and response sizes, and/or number of connection per unit time, and/or the number of connections to the same destination per N connections, and/or the multicast-to-unicast and unicast-to-multicast traffic distributions.
  • Certain implementations may require that such "multiple-chunk" quantities be processed on a per-flow basis, but, as mentioned in foregoing paragraphs (see paragraphs 213 and 214 above), packets 402 that carry data for a given flow may arrive out of order and/or may be interspersed with packets that carry data associated with other flows.
  • the feature-extraction operations detailed (in simplified fashion) in Fig 22 may, therefore, need to reorder and/or reassemble those packets.
  • Header analyzer 2208 and Content Analyzer 2210 may, in any implementation, provided Header RAM 2212 and Payload RAM 2214 (where RAM may be understood to also include any read/write capable device) within which data may be accumulated for the purpose of re-ordering and/or reassembling packets.
  • the example implementation may not only extract raw features from traffic in 2204, but may also normalize their values, as blocks normalize 2218 and normalize 2220 indicate. (Note that this functionality may be related to aspects of the invention that are conveyed by Fig. 4, and its descriptions, where blocks normalize 2218 and normalize 2220 may produce and/or may modify and/or may be associated with normalized data 428 and related functionality within data flow engine 308).
  • the purpose of normalization may be to maintain inter-process sensitivity in the distance criteria (as described in the following paragraphs) within processing that may be associated with the neural networks 2224. Note, however, that some embodiments of the present invention may dispense with normalization. But note also that, in implementations in which neural networks 2224 (and associated processes) may require normalization, the alignment functionality provided by normalization may be accomplished in any number of ways, and/or may employ any number of techniques similar to normalization. Any of these cases may be understood as being embodied in the present example implementation by means of the blocks normalize 2218 and normalize 2220.
  • blocks normalize 2218 and normalize 2220 may express the magnitudes of any and/or all of the components extracted from "traffic in" 2004 and which may be delivered by means of header analyzer 2208 and/or content analyzer 2210. These quantities may be expressed in terms of numbers of standard deviations, but many other representations may be employed. The result of these processes may be a sequence of feature vectors applied to neural networks 2224.
  • the functionality embedded within neural networks 2224 may optionally be configured to operate on multiple flows concurrently, and in these cases, (as shown in Fig. 22) a multiplexer/finite-state-machine module (mux FSM 2222) may marshal the resultant feature vectors in manner and/or in a configuration appropriate to the neural networks 2224.
  • a multiplexer/finite-state-machine module (mux FSM 2222) may marshal the resultant feature vectors in manner and/or in a configuration appropriate to the neural networks 2224.
  • implementations may optionally integrate finite-state machine (result fsm 2230) which may marshal the output from neural networks 2224 for use by subsequent circuitry and/or processes.
  • each of what may be multiple neural networks 2302 may contain J "neurons" 2304.
  • Neurons 2304 may be treated as being spaced apart from each other in a virtual (typically but not necessarily two-dimensional) space, and, as discussed in the following paragraphs, operations related to functionality provided by this implementation may depend on and/or may be influenced by the different "distances" between various neurons.
  • the features applied to the neural network 2224 have been extracted from headers of an example flow (traffic in 2204).
  • the present example implementation may utilize more than one separate neural networks 2224, such that one or more neural networks 2224 may operate on header(s) from a flow, and one or more neural networks 2224 may operate on the payload of that flow.
  • the function of theyth neuron 2304 may be to compute a quantity d j .
  • Each neuron may be characterized by a respective "weight" vector W j [W 1 , W 2 , . . . W/] ⁇ .
  • the dimension of "weight" vector Wj is the same as the dimension of the input feature vectors, and the quantity dj may, therefore, indicate how much weight vector Wj differs from the input feature vector F ⁇ f ⁇ ,f ⁇ , ⁇ . .fi] ⁇ .
  • the measure used to assess that difference may be, for example, the (scalar) Euclidean distance d ⁇ - between F and W j .
  • the result of the neural network's computations for a given input feature vector is a vector D [d ⁇ , d%, . . . dj] ⁇ whose components compose those differences.
  • each neuron 2304 may possess a separate, dedicated distance-computation circuit. Implementations may provide separate such complete sets of distance-computation circuitry for each of a plurality of simultaneously operating neural networks 2224. Moreover, some implementations may enhance the foregoing with separately addressable weight memories for each neuron 2304.
  • the neurons may be assigned their weight vectors during a "learning" phase.
  • neural networks 2224 “learn” (in one or more processes during which weights are adjusted) what may be considered “typical” (that is, non-anomalous) behaviors within data flows (as such behaviors may be characterized by the forgoing processes).
  • the thus-determined weights may then remained fixed (with exceptions to be described below) in a subsequent detection phase, in which neural network 2224 may be used to detect anomalous and therefore possibly malicious traffic.
  • Fig. 24 illustrates one example of this learning phase.
  • This example operation begins with initialization operation 2402.
  • each neuron 2304 may be randomly assigned a respective initial weight vector and a respective neighborhood, which may consist of all neurons 2304 that may be 'located' within some limit distance.
  • This neighborhood's size which may shrink as learning progresses, may initially be large, and in some cases may at first encompass all of the neurons 2304 in neural network 2224.
  • Initialization 2402 may also include adopting an initial gain value ⁇ , 0 ⁇ ⁇ ⁇ 1, whose purpose will become apparent in the following paragraphs.
  • this example implementation executes a loop in which it may operate on a sequence of feature vectors.
  • feature vectors may be obtained from (one or more) data flow(s) of the type that may be monitored during the detection phase.
  • the loop begins with process "receive feature vector 2404" which represents a process wherein the next such feature vector is input.
  • process "competition 2406” the neurons 2304 may "compete” in the following fashion (in this example implementation): computational circuitry in the neural network 2224 identifies as the "winner” the neuron 2304 whose weight vector is closest to the current feature vector.
  • the same gain value r ⁇ mentioned in the foregoing may be used. Note also that this value may be used for all neurons 2304 in the neighborhood, as well, but that in some implementations, other approaches may be employed. Some embodiments, for example and without limitation, may dispense with assigning neighborhoods explicitly but may instead use gains that vary as, say, a Gaussian function of distance from the winning neuron.
  • the routine may then adjust the gain function. This step is depicted in Fig. 24 by process "adjust gain 2410.” Note that in this example embodiment, this adjustment may be adjusted using one or both of the following techniques: 1) reduce the gain value ⁇ ; and/or 2) reduce the neighborhood size. (But note that many other techniques and/or combinations that may include the foregoing may be possible in this and other implementations.)
  • the criterion for deciding whether to change the gain function may not be critical, and many such criteria may be integrated in this and/or in other embodiments. That decision, for example, may simply derive from receiving a predetermined number of training vectors.
  • Other criteria may be based on the average distance- vector value in some sliding time window, or the number of vectors that have been processed so far.
  • the routine in the present example repeats the loop until some end-of-training criterion and/or criteria (tested for in the process "end of training 2412") have been met. There may be any number of criteria (and/or groups of one or more criterion) considered in the threshold function associated with process "end of training 2412". In some implementations, for example, the criterion may be that every weight vector's distance to the feature vector is less than some threshold, but there are many possible threshold possibilities depending on the context requirements of a particular implementation. In any event, when those criteria are met, the learning phase is over.
  • Fig. 25 depicts an example implementation of the detection phase.
  • neural net(s) 2302 thus trained may be used to detect anomalous flows.
  • the process "compute distance 2504" computes distances between weight vectors and feature vectors as described in the in the learning phase. (Note that, as in the foregoing, any number of methods may be used here.)
  • the weights remain fixed, and the computed distances (resulting from process "compute distance 2504") are used not to determine weight adjustments.
  • the computed distances are used to detect anomalies; if those distances meet some predetermined criteria, (which may compose one or more groups of criterion) the system may take some appropriate action, such as issuing an alert to other circuitry or to supervisory personnel.
  • some predetermined criteria which may compose one or more groups of criterion
  • the system may take some appropriate action, such as issuing an alert to other circuitry or to supervisory personnel.
  • test threshold 2506 and issue alert 2508 indicate, in this example implementation, an anomaly may be signaled if all distances exceed respective thresholds.
  • these distances and/or the related thresholds may be some number of standard deviations of the distances that may have been observed during training.
  • the packet parser 2206 may parse the input stream ("traffic in 2204") into a header, or "connection" portion and a payload, or "content” portion, and header analyzer 2208 and content analyzer 2210 may extract the features from those portions differently.
  • header analyzer 2208 and content analyzer 2210 may extract the features from those portions differently.
  • content analyzer 2210 in this example implementation, may use a modified version of the N-Gram algorithm.
  • a window size of, say, two bytes is adopted, and the window is advanced through the content payload chunk in steps of, say, one byte.
  • the algorithm takes a histogram of various sequences or groups thereof.
  • each feature in the content-feature vector corresponds to some sequence or group of sequences within the subject content, and the value (which may be normalized) of the corresponding histogram bin or bins composes the value for that feature.
  • the sequence "Papaya” results in a unity value for each of the histogram bins representing the two-byte sequences "Pa,” “ap,” “pa,” “ay,” and “ya” and in a zero value for all other histogram bins. If one of the features is the total of the values for the bins corresponding to "PA,” “Pa,” “pA,” and “pa,” then that feature's value (before normalization) will be two.
  • a chunk (typically, a packet) may be declared anomalous if either of the two neural networks detects an anomaly.
  • flow types may be classified in accordance with the functional element that receives the flow, including (but not limited to) the processes (and/or combinations of discrete processes) that deal with application (HTTP, SMTP, etc.), payload (text, JPEG, etc.), or other characteristics of data flow 444. In implementations, this may provide more accurate and customized modeling and, therefore, higher detection rates and very low false-positive rates.
  • high-speed circuitry for implementing the present invention may include separate distance-computation circuitry, as well as separately addressable weight memories, for each neuron.
  • the distance-computation circuitry for a given neuron may be provided memory not just for one weight vector but for multiple weight vectors.
  • neuron 2304 includes addressable memory 2602. This co-location may enable the same computation circuitry to act in different time slots as part of different concurrently operating neural networks that may be dedicated to respective different flow types. Specifically, as different flows arrive, corresponding different addresses may be applied to the weight memories from which the difference-computation circuits draw their inputs. In this manner, different SOM's may be implemented within the same circuitry. It will be appreciated that many variations on Fig. 26 may be possible.
  • example implementations may provide the ability not only to learn directly from a customer's network but also to implement incremental learning in a cost effective manner. In example implementations and without limitation, this may be accomplished by using multiple SOMs in such a fashion as to enable the neural networks to learn continually from the network while remaining in detection mode.
  • This example implementation embeds an apparatus that can gather incremental knowledge from the network and apply it to the knowledge of an existing SOM. (Note that this capability to add experiential knowledge to the SOM may also be applicable in real time intrusion detection systems.) Since customer behaviors may change over time, it is also necessary to integrate knowledge of these new and possible evolving conditions to the existing SOM. If a detected anomalous behavior turns out to be benign, for example, it may be desirable to include this new information into the existing SOM. Further, it may be desirable that that additional knowledge be added without losing and/or degrading and/or modifying existing knowledge. And yet, the existing knowledge may have been acquired during training that may have occurred months or even years ago. So, the network data that may have been used for that past training may not be available. It is for these reasons (and there may be many others) that it may be important to provide the capability to add incremental knowledge to existing SOMs.
  • Fig. 27 depicts an example implementation of a system that may provide the capabilities described in the foregoing.
  • This example apparatus may provide this functionality when deployed in-line; that is, it may be configured to continually learn new behavior from the network, but may also, at pre-defined times, add incremental knowledge to the existing SOMs.
  • the SOM that is in the detection mode may detect an anomaly, and may then form an "anomalous cluster.” This anomalous cluster represents new knowledge.
  • the reference vectors from this cluster (and not the actual network data) are then fed to another SOM.
  • the reference vectors of this incremental SOM along with the reference vectors of the SOM with the acquired knowledge (note that this SOM may be the exact copy of the detection SOM) are then fed into the new updated SOM.
  • the SOM is now trained with the new set of reference vectors as features.
  • the newly-trained SOM is now the SOM with the updated knowledge that is now used for detection. Note that, as an additional optimization provided in this example, since the new SOM is trained with the reference vectors whose dimensionality has already been reduced, the incremental knowledge acquisition process may be very fast.
  • SOM-based neural networks may reduce false positives to arbitrarily low numbers and may provide advanced logging capability. These enhancements enable high detection rates for unknown attacks while keeping the false positive rates to a minimum. (In practice, in some implementations, this rate has been observed to be as low as less than 1%.).%). At 10 Gb/s rates, however, even this level of performance could overwhelm the network administrator. Thus, the teachings provided by the present invention may be extended to include techniques that filter and correlate a large number of such events (>10K/s) and, as a result of these processes, may reduce these instances.
  • the present example describes a method and apparatus to reduce the false positive rates of the intrusion detection system using SOM neural networks. Note that designing intrusion-detection systems involves a tradeoff between the detection rates and the false-positive rates. If the detection rates are kept low, then low false positives can be limited, but then new- attack detection may be missed. If the detection rates are designed to be high so that more new attacks are detected, the false-positive rates can be unacceptably high.
  • a SOM- based neural network is described that may address these trade-offs by achieving low false- positive rates while keeping the detection rates for new attacks high.
  • Fig. 28 depicts an example implementation of this technique. As shown, this example includes an "anomaly-class" table 2802, which contains entries associated with respective neurons 2304. Each entry identifies neuron 2304 with which it is associated and may include counter and threshold fields.
  • the system receives network data, it extracts feature vectors (as described in the forgoing), (optionally) normalizes them, and applies them to the SOM lattice.
  • the SOM lattice finds anomalous behavior, it may not, in this case, interrupt the processes that are tasked to take action (such as issuing an alert) in the event such anomalous behavior is detected. Instead, in this example, the event is recorded by incrementing the counter-field contents in the table entry associated with the winning neuron (neuron 8 in Fig. 28) in anomaly- class" table 2802. A given attack will usually result in the same counter being incremented repeatedly. Monitoring software may read the anomaly-class" table 2802 periodically and but may reset the contents of the counter fields. In this manner, it is possible thereby to keep track of the rates at which various anomaly types occur, and, as a consequence, may issue an alert only if a thereby-monitored rate exceeds a value that the corresponding table entry's threshold field represents.
  • a data flow 444 may be handled by a flow processing facility 102, which may be incorporated into or associated with a unified threat management application 520, or which itself may perform various unified threat management actions.
  • the unified threat management application 520 or action may encompass one or more applications or actions normally included in or associated with unified threat management, including one or more of a firewall-related application or action, including updating a firewall application 514; an intrusion prevention system application 518 or action; an anti- virus application 522 or action; a URL filter application 524 or action; an anti-spam application 528 or action; another unified threat management application 530 or action, an intrusion detection system application or action, an anti-spyware application or action, an anti-phishing application or action, and so on.
  • one or more of these unified threat management applications 520 may, consecutively or simultaneously, process the data flow 444 or a representation thereof. This processing may be directed at providing a feature, function, or service that is generally associated with unified threat management.
  • the flow processing facility 102 may provide a unified threat management feature, function, or service as it relates to a data flow 444 by routing the data flow to a unified threat management application 520.
  • one or more actions related to unified threat management may be embodied in the flow processing facility 102, as illustrated by examples to follow.
  • a data flow 444 may be processed by the flow processing facility 102 to identify patterns in the data flow 444, such as by using a set of artificial neurons, such as a neural network or the self-organizing maps described above. Patterns in the data flow 444 may be recognized that are relevant to identification of a wide range of threats to the network, including the threats managed by unified threat management applications 520.
  • the flow processing facility 102 may be configured to identify, and take action with respect to, data flows 444 that contain patterns that suggest the existence of various types of threats.
  • the data flow processor 310 described herein may also include content search logic 312, which may explicitly implement pattern recognition using regular expressions (in one preferred embodiment the pattern recognition is embodied by an optimization of the Aho-Corasick algorithm).
  • pattern recognition in certain preferred embodiments, may consist of applying a set of artificial neurons such as a SOM or neural net, processing an output of the set of artificial neurons (e.g., the fingerprint 448), and performing a regular expression pattern match on packets of the data flow 444, or any combination or sub-combination of the same.
  • the flow processing facility 102 may be used to in association with a firewall application 514.
  • the firewall application 514 of this simplified example may be associated with TCP/IP and UDP/IP data flows 444.
  • the flow processing facility 102 may receive such data flows and test them (such as via pattern recognition using the SOM, or otherwise according to the various embodiments described herein) for malicious or malformed TCP/IP or UDP/IP headers (which may be encompassed by a TCP/IP or UDP/IP packet 402), malicious or malformed TCP/IP or UDP/IP packets 402, or any other TCP/IP or UDP/IP packet 402 or header of a questionable nature.
  • the flow processing facility 102 or firewall application 514 may also conduct a test that checks a blacklist and white list to determine whether a given packet should be summarily allowed or denied passage through the firewall application 514.
  • the white list or blacklist may specify a destination IP address, a source IP address, a source port, a destination port, a time of day, a direction of transmission, or any other aspect of a TCP/IP or UDP/IP data flow.
  • the firewall application 514 or flow processing facility 102 may allow or deny the packet 402 or the data flow 444.
  • the firewall application 514 may employ stateful/state-sensitive packet inspection or stateless packet inspection.
  • the application accelerator 504 may enable the firewall application 514 or may expedite processing associated with the firewall application 514.
  • the RAM 510 or other memory facility may contain an operative part or any part of the application 514 and the CPU 508 may process an operative part of the application 514. It will be appreciated that the firewall application 514 in general embodiments may process other types of data flows 444 and may not in any way be limited to processing just the network and transport layers of the Internet protocol stack.
  • the flow processing facility 102 is used to enable or support an intrusion prevention system application 518 or to enable or support an intrusion prevention action.
  • the intrusion prevention action is accomplished by the flow processing facility 102, such as simultaneously with accomplishing other actions.
  • the flow processing facility may be embodied in the intrusion prevention system application 518.
  • the intrusion prevention system application 518 or action of this simplified example maybe associated with preventing malicious network traffic.
  • the flow processing facility may, among other things, test a data flow 444 for indications of an unauthorized attack on, access of, or use of an element of the networked computing environment 100.
  • unauthorized actions are associated with a hacker, a virus, a Trojan horse, a worm, spyware, phishing, and so forth using, for example, pattern recognition, such as using the SOM-based neural net or similar processing facility as described herein.
  • the flow processing facility 102 may test the data flow 444 for unauthorized actions, such as those that are driven by a virus or those that have characteristics of a hacker's attack on a network.
  • the flow processing facility 102 may test for a misuse or an anomaly embodied in the data flow 444.
  • the flow processing facility 444 may provide access control for any of the elements of the networked computing environment 100.
  • the application accelerator 504 may enable this access control or may expedite processing associated with providing this access control.
  • the RAM 510 may contain an operative part or any part of an associated intrusion prevention application 518 and the CPU 508 may process an operative part of the application 518.
  • the intrusion prevention system application 518 or the flow processing facility 102 may differ from the firewall application 514 in that the intrusion prevention application 518 or flow processing facility 102 may provide access control based upon application-level content in the data flow 444. It will be appreciated that the intrusion prevention system application 518 or flow processing facility 102 in general embodiments may process any aspect of a data flow 444 in the manner described throughout this disclosure and is not in any way be limited to processing just the application- level content in the data flow 444.
  • unified threat management is enabled by a flow processing facility 102 that is incorporated in or associated with an anti- virus application 518 or that enables an anti-virus action, such as in processing a data flow 444 to recognize patterns that are associated with viruses.
  • the anti- virus action of this simplified example may be associated with preventing a virus that is embodied in the data flow 444 from transiting the flow processing facility 102.
  • the anti- virus action may test a data flow 444 for the presence of a virus, such as by matching a component of the data flow 444 to patterns associated with viruses, such as using a SOM-based neural net or other facility for recognizing patterns as described herein.
  • the test may further involve the use of a dictionary, look-up table, database, external data source, or similar facility containing viruses, information about viruses, names of viruses, signatures of viruses or other data indicative of whether a segment of code is a virus or part of a virus.
  • the application accelerator 504 may expedite the test, by embodying some or all of the logic required to compare the contents of the data flow 444 to the virus indicator.
  • the RAM 510 may contain, for example, a dictionary or look-up table (or other data facility) and an operative part of the anti-virus application 522.
  • the CPU 508 may process the operative part of the application 518 in association with, for example, a dictionary or look-up table.
  • Other embodiments of the anti-virus application 522 will be appreciated and all such embodiments are intended to fall within the scope of the present invention.
  • unified threat management is enabled by a flow processing facility 102 that is incorporated in or associated with a URL filter application 524 or that accomplishes a URL filtering action.
  • URL filtering in this example may be associated with preventing access to particular URLs, wherein a data flow 444 contains them or contains an attempt to access them.
  • the flow processing facility 102 (which may be a SOM-based flow processing facility) may process a data flow 444 in order to recognize patterns that suggest the presence of a URL or a request to access to a URL, such as one that is in a blacklist or that is otherwise suspect.
  • the request is embodied as an HTTP GET.
  • the blacklist may be a text file, an XML file, a relational database, or any other embodiment of a blacklist. If an offending request is found, the URL filter application 524 may deny that request, such as by dropping the request from the data flow 444 and/or by transmitting an "access denied" message to the facility that originated the request. In one example, without limitation, this message may be embodied as an HTML page.
  • the application accelerator 504 may expedite the test, by embodying some or all of the logic required to compare the contents of the data flow 444 to the blacklist.
  • the RAM 510 may contain the blacklist and an operative part of the URL filter application 524. The CPU may process the operative part of the application 518 in association with the blacklist. Other embodiments of URL filtering will be appreciated and all such embodiments are intended to fall within the scope of the present invention.
  • unified threat management is enabled by a flow processing facility 102 that is incorporated in or associated with an anti-spam application 524 or that accomplishes an anti-spam action.
  • the flow processing facility 102 of this example may be associated with preventing e-mail spam that is embodied in a data flow 444 from transiting the flow processing facility 102.
  • the flow processing facility 102 may test a data flow 444 for the presence of spam, such as by recognizing one or more patterns that are associated with spam, such as by using a SOM-based neural net or other pattern recognizing facility as described herein.
  • the flow processing facility 102 or anti-spam application 524 may further involve one or more of the following: checking a DNS blacklist; checking a DNS white list; utilizing a content-based filter; statistical filtering; checksum-based filtering; authenticating a sender of an e-mail; checking the reputation of a sender of an e-mail; checking a ham password; a cost-based system; a heuristic filter; a tar pit; a honeypot; a challenge/response system or method; a Bayesian filter; and so forth. If the result of the test is affirmative, then spam has been found.
  • the anti-spam application 528 or flow processing facility 102 may, without limitation, drop the data flow 444; remove the spam from the data flow 444, leaving the rest of the data flow 444 intact; alter the spam, such as by inserting a message into the subject line of the spam e-mail, so that the recipient can easily identify the spam as such; and so forth.
  • the application accelerator 504 may expedite the test, by embodying some or all of the logic required to conduct it.
  • the RAM 510 may contain an operative part of the anti-spam application 528.
  • the CPU may process the operative part of the application 528.
  • Other embodiments of the anti-spam application 528 will be appreciated and all such embodiments are intended to fall within the scope of the present invention.
  • unified threat management is provided by a flow processing facility 102 that is incorporated in, or associated with another unified threat management application 530 or that accomplishes another unified threat management action.
  • This application or action may be any application or action providing or associated with an aspect of unified threat management.
  • the application accelerator 504 may be used in association with this application 530, such as by providing a hardware implementation of logic that expedites the execution of the application 530.
  • the RAM 510 may hold data associated with the application 530, including an operative part of the application 530.
  • the CPU 508 may process the operative part of the application 530 and the data that is associated with the application 530.
  • the other application 530 is intended to encompass any and all unified threat management applications 520 and any and all aspects of a unified threat management application 520 that will be appreciated but that may not be described in detail or mention in the present disclosure or in the documents included herein by reference. AU such applications 520 and aspects of applications 520 are intended to fall within the scope of the present invention as they used in or adapted for flow processing facility 102.
  • the flow processing facility 102 may facilitate content inspection as applied in a unified threat management application at the network layer.
  • content inspection of a network layer packet payload may reveal problems that can be addressed by the UTM application.
  • the content search logic 312 of the flow processing facility 102 may be used to inspect the payload of a network layer packet to detect strings that may match a form of invalid application layer packet header. A network layer packet with such a violation may be acted upon by the UTM application to prevent the packet from reaching the network, and any and all connection or data flow 444 associated with the packet may be terminated or dropped.
  • the UTM application may be facilitated by the techniques, methods, features, and systems herein described for applying the flow processing facility 102 to content inspection.
  • content inspection including, without limitation, packet-payload-based behavioral analysis and matching
  • the flow processing facility 102 can be configured in a network to inspect content such that threats within payloads that can be detected by content matching can be prevented. Threats that compromise the integrity of one or more network protocols may be detected by the flow processing facility 102 through content matching of packets associated with the protocol.
  • the network processor module 210 elements and application processor module 212 resources may be applied to network traffic to detect protocol compromising packet payloads as the packets flow through the flow processing facility 102 (substantially in real-time).
  • Network traffic associated with a port may be monitored by the flow processing facility 102 with content inspection to ensure any payload destined for the port (or originating in the port) does not include threats, viruses, spam, or other intrusions detectable by applying content matching.
  • system resources such as system files, user passwords, NMS, NEMS, and other key resources may be protected from attack by applying content matching to network traffic packet payloads.
  • the resources of the flow processing facility 102 such as the network processor module 210 elements (e.g.
  • the data flow engine 308, the data flow processor 310, the content search logic 312, the machine learning logic 314, and/or the machine learning acceleration hardware 318) and the application processor module 212 elements may be configured as herein described to provide a unified threat management solution covering packet header and payload inspection.
  • the flow processing facility 102 and its unified threat management applications 520 are in no way limited by the examples that are provided herein. All possible embodiments of unified threat management actions or applications 520 within or associated with the flow processing facility 102 are intended to fall within the scope of the present invention. Although some of the following examples of unified threat management applications 520 and action may be simplified for illustrative purposes, this simplification is for the purpose of illustration and not limitation.
  • the flow processing facility 102 may embody, include, or encompass the architecture.
  • the architecture may comprise a chassis 218 with power supplies 220, fans 222, backplane 224, and slots 214. Into each of the slots 214 a module 208, 210, 212 may be inserted. From each of the slots 214 a module 208, 210, 212 may be removed.
  • the architecture may support the reconfiguration of hardware through the rearrangement of modules within the chassis 218.
  • the architecture may comprise a rack-mount module, but not a chassis 218.
  • modules 208, 210, 212 may be permanently installed in the rack-mount module and may not be so easily removed or inserted as they would be if installed in a chassis 218.
  • Systems built according to the architecture may support redundancy and/or failover with respect to elements of the systems.
  • the systems that comply with the architecture may dynamically reconfigure themselves in response to a variety of factors. Some of these factors, without limitation, may include a power failure, equipment failure, device failure, element failure, software failure, network failure, a change in a network data flow, an overload condition, an under-load condition, the output of an optimization algorithm, the output of an algorithm, an output of a heuristic, a value in a look-up table, an output of the machine learning logic 314, a configuration parameter received from a management server 228, an alert signal, an error signal, an alarm signal, an informational signal, a signal, a characteristic of a data flow, a user associated with a data flow, a rule associated with a data flow, a security feature associated with a data flow, a specification associated with a data flow, a security policy 414, an application identification 412, and the like.
  • the dynamic reconfiguration may encompass an adjustment to software, hardware, and/or the way the data flow 444 wends its way through the flow processing facility 102.
  • One example of such a dynamic reconfiguration is described in detail hereinabove with reference to Fig. 6.
  • other types of dynamic reconfiguration are possible.
  • the dynamic reconfiguration may encompass, include, comprise, be associated with, or be in response to one or more items from the following list of items: the coupling or decoupling of a server computing facility 108 to the flow processing facility 102; the coupling or decoupling of a departmental computing facility 110 to the flow processing facility 102; the coupling or decoupling of the flow processing facility 102 to the internetwork 104, the coupling or decoupling of a network-connected computing facility 112 to the internetwork 104; the coupling or decoupling of a network-connected computing facility 112 to the flow processing facility 102 via a link-, network-, transport-, or application protocol; the failure of a departmental computing facility 110; the failure of a server computing facility 108; the failure of the internetwork 104; the failure of a network-connected computing facility 112; the coupling or decoupling of a management server 228 to a control processor module 208; the coupling or decoupling of a public network 202 to a network
  • the methods and systems disclosed herein may provide a flow processing facility for processing a data flow, and configuring the flow processing facility to recognize patterns in the data flow based at least in part on learning (e.g., artificial neurons, an SOM-based neural net, and the like).
  • learning e.g., artificial neurons, an SOM-based neural net, and the like.
  • the data flow processor 310 may incorporate unified threat management functionalities that are relevant to identifying threats of disparate types, including threats relevant to intrusion detection, intrusion protection, anti-virus protection, anti-spyware protection, and anti-spam protection, as well as other types of threats, such as related to phishing or unauthorized use of computer network resources.
  • the data flow processor 310 may be incorporated within a unified threat management application such that the data flow processor 310 functionality is one of a plurality of functionalities provided by the unified threat management application.
  • the data flow processor 310 may be independent from, but associated with, a unified threat management application such that the identification of disparate threat types described above herein is provided by the data flow processor 310 in conjunction with an independent unified threat management application, or the like.
  • a flow processing facility 102 that is implemented according to an architecture of the present invention may be capable of numerous configurations and reconfigurations, which may be manually applied or automatically applied. In all, the configurations and reconfigurations may be directed at providing unified threat management or any other feature associated with processing a data flow 444 in a networked computing environment 100.
  • the architecture of the flow processing facility 102 may react appropriately to failures, anomalies, predictions, requirements, specifications, instructions, and any other inputs, outputs, or statuses that may be associated with the hardware, software, logic, or data flows of the facility 102.
  • a logical representation 700 of a flow processing facility 102 includes a data flow 444, a plurality of machine learning logic 314, a plurality of applications 512, a data flow router 702, and the flow processing facility 102.
  • the data flow router 702 may be a high-level, logical representation of features, functions, or elements of the flow processing facility 102 that are described hereinabove with references to Figs. 1 through 6.
  • These features, functions, or elements may relate to accepting the data flow 444 as a plurality of network data packets 402, converting data packets 402 into an internal representation such as a plurality of data cells 408, routing the data cells 408 from one element to another so as to allow the data cells 408 to be received and transmitted by a plurality of application processor modules 212, routing the data cells 408 so that they are eventually converted back into a data flow 444 and transmitted out of the flow processing facility 102, and so forth.
  • the data flow router 702 may encompass any and all elements of the process and data flow 400 that do not explicitly appear here, in Fig. 7. The process and data flow 400 is described hereinabove with reference to Fig. 4.
  • the data flow router 702 is provided for pedagogical purposes, to abstract away details that are described hereinabove with references to the other figures, so that discussion of the present invention can proceed with a particular focus on the relationships between the flow processing facility 102, a plurality of machine learning logic 314, and a plurality of applications 512.
  • the abstraction that is the data flow router 702 is not intended to limit, reduce, hinder, minimize, or otherwise provide a limiting context for any aspect or element of the flow processing facility 102.
  • a data flow 444 may be received and/or transmitted by a data flow router 702.
  • the data flow may also be received and/or transmitted by one or more of a plurality of machine learning logic 314.
  • the machine learning logic 314 may be operatively coupled and/or in communication with the data flow router 702. This coupling and/or communication may encompass the transmission of information relating to a desired or appropriate routing of the data flow 444. This routing may trace, specify, suggest, encompass, include, or comprise one or more paths for the data flow 444.
  • paths may begin with an input of the data flow into the flow processing facility 102, continue to and from one or more of the applications 512, and conclude with an output of a data flow 444 from the processing facility 102.
  • the paths may include parallelism, such as a branch in a path that results in two paths that the flow processing facility 102 executes in parallel. It follows that the paths may include merges, where two paths that may be been executing in parallel are brought back together in some way.
  • a path may also include a terminus, where processing of a data flow 444 ends and, perhaps, the data flow 444 that reaches the terminus is discarded.
  • the output data flow 444 may be related to, associated with, but not necessarily identical to the input data flow 444.
  • the difference between the input data flow 444 and the output data flow 444 may be a function of the applications 512 to which the flow processing facility 102 subjects the input data flow 444.
  • These applications 512, and the order in which the input data flow 444 is subject to them may be a function of the path or paths that the data flow 444 follows through the flow processing facility 102.
  • any number of intermediate data flows 444 may exist between an input data flow 444 and its corresponding output data flow 444. Depending upon the path or paths, these intermediate data flows 444 may exist in a serial or parallel temporal relationship with respect to one another.
  • a data flow 444 may be discarded by the flow processing facility 102, resulting in either no output data flow 444 or in an output data flow 444 that does not carry a contribution from the discarded data flow 444.
  • communication from the machine learning logic 314 to the data flow router 702 may be "direct” or "indirect.”
  • An aspect, then, of the present invention may encompass methods and systems for determining a path.
  • the machine learning logic 314 are implemented as self-organizing maps. These maps are described in detail hereinabove the reference to Fig. 4.
  • the applications 512 may be security-related, such as the universal threat management application 520 and related applications 514, 518, 522, 524, 528, and 530.
  • a plurality of self-organizing maps may receive and process an incoming data flow 444.
  • the machine learning logic 314 may communicate information to the data flow router 702. This information may instruct, suggest, or imply a data path for the data flow 444.
  • the data path may be a function of this information and of the applications 512 that are available to the flow processing facility 102.
  • the number and types of applications 512 within the flow processing facility 102 may be dynamically and automatically adjusted by the switch 102, perhaps in response to a feature, aspect, or quality of the data flow 444.
  • the applications that are in a data flow's 444 path may be created, configured, adjusted, prepared, instantiated, or embodied in response to a path, either in advance of the data flow 444 following the path or on a just-in-time basis.
  • Each of the self-organizing maps 314 may be associated with a particular application 512 or type of application.
  • a self-organizing map 314 may be associated with an anti-virus application 522; a self-organizing map 314 may be associated with a firewall application 514; a self-organizing map 314 may be associated with an intrusion protection system application 518; a self-organizing map 314 may be associated with a URL filter application 524; a self-organizing map 314 may be associated with an anti-spam application 528; a self-organizing map 314 may be associated with an other universal threat management application 530; a self-organizing map 314 may be associated with a universal threat management application 520; a self-organizing map 314 may be associated with any other application 532; and the like.
  • the data flow processor 310 may incorporate unified threat management functionalities that are relevant to identifying threats of disparate types, including threats relevant to intrusion detection, intrusion protection, anti-virus protection, anti-spyware protection, and anti-spam protection, as well as other types of threats, such as related to phishing or unauthorized use of computer network resources.
  • the data flow processor 310 may be incorporated within a unified threat management application such that the data flow processor 310 functionality is one of a plurality of functionalities provided by the unified threat management application.
  • the data flow processor 310 may be independent from, but associated with, a unified threat management application 320 such that the identification of disparate threat types described above herein is provided by the data flow processor 310 in conjunction with an independent unified threat management application 320, or the like.
  • the methods and systems disclosed herein may provide a flow processing facility for processing a data flow, and configuring the flow processing facility to recognize patterns in the data flow based at least in part on learning (e.g., artificial neurons, an SOM-based neural net, and the like).
  • learning e.g., artificial neurons, an SOM-based neural net, and the like.
  • the data flow 444 may be more or less simultaneously provided to a plurality of machine learning logic 314 and to the data flow router 702.
  • the path of the data flow 444 may include a split where one copy of the data flow proceeds to the machine learning logic 314 and another copy proceeds to the data flow router 702.
  • any of the paths may traverse a buffer or other mechanism that serves to delay, however perceptibly or imperceptibly, the data flow 444 along one path. This may allow the data flow 444 along one path to be synchronized with a data flow 444 along another path. In one example that relates to the discussion in this paragraph, it may take an amount of time for the machine learning logic 314 to process the data flow 444. During this time, the copy of the data flow en route to the data flow router 702 may be delayed intentionally by a buffer in the path to the router 702. This may allow the machine learning logic 314 enough time to process their copies of the data flow 444 and to communicate with the data flow router 702.
  • the processing of the data flow by the machine learning logic 314 may serve to classify the data flow 444.
  • the classification may relate to whether the application 512 may be placed in the path of the data flow 444.
  • a machine learning logic 314 that is associated with a universal threat management application 520 may determine that the data flow 444 is anomalous or contains an anomaly that may be relevant to, associated with, or require further processing by a universal threat management application 520. Since a plurality of machine learning logic 314 may process the data flow 444, it is possible that a plurality of classifications will be generated for a single data flow 444.
  • Those classifications may relate to a plurality of applications 512, which may, depending upon the classification, be placed in the path of the data flow 444.
  • the information that is communication between the machine learning logic 314 and the data flow router 702 may include the classifications or information associated with the classifications.
  • the data flow router 702 may receive complete or partial information from or associated with the machine learning logic 314. In addition to or instead of the information that has already been mentioned, the data flow router 702 may receive one or more application identifiers or one or more security policies 414. The data flow router 702 may also receive the data flow, a partial data flow, or a representation thereof. Based upon the information received from or in association with the machine learning logic, the data flow router 702 may construct a complete or partial path, which may be represented implicitly or explicitly. In any case, the data flow router 702, from time to time, may receive additional information from the machine learning logic 314. This information may be a function of additional parts of the data flow 444 that have arrived at the flow processing facility since the last information received by the data flow router 702. Alternatively or additionally, this information may relate to processing of an intermediate data flow that may be provided by the data flow router to the machine learning logic 314. In any case, the additional information may result in the data flow router 702 changing and/or completing the path that it had already determined.
  • the machine learning logic 314 may encompass a self- organizing map. However, it will be appreciated that many other embodiments of the machine learning logic 314 are possible. In alternate embodiments, without limitation, the machine learning logic may encompass one or more of the following machine-learning algorithms, techniques, and approaches: concept learning; general-to-specific ordering; decision tree learning; artificial neural networks; hypothesis evaluation; Bayesian learning; computational learning theory; instance-based learning; genetic algorithms; learning sets of rules; analytical learning; combining inductive and analytical learning; reinforcement learning; semantic nets; description matching; generate and test; means-ends analysis; problem reduction; basic search; optimal search; trees; adversarial search; rules; rule chaining; cognitive modeling; frames; inheritance; commonsense; numeric constraints; symbolic constraints; propagation; logic; resolution proof; backtracking; truth maintenance; planning; analyzing differences; explaining experience; correcting mistakes; recording cases; managing multiple models; identification trees; hill climbing; perceptrons; approximation nets; simulated evolution; recognizing objects; linear image combination; establishing
  • machine learning logic 314 may be drawn from Patrick Henry Winston, Artificial Intelligence, 3 rd edition, Addison- Wesley Publishing Company, 1993; Elaine Rich and Kevin Knight, Artificial Intelligence, McGraw-Hill, Inc., 1991; and Tom M. Mitchell, Machine Learning, WCB/McGraw-Hill, 1997, all of which are included herein, in their entirety, by reference. Many other embodiments of the machine learning logic will be appreciated by those of ordinary skill in the art, and all such embodiments are encompassed by the present invention.
  • the machine learning acceleration hardware 318 may be for a particular embodiment of the machine learning logic 314.
  • the machine learning logic may be for a self- organizing map and may relate to the assisting or accelerating computations related to the artificial neurons of the map.
  • the machine learning acceleration hardware 318 may be adapted for that embodiment.
  • Those skilled in the art will appreciate the algorithmic or computational complexities of a particular embodiment of the machine learning logic 314.
  • those skilled in the art will appreciate those aspects of the embodiment that may be accelerated or ⁇ assisted through a hardware implementation.
  • the machine learning acceleration hardware 318 may encompass these aspects.
  • these aspects may be associated with a math co-processing function; a math function; math; a look-up table; a search algorithm; digital signal processing; an approximation algorithm; an optimization algorithm; Newton's method; a random number generator; a stack; a heap; a tree; a counter; a learning algorithm; a neural network; Bayes theorem; an encoder; a decoder; a running average; an average; a square root; a probability; a network; a graph; a representation of information; a process applied to information; a hypothesis; a test; an assertion; a rule; a script; a plan; a goal; a rule; a trend; and so forth.
  • Many other aspects will be appreciated and all such aspects are within the scope of the present invention.
  • Participants to a network may be operatively coupled to the network. This coupling may facilitate communication among participants of the network, allowing sharing and exchange of data, messages, and the like.
  • a network security system such as the flow processing facility 102, may manage the data flows 444 through the physical connection as it provides network security services. During this management, the flow processing facility 102 may glean information that allows it to provide virtualization with respect to the data flows 444. This virtualization may allow logical arrangements of policies, networks, behavioral analyses, applications, and so on to be applied to the management of the data flows 444.
  • a benefit of these logical arrangements is that they may be tailored to the data flows; consistent with a wieldy, logical model (as opposed to an unwieldy, physical model); and so forth.
  • a benefit of virtualization is that the logical arrangements may be applied programrnatically, automatically, and/or transparently with respect to a source and/or sink (i.e. a transmitting computing facility and/or a receiving computing facility) of the data flows 444.
  • a source and/or sink i.e. a transmitting computing facility and/or a receiving computing facility
  • virtualization may be provided with respect to a data flow 444 as a function of the source and/or destination IP address of the data flow 444.
  • Applications of virtualization may relate to any and all aspects of flow processing, unified threat management, and so on.
  • two servers may each communicate with a database over the network. Were this network physically segmented, such as with a network security appliance physically residing between the servers and the database, both servers maybe subjected to one intrusion detection and prevention policy.
  • a virtualized network security system may support a plurality of virtual networks connected to the database, perhaps regardless of the physical arrangement of the network.
  • each of the servers in this example may be connected to the database through different virtual networks.
  • the security policy on each of the virtual networks may be different and, perhaps, a function of the server's identity.
  • Fig. 30 a simplified schematic of an enterprise network 3000, while the physical network connections 3002 may connect all participants to flow processing facility 102, the information transferred along the physical connections may be used to virtually separate one or more participants from one or more other participants.
  • the following will describe examples of virtualization of internal participants of a network. However, the same examples could be applied to external participants such as clients, vendors, users, auditors, regulatory agencies, and others connecting over the internet. The same could also be applied to participants connected through VPN or wireless connections. This simplification in no way is intended to restrict or otherwise limit the scope of the virtualization methods and systems here disclosed.
  • FIG. 30 userl 3004, user2 3008, server 108, are example participants of the network 3000 while engineering 3010, and sales 3012 are example participant types of the network 3000.
  • each of the userl 3004, user2 3008, server 108, engineering 3101, and sales 3012 have a physical network connection to flow processing facility 102.
  • the network connection to flow processing facility 102 may be a single shared connection, or may be a plurality of individual and/or shared connections, or some combination thereof. While the example network depicted in Fig. 30 is used to illustrate methods and systems of network security virtualization, many other configurations and uses of network security systems may be virtualized and all such virtualizations are within the scope of the present disclosure.
  • Network configurations suitable for enterprise, individual user, home user, home office user, service provider, security provider, central office, remote office, data provider, university, social club, public facility, library, town offices, state offices, federal offices, virtual private network, and any other network that may benefit from security may employ virtualization within a security deployment.
  • Security deployments such as unified threat management, intrusion detection, intrusion prevention, intrusion detection and prevention, internet firewall, URL filtering, anti-virus, anti-spam, anti-spyware, http scanning, application firewall, xml firewall, vulnerability scanning, and any and all other networked security deployments may be virtualized and may include flow processing facility 102 as herein disclosed.
  • Embodied within flow processing facility 102 may be a virtualization module 3014 that may uniquely identify data flows 444 from each participant and logically route a data flow 444 from a participant to a virtual network 3018 associated with that participant.
  • Security policies 3020 for each virtual network 3018 may be applied to the data flows 444 associated with the virtual network 3018.
  • userl 3004 may be associated with virtual network 3018' that uses security policy 3020' while server 108 may be associated with virtual network 3018" that uses security policy 3020".
  • security policy 3020' may impose URL filtering restrictions for userl 3004 that may not exist in security policy 3020" for server 108 such that userl 3004 may be restricted from accessing non-business related websites during business hours.
  • Any and all aspects of flow processing facility 102 may be directed by a security policy 3020 to be applied to a data flow 444 of a virtual network 3018 including, without limitation a content scanning function for providing an anti- virus feature; an anti-spam feature; an anti-spyware feature; a pop-up blocker; protection against malicious code; an anti- worm feature; an anti-phishing feature; or a protection against an exploit.
  • a security policy 3020 for providing an anti- virus feature; an anti-spam feature; an anti-spyware feature; a pop-up blocker; protection against malicious code; an anti- worm feature; an anti-phishing feature; or a protection against an exploit.
  • security for network participants may be virtually grouped such that all members of a group may share security policy settings.
  • each member of the group eng 3010 will be associated with a virtual network 3018 even though there may be no physical separation of network traffic from participant group sales 3012.
  • the virtualization module 3014 may route eng 3010 data flows to virtual network 3018'" that employs security policy 3018'".
  • virtualization of the network security associated with flow processing facility 102 may permit eng 3010 participants to access resources of sales 3012 participants (such as a price list or customer list) while preventing sales 3012 participants from accessing eng 3010 resources (such as source code).
  • switching fabric 304 may facilitate logical connection of any number of virtual networks 3018 with other resources as herein disclosed thereby enabling each network participant to have secure access as defined by their associated security policy 3020 to shared network resources such as and without limitation a PC, cell phone, pager, laptop, PDA, networked sensor, set-top box, video game console, TiVo, printer, VoIP device, handheld computer, smart phone, wireless e-mail device, Treo, Blackberry, media center, XBOX, PlayStation, GameCube, palmtop computer, tablet computer, barcode scanner, camera, and the like.
  • shared network resources such as and without limitation a PC, cell phone, pager, laptop, PDA, networked sensor, set-top box, video game console, TiVo, printer, VoIP device, handheld computer, smart phone, wireless e-mail device, Treo, Blackberry, media center, XBOX, PlayStation, GameCube, palmtop computer, tablet computer, barcode scanner, camera, and the like.
  • Virtualization of a networked security deployment may also be used to share network security hardware resources such as a firewall among otherwise separate networks.
  • network security hardware resources such as a firewall among otherwise separate networks.
  • each network administrator or owner may define security policy for their network.
  • the security policy defined may be applied to network traffic associated with their virtual network 3018. Examples of network configurations that may be virtualized in this way include without limitation remote branch offices, individual enterprises leasing security from a security provider, and data storage service providers.
  • Virtualization may be applied to aspects of a network security deployment such that each aspect may be provided policies and updates separately.
  • a network security deployment may include a firewall, intrusion detection and prevention, URL filtering, and antivirus aspects.
  • a plurality of virtual networks may be established such that each virtual network may be associated with one or more security elements.
  • a virtual network may be established to connect network resources to the internet and a firewall may be configured between the virtual network and the internet.
  • a virtual network may be established to also connect the network resources to the internet with intrusion detection and prevention security configured between the internet and the virtual network.
  • virtual networks that provide URL filtering and anti-virus protection may be configured between the internet and the network resources.
  • Each security aspect could be managed separately facilitating pushing policies and updated to the various aspects separately without impacting others.
  • virtualization may be applied across a plurality of flow processing facilities 102.
  • virtualization may be applied across the plurality of facilities 102 to facilitate applying common configuration, security policy 414, and the like. This may result in the plurality of flow processing facilities 102 appearing as a unified network security entity rather than individual entities each requiring configuration, security policy 414, and the like.
  • a network configuration may include a plurality of flow processing facilities 102 providing an interface between an enterprise network and the Internet. The plurality of flow processing facilities 102 may be configured with virtualization as if they were one flow processing facility 102 by directing a common configuration (i.e. security policy 414) to each of the facilities 102.
  • individual modules within a flow processing facility 102 may be virtualized into a single network security entity.
  • the modules may appear as one virtual network security resource even though they may be physically connected to different networks or network segments.
  • common security policy, configuration, maintenance, and the like may be applied to the modules through the virtualized embodiment.
  • This virtualization of individual modules may also be applied to individual modules in separate flow processing facilities 102. It may also be applied to separate flow processing facilities 102 that are not parallelized but instead are serving separate segments of a network (virtual or physical). Virtualized flow processing facilities 102 may be remotely located from each other through a public interconnection such as the Internet.
  • Virtualization of network security may also facilitate improvements in network security.
  • Virtualization module 3014 may define a development virtual network that mirrors a user virtual network such that all internet traffic for the user virtual network also propagates to the development virtual network.
  • Security policy of the development virtual network may be updated with experimental intrusion prevention algorithms and techniques that are being tested without causing intrusion or critical false rejects on the user virtual network.
  • Virtualization of network security may also facilitate load balancing of resources within a flow processing facility 102 by routing data flow associated with one virtual network to one of a plurality of application processor modules 212 while routing data flow associated with another virtual network to another of the plurality of application processor modules 212.
  • virtualization of network security may facilitate optimizing utilization of a flow processing facility 102 by routing data flow from a plurality of virtual networks to one application processor module 212. Routing may be provided by the virtualization module 3014, the switching fabric 304, or a combination of both.
  • the management server 228 may provide control, configuration, and monitoring of the visualization module 3014 and/or the flow processing facility 102 such that virtual networks 3018 may be defined and configured and security policies 3020 may be associated with the virtual networks 3018.
  • a flow processing facility 102 may be adapted to provide secure web-to- network connectivity to protect against threats, intrusions, and the like through the use of SSL encryption such as and without limitation the encryption included with the Internet Explorer browser.
  • Data flows 444 passing through the flow processing facility 102 from the internet may be processed according to security policy 414 that includes SSL encryption to ensure threats are detected and preventive actions are taken.
  • security policy 414 that includes SSL encryption to ensure threats are detected and preventive actions are taken.
  • the flow processing facility 102 may be configured to separate network resources from web based devices such that traffic from each web based device must pass through the flow processing facility 102 to reach the network resources.
  • Flow processing facility 102 may be configured to support a variety of typical web based activities through an SSL connection such as shared files, email, instant messaging, and web applications.
  • Security policy 414 for each web based client may be separately defined and employed by the flow processing facility 102 enforcing an appropriate security policy for each client.
  • a web based client associated with a new employee may be only permitted to access limited functionality and resources of the network.
  • an airport internet kiosk may be subjected to a security policy that prevents access to confidential data on the network.
  • the flow processing facility 102 may prevent intrusion or threats detected in SSL communication from a web client from affecting the network.
  • a web based client that may be identified as transmitting infected or malicious data flow may be quarantined such that further data flow or new connection requests from the client will be dropped.
  • a web client computer that is attempting to propagate a virus over an SSL connection to a network that is detected by the flow processing facility 102, may have all further packets 402 associated with the web client dropped or directed to a security port for further analysis. Quarantining web client devices may also facilitate security patch installation such that the infected client may remain quarantined from the network resources until the patch is deemed effective.
  • the flow processing facility 102 may issue an alert 442 that may be separately communicated to a management server 228.
  • the flow processing facility 102 may also provide SSL and VPN protocol intrusion detection and prevention. Even though a VPN connection provides a means of securely connecting a web client to network web interface, such as a flow processing facility 102, the content and protocol of the VPN tunneling application may be analyzed for threats and intrusions.
  • the VPN protocol may include IPsec with encryption, L2TP inside of IPsec, SSL with encryption, MPLS through BGP (layer 3 VPN), ) and MPLS (layer 2 VPN).
  • the flow processing facility 102 may be configured with security policy 414 such that web traffic associated with VPN tunneling applications can be analyzed for anomalies that may indicate intrusions and threats.
  • security policy 414 such that web traffic associated with VPN tunneling applications can be analyzed for anomalies that may indicate intrusions and threats.
  • the flow processing facility 102 may also be configured to provide security for web infrastructure devices such as web servers.
  • Security policy 414 may be configured to facilitate detection of common web application threats such as buffer overflow, command injection, SQL injection, malicious code intrusions, and the like that may elude signature-based detection.
  • Machine learning logic 314 may include self organizing maps or neural network algorithms for learning web infrastructure intrusions.
  • the flow processing facility 102 may be embodied as a client software application further facilitating secure connection of a web based client running flow processing software embodying the functionality disclosed herein for the flow processing facility 102.
  • the flow processing facility 102 may be used to detect and prevent spyware and malware on a client device.
  • a flow processing facility 102 software embodiment may perform conversion of client communication to secure SSL protocol for communicating with an enterprise network.
  • the flow processing facility 102 software may securely encrypt all web network traffic files such as email, attachments, cookies and passwords on the client thereby facilitating preventing sensitive information on the client from being viewed or stolen from the web client.
  • Such an application may be particularly beneficial in public use clients such as and without limitation airport internet kiosk PCs.
  • a flow processing facility 102 may be configured to provide a secure VPN gateway for a network.
  • the network may include servers such as Intel or AMD based servers running Linux or an equivalent OS that has been adapted to integrate network security with the flow processing facility 102.
  • This may provide the benefit of facilitating scalable, fault-tolerant, network security using industry-standard dynamic routing protocols such as IGRP, EIGRP, BGP, OSPF, RIPvI and RIPv2, and multicast protocols such as IGMP, PIM-DM, and PIM-SM, SRM, RMTP, MTP-2, RAMP, TMTP, LORAX, SCE, RMP, and NTE.
  • industry-standard dynamic routing protocols such as IGRP, EIGRP, BGP, OSPF, RIPvI and RIPv2
  • multicast protocols such as IGMP, PIM-DM, and PIM-SM, SRM, RMTP, MTP-2, RAMP, TMTP, LORAX, SCE, RMP, and NTE.
  • Such a configuration may provide load sharing of resources within a flow processing facility 102 as well as across a plurality of flow processing facilities 102.
  • one or more flow processing facilities 102 may be configured in this embodiment such that when any one facility 102 or a module within a flow processing facility 102 fails, the data flows 444 associated with the failure are immediately routed to other facilities 102 or modules such that the network does not become victim to a "ripple effect" or other interruption.
  • a flow processing facility 102 may be adapted to provide network security to protect against internal threats such as worms, denial of service, email-borne malware, and the like. Data flows 444 passing through the flow processing facility 102 may be processed to ensure such threats are detected and preventive actions are taken. By configuring the flow processing facility 102 to provide interconnection of internal network resources, the resources that are interconnected by the flow processing facility 102 may be protected.
  • the flow processing facility 102 may be configured to provide network traffic separation between one or more segments of the network such that each segment's network traffic must pass through the resources of the flow processing facility 102 to reach another segment.
  • Flow processing facility 102 may be configured in bridge mode, switch mode, or router mode to provide effective segmentation. In such a configuration, at least some of the network resources on a segment share security policy as it may be employed in the flow processing facility 102.
  • a security policy for each segment may be separately defined and employed by the flow processing facility 102 enabling segments with critical network resources to enforce a stricter security policy than segments with less critical resources.
  • the flow processing facility 102 may prevent intrusion or threats detected in one segment from affecting other segments of the network. Segmentation may be physical with each segment connecting to a different port on the flow processing facility 102, or it may be logical based on IP address or other network device property.
  • each segment may be connected to a different network processor module 210 of the flow processing facility 102 and each network processor module 210 may be configured with different data flow 444 control parameters.
  • a network client such as a server or user computer that may be identified as transmitting infected or malicious data flow may be quarantined through dynamic reconfiguration of a segment into logical zones.
  • a user computer that is attempting to propagate a virus over the network that is detected by the flow processing facility 102, may have all further packets 402 associated with the user computer MAC address dropped or directed to a security port for further analysis. Quarantining and logically separating client devices may also facilitate security and software patch installation such that the infected client computer may remain quarantined from other network resources until the patch is deemed effective. If a client device or segment traffic is determined to contain an intrusion or threat, flow processing facility 102 may take preventive actions and/or may issue an alert 442.
  • the flow processing facility 102 may also provide protocol intrusion detection and protection.
  • network protocols such as CIFS, DCOM, MS RPC, MS SQL, and so on may be analyzed for anomalies that could indicate an intrusion or threat.
  • Flow processing facility 102 may also provide protection of protocols such as Citrix ICA, CDE RPC, HTTP, Sun RPC, and so on.
  • the resources of the flow processor facility 102 such as the data flow processor 310, the security policy 414, and the application processor module 212, data flowing into the flow processing facility 102 may be compared and analyzed for anomalies in the protocols disclosed here and any other network protocol that may be represented by packets 402.
  • the flow processing facility 102 may also be configured to provide security for web infrastructure devices such as web servers.
  • Security policy 414 may be configured to facilitate detection of common web application threats such as buffer overflow, command injection, SQL injection, malicious code intrusions, and so on that may elude signature-based detection.
  • Machine learning logic 314 may include self organizing maps or neural network algorithms for web infrastructure intrusion detection.
  • An embodiment that may provide the benefit of reducing the complexity of administrative setup of rules while providing security of the network from internal sources may combine intrusion detection learning capabilities of a flow processing facility 102 with firewall functionality.
  • the machine learning functionality 314 e.g. algorithms for analyzing network traffic for anomalies based on rate
  • the security policy 414 applied to the packet and data flow 444 filtering capabilities of the firewall 514 may be automatically updated based on the anomalous patterns learned by the machine learning functionality 314. This may result in the firewall being directed to drop packets associated with a flow determined to be bad without having to establish complex rule sets for network security.
  • the network conditions determined to be bad may be provided, such as through alert 442 and management sever 228, to an administrator who may manually update the firewall to filter out the newly detected intrusion or threat conditions.
  • an administrator who may manually update the firewall to filter out the newly detected intrusion or threat conditions.
  • Such a method allows the network administrator to assess the internally detected conditions separately from externally generated threats. This may be a workable solution for some network configurations if the number of alerts 442 remains manageable without critically compromising the integrity of the network resources and data.
  • Content inspection may reveal details about a packet or flow of packets that cannot be determined by only examining the packet header.
  • Content inspection may allow a determination of the nature of the data being carried in the packet. Such determination may be accomplished by matching the content of the payload to known information such as that which can be detected by regular expression matching. Details such as the source website of a packet and the type of data (e.g. audio, video, email, executable code) may allow the content to be classified and therefore more easily inspected for security threats, intrusions, extrusion, and the like.
  • a network security threat such as and without limitation a Trojan horse
  • packet payloads associated with one level may include both header and payload information for another level. Therefore facilitating content inspection at one layer may require performing inspection of packet header and payload information for another layer. In an example and without limitation, facilitating content inspection at the network layer may require performing inspection of packet header and payload information for the application layer.
  • an inspection platform such as the flow processing facility 102, may be needed for efficient, effective network security.
  • Content inspection may also be performed using behavioral anomaly detection techniques.
  • time-history behavioral metrics of the content may be developed. As behavioral metrics of each new packet or flow of packets are developed and compared to the time-history metrics, critical aberrations may be detected, which may indicate an intrusion or threat to the network security. While developing broadly based behavioral metrics for use in content inspection may facilitate network security, applying behavioral anomaly detection techniques that are based on the content associated with a protocol layer may facilitate detection of additional threats or intrusions not detectable at a broad level. Elements of a flow processing facility 102 may facilitate developing and/or calculating metrics and detecting behavioral anomalies for the content of packets in a variety of protocol communication layers.
  • Content inspection may be performed by a computing facility connected to a network when the packets that comprise network traffic are directed to the computing facility for content inspection.
  • the computing facility may perform content inspection by applying content matching and behavioral analysis algorithms implemented in software, firmware, or hardware.
  • the computing facility may comprise a general purpose processor (e.g. a COTS processor herein described) that may execute software embodying methods for inspecting the payload of packets accessed by the processor.
  • the computing facility may comprise a special purpose processor providing flow processing resources to efficiently perform processing of network traffic packets.
  • Programmable or special purpose hardware such an FPGA, programmable logic device, ASIC, and so forth may be configured as a packet processing engine for executing these methods, in hardware, on network traffic.
  • the flow processing facility 102 herein described may comprise one or more of a general purpose processor, a special purpose processor, and programmable hardware, and the like and therefore may facilitate content inspection.
  • the application processor module 212 of the flow processing facility 102 may comprise one or more application processing units 502 that, in an embodiment, encompass a COTS processor.
  • Software encompassing the content inspection methods for performing content matching and/or behavioral anomaly detection may be embodied in the applications 512 as herein described. Therefore, the applications 512 of software containing the content inspection methods may be uploaded, stored, and/or built into the application processing unit 502.
  • the application processing units 502 may be a COTS processor
  • the content inspection software may be compiled into a native format compatible with the COTS processor prior to being uploaded.
  • the management server 228 may facilitate compiling and uploading the content inspection software to the application processing unit 502 of the flow processing facility 102.
  • Content inspection software may make use of the application accelerator 504 of the flow processing facility 102 such that network traffic being inspected may maintain a satisfactory throughput rate.
  • aspects of the software may be directed toward the application accelerator 504.
  • FPGA code may be generated for programming the application accelerator 504.
  • the management server 228 may profile the execution of the content sensing software in order to identify a critical section that is computationally intensive. This critical section may be dynamically programmed into the application accelerator 504 FPGA to provide an accelerated execution of the critical section and may result in improved network performance or improved packet payload inspection.
  • the flow processing facility 102 may include a network processing module 210 that may also play a critical role in content inspection.
  • Network traffic passing through flow processing facility 102 physical network interface 302 may pass into the data flow engine 308 where each packet may be further processed by resources such as the data flow processor 310 and cell router 410.
  • Data flow processor 310 may process packets to determine behavioral metrics of packet payload using the machine learning logic 314 and machine learning acceleration hardware 318.
  • the data flow processor 310 may be programmed to distinguish among the various protocol layers that may be present in a packet payload such that the payload associated with a packet associated with a protocol layer may be analyzed for behavior related to the protocol layer.
  • the payload of a packet identified as a network layer protocol packet may be inspected by the data flow processor 310 such that any transport layer packets or application layer packets found within the network layer packet payload can be distinguished for behavioral analysis.
  • the data flow processor 310 may be preconfigured to analyze the behavior of one or more protocol layer packets. Alternatively, the data flow processor 310 may be configured to perform content inspection of any one or any plurality of different protocol layer packets.
  • the data flow processor 310 configuration may be performed through the management server 228 as herein described.
  • the data flow processor 310 may execute a program that may be installed through the management server 228. Such a program may be a compiled output in a native format for the data flow processor 310.
  • the program may be provided to the management server 228 for compilation or it may be precompiled by another network computing facility before delivery to the management server 228.
  • the server 228 may install the program into the network processor module 210 for execution by the data flow processor 310.
  • Machine learning acceleration hardware 318 may also be preconfigured to provide acceleration of behavioral analysis computations and processing, or it may be configured through the management server 228. As herein described, the machine learning acceleration hardware 318 may be an FPGA or similar programmable logic that may be configured to perform any of a number of machine learning acceleration functions.
  • the flow processing facility 102 may include a plurality of network processing modules 210, each containing a data flow processor 310 and a machine learning acceleration hardware 318.
  • Each machine learning acceleration hardware 318 may be an FPGA that may be loaded with logic to analyze a subset of possible protocol layer packet payloads. Therefore a packet may be directed to one or more of the plurality of network processing modules 210 of the flow processing facility 102 based on the content of the packet payload.
  • the content search logic 312 may be used to facilitate content matching of packet payloads. This logic 312 may perform hardware based regular expression matching of packet payloads using one or more of the techniques herein described as associated with the content search logic 312. The content search logic 312 may coordinate with other resources of the data flow engine 308 such as the cell generator 404 to facilitate content matching across multiple packets. Content searching logic 312 may perform content matching based on one or more action rules 450 or security policy 414.
  • network security may be performed at the network layer 3114 although it will be appreciated from the present disclosure that there are advantages to performing network security at the application layer 3110.
  • content inspection of application layer 3110 packets may reveal intrusions or threats to a network that are not detectable at a lower protocol layer.
  • the flow processing facility 102 may facilitate content inspection as applied in a unified threat management application targeting the network layer.
  • content inspection of a network layer packet payload may reveal problems that can be addressed by the UTM application.
  • the content search logic 312 of the flow processing facility 102 may be used to inspect the payload of a network layer packet to detect strings that may match a form of invalid application layer packet header. A network layer packet with such a violation may be acted upon by the UTM application to prevent the packet from reaching the network, and any and all connection or data flow 444 associated with the packet may be terminated or dropped.
  • Another form of intrusion that may not be detectable by network security methods that inspect only packet headers is a computer virus. Packets may contain malicious code, HTTP links, and other data that may be associated with a virus. Such data may not affect the packet header and therefore may not be detectable when inspecting an application layer packet header. Such intrusions may be detected with content inspection as facilitated by the flow processing facility 102. As described herein, the flow processing facility 102 may process packets such that resources of the network processor module 210 and the application processor module 212 may be used to inspect packet payloads. In this way, flow processing facility 102 resources such as the content search logic 312 may be configured to compare a payload against a wide variety of threats.
  • cell router 410 may apply security policy 414 and payload action rule 454 to determine if a cell contains or is associated with a packet that appears to include a threat. If so, the cell router 310 may respond by routing the cell (or the data flow 444 that is associated with the cell) to an appropriate application processor module 212 for further processing. By applying action rule 454, the cell router 410 may, in embodiments, identify cells that appear to contain or be associated with packets that harbor or are themselves associated with a computer virus. In any case, the elements of the application processor module 212, such as and without limitation the application processing unit 502, may further inspect the content. This further inspection may be directed at identifying content that may be associated with a computer virus and taking an appropriate action (such as and without limitation, dropping the packet). It will be appreciated that any and all forms of intrusion, misuse, abuse, undesirable or illegal conduct, and so forth may be detected, processed, and remedied according to the systems and methods described in this paragraph, this disclosure, and elsewhere.
  • the payload action rule 454 may direct the cell router 410 in routing any and all cells that are associated with a protected system resource (such as and without limitation a database) to the application processor module 212.
  • the application processing unit 502 may inspect the payload of one or more packets 402 of the cells to determine if the system resource reference is threatened by the contents of the payload. Without limitation, such a threat may be associated with accessing, modifying, enabling, disabling, impairing, or otherwise affecting the system resource.
  • content inspection may be applied to an anti-spam campaign at a network level such as at the border of a network and the internet.
  • the flow processing facility 102 may be used to determine patterns associated with normal border traffic coming into the network such as email traffic. These patterns may be determined by routing packets through the data flow processor 310 for behavioral analysis. By applying the behavioral analysis methods and techniques herein described to packets containing email, the flow processing facility 102 may detect email that may be a spam email. In an example, internet email traffic to each recipient on the network may be analyzed for patterns associated with the source of the email (i.e.: the sender).
  • the sender pattern may change in a critical way that is detectable by the data flow processor 310 or other resources of the flow processing facility 102. Because this determination may be performed at the border of the network, the security policy 414 may provide for remedies such as dropping the entire spam email or flagging the packets associated with the spam, such that when they are delivered to the network mail server they can be efficiently routed to a spam folder.
  • anti-spam techniques such as behavioral based content inspection with the flow processing facility 102 to all packets passing through a network border, other communication applications such as instant messaging and faxing may also be protected from spam.
  • Content inspection as performed by the flow processing facility 102 may provide intrusion detection and prevention services that seek to match content and assess behavior at a plurality of network levels.
  • a flow processing facility 102 may include a plurality of application processor modules 212 with each module 212 configured to detect intrusions in packet payloads at a specific network layer.
  • One module 212 may be configured to match packet 402 payload contents to known intrusions at the network layer, while another may be configured to match packet 402 payload contents to known intrusions at the application layer.
  • These or other application processor modules 212 may also analyze the behavior of packet payloads at the network and application layer respectively.
  • the switching fabric 304 of the flow processing facility 102 may switch packets through each application processor module 212 serially or in parallel to provide intrusion detection and prevention at the plurality of protocol layers. By applying the packets to each application processor module 212, the flow processing facility 102 may determine that the packet 402 or flow of related packets 402 may have both a network layer content matching violation and an application layer behavioral anomaly. Such information may be used to improve network security and performance.
  • Identifying threats from internal network resources may also be facilitated by inspecting packet payload content with the flow processing facility 102.
  • Network behavior of internal network resources may be analyzed by the machine learning logic 314 to determine metrics for normal payload content.
  • anomalies in the patterns generated by the payload contents may be detected.
  • a mobile computing device synchronizes with a network resource such as an email server or database server, patterns of packet payload at the network layer may be readily established. If the packet 402 payload patterns during synchronization differ critically from the pattern predicted by the behavioral analysis, the flow processing facility 102 may detect the difference and take protective action such as quarantining the device.
  • the security policy 414 of the network may identify certain types of data to be protected when traveling in packet payloads over the network. Certain types of data, such as social security numbers, may be identified in the security policy 414 as being restricted to certain destinations on the network.
  • the security policy 414 may, for example and without limitation, dictate that a social security number must be encrypted in a specific way to be transmitted out of the network.
  • unencrypted social security data may be detected by the content search logic 312 or cell router 410 applying the security policy 414.
  • Behavioral analysis of packet 402 payloads may not only detect anomalies in the payloads at various protocol layers, but may also provide an analysis of behavior of the network that may be beneficial in increasing network security.
  • the routing information associated with the packets such as the source, destination, route taken, and the like may be determined and analyzed for patterns.
  • behaviors of the network may be determined and used to detect troublesome network activity.
  • a segment of a network such as a manufacturing segment containing critical product information, may be associated with a low occurrence of intrusions.
  • the flow processing facility 102 may issue an alert 442.
  • the alert 442 may direct external suppliers who connect to the manufacturing segment to provide an updated compliance report for the security of their networks as they may be introducing intrusions or threats that are being detected by the flow processing facility 102 within the manufacturing segment.
  • Such network behavioral analysis (NBA) and network behavioral anomaly detection (NBAD) may be performed by the flow processing facility 102 as each new threat is detected, thereby providing an early alert 442 of the network behavioral anomaly.
  • a network security infrastructure may include a Security Event Information Management system that may be represented by a variety of acronyms such as SEIM, SIM, SEM, and SIEM to provide central logging for security events.
  • Security events such as the manufacturing segment example described above may be communicated from the flow processing facility 102 to the management server 228 that may maintain the SEIM.
  • the management server 228 or the flow processing facility 102 may send the event information to another server maintaining the SEIM. In this way, even if the flow processing facility 102 were to encounter a failure, the event information would be retained by the management 228 or other server.
  • Payload inspection may also detect network behavioral anomalies that may be associated with network connections such as ports.
  • network behavioral anomalies such as an intrusion.
  • a critical change in the behavior detected by analyzing the pay loads (such as an increase in the size of payloads or an increase in the number of payloads directed toward a port during a normally quite time) may indicate a network anomaly such as an intrusion.
  • the machine learning logic 314 of the flow processing facility 102 may determine "normal" network activity for the port for various times, such as times of day or days of week, critical changes in the activity as determined by the inspection of packet payloads through the port can be detected by the flow processing facility 102 and action taken such as alerting the management server 228 to close the port.
  • Machine learning logic 314 and the associated machine learning acceleration hardware 318 may apply any or all of the techniques and methods herein disclosed such as self- organizing maps, neural networks, and others in analyzing the behavior of packet 402 payloads. These techniques may facilitate establishing behavioral criteria associated with content inspection of packet 402 payloads processed by the flow processing facility 102 independent of the protocol layer at which the packet payload is processed.
  • the techniques and methods herein disclosed along with embodiments of the data flow processor 310 may allow the flow processing facility 102 to acquire the behavioral criteria into artificial neurons that may allow for implementation of behavioral anomaly detection in hardware such as the machine learning hardware accelerator 318, the cell router 410, or the application accelerator 504. The result may be near real-time detection of network behavioral anomalies based on content inspection without relying on queries of databases of 'normal' behavior.
  • Unified Threat Management as herein described may be facilitated by the techniques, methods, features, and systems herein described for applying the flow processing facility 102 to content inspection.
  • content matching may be applied to detect threats within payloads, threats affecting protocols, intrusions passing through ports, and attacks on system resources.
  • the flow processing facility 102 can be configured in a network to inspect content such that threats within payloads that can be detected by content matching can be prevented.
  • Threats that compromise the integrity of one or more network protocols may be detected by the flow processing facility 102 through content matching of packets associated with the protocol.
  • the network processor module 210 elements and application processor module 212 resources may be applied to network traffic to detect protocol compromising packet payloads as the packets flow through the flow processing facility 102 (substantially in real-time).
  • Network traffic associated with a port may be monitored by the flow processing facility 102 with content inspection to ensure any payload destined for the port (or originating in the port) does not include threats, viruses, spam, or other intrusions detectable by applying content matching.
  • system resources such as system files, user passwords, NMS, NEMS, and other key resources may be protected from attack by applying content matching to network traffic packet payloads.
  • the resources of the flow processing facility 102 such as the network processor module 210 elements (e.g. the data flow engine 308, the data flow processor 310, the content search logic 312, the machine learning logic 314, and/or the machine learning acceleration hardware 318) and the application processor module 212 elements (e.g. the application processing unit 502, and/or in the application accelerator 504) may be configured as herein described to provide a unified threat management solution covering packet header and payload inspection.
  • a network infrastructure may include a Network Management System (NMS) which may include a Network Element Management System (NEMS) responsible for the management of at least a portion of the network elements (such as computers, routers, hubs, network security devices, and the like).
  • NMS Network Management System
  • NEMS Network Element Management System
  • the NEMS may communicate with the management server 228 and or the flow processing facility 102 to provide network management services.
  • the management server 228 may provide network security related metrics gathered from one or more flow processing facilities 102 to the NEMS for further analysis or presentation to a network administrator.
  • a roll-out campaign for content inspection may be proceeding with two flow processing facilities 102 operating in parallel on the same network traffic wherein one flow processing facility 102 is not inspecting content and the other is inspecting content.
  • the NEMS may receive a comparison of the threat and intrusion detection metrics for the two flow processing facilities 102.
  • the management server 228 may communicate with the NEMS throughout the campaign, receiving updates to security policy 414, new compilation of programs to be loaded into the flow processing facility 102 for the application processing unit 502, and the like.
  • the flow processing facility 102 and flow processor 310 may be used to process data flows 444 that potentially contain computer viruses, Trojan horses, or similar content.
  • one or more actions related to threat management, such as virus detection and cleaning may be embodied in the flow processing facility 102 of the flow processor 310, as illustrated by examples to follow.
  • a data flow 444 may be processed by the flow processing facility 102 or flow processor 310 to identify patterns in the data flow 444, such as by using a set of artificial neurons, such as a neural network or the self- organizing maps described above. Patterns in the data flow 444 may be recognized that are relevant to identification of a wide range of threats to the network, including the threats managed by anti-virus applications.
  • the flow processing facility 102 may be configured to identify, and take action with respect to, data flows 444 that contain patterns that suggest the existence of various types of threats, including viruses, as well as Trojan horses and other vehicles for carrying viruses.
  • the data flow processor 310 described herein may also include content search logic 312, which may explicitly implement pattern recognition using regular expressions (in one preferred embodiment the pattern recognition is embodied by an optimization of the Aho- Corasick algorithm).
  • pattern recognition may consist of applying a set of artificial neurons such as a SOM or neural net, processing an output of the set of artificial neurons (e.g., the fingerprint 448), and performing a regular expression pattern match on packets of the data flow 444, or any combination or sub-combination of the same.
  • a set of artificial neurons such as a SOM or neural net
  • processing an output of the set of artificial neurons e.g., the fingerprint 448
  • performing a regular expression pattern match on packets of the data flow 444, or any combination or sub-combination of the same.
  • the flow processor 310 may thus be configured, applying the pattern matching techniques described above, to assist with matching patterns associated with viruses and other similar types of threats.
  • pattern matching may be implemented with respect to patterns associated with a computer virus.
  • a computer virus as the term is used herein encompasses any software program, file, computer code, or the like that may infect, damage, or otherwise threaten files, system areas of a computer, network routers, and other computer components or resources, such as through what is commonly referred to as a virus vector. Some viruses may be harmless, while others may damage data files, destroy files, interrupt networking, and or inflict other damage to a computer or network. Some viruses may be designed to deliberately damage files, and others may simply spread to other computers without damaging files (e.g., a viral propagation of a message that is intended to obtain as many viewers of the message as possible).
  • Computer virus vectors of infection may include network shares, software vulnerabilities, mass-mailers, worms, internet relay chat, shared drives, instant messages, infected files, peer-to-peer networks, physical drives, removable drives, floppy drives, spammed email, wireless (e.g., Bluetooth), and other infection vectors.
  • Some computer viruses may require a user action (e.g., opening an email attachment or visiting a malicious web page) to implement or spread.
  • Other viruses may not require direct user action (e.g., exploitation of a network's vulnerability to outside access).
  • pattern matching may be implemented with respect to patterns associated with a Trojan horse program.
  • a Trojan horse program (sometimes also referred to as "social engineering") is a type of virus, or other potentially damaging program, that is embedded, joined, linked, or otherwise associated with a computer program or file that masks the presence of the virus to the user.
  • a Trojan horse may be a program that purports to do one action (e.g., an mpeg file ostensibly containing a video for viewing), when in fact, it has as one of its actions instructions for performing a malicious action on, or using, a computer or network. Trojan horses may be included, for example, in software downloads, as attachments in email messages, or other file types.
  • this type of "back door" program may allow intruders access to the user's computer without the user's knowledge. Through this access, the intruder may be able to change the computer's system configurations, or infect the computer with a virus, or take other actions that are unauthorized by the user.
  • Some Trojan horse programs may not require the user of a computer to directly download a file (e.g., an email attachment) in order for the virus to have access to the computer. If a user's email client permits scripting, it may be possible for a Trojan horse (and its accompanying virus) to load on the user's computer by opening an email message alone.
  • a Trojan program may also employ the technique of providing an URL link or download link in order to place unwanted files onto a computer directly, via a network (e.g., the Internet). This technique may place an added burden on a user's computer insofar as it may enable an intruder to return to the computer to update the virus.
  • a network e.g., the Internet
  • a Trojan horse-based virus may come in the form of an email attachment unknowingly downloaded by a computer user and used to launch a denial-of-service attack.
  • This type of attack may cause a computer problems by giving it so many processing instructions that the computer is overwhelmed by the data processing volume to such an extent that it crashes or is otherwise not fully operable.
  • a computer may be a direct target of a denial-of-service attack or it may be used as a participant in a denial-of-service attack on another system, such as a server hosting a website targeted by the intruder. Intruders may use security compromised computers as platforms for attacking other systems.
  • the intruders may install an agent, such as a Trojan horse program, that runs on the compromised computer.
  • an agent such as a Trojan horse program
  • the intruder may issue further instructions to the computer for it to carry out actions, unbeknownst to the user of the computer.
  • the intruder may assign a handler computer through which instructions for a denial-of-service attack may be forwarded to the agent computers.
  • pattern matching may be implemented with respect to patterns associated with a worm.
  • a worm is another type of computer virus that may spread from computer to computer without users' direct interaction with the computer virus program. Worms may take up valuable memory and network bandwidth, which may cause a computer to stop responding. Worms may also allow attackers to gain access to your computer remotely. Worm creators may use binary packers to compress the executable files associated with viruses, thus making them easier to distribute. The packing process also modifies the internal structure of a file, which worm creators may use to their benefit. Binary packers may be used to distribute a worm file that is capable of changing, masked by dozens of different packers. The capability of a worm to change may permit a virus to have greater longevity, as the virus may be altered to circumvent security measures taken to combat the virus' first incarnation upon its introduction.
  • pattern matching may be implemented with respect to patterns associated with a virus that is targeted to impact a particular operating system.
  • Some computer viruses are specifically targeted to impact a type of computer, computer operating system, or other computer feature.
  • unprotected Microsoft Windows networking shares may be exploited by intruders through automation and used to place tools on Microsoft Windows-based computers that are connected to the Internet. Because site security on the Internet or other network may be interdependent, a compromised computer may not only create problems for that computer's user, but it may also be a threat to other computers, or other locations on a network.
  • programming languages such as Java, JavaScript, ActiveX, and others, that allow web developers to write code that is executed by a web browser may be used by intruders to gather information (such as visited web sites) or to run malicious code on your computer.
  • pattern matching may be implemented with respect to patterns associated with items sent over a network, such as to a web site.
  • a virus creator may attach a script to something sent to the web site, such as a URL, an element in a form, or a database inquiry. Later, when the web site responds to a user, the malicious script may be transferred to the user's browser.
  • a computer, computer network, or other network device or network may be exposed to malicious scripts by a user linking to web pages, opening email messages, or newsgroup postings, and the like without knowing that the action is actually linking them to an untrustworthy site.
  • pattern matching may be implemented with respect to patterns associated with a various other types of computer viruses and the means for their delivery, including, without limitation, email spoofing, hidden text file extensions, chat clients, packet sniffing, root kits, bots, and other means of virus delivery.
  • pattern matching may be implemented with respect to patterns associated with email spoofing.
  • Email spoofing refers to the technique of making an email message appears to have originated from one source when it actually was sent from another. Email spoofing may be intended, for example, to instill in the user a false sense of trust in order to successfully prompt the user into providing the intruder with sensitive information (e.g., passwords or financial information).
  • sensitive information e.g., passwords or financial information.
  • an email may claim to be from a system administrator requesting a user to change a password to a specified string and threatening to suspend their account if they do not comply.
  • an email spoof that is from an authority figure that is requesting user to send a password file or other sensitive information.
  • pattern matching may be implemented with respect to patterns associated with a hidden file extension.
  • Microsoft Windows operating systems contain an option to "hide file extensions for known file types". The option may be enabled by default, but a user may choose to disable this option in order to have file extensions displayed by Windows.
  • Email-borne viruses may exploit these hidden file extensions.
  • a file attached to an email message sent by such a virus may appear to be harmless text (.txt), MPEG (.mpg), AVI (.avi) or other file types, when in fact the file is a malicious script or executable (e.g., .vbs or .exe).
  • pattern matching may be implemented with respect to patterns associated with exploitation of Internet chat applications, instant messaging applications, Internet Relay Chat networks, and the like, which provide a mechanism for bi-directional data exchange between computers that may be exploited by a computer virus or other damaging code or file.
  • Chat clients may provide the ability to exchange executable code. This ability may permit an intruder to employ methods described herein, such as a Trojan horse or spoofing, to present computer virus and the like to unsuspecting users for download.
  • pattern matching may be implemented with respect to patterns associated with a packet-sniffer.
  • a packet sniffer is a computer program designed to capture data from information packets traveling over the network. The data from these packets may include user names, passwords, and other sensitive information traveling over the network. The ability to install a packet sniffer may not require administrator-level access. Thus, an intruder may be able to employ a packet sniffer to capture such sensitive information for further exploitation (e.g., using a stolen password to access a user's online bank account).
  • Rootkits are another type of viral program and may be employed in order to intercept specific Application Programmer's Interface (API) functions in such a way that the information returned by API functions is untrue.
  • API Application Programmer's Interface
  • a rootkit may use techniques to gain command of a registry database, process lists, and the like, in part for the purpose of masking the presence of viral programs running on the computer, network, or other system.
  • the rootkit may also be able to mask the registry keys it has modified to further minimize detection.
  • the limitations of the traditional means of controlling and or preventing viruses through, for example, a stand alone antivirus software application may be seen in the example of rootkits.
  • the application may require individualized installation on each client within a network; the application may require frequent updates to be downloaded on each client with a network; differences in client characteristics (e.g., processor speed) may require different antivirus applications to be downloaded on a subset of clients with in a network, different antivirus applications may contain different libraries of viruses for which they scan, resulting in variation of protection levels across the clients within a network, and so forth.
  • client characteristics e.g., processor speed
  • a flow processing facility 102 or flow processor 310 may secure a computer, computer network, or other network from a virus that is carried by or associated with a data flow 444.
  • the flow processing facility 102 may receive the data flow 444 and associate the flow 444 with one or more of a plurality of anti- virus applications 522, which may reside in one or more of a plurality of application processor modules 212.
  • the flow processing facility 102 may incorporate or provide anti- virus actions, or it may itself be incorporated into one or more anti- virus applications.
  • a data flow 444 from a public network 202 or private network 204 may be received by a flow processing facility 102 and handled by the flow processor 310 to produce normalized data 428 from the data flow 444.
  • a data cell 408 of the received data flow 444 may indicate the presence of a computer program. This data cell 408 may optionally be routed through a cell router 410 to an application processor module 212.
  • the application processor module 212 may include an antivirus program that may be used to analyze the data cell 408 for the presence of a virus or other type of threat described herein. After the application processor module 212 has analyzed the data cell 408 containing the computer program, the data cell 408 may be routed back through the cell router 410.
  • the cell router 410 may route the data cell 408 to a quarantine facility, at which point the processing of the data cell 408 is done 420. Alternatively, the cell router 410 may check the data cell 408 against an application ID 412, application group 422, or other identifier 430 or security policy 414 in order to determine the appropriate future routing of the data cell 408 (e.g., whether the data cell, and the program therein, is safe for further processing).
  • This flow processing facility architecture may be used to detect viruses, including, but not limited to, associated with network shares, software vulnerabilities, mass-mailers, worms, internet relay chat, shared drives, instant messages, infected files, peer-to-peer networks, physical drives, removable drives, floppy drives, spammed email, wireless (e.g., Bluetooth), and other infection vectors.
  • This flow processing facility architecture may be used to analyze virus vectors, including, but not limited to, Trojan horses, Windows networking shares, worms, scripts, email spoofing, hidden text file extensions, chat clients, packet sniffing, root kits, bots, and other means of virus delivery.
  • machine learning may be used to create a self organizing map capable of detecting anomalies in a data flow 444 for securing a computer, computer network, or other network from viruses.
  • a data flow 444 from a public network 202 or private network 204 may be received by a data flow processor 310.
  • the data flow processor 310 may include machine learning acceleration hardware 318, machine learning logic 314, content search logic 312, and the like, that may be used to generate a self organizing map or neural network that may identify anomalies in the packets 402 associated with the data flow 444.
  • the flow processor 310 may produce normalized data 428 for further processing and security analysis.
  • the normalized data 428 produced by the flow processor 310 through the use of the self organizing map may be further associated with a normalized data type 424, an application group 422 or application ID 412, other identifiers 430, and or a security policy 414 in order to determine the appropriate future routing of the data cell 408 (e.g., whether the data cell, and the program therein, is safe for further processing).
  • An anomalous data flow 444 that may be detected by a self organizing map may include, but is not limited to, a data flow 444 from an unknown source, a data flow 444 from a new source, a data flow 444 from an infrequent source, a data flow 444 containing a file type rarely or never received, a data flow 444 containing a file type rarely or never received from a particular source, a data flow 444 exceeding a size, a data flow 444 from an application group 422, a data flow 444 from a targeted application ID 412, a data flow 444 for a targeted host, a data flow 444 from a targeted host type, a data flow 444 from a targeted host location, a data flow 444 including a programming language type, a data flow 444 containing a targeted text, and or any other data flow 444 indicator or combination of a plurality of data flow 444 indicators.
  • This artificial neuron approach may be used to detect viruses, including, but not limited to, ones associated with network shares, software vulnerabilities, mass-mailers, worms, internet relay chat, shared drives, instant messages, infected files, peer-to-peer networks, physical drives, removable drives, floppy drives, spammed email, wireless (e.g., Bluetooth), and other infection vectors.
  • This flow processing facility architecture may be used to analyze virus vectors, including, but not limited to, Trojan horses, Windows networking shares, worms, scripts, email spoofing, hidden text file extensions, chat clients, packet sniffing, root kits, bots, and other means of virus delivery.
  • a flow processing facility 102 may secure a computer, computer network, or other network from a virus that is carried by or associated with a data flow 444 from a targeted user.
  • a targeted user may be, but is not limited to, an individual, entity, customer, source, and the like.
  • the flow processing facility 102 may receive the targeted user's data flow 444 and associate the flow 444 with one or more of a plurality of anti- virus applications 522, which may reside in one or more of a plurality of application processor modules 212.
  • a targeted user's data flow 444 may be received from a public network 202 or private network 204 by a flow processing facility 102 enabled to produce normalized data 428 from the target user's data flow 444.
  • a data cell 408 of the received data flow 444 may indicate the presence of a computer program.
  • This data cell 408 may be routed through a cell router 410 to an application processor module 212.
  • the application processor module 212 may include an antivirus program that may be used to analyze the target user's data cell 408 for the presence of a virus. After the application processor module 212 has analyzed the targeted user's data cell 408 containing the computer program, the data cell 408 may be routed back through the cell router 410.
  • the cell router 410 may route the data cell 408 to a quarantine facility, at which point the processing of the data cell 408 is done 420. Alternatively, the cell router 410 may further check the targeted user's data cell 408 against other identifiers 430, security policies 414, and the like in order to determine the appropriate future routing of the user's data cell 408. Once the targeted user's normalized data 428 has been determined to be free of viruses it may be routed to a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • a network e.g., a physical network interface 302
  • machine learning may be used to create a self organizing map capable of detecting anomalies in a targeted user's data flow 444 for securing a computer, computer network, or other network from viruses.
  • a targeted user's data flow 444 may be received from a public network 202 or private network 204 by a data flow processor 310.
  • the data flow processor 310 may include machine learning acceleration hardware 318, machine learning logic 314, content search logic 312, and the like, that may be used to generate a self organizing map associated with the targeted user.
  • the self organizing map may be able to identify anomalies in the packets 402 associated with the targeted user's data flow 444, and produce normalized data 428 for further processing and security analysis.
  • the targeted user's data flow 444 may be anomalous in that it exceeds the data format associated with the user.
  • the normalized data 428 produced through the use of the self organizing map may be further associated with a normalized data type 424, an application group 422, other identifiers 430, and/or a security policy 414 in order to determine the appropriate future routing of the targeted user's data cell 408 (e.g., whether the data cell, and the program therein, is safe for further processing).
  • a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • a flow processing facility 102 may secure a computer, computer network, or other network from a virus that is carried by or associated with a data flow 444 from a targeted host.
  • a targeted host may be, but is not limited to, a server, network host, ISP, entity, and the like.
  • the flow processing facility 102 may receive the targeted host's data flow 444 and associate the flow 444 with one or more of a plurality of anti-virus applications 522, which may reside in one or more of a plurality of application processor modules 212.
  • a targeted host's data flow 444 may be received from a public network 202 or private network 204 by a flow processing facility 102 enabled to produce normalized data 428 from the target host's data flow 444.
  • a data cell 408 of the received data flow 444 may indicate the presence of a computer program.
  • This data cell 408 may be routed through a cell router 410 to an application processor module 212.
  • the application processor module 212 may include an antivirus program that may be used to analyze the target host's data cell 408 for the presence of a virus. After the application processor module 212 has analyzed the targeted host's data cell 408 containing the computer program, the data cell 408 may be routed back through the cell router 410.
  • the cell router 410 may route the data cell 408 to a quarantine facility, at which point the processing of the data cell 408 is done 420. Alternatively, the cell router 410 may further check the targeted user's data cell 408 against other identifiers 430, security policies 414, and the like in order to determine the appropriate future routing of the host's data cell 408. Once the targeted host's normalized data 428 has been determined to be free of viruses it may be routed to a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • a network e.g., a physical network interface 302
  • machine learning may be used to create a self organizing map capable of detecting anomalies in a targeted host's data flow 444 for securing a computer, computer network, or other network from viruses.
  • a targeted host's data flow 444 may be received from a public network 202 or private network 204 by a data flow processor 310.
  • the data flow processor 310 may include machine learning acceleration hardware 318, machine learning logic 314, content search logic 312, and the like, that may be used to generate a self organizing map associated with the targeted host.
  • the self organizing map may be able to identify anomalies in the packets 402 associated with the targeted host's data flow 444, and produce normalized data 428 for further processing and security analysis.
  • the targeted host's data flow 444 may be anomalous in that the source of the data flow 444 is other than that associated with the host in the self organizing map.
  • the normalized data 428 produced through the use of the self organizing map may be further associated with a normalized data type 424, an application group 422, other identifiers 430, and/or a security policy 414 in order to determine the appropriate future routing of the targeted host's data cell 408 (e.g., whether the data cell, and the program therein, is safe for further processing).
  • a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • a flow processing facility 102 may secure a computer, computer network, or other network from a virus that is carried by or associated with a data flow 444 from a targeted application type.
  • a targeted application type may be, but is not limited to, an email application, Java application, Bluetooth application, open source application, and the like.
  • the flow processing facility 102 may receive the targeted application data flow 444 and associate the flow 444 with one or more of a plurality of anti- virus applications 522, which may reside in one or more of a plurality of application processor modules 212.
  • a targeted application data flow 444 may be received from a public network 202 or private network 204 by a flow processing facility 102 enabled to produce normalized data 428 from the target application data flow 444.
  • a data cell 408 of the received data flow 444 may indicate the presence of a computer program made by the targeted application type. This data cell 408 may be routed through a cell router 410 to an application processor module 212.
  • the application processor module 212 may include an antivirus program that may be used to analyze the target application data cell 408 for the presence of a virus. After the application processor module 212 has analyzed the targeted application data cell 408 it may be routed back through the cell router 410.
  • the cell router 410 may route the data cell 408 to a quarantine facility, at which point the processing of the data cell 408 is done 420. Alternatively, the cell router 410 may further check the targeted application data cell 408 against other identifiers 430, security policies 414, and the like in order to determine the appropriate future routing of the application data cell 408. Once the targeted application normalized data 428 has been determined to be free of viruses it may be routed to a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • a network e.g., a physical network interface 302
  • machine learning may be used to create a self organizing map capable of detecting anomalies in a data flow 444 from a targeted application type for securing a computer, computer network, or other network from viruses.
  • a targeted application data flow 444 may be received from a public network 202 or private network 204 by a data flow processor 310.
  • the data flow processor 310 may include machine learning acceleration hardware 318, machine learning logic 314, content search logic 312, and the like, that may be used to generate a self organizing map associated with the targeted application type.
  • the self organizing map may be able to identify anomalies in the packets 402 associated with the targeted application data flow 444, and produce normalized data 428 for further processing and security analysis.
  • a targeted application data flow 444 may be a data flow associated with the Java application type.
  • a Java application type data flow 444 may be anomalous in that it contains non-standard Java code, embedded code, code type hybrids, and so forth.
  • the normalized data 428 produced through the use of the self organizing map may be further associated with a normalized data type 424, an application group 422, other identifiers 430, and or a security policy 414 in order to determine the appropriate future routing of the targeted application data cell 408 (e.g., whether the data cell, and the program therein, is safe for further processing).
  • a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • a flow processing facility 102 may secure a computer, computer network, or other network from a virus that is carried by or associated with a data flow 444 from a targeted file type.
  • a targeted file type may be, but is not limited to, an email, executable file, jpeg, .mpeg, and the like.
  • the flow processing facility 102 may receive the targeted file data flow 444 and associate the flow 444 with one or more of a plurality of antivirus applications 522, which may reside in one or more of a plurality of application processor modules 212.
  • a targeted file data flow 444 may be received from a public network 202 or private network 204 by a flow processing facility 102 enabled to produce normalized data 428 from the target file data flow 444.
  • a data cell 408 of the received data flow 444 may indicate the presence of a computer program with the targeted file type. This data cell 408 may be routed through a cell router 410 to an application processor module 212.
  • the application processor module 212 may include an antivirus program that may be used to analyze the target file data cell 408 for the presence of a virus. After the application processor module 212 has analyzed the targeted file data cell 408 it may be routed back through the cell router 410.
  • the cell router 410 may route the data cell 408 to a quarantine facility, at which point the processing of the data cell 408 is done 420. Alternatively, the cell router 410 may further check the targeted file data cell 408 against other identifiers 430, security policies 414, and the like in order to determine the appropriate future routing of the targeted file data cell 408. Once the targeted file normalized data 428 has been determined to be free of viruses it may be routed to a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • a network e.g., a physical network interface 302
  • machine learning may be used to create a self organizing map capable of detecting anomalies in a data flow 444 from a targeted file type for securing a computer, computer network, or other network from viruses.
  • a targeted file data flow 444 may be received from a public network 202 or private network 204 by a data flow processor 310.
  • the data flow processor 310 may include machine learning acceleration hardware 318, machine learning logic 314, content search logic 312, and the like, that may be used to generate a self organizing map associated with the targeted file type.
  • the self organizing map may be able to identify anomalies in the packets 402 associated with the targeted file data flow 444, and produce normalized data 428 for further processing and security analysis.
  • a targeted file data flow 444 may be a data flow associated with an email file type.
  • An email file data flow 444 may be anomalous in that it contains an executable file, .jpeg, or other code.
  • the normalized data 428 produced through the use of the self organizing map may be further associated with a normalized data type 424, an application group 422, other identifiers 430, and/or a security policy 414 in order to determine the appropriate future routing of the targeted file data cell 408 (e.g., whether the data cell is safe for further processing).
  • a packet generator 418 for forwarding on to a network (e.g., a physical network interface 302).
  • the flow processing facility 102 may provide a service generally associated with a network firewall; may be incorporated in a network file; and/or may be associated with a network firewall.
  • a self-organizing map or other machine learning logic 314 may, respectively, detect an anomalous data flow 444 and process the data flow 444 to check for and, perhaps, remedy network attacks or threats, which may include intentional or unintentional malformations of the data flow 444, repetitions in the data flow 444, multiple transmissions of the data flow 444, and so forth.
  • a firewall application 514 may process a data flow 444 (including its packet headers and/or payloads), checking its data cells 408 for known attacks, malformed headers, suspicious payloads, and so forth.
  • the firewall application 514 may or may not provide stateful inspection of the data cells 408.
  • the firewall application 514 may allow, deny, or modify the data flow 444, as appropriate and as is described in greater detail hereinafter.
  • the firewall application 514 may employ content inspection.
  • the flow processing facility 102 may direct only anomalous data flows 444 to the firewall application 514. Since any and all data flows 444 that are not anomalous might not be directed to the firewall application 514, computing resources are conserved as compared with a system in which all of the data flows 444 are directed to the firewall application 514. Moreover, the self- organizing map may be trained on recent data flows 444, so that its representation of what is and is not anomalous may be relatively current. This may be important since network conditions such as throughput, inter-arrival times, and other factors may change dramatically over time. Thus, the flow processing facility 102 may be capable of accurately classifying data flows 444 as anomalous, even in the face of changing network conditions. Many other advantages will be apparent.
  • a firewall may refer to a system or group of systems comprising one or more software programs and/or hardware devices that, when integrated into a networked environment 100, implement one or more measures to detect, prohibit, circumscribe, and/or otherwise limit communications that are disallowed, such as and without limitation by a reference network security policy 414.
  • a policy 414 may consist of information concerning the conditions (if any) under which a facility that is interacting with a network may be granted to access to and/or from network resources, facilities, services, devices, and the like.
  • a networked environment 100 may be composed of one or more computers (such as and without limitation the server computing facilities 108) that may be operatively coupled to one or more computers via a data communication system, which may consist of the internetwork 104, the flow processing facility 102, and so forth.
  • network firewall may be used interchangeably with the terms “packet filter” and "border security device”, but formally may refer to one or more systems, devices, or combinations thereof that control access to and from a network by examining elements of a data flow 444 that may be associated with a layer of a protocol stack, which may consist of an OSI-compliant protocol stack, an Internet protocol stack, or any other protocol stack.
  • the network firewall may be directed at the network layer of a OSI- compliant protocol stack (Layer 3), which may encompass TCP/IP.
  • the communication may consist of packets 402 that may originate from and/or may be directed to facilities within the a protected network, application, service, or other element of a networked computing environment 100.
  • the network firewall may inspect and filter a packet 402 or associated data cell 408 according to a criterion or rule 450, which may be associated with one or more access policies.
  • This rule 450 may factor such Layer 3 components as source and destination addresses, port access information, other semaphore elements, and so forth.
  • network firewall may refer to one or more system or devices that control access to and/of from clients and resources within a network by examining the network- level components of a layered communication protocol (where these components may reside in Layer 3 of the OSI communication model).
  • An "application-layer firewall” may examine the payload of a packet 402 or associated data cell 408 and may be directed at elements above Layer 3 and particularly at elements associated with Layer 7, the application layer.
  • An application-layer firewall may process and respond to a data flow 444 and associated packets 402 or data cells 408 according to a different set of criteria than a network firewall.
  • application-layer firewalls include, but are not limited to, anti-virus facilities, anti-spam programs, pop-up blockers, and other such content-based, behavior-based, anomaly-based, flow-based, rule-based, or other data flow 444 processing facilities.
  • a network firewall may be operated in parallel to or in series with an application-layer firewall.
  • the network firewall may comprise a component in a Unified Threat Management (UTM) system, which may include an application- layer firewall and/or any and all other security facilities.
  • UTM Unified Threat Management
  • a packet 402 or groups of packets 402 (or one or more data cells 408 associated therewith) that are in violation of a network-layer security policy (which may be an instance of the security policy 414) may be routed to an plurality of adjunctive facilities (such as and without limitation a plurality of applications 512) for further, parallel examination or processing.
  • either the network firewall or the application-layer firewall may first process a packet 402 or associated data cell 408 and then route it to the succeeding stage.
  • a network firewalls may be operated in a standalone fashion; that is, operated without any parallel systems or adjunctive facilities.
  • One aim of firewall protection may be to shield a computer or network from a communication or data flow 444 that would be harmful to that computer or network.
  • the subject data flow 444 may originate from a public network 202, a private network 204, a server computing facility 108, an internetwork 104, a computing facility that is associated with one or more of the foregoing, and so forth.
  • a network firewall may examine the structure, formation, source, destination, or other such element of associated with a data flow 444. This examination may be directed at detecting communications that, if allowed to pass unhindered through the network firewall, may impair the proper operation of a network that is operatively coupled to the network firewall and/or a computing facility that is operatively coupled to the network and/or network firewall.
  • Such an impairment may, without limitation, include damage to or degradation of a service provided by the network; corruption or disruption of processes within the computing facility; corruption of and/or damage to data within the network or computing facility; breach or compromise of confidentiality or integrity of the network, the computing facility, data transmitted through the network, data stored in the computing facility; and so forth.
  • a network firewall may provide protection from many types of attacks, some of which may be intentional and malicious, some of which may be the result of a malfunctioning or rogue facility. Any and all of these attacks may attempt to create a disruption by one or more of these techniques selected from the following group of techniques: consume resources used in data communication (such as bandwidth, disk space, or CPU time); intentionally mangling or otherwise manipulating configuration information related to network communication (such as routing information); creating a disruption of physical network components; and so forth.
  • consume resources used in data communication such as bandwidth, disk space, or CPU time
  • intentionally mangling or otherwise manipulating configuration information related to network communication such as routing information
  • creating a disruption of physical network components and so forth.
  • a denial-of-service (DoS) attack may comprise a malicious or intentional communication attack against which a network firewall may provide protection.
  • DoS attack is referred to in the art as flooding.
  • Flooding may consist of a brute force attempt to monopolize network and/or computational resources by submitting a large number of packets 402 to a destination with the intent of overwhelming a computing facility at the destination and causing a disruption.
  • Flooding may use one or more elements in the network layer to initiate, introduce, or reinforce the disruption.
  • An example of flooding is known in the art as a "SYN flood," which may generate a flurry of TCP SYN packets 402 — where a SYN packet 402 may be a synchronization packet 402 for requesting a TCP connection — from an invalid sender address.
  • An unprotected target facility that interprets these packets 402 as being valid requests to initiate TCP connections would open a connection with the source of the packet, returning an acknowledgement (a TCP/SYN-ACK packet 402).
  • the source address is invalid, no response would be forthcoming.
  • a large number of unresolved connections may remain oven on the target facility, consuming system resources so as to impair the ability of the target facility to responding to legitimate requests.
  • flooding may consist of a SYN flood and other techniques, such as "ping flooding” in a distributed manner or other so-called distributed, denial-of-service attacks (DDoS) wherein multiple computing facilities mount a more or less simultaneous attack on one or more targets.
  • DDoS distributed, denial-of-service attacks
  • a "smurf ' attack is another example of a DoS flooding attack.
  • a client within a network is co-opted and floods other clients on that network with packets 402 (which are made to carry the address of the co-opted client as the source) using a broadcast address of the network as the destination.
  • the other clients may monitor the broadcast address in addition to their own unique address.
  • a banana attack uses a co-opted client to generate packets 402 (typically ICMP packets) with that client's own address as the destination, thereby consuming network bandwidth and routing resources.
  • a further variation of the smurf attack is called a "fraggle" attack, which uses the echo facility of UDP to flood the broadcast address of a network, using either an invalid or co-opted source address.
  • a malicious resource sends a damaged or malformed packet to a target (often via ICMP) that is directed at exploiting a weakness in the operating system of the target.
  • a "bomb" may be addressed to a certain logical network port of a target computing facility and may contain invalid information that, when received, may cause the target to crash, to operate in an impaired mode or fashion, or to impair another computing facility.
  • unrelated logical network ports that are otherwise available for other services may be blocked or changed.
  • nuke attack may be known in the art as a "teardrop" attack.
  • a malicious source may exploits a bug in an older Windows system by sending fragments that are spread across packets with overlapping payloads. The design of the packets may induce the system into incorrectly reassembling the fragments, causing the system to crash.
  • a packet 402 may be transmitted to a destination facility wherein an URG flag within the packet may be set.
  • the URG flag may be a TCP flag signaling that that packet 402 is to be processed immediately.
  • a queuing operation of the destination facility may be impaired or otherwise affected by such a packet 402.
  • a firewall may be configured in a variety of ways, including (but not limited to) a system that provides protection for a local area network (LAN); a system that is deployed by an ISP and that provides Internet access to subscribers, computing facilities, networks, and so forth; an individual computing facility that access a network facility; and so forth.
  • LAN local area network
  • ISP Internet Protocol Security
  • a network firewall may monitor a data flow 444 consisting of one or more IP-based data packets 402.
  • the network firewall may monitor any and all other communication structures that may be overlaid above a link layer such as Ethernet.
  • These protocols may include (but are limited to) IP; TCP/IP; UDP/IP; IPSec; SSH; SCP/SSH; DHCP; BGP; SMTP; ICMP; NNTP; NTP; LDAP; IGMP; RTTP; ARP; and so on.
  • a flow processing facility 102 may protect a computing facility and/or network facility from a network attack by examining a data flow 444 that is received from a public network 202 and/or from a private network 204.
  • the flow processing facility 102 may comprise one or more application modules 512, which themselves may encompass one or more firewall applications 514.
  • the firewall applications 514 may be associated with one more applications 512, which may be co-resident in the application modules 512.
  • the network processor module 210 may receive a data flow 444 through any of the physical interfaces 302 as described hereinabove with reference to Fig. 3.
  • the data flow 444 may then be provided to a data flow engine 308.
  • a data packet 402 that is associated with the data flow 444 may be presented to a cell generator 404 or other formatting stage, which may transform the packet 402 into a data cell 408 for presentation to a cell router 410.
  • portions of the packet 402 that may relate to the firewall application 514 may be processed into normalized data 428.
  • an application identifier 412 of the firewall application 514 may be associated with the data packet 402.
  • the cell router 410 may consider this application identifier 412 when determining where to route a data cell 408 that is associated with the packet 402.
  • a data flow 444 that contains an IP SYN may be received by a flow processing facility 102 from a public network 202 or private network 204.
  • the IP SYN may encompass a request by a client computing facility within Eng Dept 110 and to which a reply, in accordance with TCP, may be in order.
  • the data flow processor 310 may communicate an application identifier 412 to the cell router 410, wherein the identifier 412 may be associated with a packet 402 of the data flow 444 that contains the SYN.
  • the cell router in light of the application identifier 412, may direct one or more data cells 408 that are associated with the packet 402 to one or more instances of a firewall application 514.
  • These instances of the firewall application 514 may analyze the SYN request that may be within data cells 408 for the presence of anomalous, repetitious, and/or malformed data that may indicate that the SYN request is malicious or erroneous.
  • the presence of repeated SYN requests over a short period of time from the same address may be indicative that SYN flooding attack is underway.
  • the flow processing facility 102 may include one or more firewall applications 514, which may be used, as described throughout this document, to protect against network attacks including (but not limited to) DoS attacks and their variants, DDoS attacks and their variants, bombs, nukes, and other such attacks wherein one or more packets 402 are intentionally or unintentionally malformed, sequenced, repeated, damaged, mangled, or otherwise directed at producing an ill effect on a computing facility or network facility.
  • firewall applications 514 may be used, as described throughout this document, to protect against network attacks including (but not limited to) DoS attacks and their variants, DDoS attacks and their variants, bombs, nukes, and other such attacks wherein one or more packets 402 are intentionally or unintentionally malformed, sequenced, repeated, damaged, mangled, or otherwise directed at producing an ill effect on a computing facility or network facility.
  • the methods and systems disclosed herein may provide a flow processing facility for processing a data flow, and configuring the flow processing facility to recognize patterns in the data flow based at least in part on learning (e.g., artificial neurons, an SOM-based neural net, and the like).
  • learning e.g., artificial neurons, an SOM-based neural net, and the like.
  • the data flow processor 310 may incorporate unified threat management functionalities that are relevant to identifying threats of disparate types, including threats relevant to intrusion detection, intrusion protection, anti-virus protection, anti-spyware protection, and anti-spam protection, as well as other types of threats, such as related to phishing or unauthorized use of computer network resources.
  • the data flow processor 310 may be incorporated within a unified threat management application such that the data flow processor 310 functionality is one of a plurality of functionalities provided by the unified threat management application.
  • the data flow processor 310 may be independent from, but associated with, a unified threat management application such that the identification of disparate threat types described above herein is provided by the data flow processor 310 in conjunction with an independent unified threat management application, or the like.
  • an indication suggestive of an attack may be detected by a machine learning logic 312, such as and without limitation a self-organizing map.
  • the machine learning logic 314 and/or parameters thereof may be generated by one or more components of a data flow engine 308, may be imported from another machine learning logic 314, may be the result of a machine-learning algorithm, or may result from a combination of the foregoing.
  • elements or parameters of a self-organizing map may be updated, refreshed, or otherwise modified, on a continuing or discrete basis, by a machine-learning algorithm, which may or may not reside in the data flow engine 308.
  • the self- organizing map or a process associated with it may import or otherwise obtain adjunctive, additional, or revised elements or parameters from another self-organizing map.
  • the self- organizing map may also be updated, refreshed, and/or otherwise modified, on a continuing or discrete basis, by co-resident modules (and/or by processes associated with such co-resident modules).
  • an anti-virus application 522 may pass an alert to or otherwise inform a resident firewall application 512 that it has identified a data flow 444 as carrying malicious code. Such an alert may include relevant elements of (and/or information about) the data cells 408 or data packets 402 that are associated with the malicious code.
  • the firewall application 512 may identify an anomalous activity within a data flow 444 by detecting the degree to which (or, the number of number of times that) the data flow 444 maps to an artificial neuron in the self organizing map. It "will be appreciated that the machine learning logic 314 or self-organizing map may detect an anomaly that emerges over time and that may not be evident in a single event, packet 403, or cell 408. When such an anomaly is detected, it may be indicated in the normalized data 428, which may be associated with an application identification 412 and a security policy 414, either or both of which may be associated with directing the cell router 410 to transmit any and all data cells 408 that are associated with the anomaly to an instance of the firewall application 514.
  • the firewall application 514 may examine these data cells 408, either on line or off line, to determine whether or not the detected anomaly represents a correct detection. If it does, the firewall application 514 may take an action, such as modifying or dropping one or more of the data cell 408, so that no harm or ill effect is brought upon a computing facility or network facility by the data cell 408.
  • the anomaly may derive from, but may not be limited to, a data flow 444 from an unknown source or to an unknown destination; a data flow 444 from a new infrequent source; a data flow 444 to a new or infrequent destination; a data flow 444 with or without any of the foregoing source and destination combinations; a data flow 444 that contains an IP flag, function, or other semaphore that may be associated with a particular attack; a data flow 444 that contains a flag, function, or other semaphore is rarely or never before received; a data flow 444 containing a component that is rarely or never before received from a particular source; a data flow 444 that is malformed or damaged; a data flow 444 that is addressed to or from a particular location; a data flow 444 that is addressed to one or more ports on a computing facility or network facility that are associated with an attack; and so forth.
  • one or more self-organizing maps may have been trained to detect the emergence of a fraggle attack.
  • a UDP/IP packet 402 may be sent from a source to a destination computing facility.
  • the packet 402 may comprise a request that the target computing facility "echo" the packet.
  • the packet 402 may be transmitted using the broadcast address of the network within which the target resides.
  • a security policy 414 may specify, generally, whether such a request should be allowed to pass through the data flow engine 308. However, some requests of this type may be valid (there are valid communications that use UDP/IP echoing) so simply prohibiting this type of communication may not be desirable.
  • each and every packet 402 that is received by the data flow engine 308 may be mapped to a feature vector.
  • These feature vectors may themselves be mapped to artificial neurons within a self-organizing map.
  • a detection threshold may be set for some or all of the artificial neurons of the self-organizing map. If the number of feature vectors that map to a particular neuron exceeds the detection threshold for that neuron then the data flow 444 may be flagged as anomalous.
  • any and all of the data cells 408 associated with the data flow 444 may be routed by the cell router 410 to the firewall application 514 in an application processor module 212.
  • the data flow 444 may be quarantined, dropped, modified, inhibited, allowed, denied, or otherwise controlled.
  • an alert 442 may be generated. As with other elements in a UTM environment, this alert may take the form of a data element, an electric signal, an audible or visible annunciation, a wireless signal, or a communication stream, some combination of the foregoing, and so forth.
  • the alert 442 may also be routed to another element of the flow processing facility 102, such as another component of an application processor module 212.
  • the alert 442 may also signal a human operator of the flow processing facility 102, and/or any other facility, program, or device that is configured to receive and process the alert 442.
  • an alert 442 may be passed to anti-spam application 528 so that the source address of the attack may be integrated into a database or set of references used by that application 528.
  • All of the elements of the flow processing facility 102 and firewall application 514 may be depicted throughout the figures with respect to logical boundaries between the elements. According to software or hardware engineering practices, the modules that are depicted may in fact be implemented as individual modules. However, the modules may also be implemented in a more monolithic fashion, with logical boundaries not so clearly defined in the source code, object code, hardware logic, or hardware modules that implement the modules. AU such implementations are within the scope of the present invention.
  • Firewalls 514 are known to provide external access control and filtering. Embodied as a firewall 514, intrusion detection and prevention may act as a perimeter guard for a network, determining what traffic to allow or deny in and out. A firewall 514 may do this by applying a policy, which may comprise accept and deny rules, based on various criteria, such as a source, destination, and protocol. By providing access control, a firewall 514 may provide a first layer of defense to external intrusions.
  • a firewall policy may allow protocols that enable organizations to do business on the Internet, such as SMTP, FTP, HTTP, SMTP and DNS, and may keep out some traffic that may pose a threat to the internal systems.
  • flow processing facility 102 may include a firewall 514 application and therefore may facilitate intrusion detection and prevention.
  • FIG. 29 a schematic depicting an example networked computing environment 2900 in which intrusion detection and prevention is employed; various locations of intrusion detection and prevention are shown.
  • the network of Fig. 29 includes a firewall 514; servers 108; virtual private network port 2910; segments 2912, 2914; a wireless port 2918; users 2920; and a VoIP port 2922.
  • the example networked computing environment 2900 is simplified for pedagogical purposes.
  • the environment 2900 does not show the plurality of networking devices that externally connect to the firewall 514, the various hubs, routers, and switches that may comprise the networked computing operation of an actual enterprise, and so on.
  • These simplifications are provided for the purpose of drawing attention to the intrusion detection and prevention facility 2902, which is an object of the present invention.
  • networked computing environments 2900 can be arbitrarily complex and assume a countless number of configurations, the deployment of the intrusion detection and prevention facility 2902 is not in any way limited to the particular networked computing environment 2900 shown here.
  • the intrusion detection and prevention facility 2902 may be an independent platform as shown in Fig. 29. Such a facility 2902 may identify and prevent intrusions by examining network traffic through one or more connections of a network. This examination of network traffic may encompass content inspection and/or processing packet headers. Intrusion detection and prevention facility 2902 may gain access to the network traffic by interconnecting a network and a firewall 514, a segment such as eng segment 2914 or mfg segment 2912, users 2920, a virtual private network 2910, a server 108, or a wireless port 2918, and any other networked device, facility, port, hub, router, switch, and so on. In such a configuration, the intrusion detection and prevention facility 2902, also called a sensor, may capture network traffic flows for analysis of the content and packets for malicious traffic.
  • Intrusion detection and prevention 2902 may be configured in a flow processing facility 102 and operate in one or more modes including, without limitation hub mode, tap mode, port clustering mode, and in-line mode.
  • a hub mode network configuration the flow processing facility 102 may be connected to a SPAN port of a network switch device or a network hub device processing data streams in parallel to the switch or hub.
  • a tap mode network configuration the flow processing facility 102 may be configured in-line with network traffic yet may be functionally disabled without disrupting network traffic by allowing network traffic to passively transfer through the device.
  • Such a mode may be appropriate for interconnection to a segment 2912.
  • port clustering mode a plurality of network traffic streams may be combined for intrusion analysis, detection, and prevention.
  • Examples of port clustering shown in Fig. 29 include interconnecting users 2920, and segments 2912 and 2914.
  • In-line mode may be similar to tap mode in that network traffic passes through the flow processing facility 102 for detection and prevention of intrusions. Unlike tap mode, in-line mode may enforce network traffic to pass through it to reach other devices on the network. In-line mode may facilitate the use of caching data streams until there is enough for data reassembly which may allow detection and prevention of intrusions not otherwise easily detected.
  • Examples of in-line mode shown in Fig. 29 include interconnecting a firewall 514, a wireless port 2918, a server 2904, and a VPN 2910.
  • intrusion detection and prevention functionality 2902 may be configured as an application or action encompassed by unified threat management application 520.
  • intrusion detection and prevention 2902 may include one or more of a firewall related application or action, an intrusion prevention application 518 or action, and a URL filter application 524 or action.
  • Intrusion detection and prevention 2902 may alternatively be embodied as a function or application within a network-connected computing device such as a server 108. Such an application or software agent may monitor any and all activity of the server 108 on which it is installed, facilitating intrusion detection and prevention of such things as applications, databases, file systems, operating systems, network communication, and security policy. Intrusion detection and prevention 2902 may identify and prevent intrusions by analyzing system calls, application logs, file-system modifications (binaries, password files, capabiliry/acl databases) and other sever activities and states.
  • virtual private networks 2910 and wireless networks 2918 provide access to the internal network that may bypass the firewall 514.
  • An intrusion detection and prevention facility 2902 may be effective at detecting and preventing intrusions through these network interfaces.
  • Intrusion detection and prevention 2902 may employ misuse type detection algorithms for detecting intrusion attempts at various levels of data flow within a network. Such algorithms may be based on known intrusions and stored in a database or table of intrusion signatures.
  • Flow processing facility 102 may provide access to the various levels of data flow 444 such as packets 402 and may also provide access to the signatures.
  • Application processor module 212 may process the data flows 444 and the signatures to facilitate detection of intrusion attempts.
  • signature based algorithms may detect known attacks as defined in the signatures
  • processing logic such as the application processor module 212 may be able to adapt or combine signatures to detect new attacks which share characteristics with old attacks, e.g., accessing 'cmd.exe' via a HTTP GET request.
  • Intrusion detection may include the use of signatures that include knowledge of semantics of session layer and application layer data flows 444.
  • the knowledge may be based on weighted network data flow content that is analyzed to develop the signatures.
  • Intrusion detection functions within intrusion detection and prevention 2902 may include monitoring and analyzing both user and system activities, analyzing system configurations and vulnerabilities, assessing system and file integrity, recognizing patterns typical of attacks, analyzing abnormal activity patterns, tracking user policy violations, address matching, HTTP string and substring matching, generic pattern matching, analyzing TCP connections, packet anomaly detection, traffic anomaly detection, and TCP/UDP port matching, and the like.
  • Threats associated with user and system activities may include, without limitation worms, Trojans, spyware, keyloggers, and other malware, rogue servers and applications that may have been unknowingly added to the network.
  • Intrusion detection and prevention 2902 may employ an anomaly based technique for identifying intrusions of traffic or application content presumed to be different from 'normal' activity on the network.
  • Anomaly-based intrusion detection and prevention 2902 configurations may achieve this with self-learning such as a self organizing map or a Kohonen map.
  • Intrusion detection and prevention 2902 may monitor network segment activity to compare it to the normal baseline and look for anomalies. Anomaly detection within intrusion detection and prevention 2902 may use network protocol analysis to detect anomalies that may indicate an intrusion.
  • Protocol analysis may also include low level analysis of data flows such as at the network or transport layer by looking at the behavior of well known protocols such as ARP, BGP, EGP, IGMP, IPv4, IPv6, IPX, MPLS, OSPF, RARP, RIP, XNS, IL, RTP, SPX, SCTP, TCP, IP, and ICMP.
  • protocols such as ARP, BGP, EGP, IGMP, IPv4, IPv6, IPX, MPLS, OSPF, RARP, RIP, XNS, IL, RTP, SPX, SCTP, TCP, IP, and ICMP.
  • Examples of network or protocol level intrusions that may be detected by protocol analysis include TCP SYN flooding, malformed IP packets (such as an out of range IP header) or malformed browser data blocks sent to a web server.
  • the flow processing facility 102 may include packet arrival time stamping, packet filtering, packet triggering, and the like.
  • a network configuration of the flow processing facility 102 for very high speed networks like Gigabit Ethernet may include packet arrival time stamping to facilitate merging two or more data flows together for detection and prevention. This may facilitate detecting intrusions that do not sufficiently impact one flow to trigger an intrusion.
  • Intrusion detection and prevention 2902 may additionally or alternatively encompass a rate based intrusion protection technique.
  • This rate based technique applied in intrusion detection and prevention 2902 may rely on learned thresholds for different parameters of network traffic.
  • This technique may prevent denial of service attacks and distributed denial of service attacks.
  • This technique may use a SOM or neural net algorithm in learning the traffic behavior over a period of time and adjusting thresholds on different parameters of network traffic.
  • the machine learning logic 314 may support continuously learning network traffic patterns of data flows 444 such that a prediction may be made as to how much traffic is expected the next moment.
  • applying a rate based intrusion detection and prevention technique may facilitate predicting how many packets in all, how many IP packets, how many ARP packets, how many new connections/second, how many packets/connection, how many packets to a specific tcp/udp port, and so forth. Detection may activate intrusion prevention when a measured network traffic parameter is different than that predicted.
  • Detection of rate-intrusion may be done using the adaptive thresholds wherein the thresholds may be adjusted based on time of day, day of week, and based on past stored traffic statistics. Prevention may be done using one or more of several techniques such as those that are associated with or comprise granular rate-limiting on the specific dimension of attack; source tracking; connection tracking; dark-address filtering; network scan filtering; port scan filtering; legitimate IP address validation; and any and all other techniques that facilitate avoiding false positives.
  • intrusion detection and prevention 2902 may provide protection against protocol anomalies, known attacks (e.g. probes, scans, backdoors), malicious code (e.g. worms, viruses, Trojans), peer-to-peer traffic and denial-of- service attacks.
  • Intrusion detection and prevention 2902 may also enforce network flow policies and watch for suspicious connections such as IPv6 tunneling.
  • Intrusion detection and prevention 2902 may also use a combination of signatures and behavioral heuristics to detect security threats for providing zero-day attack protection.
  • Content filtering may be an employed technique in intrusion detection and protection 2902 for both inbound and outbound network data flows 444.
  • Content filtering may include signature-based filters that can be updated in real-time to facilitate guarding against newly determined threats.
  • heuristic and artificial intelligence tools such as self organizing maps and neural-networks may be leveraged to provide content filtering against unknown (i.e. zero-day) threats.
  • a content filtering solution within intrusion detection and prevention 2902 may allow customization of a security policy 414 such as filtering out any outbound e-mail containing proprietary diagrams, confidentiality content, non-compliant content, or legal liability items.
  • HIPAA Health Insurance Portability and Accountability Act
  • Intrusion detection and prevention 2902 may include sensors deployed inline with a network connection such that the data streams that are passing through are analyzed for intrusions. Depending on the type and severity of an intrusion detected, a prevention action may be taken such as the data packets within the data stream may be dropped, or an alert may be issued, or the intrusion may simply be logged for later analysis. Another such prevention action may be to route intruding data streams to a virtual network such that all the information related to the intrusion is tracked and captured to facilitate providing forensic reports.
  • Intrusion detection and prevention 2902 may include alerting through a variety of electronic means such as email, system logging, snmp, logfile, SMS-external, pager, application execution, process spawning, third-party application execution, SGMS, SMS via email, console updating, instant messaging, and any other electronic signaling techniques.
  • electronic means such as email, system logging, snmp, logfile, SMS-external, pager, application execution, process spawning, third-party application execution, SGMS, SMS via email, console updating, instant messaging, and any other electronic signaling techniques.
  • intrusion detection and prevention 2902 may also provide solutions for voice over IP (VoIP) 2922 as it relates to a network 2900.
  • VoIP may be vulnerable to intrusion such as hackers, attacks, worms, and vulnerabilities native to the application. These and other vulnerabilities may open the VoIP solution up to eavesdropping, identity theft, fraud and denial of service.
  • VoIP protocols may be protected by intrusion detection and prevention 2902 through monitoring control flow such as SIP, H.225 (for H.323), and MGCP since the control flow is where the logic and policy enforcement take place.
  • VoIP data flow or "media” such as RTP and RTCP may be subject to intrusion from a variety of sources such as exploits that target Skype, SIP, H.323, as well as vendor-specific VoIP phones. Integrating intrusion detection and prevention 2902 with VoIP may facilitate preventing most of the potential threats.
  • intrusion detection and prevention 2902 may also provide protocol anomaly detection.
  • Examples of some detectable and preventable intrusions associated with VoIP include SIP related intrusions: non-standard method, wrong version, no colon after the command, method overflow, unknown header, chunk length overflow, wrong content length, max-forwards are too big, H:225 intrusions unknown command, and no protocol ID.
  • Elements of the flow processing facility 102 may be depicted throughout the figures with respect to logical boundaries between the elements. According to software or hardware engineering practices, the modules depicted may be implemented as individual modules. However, the modules may also be implemented in an alternate fashion, with logical boundaries less clearly defined in the source code, object code, hardware logic, or hardware modules that implement the modules. All such implementations are within the scope of the present invention.
  • the hardware may include a general purpose computer and/or dedicated computing device.
  • the processes may be realized in one or more microprocessors, microcontrollers, embedded microcontrollers, programmable digital signal processors or other programmable device, along with internal and/or external memory.
  • the processes may also, or instead, be embodied in an application specific integrated circuit, a programmable gate array, programmable array logic, or any other device that may be configured to process electronic signals.
  • the process may be realized as computer executable code created using a structured programming language such as C, an object oriented programming language such as C++, or any other high-level or low-level programming language (including assembly languages, hardware description languages, and database programming languages and technologies) that may be stored, compiled or interpreted to run on one of the above devices, as well as heterogeneous combinations of processors, processor architectures, or combinations of different hardware and software.
  • processing may be distributed across a camera system and/or a computer in a number of ways, or all of the functionality may be integrated into a dedicated, standalone image capture device or other hardware. AU such permutations and combinations are intended to fall within the scope of the present disclosure.
  • means for performing the steps associated with the processes described above may include any of the hardware and/or software described above.
  • each process, including individual process steps described above and combinations thereof may be embodied in computer executable code that, when executing on one or more computing devices, performs the steps thereof.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

Selon l'invention, une fonctionnalité de traitement de flux, qui utilise un ensemble de neurones artificiels pour une reconnaissance de formes, tel qu'une carte auto-organisatrice, afin d'obtenir la sécurité et la protection d'un ordinateur ou d'un système informatique, prend en charge la gestion unifiée de menaces sur la base au moins en partie de formes applicables à une variété de types de menaces qui concernent des systèmes informatiques, notamment des réseaux informatiques. Le traitement de flux pour la commutation, la sécurité et d'autres applications de réseau, comprenant une fonctionnalité qui traite un flux de do nnées pour aborder des formes applicables à une variété de conditions, concerne la sécurité de réseau interne, la virtualisation et la sécurité de connexion Web. Une fonctionnalité de traitement de flux pour inspecter des charges utiles de paquets de trafic de réseau détecte des menaces de sécurité et des intrusions sur des couches accessibles de la pile IP par l'application de techniques de détection d'anomalie de comportement et de correspondance de contenu basées sur des cartes auto-organisatrices et de correspondance d'expression régulière. L'exposition des menaces et des intrusions dans la charge utile de paquet à des débits en temps réel ou presque renforce la sécurité de réseau à partir de sources à la fois externe et interne tout en garantissant qu'une politique de sécurité est rigoureusement appliquée à des ressources de données et de systèmes. Une protection par détection d'intrusion (IDP) est mise à disposition par une fonctionnalité de traitement de flux qui traite un flux de données pour aborder des formes applicables à une variété de types de menaces d'intégrité de données et de réseaux qui concernent des systèmes informatiques, notamment des réseaux informatiques.
EP06846609A 2005-12-13 2006-12-13 Systemes et procedes pour traiter des flux de donnees Withdrawn EP1960867A4 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP11007048.9A EP2432188B1 (fr) 2005-12-13 2006-12-13 Systèmes et procédés de traitement de flux de données
EP11002731A EP2442525A1 (fr) 2005-12-13 2006-12-13 Systèmes et procédés de traitement de flux de données

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
US74991505P 2005-12-13 2005-12-13
US75066405P 2005-12-14 2005-12-14
US79570806P 2006-04-27 2006-04-27
US79571206P 2006-04-27 2006-04-27
US79570706P 2006-04-27 2006-04-27
US79588606P 2006-04-27 2006-04-27
US79588506P 2006-04-27 2006-04-27
PCT/US2006/062053 WO2007070838A2 (fr) 2005-12-13 2006-12-13 Systemes et procedes pour traiter des flux de donnees

Related Child Applications (1)

Application Number Title Priority Date Filing Date
EP11007048.9A Division EP2432188B1 (fr) 2005-12-13 2006-12-13 Systèmes et procédés de traitement de flux de données

Publications (2)

Publication Number Publication Date
EP1960867A2 true EP1960867A2 (fr) 2008-08-27
EP1960867A4 EP1960867A4 (fr) 2010-10-13

Family

ID=38163631

Family Applications (3)

Application Number Title Priority Date Filing Date
EP06846609A Withdrawn EP1960867A4 (fr) 2005-12-13 2006-12-13 Systemes et procedes pour traiter des flux de donnees
EP11002731A Withdrawn EP2442525A1 (fr) 2005-12-13 2006-12-13 Systèmes et procédés de traitement de flux de données
EP11007048.9A Active EP2432188B1 (fr) 2005-12-13 2006-12-13 Systèmes et procédés de traitement de flux de données

Family Applications After (2)

Application Number Title Priority Date Filing Date
EP11002731A Withdrawn EP2442525A1 (fr) 2005-12-13 2006-12-13 Systèmes et procédés de traitement de flux de données
EP11007048.9A Active EP2432188B1 (fr) 2005-12-13 2006-12-13 Systèmes et procédés de traitement de flux de données

Country Status (3)

Country Link
EP (3) EP1960867A4 (fr)
IL (1) IL192117A (fr)
WO (1) WO2007070838A2 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967589A (zh) * 2014-05-27 2015-10-07 腾讯科技(深圳)有限公司 一种安全性检测方法、装置和系统

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9800608B2 (en) 2000-09-25 2017-10-24 Symantec Corporation Processing data flows with a data flow processor
US20070192863A1 (en) 2005-07-01 2007-08-16 Harsh Kapoor Systems and methods for processing data flows
US20020165947A1 (en) 2000-09-25 2002-11-07 Crossbeam Systems, Inc. Network application apparatus
US8010469B2 (en) 2000-09-25 2011-08-30 Crossbeam Systems, Inc. Systems and methods for processing data flows
US9525696B2 (en) 2000-09-25 2016-12-20 Blue Coat Systems, Inc. Systems and methods for processing data flows
US7979368B2 (en) 2005-07-01 2011-07-12 Crossbeam Systems, Inc. Systems and methods for processing data flows
US8135007B2 (en) 2007-06-29 2012-03-13 Extreme Networks, Inc. Method and mechanism for port redirects in a network switch
US8339959B1 (en) 2008-05-20 2012-12-25 Juniper Networks, Inc. Streamlined packet forwarding using dynamic filters for routing and security in a shared forwarding plane
US7899849B2 (en) * 2008-05-28 2011-03-01 Zscaler, Inc. Distributed security provisioning
US8955107B2 (en) * 2008-09-12 2015-02-10 Juniper Networks, Inc. Hierarchical application of security services within a computer network
US8040808B1 (en) 2008-10-20 2011-10-18 Juniper Networks, Inc. Service aware path selection with a network acceleration device
US20100299349A1 (en) * 2009-05-20 2010-11-25 Microsoft Corporation Reducing Latency in Returning Online Search Results
US9251535B1 (en) 2012-01-05 2016-02-02 Juniper Networks, Inc. Offload of data transfer statistics from a mobile access gateway
ES2429425B1 (es) 2012-01-31 2015-03-10 Telefonica Sa Metodo y sistema para detectar software malintencionado
US9659175B2 (en) 2012-05-09 2017-05-23 SunStone Information Defense Inc. Methods and apparatus for identifying and removing malicious applications
US8347391B1 (en) * 2012-05-23 2013-01-01 TrustPipe LLC System and method for detecting network activity of interest
US8856324B2 (en) 2013-01-28 2014-10-07 TrustPipe LLC System and method for detecting a compromised computing system
US9450978B2 (en) 2014-01-06 2016-09-20 Cisco Technology, Inc. Hierarchical event detection in a computer network
US9563854B2 (en) 2014-01-06 2017-02-07 Cisco Technology, Inc. Distributed model training
US9870537B2 (en) 2014-01-06 2018-01-16 Cisco Technology, Inc. Distributed learning in a computer network
CN103973675B (zh) * 2014-04-15 2017-05-24 湖南大学 跨域协作防火墙中的分段冗余检测方法
SG11201703164RA (en) * 2014-10-21 2017-05-30 Ironnet Cybersecurity Inc Cybersecurity system
US9253208B1 (en) 2015-03-05 2016-02-02 AO Kaspersky Lab System and method for automated phishing detection rule evolution
RU2619716C1 (ru) * 2015-12-18 2017-05-17 Федеральное государственное автономное образовательное учреждение высшего образования "Санкт-Петербургский политехнический университет Петра Великого" Способ управления рабочим множеством виртуальных вычислителей в виртуальной сетевой системе защиты информации
WO2018013244A1 (fr) 2016-07-14 2018-01-18 IronNet Cybersecurity, Inc. Systèmes cybercomportementaux basés sur une simulation et la réalité virtuelle
CN106230798B (zh) * 2016-07-21 2019-08-06 杭州迪普科技股份有限公司 一种流量牵引方法及装置
RU2664404C2 (ru) * 2016-12-21 2018-08-17 Федеральное государственное автономное учреждение науки Институт конструкторско-технологической информатики Российской академии наук (ИКТИ РАН) Способ обеспечения работоспособности вычислительной системы и устройства для его реализации
US20180314945A1 (en) * 2017-04-27 2018-11-01 Advanced Micro Devices, Inc. Graph matching for optimized deep network processing
SG11202010280PA (en) * 2018-04-18 2020-11-27 TrafficGuard Pty Ltd System and methods for mitigating fraud in real time using feedback
EP3804263A1 (fr) 2018-06-01 2021-04-14 Nokia Technologies Oy Procédé de filtrage de message dans un noeud numerique sur la base d'une analyse de données
EP3886374B1 (fr) * 2018-11-21 2024-05-22 Panasonic Intellectual Property Corporation of America Procédé de détection d'anomalie et dispositif de détection d'anomalie
CN110232927B (zh) * 2019-06-13 2021-08-13 思必驰科技股份有限公司 说话人验证反欺骗方法和装置
CN112491806A (zh) * 2020-11-04 2021-03-12 深圳供电局有限公司 一种云平台流量安全分析系统及方法
CN112508096B (zh) * 2020-12-08 2022-03-25 电子科技大学 一种基于几何自注意力机制的图像自动标注方法
CN115134277B (zh) * 2022-06-24 2023-10-20 山东信通电子股份有限公司 一种动态调整网络连接数的宽带网络速率测试方法及设备
CN115131893B (zh) * 2022-07-29 2023-07-25 上海圆大鱼科技有限公司 基于轻量级低频无线专网的智慧工地移动巡检方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6088804A (en) * 1998-01-12 2000-07-11 Motorola, Inc. Adaptive system and method for responding to computer network security attacks
US20030051026A1 (en) * 2001-01-19 2003-03-13 Carter Ernst B. Network surveillance and security system
US7017186B2 (en) * 2002-07-30 2006-03-21 Steelcloud, Inc. Intrusion detection system using self-organizing clusters

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HUFF J ET AL: "Hierarchical Kohonenen Net for Anomaly Detection in Network Security" IEEE TRANSACTIONS ON SYSTEMS, MAN AND CYBERNETICS. PART B:CYBERNETICS, IEEE SERVICE CENTER, PISCATAWAY, NJ, US LNKD- DOI:10.1109/TSMCB.2005.843274, vol. 35, no. 2, 1 April 2005 (2005-04-01), pages 302-312, XP011128464 ISSN: 1083-4419 *
LEI J Z ET AL: "Network intrusion detection using an improved competitive learning neural network" COMMUNICATION NETWORKS AND SERVICES RESEARCH, 2004. PROCEEDINGS. SECON D ANNUAL CONFERENCE ON FREEERICTON, NB, CANADA 19-21 MAY 2004, PISCATAWAY, NJ, USA,IEEE LNKD- DOI:10.1109/DNSR.2004.1344728, 19 May 2004 (2004-05-19), pages 190-197, XP010732731 ISBN: 978-0-7695-2096-4 *
See also references of WO2007070838A2 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967589A (zh) * 2014-05-27 2015-10-07 腾讯科技(深圳)有限公司 一种安全性检测方法、装置和系统
CN104967589B (zh) * 2014-05-27 2019-02-05 腾讯科技(深圳)有限公司 一种安全性检测方法、装置和系统

Also Published As

Publication number Publication date
EP2432188A1 (fr) 2012-03-21
EP2442525A1 (fr) 2012-04-18
IL192117A (en) 2013-09-30
EP1960867A4 (fr) 2010-10-13
EP2432188B1 (fr) 2016-04-20
WO2007070838A2 (fr) 2007-06-21
WO2007070838A3 (fr) 2008-07-03
IL192117A0 (en) 2008-12-29

Similar Documents

Publication Publication Date Title
US9525696B2 (en) Systems and methods for processing data flows
US8135657B2 (en) Systems and methods for processing data flows
US8402540B2 (en) Systems and methods for processing data flows
US7979368B2 (en) Systems and methods for processing data flows
EP2432188B1 (fr) Systèmes et procédés de traitement de flux de données
US9800608B2 (en) Processing data flows with a data flow processor
US20080229415A1 (en) Systems and methods for processing data flows
US20110219035A1 (en) Database security via data flow processing
US20110214157A1 (en) Securing a network with data flow processing
US20110213869A1 (en) Processing data flows with a data flow processor
US20110231564A1 (en) Processing data flows with a data flow processor
US20110238855A1 (en) Processing data flows with a data flow processor
Agarwal et al. A closer look at intrusion detection system for web applications
Koziol Intrusion detection with Snort
US7409714B2 (en) Virtual intrusion detection system and method of using same
US11457025B2 (en) Method and system for detecting and preventing data exfiltration attacks
Singh Intrusion Detection Systems (IDS) and Intrusion Prevention Systems (IPS) For Network Security: A Critical Analysis
POPOỌLA An Overview of the Evolutionary and Revolutionary Trends of Computer Network Intrusion and Detection
JP2022541250A (ja) インラインマルウェア検出
Erlacher Efficient intrusion detection in high-speed networks.
Waraich Automated attack signature generation: A survey
Saxena Next Generation Intelligent Network Intrusion Prevention System
Rangan Polymorphic attacks and network topology: Application of concepts from natural systems
Erkat Defence system modelling against computer worms
Kenar An extensible framework for automated network attack signature generation

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20080627

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

AX Request for extension of the european patent

Extension state: AL BA HR MK RS

A4 Supplementary search report drawn up and despatched

Effective date: 20100915

RIC1 Information provided on ipc code assigned before grant

Ipc: G06N 3/04 20060101ALI20100909BHEP

Ipc: H04L 29/06 20060101AFI20100909BHEP

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN

18W Application withdrawn

Effective date: 20110421