Real-time detection of network attacks

Information

  • Patent Grant
  • 11765188
  • Patent Number
    11,765,188
  • Date Filed
    Sunday, January 10, 2021
    3 years ago
  • Date Issued
    Tuesday, September 19, 2023
    a year ago
Abstract
An apparatus includes multiple ports, packet communication processing circuitry coupled to the ports, and a processor that is configured to receive, from the packet communication processing circuitry, metadata that is indicative of a temporal pattern of control messages communicated via one or more of the ports, and to identify a network attack by applying anomaly detection to the temporal pattern of the control messages.
Description
FIELD OF THE INVENTION

The present invention relates generally to network communications, and particularly to detection of network attacks in communication networks.


BACKGROUND OF THE INVENTION

Systems for detecting cyberattacks on network communications infrastructure have been previously proposed in the patent literature. For example, U.S. Pat. No. 10,771,500 describes systems and methods for detecting distributed denial-of-service (DDoS) attack. An exemplary method includes receiving one or more requests from a first user for a service executing on a server, and generating a first vector associated with the first user comprised of a plurality of characteristics indicative of the first user accessing the service; calculating a comparison between the first vector and a reference vector, wherein the reference vector comprises an averaged distribution of characteristics for a plurality of users accessing the service, and determining that the service is under a denial-of-service attack based on the comparison between the first vector and the reference vector. System modules may be implemented as actual devices, systems, components, a group of components realized with the use of hardware, such as a microprocessor system and a set of software instructions, as well as neuromorphic chips.


SUMMARY OF THE INVENTION

An embodiment of the present invention that is described herein after provides an apparatus including multiple ports, packet communication processing circuitry coupled to the ports, and a processor that is configured to receive, from the packet communication processing circuitry, metadata that is indicative of a temporal pattern of control messages communicated via one or more of the ports, and to identify a network attack by applying anomaly detection to the temporal pattern of the control messages.


In some embodiments, the packet communication processing circuitry is configured to distinguish between the control messages and data packets, and to generate the metadata based on the control messages and not of the data packets.


In some embodiments, the metadata includes counts of the control messages. In other embodiments, each of the counts corresponds to a respective time window and a respective port.


In an embodiment, wherein the network attack includes a port scanning attack. In another embodiment, the processor is configured to apply the anomaly detection by applying an artificial neural network (ANN).


In yet another embodiment, the processor includes a neuromorphic processor that is configured to use the ANN in an inference-only mode to detect an anomaly in the temporal pattern of the control messages. In a further embodiment, the processor includes one of a tensor-processing-unit (TPU) and a graphical-processing-unit (GPU), and wherein the ANN is trained to detect an anomaly in the temporal pattern of the control messages.


In some embodiments, the control messages include transmission control protocol (TCP) messages.


In some embodiments, the control messages include user datagram protocol (UDP) messages.


In other embodiments, the control messages include internet control message Protocol (ICMP) messages.


In an embodiment, the processor is configured to indicate an occurrence of the network attack in real-time. In another embodiment, the packet communication processing circuitry includes a multi-port switch fabric.


In some embodiments, the ports, the packet communication processing circuitry and the processor are integrated in a network device.


In some embodiments, the packet communication processing circuitry and the processor are integrated in a single integrated circuit (IC).


There is additionally provided, in accordance with another embodiment of the present invention, a method, including, using packet communication processing circuitry that is coupled to multiple ports, generating metadata that is indicative of a temporal pattern of control messages communicated via one or more of the ports. Using a processor, the metadata is received from the packet communication processing circuitry, and a network attack is identified by applying anomaly detection to the temporal pattern of the control messages.


The present invention will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic, pictorial block diagram of a system on chip (SoC) inside a network switch, which is configured to detect a reconnaissance attack (RA) in real time, in accordance with an embodiment of the present invention;



FIG. 2 is a schematic, pictorial diagram of an ingress and egress control traffic assignment scheme of the SoC of FIG. 1, in accordance with an embodiment of the present invention; and



FIG. 3 is a flow chart schematically describing a method for detecting an RA in real time using the SoC of FIG. 1, in accordance with an embodiment of the present invention.





DETAILED DESCRIPTION OF EMBODIMENTS
Overview

A common way to prepare a cyberattack on communication infrastructure, such as distributed denial-of-service (DDoS), is to first perform a reconnaissance attack (RA) on the infrastructure, e.g., to collect probe responses and thus discover available services.


An RA is typically a carefully engineered stealth attack that does not raise an alarm at the target site. An RA usually involves sending synthetic control traffic that generates random probes in an effort to collect the aforementioned probe responses, and thus discover available services. In other words, an RA typically sends adversarial control packets in order to characterize the infrastructure to be attacked. The very low traffic volume and rate of the adversarial control packets, as compared to data traffic volume/rate, makes it practically impossible to detect the RA in real time using existing techniques.


RAs can be implemented with various algorithms. For example, in the case of transport control protocol (TCP) communications, a possible approach is to leverage TCP control messages for connection establishment and tear down, while tricking the remote server into sending responses that reveal whether a port is open or closed and what service it provides. In case of user datagram protocol (UDP) communications, probes may be sent to known service ports with known service requests in anticipation of receiving a response.


Typically, therefore, during an RA a small number of seemingly trustworthy control packets, such as TCP packets, UDP packets, or internet control message protocol (ICMP) packets, are sent to a particular point, such as to an N-port switch. Trying to hide in normal (data) traffic, the adversary network protocol traffic during RA is usually very slow and hence spans a relatively long-time window (e.g., 0.1 milliseconds) in order not to trigger high-traffic anomaly alarms that can be easily captured with simpler observation of statistics. Without an advance warning, the subsequently cyberattacked infrastructure may be damaged with the possibility of severe consequences.


Embodiments of the present invention that are described hereinafter provide systems and methods to detect a network attack such as an RA. The disclosed technique relies on the aforementioned observation that an RA causes an ephemeral traffic pattern anomaly, and that such transient patterns can be detected using models such as artificial intelligence (AI). For example, an RA attack can be detected by an appropriately trained machine learning algorithm run by dedicated hardware.


The disclosed detection technique performs real-time monitoring of ingress and egress traffic of control message packets. In the disclosed technique, a processor analyzes, in real time, metadata that is indicative of a temporal pattern of control messages communicated, e.g., via one or more ports of a network device. The processor identifies an RA on the network device by applying an AI-based anomaly detection algorithm to the temporal pattern of the control message traffic only.


The rationale is that when a port scan (e.g., a TCP port scan) is in progress, the ingress traffic control messages and egress traffic control messages (e.g., TCP messages) that are exchanged in a given time window exhibit a detectable pattern anomaly as compared to normal control message traffic. For example, port scans may probe many dead ports which results in different flows of control message responses from hosts that affect the normal control message traffic pattern as it evolves in time.


Some embodiments of the invention introduce data modelling of metadata, comprising network protocol control messages and related preprocessing, that make it amenable for processing by machine learning (ML) algorithms or other AI tools. For example, an ML algorithm that is suitable for neuromorphic processing can be used, as described below. On the hardware side, the technique provides a system-level design that includes coupling a processor optimized for AI, such as a neuromorphic coprocessor, to a backplane pipeline of a modern high-end switch.


Some embodiments allow integration of a novel real-time early detection module along with standard offline traffic analysis. To this end, the disclosed hardware includes processing circuitry that preprocesses and transforms specific switch telemetry data in real time, e.g., for direct feed to an AI processor, such as a neuromorphic coprocessor, which is configured to instantly detect RAs which happen within a small time-frame of a few milliseconds over an entire set of ports of a network device. Therefore, a security scan of several tens of ports, e.g., of a switch, to detect an RA would take a few milliseconds, making it possible for the disclosed system to monitor hundreds of ports in real time (e.g., at a rate of 100 Hz).


Timely detection of RAs, such as port scans, allows taking proactive measures to mitigate an imminent cyberattack (e.g., DDOS problems), like to establish slowing down of port connection and filtering of malicious IPs, and thereby to protect against severe socioeconomical consequences of such cyberattacks.


System Description


FIG. 1 is a schematic, pictorial block diagram of a system on chip (SoC) 100 inside a network switch 10, which is configured to detect a network attack, e.g., a reconnaissance attack (RA), in real time, in accordance with an embodiment of the present invention. Switch 10 has N ports 102, N typically ranging between 16-128, over which SoC 100 monitors communication. SoC 100 counts control traffic on all ports 102 in parallel, periodically, with a monitoring period in the order of 1 mSec. Control traffic is counted with a temporal resolution (time window) of up to 100 microseconds, and therefore SoC 100 provides a scan rate on the order of 1 KHz with sufficient temporal resolution to detect an RA.


In the present context, the terms “control traffic” and “control messages” are used interchangeably and refer to the process of managing, controlling or reducing the network traffic using dedicated messages. Non-limiting examples of control messages comprise TCP, UDP and ICMP types of messages. Note that in counting control messages, SoC 100 typically distinguishes between control messages and data messages, and considers only the control messages.


For a large number of scanned ports, a smaller time window is sufficient, due to improved statistics on a larger sample of ports. For example, assuming a 5 microsecond time window of scan per port, SoC 100 may monitor a switch, with up to 100 ports, against RA at a scan rate of at least 1 KHz.


To perform its tasks, SoC 100 comprises a telemetry counter 104, which counts the number of ingress and egress control messages communicated over ports 102 at each time window. The multiple ingress and egress counts are converted, using a tensor generator 106, into a mathematical format (e.g., a tensor), suitable as an input to an AI processor. In the shown embodiment, the AI processor is a neuromorphic coprocessor 110 which interfaces using a serialize feeder 108.


If another type of coprocessor is used (e.g., a TPU), other components may be used for interface with telemetry counter 104. Generally, any suitable processor, not necessarily a neuromorphic coprocessor, can be used as processor 110.


Service discovery is comprised of control traffic “probe requests” and “probe responses,” so the system updates counters to monitor the response traffic as well. Telemetry counter 104 is therefore already a component of modern high-end switches. The solution leverages existing switching backplane capabilities to update, in real time, a specific collection of counters that monitors control traffic.


Every time window (or epoch), and all of the respective counters (collectively “telemetry counter 104”), are read and fed to an artificial intelligence pipeline (which can be a neuromorphic coprocessor, a TPU or any other device that leverages ML/AI approaches). The intent is to observe control traffic pattern variations that hint at adversarial RA (e.g. a port scan).


The next module, tensor generator 106, receives configurations to generate proper tensors from available counter data. It periodically generates a different tensor set for each ingress and egress path of each switch port and feeds it to the next stage, which serializes the received tensors by mapping them to integers of appropriate resolution and feeds them to the neuromorphic processor. Moreover, this module bridges the timing domains as it is expected that the neuromorphic processors operates at an N times faster frequency where N is the number of available switch ports and frequency is the selected time window.


The output of processor 110, such as real-time indication of an RA, is communicated to a user interface, shown as a display 112.


SoC 100 can be dynamically configured to update counters for different types of control traffic (such as TCP, UDP or application-level custom control traffic). The intent is to monitor all control traffic that might be used as a “probe” for service discovery.


In an embodiment, the disclosed solution is a switching-device-level solution that is integrated in the switch backplane. The switch backplane implements the forwarding of traffic between all available ports and therefore it has access to all packets entering and exiting the device.


Control traffic discussed in this disclosure comprises packets that do not carry data but rather control information for tasks such as, but not limited to, the following:

    • Connection establishment and teardown
    • Subscription to services
    • Flow control
    • Retransmission


The solution can be a system with a coprocessor located outside a network device, directly coupled, e.g., by a local area link, or a network device that includes the processor, even to a level where the processor and the packet processing circuitry are integrated on the same IC, with the latter option shown in FIG. 1. In other embodiments, the solution can be a system with a coprocessor located in a remote device.


In particular, Soc 100, or another solution, runs a dedicated algorithm as disclosed herein, including in FIG. 3, that enables Soc 100, or another solution, to perform the disclosed steps, as further described below.


By appropriately taking advantage of the neuromorphic coprocessor strengths, the invention significantly improves the response time of RA detection while reducing the overall power consumption and cost of ownership.


In various embodiments, the different elements of SoC 100 shown in FIG. 1 may be implemented using suitable hardware, such as using one or more discrete components, one or more Application-Specific Integrated Circuits (ASICs) and/or one or more Field-Programmable Gate Arrays (FPGAs), or in any other suitable way. Some of the functions of the system may be implemented in a general-purpose processor which is programmed in software to carry out the functions described herein. The software may be downloaded to the processor in electronic form, over a network or from a host, for example, or it may, alternatively or additionally, be provided and/or stored on non-transitory tangible media, such as magnetic, optical, or electronic memory.


Real-Time Detection of Network Reconnaissance Attacks by Monitoring Network Protocol Traffic

As noted above, RAs in the form of port scan attacks leverage network protocol control message sequences to determine open ports and services behind them. To identify a single port-scan sequence, specific packets of ingress and egress traffic should typically be detected and correlated in a time window of at least 0.1 mSec.


Determining network protocol port-scan sequences by observing ingress/egress packets does not scale well in terms of performance. For example, in the context of a datacenter switch with 100 Gbit/sec ethernet ports, determining port scan sequences by correlating control message packets is intractable. Each 100 G switch port processes, on average, 100 million packets per second (combined ingress/egress traffic of average-sized packets). For example, a 48-port 100 Gbit/sec switch configuration would require detection of port scans in a volume of ˜5 billion packets per second.


If the datacenter infrastructure is dedicated to a single organization for its operations, RA detection support could be distributed among various servers that host critical services. Port-scan detection, for example, also implies counter-measures, such as banning source IP subnets as close to the internet edge as possible, which is viable if one organization owns the whole infrastructure.


In the context of a datacenter infrastructure that serves a public cloud, the RA detection should be pervasive. Each cloud application might have its own attack counter-measures, especially for services operating in a VPN where switched traffic is encrypted. However, since the infrastructure is shared among many applications, infrastructure-level protection is required as well.


It is therefore evident that it would be beneficial if network switches could provide an early warning of an RA. Notably, switches have already been considered as the ultimate real traffic analysis engines for triaging large network deployment problems and distributed application performance. More specifically, high-end switch fabrics (e.g., Mellanox Spectrum3) feature a wealth of telemetry counters which are updated by corresponding packet classifier hardware that operates at line rate. These software-defined classifiers can be configured to match different packet fields. Subsequently, counter values are periodically aggregated by appropriate switch agents to a central database for offline analysis.


At rates of ˜5 billion packets per second, successful identification of control message patterns in telemetry-digested data is currently the only possible method to detect port scan RA activity. Unfortunately, such offline detection causes a critical delay to taking defensive measures. Embodiments of the present invention, and the disclosed AI-based RA monitoring technique, overcomes the above limitations.



FIG. 2 is a schematic, pictorial diagram of an ingress and egress control traffic assignment scheme of SoC 100 of FIG. 1, in accordance with an embodiment of the present invention. FIG. 2 shows how a port scan anomaly appears in a traffic pattern of control messages and how control message traffic is modeled in real time in the disclosed protected network protocol.


In the shown example, port ingress and egress depiction 200 comprises three types of control messages that are assumed to be of interest: CtrlMsg1, CtrlMsg2, and CtrlMsg3. For a TCP protocol, these could be SYN, FIN and RST control messages. These three control messages are mapped, purely for illustration purposes, to gray scale values of white (CtrlMsg1), dark gray (CtrlMsg2), and light gray (CtrlMsg3).


Port ingress and egress depiction 200 provides an example monitoring period 202, sliced into fixed-size smaller time windows 222 which are appropriately shaded according to the mix of control messages observed therein. Port ingress and egress depiction 200 is an example of the protected control message modelling for port-scan anomaly detection by mapping the three example CtrlMsgs to gray-scale values.


Different fixed window representations are used for ingress and egress traffic as the invention mandates independent counting of the activity of each direction. According to the gray-scale mapping, if TotalMsgs seen were all CtrlMsg1 type, then the respective time window would be white and, using the same pattern, CtrlMsg2 would be dark gray and CtrlMsg3 would be light gray.


It is observed, also based on experimental data, that control message traffic patterns normally change type gradually as legal traffic changes during the course of a day, whereas abrupt and more concentrated discolorations imply anomalies, such as port scans. What is even more important is that the type change in control message counts is also, normally, as seen in graph 212, symmetric between ingress and egress ports (possibly within a few time windows offset), which verifies that a type of “probing” (i.e. request/response) is in progress.


In some embodiments, a data preparation and modelling approach is amenable to neuromorphic acceleration, and with an appropriate neural network design, an anomaly such as the one designated in port ingress and egress depiction 200 can be instantly detected.


Assuming a neuromorphic processor with 2M-input resolution, the invention assigns the ingress control message counts tensor to the upper (M) inputs and the egress control message count tensor to the lower (M) inputs. Subsequently, each tensor value is mapped to (M) bit integer, by appropriate hardware, following a simple one-to-one mapping that is mandated by the neuromorphic coprocessor input resolution.


The tensor data are then delivered (232) to neuromorphic processor 110 multiplexed in time, one value at a time. Notably, ingress and egress values that are at the same tensor position are delivered concurrently. The neuromorphic processor internal design that detects RAs is out of the scope of this invention, but the standard design approach is expected to be sufficient: initial volume of legal traffic pattern should be provided for training which will in turn provide initial weight adjustment of the neural network. Subsequently, the neural network should be designed to trigger the output on observation of abrupt pattern violations such as the ones induced by an RA, whereas it should employ the inherent incremental learning functions to adapt to the legal traffic pattern variations as they slowly evolve in time.


As RA probes for active services fail most of the time, this introduces an “anomaly”, seen in graph 214, in the probe traffic pattern in two dimensions: i) subtle probe traffic-rise 216, and ii) abnormal variance 218 in the response time delta, as seen in graph 214.


Detection Algorithm Description


Assume N counters under Counter 104 for N distinct control message types: Count1, . . . , CountN, with TotalMsg being the total number of control messages. The algorithm defines a tensor with normalized inputs (with a value between 0 and 1) as follows:


[Count1/TotalMsgs, . . . , CountN/TotalMsgs]


This is the formulated input that represents the traffic pattern and can be fed to an artificial intelligence pipeline. Such input is obtained for every timeslot (or epoch) 222 which needs to be very fine grained (e.g., every counter update).


SoC 100 assembles different tensors for the ingress (incoming) and for the egress (outgoing) traffic.


With normal operation, services are known and control sequences typically succeed. That slightly delays the responses as servers do housekeeping tasks before sending back a response. Typically, there is a symmetry in the normal control message sequences, the ingress traffic pattern being similar to the egress traffic pattern with a shift in time.


With the attack control message sequence, most probes fail. In such cases (when a service is not available) the response comes back faster and can be captured by tighter shifts in time, slightly more volume and also greater variance.


From one perspective, if the depicted shift is fixed, or at least falls within a pre-defined range, then only a simple algorithm is needed to detect it.


The AI algorithm is configured to determine what should be considered as a legal or permissible shift or alteration in the traffic pattern for each given time slot, since very specific shift value boundaries change over time depending on the traffic, thus cannot be precisely defined.


The underlining concept is as follows:

    • When probing for a service that is not there, an attacker application receives a negative response faster than when the service is up, as the attacked network device needs to perform connection initialization steps that takes “more” time.
    • The success/fail response “time difference” depends on what the service needs to do and how flooded the network is. Different services and different network loads result in significant variations.
    • Since RA probes for active services fail most of the time, this introduces an “anomaly” in the probe traffic pattern in two dimensions: i) subtle probe traffic rise, and ii) an abnormal variance in the response time delta.


The disclosed approach is to construct, with an AI algorithm (be it neuromorphic-based or TPU-based neural networks) a fitting function for the normal probe traffic that continuously adapts to the legal request/response volume and temporal variations, and therefore can instantly detect respective anomalies. Note that, with neuromorphic computing, there is no training step, just an inference step; training is pervasive, continuously updated as data is inferenced, a process called approach incremental learning.


Training Step for Design of AI Pipeline


The training step involves the discovery of a fitting function that captures normal operation. If a traffic pattern does not fit, then this is signaled as an attack.


Such a fitting function can be hardcoded inside a neuromorphic chip or a neural network for TPU offloading following the disclosure integration approach.


Disclosed system configurations are configured for real-time detection of network protocol control message traffic pattern anomalies, such as port scans, as depicted in FIG. 1.


The control traffic assignment scheme shown in FIG. 2 is brought by way of example. In practice, for example, hundreds of ports may be scanned in parallel.


Method of Real-Time Detection of Network Ra


FIG. 3 is a flow chart schematically describing a method for detecting an RA in real time using SoC 100 of FIG. 1, in accordance with an embodiment of the present invention. The algorithm according to the presented embodiment carries out a process that begins with CPU 12 initializing counting per new window of time 202, at a counting initialization step 301.


Next, assuming that there are K time windows 222 in period of counting 202, counter 104 of SoC 100 counts over K successive time windows 222, ingress and egress control message packet traffic through multiple ports during each monitoring period 222, at a counting step 302.


Next, at a tensor generation step 303, tensor generator 106 generates tensor input from the K counts.


At a tensor input feeding step 304, serialize feeder 108 feeds the tensor input to neuromorphic processor 110.


At a control traffic analysis step, neuromorphic processor 110 applies a neuromorphic-inference algorithm, such as described in FIG. 2, to the counts to identify an anomaly in the real-time traffic.


If, at a checking step 303, neuromorphic processor 110 does not identify an anomaly, the process goes back to step 301 to start another real-time monitoring session.


If neuromorphic processor 110 identifies an anomaly, the processor indicates, in real time, an occurrence of an RA, at an RA indication step. In an alerting step 312, processor 110 uses an alert, such as an audiovisual alert.


The process then goes back to step 301 to continue the real-time monitoring.


The example flow chart shown in FIG. 3 is chosen purely for the sake of conceptual clarity. For example, another ML processor type (e.g., TPU) and another ML algorithm may be used for the analysis.


Although the embodiments described herein mainly address network communications, the methods and systems described herein can also be used in other applications, such as in domains in which events occur at a very high rate at some central entity, and there is a need to quickly classify them into groups and observe their distribution in a wider time window.


It will thus be appreciated that the embodiments described above are cited by way of example, and that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and sub-combinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art. Documents incorporated by reference in the present patent application are to be considered an integral part of the application except that to the extent any terms are defined in these incorporated documents in a manner that conflicts with the definitions made explicitly or implicitly in the present specification, only the definitions in the present specification should be considered.

Claims
  • 1. An apparatus, comprising: multiple ports;packet communication processing circuitry coupled to the ports and configured to: process traffic communicated via one or more of the ports;distinguish, in the traffic, between (i) data packets that transfer data, and (ii) control messages that solicit responses and that are separate from the data packets; andgenerate metadata that is indicative of a temporal pattern of the control messages; anda processor, configured to receive the metadata from the packet communication processing circuitry, and to identify a network attack by applying anomaly detection to the temporal pattern of the control messages.
  • 2. The apparatus according to claim 1, wherein the packet communication processing circuitry is configured to generate the metadata based on the control messages and not on the data packets.
  • 3. The apparatus according to claim 1, wherein the metadata comprises counts of the control messages.
  • 4. The apparatus according to claim 3, wherein each of the counts corresponds to a respective time window and a respective port.
  • 5. The apparatus according to claim 1, wherein the network attack comprises a port scanning attack.
  • 6. The apparatus according to claim 1, wherein the processor is configured to apply the anomaly detection by applying an artificial neural network (ANN).
  • 7. The apparatus according to claim 6, wherein the processor comprises a neuromorphic processor that is configured to use the ANN in an inference-only mode to detect an anomaly in the temporal pattern of the control messages.
  • 8. The apparatus according to claim 6, wherein the processor comprises one of a tensor-processing-unit (TPU) and a graphical-processing-unit (GPU), and wherein the ANN is trained to detect an anomaly in the temporal pattern of the control messages.
  • 9. The apparatus according to claim 1, wherein the control messages comprise transmission control protocol (TCP) messages.
  • 10. The apparatus according to claim 1, wherein the control messages comprise user datagram protocol (UDP) messages.
  • 11. The apparatus according to claim 1, wherein the control messages comprise internet control message Protocol (ICMP) messages.
  • 12. The apparatus according to claim 1, wherein the processor is configured to indicate an occurrence of the network attack in real-time.
  • 13. The apparatus according to claim 1, wherein the packet communication processing circuitry comprises a multi-port switch fabric.
  • 14. The apparatus according to claim 1, wherein the ports, the packet communication processing circuitry and the processor are integrated in a network device.
  • 15. The apparatus according to claim 1, wherein the packet communication processing circuitry and the processor are integrated in a single integrated circuit (IC).
  • 16. A method, comprising: using packet communication processing circuitry that is coupled to multiple ports: processing traffic communicated via one or more of the ports;distinguishing, in the traffic, between (i) data packets that transfer data, and (ii) control messages that solicit responses and that are separate from the data packets; andgenerating metadata that is indicative of a temporal pattern of the control messages; andusing a processor, receiving the metadata from the packet communication processing circuitry, and identifying a network attack by applying anomaly detection to the temporal pattern of the control messages.
  • 17. The method according to claim 16, wherein generating the metadata is based on the control messages and not on the data packets.
  • 18. The method according to claim 16, wherein the metadata comprises counts of the control messages.
  • 19. The method according to claim 18, wherein each of the counts corresponds to a respective time window and a respective port.
  • 20. The method according to claim 16, wherein the network attack comprises a port scanning attack.
  • 21. The method according to claim 16, wherein applying the anomaly detection comprises applying an artificial neural network (ANN).
  • 22. The method according to claim 21, wherein the processor comprises a neuromorphic processor, and wherein applying the ANN comprises applying the ANN in an inference-only mode to detect an anomaly in the temporal pattern of the control messages.
  • 23. The method according to claim 21, wherein the processor comprises one of a tensor-processing-unit (TPU) and a graphical-processing-unit (GPU), and wherein applying the ANN comprises applying an ANN that is trained to detect an anomaly in the temporal pattern of the control messages.
  • 24. The method according to claim 16, wherein the control messages comprise transmission control protocol (TCP) messages.
  • 25. The method according to claim 16, wherein the control messages comprise user datagram protocol (UDP) messages.
  • 26. The method according to claim 16, wherein the control messages comprise internet control message Protocol (ICMP) messages.
  • 27. The method according to claim 16, wherein indicating the occurrence of the network attack comprises indicating the occurrence of the network attack in real-time.
  • 28. The method according to claim 16, wherein the packet communications processing circuitry comprises a multi-port switch fabric.
  • 29. The method according to claim 16, wherein the ports, the packet communication processing circuitry and the processor are integrated in a network device.
  • 30. The method according to claim 16, wherein the packet communication processing circuitry and the processor are integrated in a single integrated circuit (IC).
Priority Claims (1)
Number Date Country Kind
20200100750 Dec 2020 GR national
US Referenced Citations (95)
Number Name Date Kind
7647411 Schiavone Jan 2010 B1
7660248 Duffield Feb 2010 B1
8209756 Guruswamy Jun 2012 B1
9336239 Hoffmann et al. May 2016 B1
9764468 Izhikevich Sep 2017 B2
9973529 Bharrat May 2018 B1
10027695 Hohndel Jul 2018 B2
10341294 Mikami Jul 2019 B2
10609061 Hagi Mar 2020 B2
10771500 Khalimonenko et al. Sep 2020 B2
10776687 Hawkins Sep 2020 B2
10824145 Konrardy Nov 2020 B1
11195107 Jiang Dec 2021 B1
11575704 MacLeod Feb 2023 B2
20040093521 Hamadeh May 2004 A1
20040215976 Jain Oct 2004 A1
20040250124 Chesla Dec 2004 A1
20050240780 MacIsaac Oct 2005 A1
20060053491 Khuti Mar 2006 A1
20070294187 Scherrer Dec 2007 A1
20080162679 Maher Jul 2008 A1
20110213869 Korsunsky Sep 2011 A1
20110214157 Korsunsky Sep 2011 A1
20110219035 Korsunsky Sep 2011 A1
20120233311 Parker Sep 2012 A1
20130333036 Lahann Dec 2013 A1
20130343379 Stroud Dec 2013 A1
20140157405 Joll Jun 2014 A1
20140248852 Raleigh Sep 2014 A1
20140380466 Schultz Dec 2014 A1
20150081890 Richards Mar 2015 A1
20150106316 Birdwell Apr 2015 A1
20150127790 Smith May 2015 A1
20150215177 Pietrowicz Jul 2015 A1
20150236895 Kay Aug 2015 A1
20150281917 Weiss Oct 2015 A1
20150339570 Scheffler Nov 2015 A1
20160055408 Akopyan Feb 2016 A1
20160086075 Alvarez-Icaza Rivera Mar 2016 A1
20160188396 Sonalker Jun 2016 A1
20160261482 Mixer Sep 2016 A1
20160359881 Yadav Dec 2016 A1
20170116514 Abel Apr 2017 A1
20170223032 El-Moussa Aug 2017 A1
20170353478 Ishikawa Dec 2017 A1
20180007076 Galula Jan 2018 A1
20180020015 Munro Jan 2018 A1
20180114137 Ferreira Moreno Apr 2018 A1
20180322284 Chiang Nov 2018 A1
20180329958 Choudhury Nov 2018 A1
20180365520 Lee Dec 2018 A1
20190020680 Khalimonenko Jan 2019 A1
20190042910 Krishnamurthy Feb 2019 A1
20190042930 Pugsley Feb 2019 A1
20190149565 Hagi May 2019 A1
20190207955 El-Moussa Jul 2019 A1
20190230101 Yajima Jul 2019 A1
20190230107 De Sapio Jul 2019 A1
20190303740 Arthur Oct 2019 A1
20190306011 Fenoglio Oct 2019 A1
20190379589 Ryan Dec 2019 A1
20190379625 Coffey Dec 2019 A1
20190379683 Overby Dec 2019 A1
20190385057 Litichever Dec 2019 A1
20190392001 Carothers Dec 2019 A1
20200053567 Monshizadeh Feb 2020 A1
20200106806 Gupta Apr 2020 A1
20200228569 El-Moussa Jul 2020 A1
20200285737 Kraus Sep 2020 A1
20200285997 Bhattacharyya Sep 2020 A1
20200287971 Mousset Sep 2020 A1
20200322368 Cohen Oct 2020 A1
20200342311 Peroulas Oct 2020 A1
20200366690 Cheng Nov 2020 A1
20200387797 Ryan Dec 2020 A1
20200389469 Litichever Dec 2020 A1
20210021623 Shadrin Jan 2021 A1
20210026343 Konashi Jan 2021 A1
20210067468 Cidon Mar 2021 A1
20210099467 March Apr 2021 A1
20210160264 Adir May 2021 A1
20210168164 El-Moussa Jun 2021 A1
20210192314 Aarts Jun 2021 A1
20210216625 Miller Jul 2021 A1
20210216630 Karr Jul 2021 A1
20210224388 Blemel Jul 2021 A1
20210288984 Jones Sep 2021 A1
20210352090 Kim Nov 2021 A1
20210383010 Massiglia Dec 2021 A1
20220050023 Lavazais Feb 2022 A1
20220053018 Kumar Feb 2022 A1
20220086179 Levin Mar 2022 A1
20220092191 Doukhvalov Mar 2022 A1
20220180173 Jonnalagadda Jun 2022 A1
20230053772 Zinner Feb 2023 A1
Non-Patent Literature Citations (17)
Entry
Lu et al.; A temporal correlation and traffic analysis approach for APT attacks detection; Springer (Year: 2006).
Lee et al.; A Data Mining Framework for Building Intrusion Detection Models; IEEE (Year: 1999).
Widanage1 et al.; Anomaly Detection over Streaming Data: Indy500 Case Study; IEEE (Year: 2019).
Chen et al.; An Rad: A Neuromorphic Anomaly Detection Framework for Massive Concurrent Data Streams; IEEE (Year: 2018).
Wan et al.; Characterizing and Mining Traffic Patterns of IoT Devices in Edge Networks; IEEE (Year: 2020).
Kalech; Cyber-attack detection in SCADA systems using temporal pattern recognition techniques; elsevier (Year: 2019).
Bilge et al.; DISCLOSURE: Detecting Botnet Command and Control Servers Through Large-Scale NetFlow Analysis; ACSAC '12 Dec. 3-7, 2012, Orlando, Florida USA Copyright 2012 ACM 978-1-4503-1312—Apr. 12, 2012 (Year: 2012).
Aimakrami,; Intrusion Detection System for Smart Meters; IEEE (Year: 2016).
Jiang et al.; Network Anomaly Detection through Traffic Measurement; down loaded from google.com (Year: 2010).
Monowar et al.; Network Anomaly Detection: Methods, Systems and Tools; IEEE (Year: 2014).
Robinson E. Pino et al.; Neuromorphic Computing for Cognitive Augmentation in Cyber Defense; springer (Year: 2014).
Shlomo et al.; Temporal pattern-based malicious activity detection in SCADA systems; elsevier (Year: 2020).
Lane et al.; Temporal Sequence Learning and Data Reduction for Anomaly Detection; acm.org (Year: 1999).
Yu et al.; Towards Neural Network Based Malware Detection on Android Mobile Devices; springer (Year: 2014).
Sakib et al.; Using Anomaly Detection Based Techniques to Detect HTTP-based Botnet C&C Traffic; IEEE (Year: 2016).
Lyon, G., “Chapter 5. Port Scanning Techniques and Algorithms”, Introduction, Nmap Network Scanning book, pp. 1-3, year 2009, downloaded from https://nmap.org/book/scan-methods.html.
Nvidia Corporation, “What Just Happened”, pp. 1-4, year 2021 downloaded from https://www.mellanox.oom/products/what-just-happened.
Related Publications (1)
Number Date Country
20220210174 A1 Jun 2022 US