Deep Learning Network Intrusion Detection

Deep learning techniques utilizing GANs and CNNs transform text data into images for IDS, effectively reducing false alarms and improving network efficiency by classifying network traffic anomalies.

JP7559200B2Active Publication Date: 2024-10-01KYNDRYL INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023500033
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-07-10
Filing Date
2021-06-10
Publication Date
2024-10-01
Estimated Expiration
2041-06-10

AI Technical Summary

Technical Problem

Traditional intrusion detection systems (IDS) frequently raise false alarms due to authenticated or authorized network activity, leading to inefficiencies, increased computational costs, and resource-intensive tuning requirements, which are not effectively addressed by existing signature-based and anomaly-based detection techniques.

Method used

The implementation of deep learning methods, specifically using generative adversarial networks (GANs) and convolutional neural networks (CNNs), transforms raw text data into images for anomaly detection, applying exploratory data analysis and principal component analysis to classify network traffic patterns, reducing false positives through image recognition and dynamic model adjustments based on network-specific patterns.

Benefits of technology

This approach minimizes false positives in intrusion detection by identifying network anomalies through deep learning, enhancing network efficiency and reducing resource-intensive manual interventions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559200000003
    Figure 0007559200000003
  • Figure 0007559200000004
    Figure 0007559200000004
  • Figure 0007559200000005
    Figure 0007559200000005
Patent Text Reader

Abstract

The one or more computer processors intercept one or more network inputs entering or exiting the internal network, utilize a trained generative adversarial network to synthesize one or more network input images from a random noise vector sampled from a normal distribution of text embedding network inputs, utilize a trained convolutional neural network with rectified linear units to classify the one or more synthesized network input images by identifying contained objects, where the objects include patterns, sequences, trends, and signatures, and predict a security profile for the classified network input image and the associated one or more network inputs, where the security profile includes a set of rules and associated mitigation actions, similar historical network traffic, likelihood of infection, likelihood of signature match with historical malicious network inputs, and factor of harm, and apply the one or more mitigation actions based on the predicted security profile.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to the field of deep learning, and more specifically to intrusion detection using deep learning.

[0002] An intrusion detection system (IDS) is a device or software application that monitors a network or system for malicious activity or policy violations. Typically, intrusive activity or violations are logged and / or reported to an administrator. IDSs include network-based intrusion detection systems (NIDS) (e.g., by analyzing incoming network traffic) and host-based intrusion detection systems (HIDS) (e.g., by monitoring critical operating system files).

[0003] Neural networks (NNs) are computing systems inspired by biological neural networks. NNs are a framework for machine learning algorithms to process complex inputs rather than simple algorithms. Such systems "learn" to perform tasks by examining training examples, typically without being programmed with task-specific rules. NNs are based on a collection of connected units or nodes, called artificial neurons, loosely modeled on neurons in biological brains, where each artificial neuron can send a signal from one artificial neuron to another. Here, an artificial neuron receives a signal, the artificial neuron processes the signal, and can subsequently forward the signal to additional artificial neurons. In a typical NN implementation, the signals at the connections between artificial neurons are real numbers, and the output of each artificial neuron is calculated by a nonlinear function of the sum of the inputs. Artificial neurons and edges typically have respective weights that are adjusted as learning progresses. Each weight increases or decreases the strength of the signal at the connection. An artificial neuron may have a threshold such that it only sends a signal if the aggregated signal exceeds the threshold. Typically, artificial neurons are organized into layers, each layer performing multiple data transformations on the input.

[0004] Convolutional neural networks (CNNs) are a class or subcategory of neural networks that are most commonly applied to the analysis of visual images. CNNs are normalized versions of multi-layer perceptrons (e.g., fully connected networks) in which each neuron in a layer is connected to every neuron in the subsequent layer. CNNs exploit hierarchical patterns in the data and use the conditioned patterns to derive more complex patterns. CNNs decompose an image into kernels (e.g., 5x5 pixels) and iterate over the image with a specified stride length. CNNs use relatively little preprocessing compared to other image classification algorithms, allowing the network to learn filters that are hand-designed in traditional algorithms.

[0005] Generative adversarial networks (GANs) are a class or subcategory of machine learning systems that include two neural networks (i.e., generative and discriminative networks). GANs learn to generate new data with similar data statistics as presented in a provided training set. For example, a GAN trained on a training set of photos can generate new photos that appear real, at least superficially, to a human observer. The enveloping generative network generates candidates, while the discriminative network evaluates the generated candidates. Typically, generative networks learn to map from a latent space to a data distribution of interest, while discriminative networks distinguish the generated candidates from the training set data distribution. The generative network increases the error rate of the discriminative network (i.e., by generating new candidates that the discriminator believes are not synthetic, including misclassification by the discriminator network), thus generating statistically realistic candidates. Summary of the Invention

[0006] An embodiment of the present invention discloses a computer-implemented method, computer program product, and system for detecting and mitigating network traffic anomalies. The computer-implemented method includes one or more computer processors intercepting one or more network inputs entering or exiting an internal network. The one or more computer processors utilize a trained generative adversarial network to synthesize one or more network input images from a random noise vector sampled from a normal distribution of text embedding network inputs. The one or more computer processors utilize a trained convolutional neural network with normalized linear units to classify the one or more synthesized network input images by identifying contained objects, where the objects include patterns, sequences, trends, and signatures. The one or more computer processors predict a security profile for the classified network input images and the associated one or more network inputs, where the security profile includes a set of rules and associated mitigation actions, similar past network traffic, likelihood of infection, likelihood of signature matching with past malicious network inputs, and cause of harm. The one or more computer processors apply one or more mitigating actions based on a predicted security profile associated with the one or more network inputs. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a functional block diagram illustrating a computing environment in accordance with an embodiment of the present invention. [Diagram 2] 2 is a flow chart illustrating operational steps of a program on a server computer in the computing environment of FIG. 1 for detecting and mitigating network traffic anomalies in accordance with an embodiment of the present invention. [Diagram 3]2 is a flowchart illustrating operational steps of a program on a server computer in the computing environment of FIG. 1 for analyzing network traffic based on deep learning image generation and analysis in accordance with an embodiment of the present invention. [Figure 4] 1 is an exemplary generative network image according to an embodiment of the present invention. [Diagram 5] 2 is a flow chart illustrating exemplary steps of a program on a server computer in the computing environment of FIG. 1 in accordance with an embodiment of the present invention. [Figure 6] 2 is a block diagram of components of a server computer in accordance with an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Traditionally, Intrusion Detection Systems (IDS) monitor internal networks for potentially unauthorized or malicious activity by detecting and identifying packet signatures. IDSs are prone to frequent false alarms due to authorized or authorized network activity that is incorrectly flagged, logged, suspended, or terminated, or a combination of these, causing further errors, delays, network congestion, increased computational costs, and ultimately, reduced network efficiency. Traditional IDSs must be fine-tuned to the requirements and usage of the internal network to maintain a high rate of malicious identification and reduce false alarms. Tuning a traditional IDS is a substantially resource-intensive process due to the volume of potential network inputs / packet signatures, and requires frequent manual intervention, thus increasing optimization costs and implementation requirements.

[0009] Embodiments of the present invention enable deep learning methods for intrusion detection systems, such as network-based intrusion detection systems (NIDS) and host-based intrusion detection systems (HIDS). Embodiments of the present invention utilize signature-based and anomaly-based detection techniques to monitor and analyze network traffic and ports. Embodiments of the present invention apply unsupervised machine learning to network intrusion alarms (i.e., textual network data) generated by an IDS. Embodiments of the present invention utilize generative adversarial networks (GANs) to convert raw text data into image and / or graphical form. Embodiments of the present invention utilize one or more classification models that utilize exploratory data analysis (EDA) and applied principal component analysis (PDA) to classify the generated images. In this embodiment, the present invention discovers network traffic patterns in the generated images and predicts network anomalies (e.g., flags, etc.) while minimizing false positives (i.e., alarms). Embodiments of the invention apply image recognition techniques, such as screenshot capture techniques and chart dashboard analysis, to identify false positives and malicious anomalies while reducing the risk of network intrusion and the computational requirements associated with traditional systems. Embodiments of the invention dynamically adjust one or more intrusion models based on specific network patterns specific to one or more networks, hosts, or applications, or a combination thereof. Implementations of embodiments of the invention may take various forms, and exemplary implementation details are described below with reference to the drawings.

[0010] The invention is explained in detail below with reference to the drawings.

[0011] FIG. 1 is a block diagram illustrating a computing environment, generally designated 100, in accordance with one embodiment of the present invention. As used herein, the term "computational" refers to a computer system that includes multiple physical separate devices that operate together as a single computer. FIG. 1 provides only an illustration of one implementation and does not imply any limitations with respect to the environments in which different embodiments may be implemented. One of ordinary skill in the art will recognize that many modifications to the illustrated environment may be made without departing from the scope of the claimed invention.

[0012] The computing environment 100 includes a server computer 120 connected via an external network 102 and an internal network 104. The external network 102 and the internal network 104 may each be, for example, a telecommunications network, a local area network (LAN), a wide area network (WAN) such as the Internet, or a combination of the three, and may include wired, wireless, or fiber optic connections. The external network 102 and the internal network 104 may each include one or more wired and / or wireless networks capable of receiving and transmitting data, voice, or video signals, or combinations thereof, including multimedia signals including voice, data, and video information. In general, the external network 102 and the internal network 104 may each be any combination of connections and protocols that support communication between the server computer 120 and other devices (not shown) within the computing environment 100. In various embodiments, external network 102 and internal network 104 each operate locally over wired, wireless or optical connections and can be any combination of connections and protocols (e.g., personal area network (PAN), near field communication (NFC), laser, infrared, ultrasonic, etc.). In one embodiment, external network 102 is publicly accessible as a point of entry to a larger intranet or the Internet. In one embodiment, internal network 104 is not publicly accessible. In this embodiment, internal network 104 is segmented from external network 102 (e.g., accessible only through controlled and monitored points) through server computer 120.

[0013] The server computer 120 may be an intrusion detection system, a standalone computing device, an administration server, a web server, a mobile computing device, or any other electronic device or computing system capable of receiving, transmitting, and processing data. In other embodiments, the server computer 120 may represent a server computing system utilizing multiple computers as a server system, such as in a cloud computing environment. In other embodiments, the server computer 120 may be a laptop computer, a tablet computer, a netbook computer, a personal computer (PC), a desktop computer, a personal digital assistant (PDA), a smart phone, or any programmable electronic device capable of communicating with other computing devices (not shown) in the computing environment 100 via the external network 102 or the internal network 104, or both. In other embodiments, the server computer 120 represents a computing system utilizing clustered computers and components (e.g., database server computers, application server computers, etc.) that function as a single pool of seamless resources when accessed within the computing environment 100. In the illustrated embodiment, server computer 120 includes database 122 and programs 150. In other embodiments, server computer 120 is a network intrusion detection system (NIDS). In other embodiments, server computer 120 is a host intrusion detection system (HIDS). In various embodiments, server computer 120 controls the flow of network traffic between hosts located within external network 102 and hosts located within internal network 104. In other embodiments, server computer 120 may include other applications, databases, programs, etc. not shown in computing environment 100.The server computer 120 may include internal and external hardware, as shown and described in detail in connection with FIG.

[0014] Database 122 is a repository for data used by program 150. In the illustrated embodiment, database 122 resides on server computer 120. In other embodiments, database 122 may reside elsewhere in computing environment 100, where program 150 can access database 122. A database is an organized collection of data. Database 122 may be implemented on any type of storage device, such as a database server, hard disk drive, or flash memory, that can store data and configuration files that can be accessed and utilized by program 150. In one embodiment, database 122 stores data used by program 150, such as previously generated network images, intrusion detection signatures, and the like. ; Whitelist / Blacklist hosts, ports, IPs, routes, hosts and applications ; Past anomalies and associated network inputs ; As well as storing data such as past false positives and associated network input information. In the illustrated embodiment, database 122 includes a corpus 124.

[0015] Corpus 124 includes a plurality of text-based corpora (i.e., packet information, console output, IDS signatures, historical anomalies, false positives and verified network traffic and associated metadata) and associated image-based corpora (i.e., network graphs, dashboards, etc.). In one embodiment, corpus 124 includes one or more historically generated image representations. In one embodiment, the historical anomalies are categorized, organized, or structured with respect to a particular host, route, application, location, or group, or combination thereof. For example, all historically generated image representations with respect to a location are aggregated. In various embodiments, the information included in corpus 124 is structured temporally. For example, the information may be constrained or limited with respect to a particular time period (e.g., network traffic generated in the last month).

[0016] Network input image model 152 and network input classification model 154 represent a number of models that utilize deep learning techniques to train, calculate weights, take in inputs, and output a number of solutions (e.g., packet prediction, sequence identification, image analysis, image generation, etc.). In one embodiment, network input image model 152 and network input classification model 154 include any combination of deep learning models, techniques, and algorithms (e.g., decision trees, naive Bayes classification, support vector machines for classification problems, random forests for classification and regression, linear regression, least squares regression, logistic regression). In one embodiment, network input image model 152 and network input classification model 154 utilize transferable neural network algorithms and models (e.g., long short-term memory (LSTM), deep stacking network (DSN), deep belief network (DBN), convolutional neural network (CNN), complex hierarchical deep models) that may be trained in a supervised or unsupervised manner. In the illustrated embodiment, network input image model 152 and network input classification model 154 are CNNs with rectified linear units (RELUs) that are trained in a supervised or unsupervised manner or both. In this embodiment, program 150 utilizes network input classification model 154 to classify network inputs as verified, anomalous, or potential false positives.

[0017] In the illustrated embodiment, the network input image model 152 is a generative adversarial network (GAN) that includes two adversarial neural networks (i.e., a generator network and a discriminator network) trained in an unsupervised and supervised manner with images that represent the intended output images (i.e., the generated network input images). In one embodiment, the program 150 utilizes known (i.e., past) data as described in the corpus 124 to train the discriminator. In another embodiment, the program 150 utilizes randomized input data sampled from a predefined latent space (a multivariate normal distribution) to initialize the generator, which then evaluates candidates synthesized by the generator. In this embodiment, the program 150 applies backpropagation to both networks so that the generator produces better images while the discriminator becomes adept at flagging synthetic images. In the illustrated embodiment, the generator is a deconvolutional neural network and the discriminator is a convolutional neural network. The creation, training, and utilization of the network input image model 152 and the network input classification model 154 are shown and described in further detail with respect to FIG.

[0018] Program 150 is a program for network traffic anomaly detection and mitigation. In various embodiments, program 150 may perform the following steps: intercepting one or more network inputs entering or exiting an internal network; utilizing a generative adversarial network to synthesize one or more network input images from a random noise vector sampled from a normal distribution of text embedding network inputs; utilizing a trained convolutional neural network with normalized linear units to classify one or more synthesized network input images by identified contained objects, where the objects include patterns, sequences, trends, and signatures; predicting a security profile of the one or more classified network input images and associated one or more network inputs, where the security profile includes a set of rules and associated mitigation actions, similar past network traffic, likelihood of infection, likelihood of signature matching with past malicious network inputs, and cause of harm; and applying one or more mitigation actions based on the predicted security profile associated with the one or more network inputs. In the illustrated embodiment, program 150 is a standalone software program. In other embodiments, the functions of program 150, or any combination thereof, may be integrated into a single software program. In some embodiments, program 150 may be located on a separate computing device (not shown), but may communicate over external network 102 or internal network 104, or both. In various embodiments, a client version of program 150 may reside on any other computing device (not shown) within computing environment 100.

[0019] Program 150 is shown and described in more detail with respect to FIG.

[0020] The present invention may include various accessible data sources, such as personal storage devices, databases 112 and corpora 124, which may contain data, content, or information that a user does not want processed. Processing refers to an automated or non-automated operation or set of operations, such as collecting, recording, organizing, structuring, storing, adapting, altering, retrieving, consulting, using, disclosing by transmission, transmitting, or making available, combining, restricting, erasing, or destroying, performed on personal data. The program 150 provides informed consent along with notice of the collection of personal data and allows the user to opt-in or opt-out of having their personal data processed. Consent can take several forms. Opt-in consent requires the user to take an affirmative action before the personal data is processed. Alternatively, opt-out consent requires the user to take an affirmative action to prevent the processing of the personal data before the personal data is processed. The program 150 enables authenticated and secure processing of personal data, such as personally identifiable information or sensitive personal information, as well as user information, such as tracking information. The program 150 provides information about the personal data and the nature of the processing (e.g. type, scope, purpose, duration, etc.). The program 150 provides the user with a copy of the stored personal data. The program 150 allows for the correction or completion of inaccurate or incomplete personal data. The program 150 allows for the immediate deletion of personal data.

[0021] In various embodiments, the term "network input" (i.e., packet) should be construed to have a broad meaning and include all types of network encapsulations. Non-limiting examples of network inputs include Internet Protocol (IP), Internet Control Message Protocol (ICMP), User Datagram Protocol (UDP), Transmission Control Protocol (TCP), and associated routes and services. In further embodiments, the network input includes control information and data payload, and the control information includes source address, destination address, error code, and sequence information. In one embodiment, the network traffic includes one or more network inputs or packets.

[0022] FIG. 2 is a flow chart illustrating the operational steps of a program 150 for detecting and mitigating network traffic anomalies, in accordance with an embodiment of the present invention.

[0023] Program 150 intercepts network input (step 203). In one embodiment, program 150 operates as an inline proxy or a transparent proxy, or both, "sitting" between the computing device and one or more subsequent computing devices, nodes, destination networks, or servers, or a combination thereof. In this embodiment, all network traffic entering and exiting an internal network (e.g., internal network 104) is routed (e.g., travels, sends, etc.) through program 150. In one embodiment, program 150 initiates in response to an incoming network input (i.e., from an external network to the internal network) or an outgoing network input (i.e., from an internal network to an external network). In various embodiments, program 150 monitors the entire internal network (e.g., an intranet, a corporate domain, etc.) or a subset of the network (e.g., a subnet, a private IP address range, a type of network traffic, etc.), or both. In other embodiments, the program 150 manages, operates, and / or includes a network intrusion detection system (NIDS) located at strategic points in the network (e.g., network bottlenecks, edge devices, routers, managed switches, etc.) and monitors traffic to and from all devices on the network. In one embodiment, the program 150 utilizes network intrusion detection system analysis to monitor all network traffic and performs analysis of traversing network traffic on a subnet, where the network intrusion detection system analyzes packets, flows, sessions, packet payloads, traffic groups, network session transitions, and transmissions.

[0024] In one embodiment, program 150 manages, operates, or includes a host intrusion detection system (HIDS) that monitors one or more hosts, sub-hosts, applications, routes, or ports, or a combination thereof. In various embodiments, program 150 (e.g., an IDS) utilizes a HIDS to monitor inbound or outbound packets from the device in the form of text logs or system events. In further embodiments, program 150 imports or receives a library of malicious signatures (historic or known cyber attacks), including text, graphic-based, image-based, and video-based anomaly signatures. In one embodiment, program 150 identifies one or more network interfaces associated with the host and simultaneously monitors (e.g., utilizing a HIDS) the operating system, applications, or network interfaces, or a combination thereof, for initiation and detection of data transmissions (i.e., network input) or network connection / access requests. In this embodiment, all network traffic to or from the host computing device is sent through program 150. In other embodiments, program 150 monitors application activity to determine network transmissions or requests, or both. In one embodiment, in response to intercepting one or more network inputs, program 150 suspends, flags, quarantines, diverts, stores, or logs the one or more network inputs, or any combination thereof.

[0025] The program 150 analyzes the intercepted network input (step 204). In one embodiment, the program 150 extracts network input information from one or more intercepted network inputs, as described in step 302. In another embodiment, the program 150 generates a network input image based on the extracted network input information, as described in step 304. In another embodiment, the program 150 classifies the generated network input image, as described in step 306. In another embodiment, the program 150 predicts a security profile for the classified network input image, as described in step 308. In one embodiment, the program 150 matches the monitored network traffic against a library of malicious signatures. The analysis procedure is further described and detailed in the flow chart and steps included in FIG. 3.

[0026] The program 150 applies mitigation actions to the analyzed network inputs (step 206). The program 150 applies one or more mitigation actions to the analyzed network inputs described in step 204. In response to the completed analysis and calculated predictions, as described in FIG. 3, the program 150 determines and applies mitigation actions to one or more packets based on the predictions and one or more associated probabilities. For example, the program 150 quarantines the associated network inputs with a high probability (e.g., 95% or higher) of malicious network inputs and associated activity / traffic. In other examples, the program 150 logs or flags network inputs with low (e.g., 40% or lower) harm / risk factors or scores (e.g., delay values, expected downtime, monetary costs, and expenditures, etc.) or both. In one embodiment, program 150 transmits, passes through, monitors, modifies, suspends, flags, quarantines, diverts, stores or logs one or more network inputs, or a combination thereof, based on one or more factors, scores or probabilities included in the network input predictions. For example, program 150 quarantines multiple malicious network inputs until an administrator approves the network traffic.

[0027] In one embodiment, program 150 presents and / or adjusts the generated image representations based on the one or more generated image representations as described in step 304 and depending on the capabilities (e.g., display size, resolution, etc.) of an associated application (e.g., web-based interface, etc.) or associated computing device (not shown). In various embodiments, program 150 displays, modifies, or presents, or a combination thereof, the one or more generated image representations. In various embodiments, program 150 displays the one or more generated images on one or more associated computers and networks. In other embodiments, program 150 alters, transforms, or adjusts one or more stylistic elements of the display or one or more displayed image representations, including but not limited to font, font size, character style, font color, background color, capitalization, general transparency, and relative transparency. In some embodiments, the program 150 transmits the generated image representation to one or more associated computing devices using multiple transmission methods, including but not limited to GUI prompts, short message service (SMS), email, push notification, automated phone call, text-to-speech, etc.

[0028] In one embodiment, program 150 records one or more analyzed network inputs in corpus 124. In an exemplary embodiment, program 150 may receive user feedback through a graphical user interface (not shown) on a computing device (not shown). For example, after program 150 analyzes the network inputs, a user may provide feedback for the generated images on the user interface. In one embodiment, the feedback may include a simple, positive or negative response. For example, if program 150 erroneously identifies one or more anomalies and the associated generated images, the user may provide negative feedback and may correct the images (e.g., before transmission). In one embodiment, program 150 feeds the user feedback and corrected images to network input image model 152, allowing for adjustments to said model. In other embodiments, program 150 may record whether the user's response was positive or negative using one or more NLP techniques. In various embodiments, program 150 combines the deep learning processes described above with traditional network intrusion network signature analysis to enhance security profile predictions. In this embodiment, the program 150 updates a network input signature, which is a unique identifier of a network pattern or sequence of network inputs associated with a network description (e.g., malicious, authenticated, etc.). In a further embodiment, the program 150 applies the updated network input signature to one or more downstream or upstream network devices, such as an IDS. In other embodiments, the program 150 retrains one or more of the associated models and networks with the calculated predictions and associated feedback.

[0029] FIG. 3 is a flowchart illustrating operational steps of a program on a server computer in the computing environment of FIG. 1 for analyzing network traffic based on deep learning image generation and analysis, in accordance with an embodiment of the present invention.

[0030] Program 150 extracts network input information from the intercepted network input (step 302). Program 150 extracts network input information from one or more intercepted (e.g., saved, quarantined, suspended, etc.) network inputs. In various embodiments, program 150 examines the network input or a series of packets for specific network characteristics, such as a match of packet header or data payload information. In one embodiment, the network input information includes: IP address field; IP protocol field; IP options; IP fragment parameters; checksums for IP, TCP, and UDP; port numbers for IP and TCP; TCP flags; ICMP message type, time-to-live field (i.e., the number of seconds the packet is allowed to live on the network), and protocol field (i.e., TCP, UDP, ICMP, etc.). In other embodiments, program 150 creates network input information from the payload of a packet (e.g., a malformed URL) along with the packet header. In other embodiments, program 150 creates network inputs from alarms, fraud flags, or false positives, or combinations thereof, sent from an Intrusion Detection and Prevention System (IDPS) console. In one embodiment, program 150 utilizes a deep recurrent neural network (RNN) to create one or more instances and sets of instances of text embeddings of the extracted network inputs. In this embodiment, the created embeddings uniquely include vectorized visual attributes of the underlying network inputs. In various embodiments, program 150 clusters, groups, or associates, or combinations thereof, multiple network inputs associated with a transaction.

[0031] The program 150 generates a network input image based on the extracted network input information (step 304). In one embodiment, the program 150 generates a generative adversarial network (GAN) (e.g., network input image model 152) that includes a generator model and a discriminator model. In this embodiment, the program 150 first trains the model using a supervised method where there is an image representation of the intended image style (e.g., graphical, chart, graph, etc.). In the illustrated embodiment, the generator is a deconvolutional neural network and the discriminator is a convolutional neural network. In response to creating and training the image model, the program 150 generates or converts one or more text embeddings of the network input information into an image (e.g., a graph) using a GAN architecture such as a deep convolutional GAN ​​and associated GAN algorithms. In this embodiment, the program 150 synthesizes one or more network input images from a random noise vector sampled from a normal distribution of the network input information. In one embodiment, the program 150 utilizes the following equation (1) of the conditional GAN ​​(cGAN) algorithm for noise distribution datasets:

[0032]

number

[0033] Here, P data is the actual data distribution, z is the data sample, and G t is the generator, and D t where B is a discriminator and B is the complement between the text embeddings t1 and t2. In one embodiment, the program 150 utilizes the following equation (2) of the GAN algorithm to convert the text network input information into an image format:

[0034]

number

[0035] Here, {(V n ,t n ,y n :n-1, ,N)} is the training dataset, Δ is the 0-1 loss, v n is the image, t n is the corresponding text description, y n is the classification label, f v and f t is a classifier.

[0036] In an additional embodiment, program 150 utilizes GAN with re-description techniques to generate network input images. In this embodiment, program 150 applies image generation from text consisting of re-description and semantic text embedding (i.e., generating word and sentence level embeddings), a global-local joint attention module for cascaded image generation (i.e., generating target images from coarse to fine scales, leveraging both local word attention and global sentence attention to gradually enhance the diversity and semantic coherence of the generated images), and a semantic text regeneration and alignment module (i.e., regenerating text descriptions from the generated images, thereby semantically aligning a given text). In one embodiment, program 150 groups and / or clusters one or more generated network input images based on temporal contexts associated with similar network inputs, previous images, previous network inputs, etc.

[0037] The program 150 classifies the generated network input images (step 306). In response to creating and / or generating one or more network input images for one or more network inputs, the program 150 applies descriptive tags or labels to the generated network images utilizing object and image recognition techniques. In one embodiment, the program 150 utilizes a trained CNN with rectified linear units (RELU) (i.e., piecewise linear functions) as the network input classification model 154, where contained neurons in a layer are not fully connected to all neurons in subsequent layers. In one embodiment, the program 150 utilizes a trained CNN with RELU to identify objects (e.g., patterns, sequences, trends, signatures, etc.) in the generated images and graphs. In this embodiment, the program 150 classifies the generated images based on the identified objects contained within the graphical network information.

[0038] In response to classifying one or more generated network images, the program 150 aggregates and groups the classified images based on network traffic, protocols and extracted network information. In this embodiment, program 150 utilizes K-means (KNN) clustering and exploratory data analysis (EDA) to identify and summarize network patterns and network characteristics. In this embodiment, program 150 utilizes multivariate box plots applied to network information associated with generated network images having trained samples for X (i.e., false alarms / false positives) and Y (i.e., anomalies), respectively. In further embodiments, program 150 utilizes dimensionality reduction techniques on any dimensional model (e.g., Principal Component Analysis (PCA)) to convert a set of observations of probabilistic correlated variables into a set of meritorious variables. In one embodiment, program 150 clusters generated network input images based on network flows, packet flows, and IP groups. In various embodiments, program 150 groups multiple generated network input images associated with a set of network inputs. In one embodiment, program 150 identifies potential attacks that are spread or fragmented across multiple network inputs and connections. In this embodiment, program 150 identifies the attacks by overlaying the generated images and comparing the generated images with high similarity. In various embodiments, the program 150 utilizes KNN to cluster one or more classified network input images to create a set of one or more similarly classified network input images.

[0039] The program 150 predicts a security profile for the classified network input image (step 308). The program 150 predicts a security profile (e.g., a set of rules and associated mitigation actions, similar network traffic, and historical traffic and associated actions) for one or more classified network input images associated with one or more intercepted network inputs. In one embodiment, the security profile includes one or more of the following: probability of infection, probability that the signature matches a malicious network input or packet, similar network patterns, probability of authorized network, and cause of harm due to network suspension or network termination. For example, the program 150 predicts that a set of network inputs is associated with a high likelihood of a TCP attack or a SYN flood. In various embodiments, the predictions may include TCP host sweeps, TCP SYN floods, TCP port scans, TCP session hijacks, TCP traffic records, TCP applications, email attacks, NetBIOS attacks, web attacks, UDPp auto scans, UDP applications, UDP traffic records, distributed denial of service (DDoS) attacks, DNS attacks, Loki attacks, authentication attacks, and RPC attacks. In this embodiment, the program 150 utilizes a trained CNN to output one or more sets of probabilities that indicate the likelihood that the network is malicious. In one embodiment, the program 150 utilizes a trained CNN to compare the generated network input images that have been clustered and processed to past / known malicious or authorized network traffic. In another embodiment, the program 150 utilizes a trained CNN to calculate a similarity score that represents the likelihood of similarity between the generated network input images and past network input images (e.g., images labeled with an application, host, or security profile). In this embodiment, the program 150 calculates a similarity score that indicates the probability of image similarity of the synthetic image to each past network image.In a further embodiment, the program 150 weights each of the aforementioned results in proportion to the associated and calculated topic confidence from the analysis and classification process described in step 306. In another embodiment, the program 150 utilizes one or more prediction thresholds (i.e., p-values), for example 95%, to determine a prediction for one or more network inputs and associated generated images. For example, the program 150 sets a threshold where a prediction or probability value less than 50% confidence (i.e., malicious prediction) is authentic traffic, 51%-94% is false positive, and 95% or greater is malicious traffic. In response, the program 150 initiates one or more mitigation actions or techniques, such as those described in step 206, according to one or more network input predictions.

[0040] Figure 4 illustrates an example of a generated network image according to an embodiment of the present invention. Figure 4 includes a generated network image 402 that represents a network input image generated by a trained GAN as described in step 304. The generated network image 402 is an example of a generated image (e.g., chart) dashboard that shows a number of generated charts associated with one or more intercepted network inputs.

[0041] FIG. 5 illustrates an exemplary flow chart 500 illustrating exemplary operational steps of a program according to an embodiment of the present invention. In response to detecting, receiving, or intercepting, or a combination thereof, a network input 502, as described in step 202, the program 150 initiates an inbound request for a file transfer via a file transfer protocol (FTP). The program 150 initiates an analysis of the intercepted network input 502, as described in step 204 and steps 302-308. The program 150 extracts a plurality of network information from the network input 502, as described in step 302, and inputs the extracted network information to a GAN 504, which is a GAN trained to generate a network image from the network information. In response, the program 150 utilizes the GAN 504 to generate a generated network image 506, which represents one or more of the generated network images, as described in step 304. Additionally, the program 150 groups or clusters the generated network images 506 into grouped network images 508. Program 150 utilizes CONV+RELU as described in step 306, The program 150 identifies one or more regions of interest contained in the grouped network image 508 and creates / classifies a classified network image 512 based on the calculated similarity scores. The program 150 then further clusters the classified network image 512 to create a clustered network image 514 while simultaneously applying dimensionality reduction 516, an example of multiple dimensionality reduction techniques. The program 150 utilizes the reduced clustered network image 514 as described in step 308 to calculate network input predictions 518 including one or more predictions (e.g., authenticated, fake, malicious traffic) and associated probabilities. The program 150 utilizes the network input predictions 518 as described in step 206 to determine and apply one or more mitigation actions, such as authenticated network inputs 520, allowing the network inputs to pass through uninterrupted and allowing malicious network inputs 522 to be isolated from the network inputs. In response to the applied mitigation actions, the program 150 retrains one or more associated models and networks with the predictions and any feedback. Additionally, the program 150 applies the updated network input signatures 524 to one or more network devices (IDS) to reduce future false positives and improve network efficiency.

[0042] 6 illustrates a block diagram of components of a server computer 120 in accordance with an exemplary embodiment of the invention. It should be understood that FIG. 6 provides only one example implementation and is not intended to imply any limitations with respect to the environments in which different embodiments may be implemented. Many modifications to the illustrated environment may be made.

[0043] Each server computer 120 includes a communications fabric 604 that provides communication between cache 603, memory 602, persistent storage 605, communications unit 607, and input / output (I / O) interface 606. Communications fabric 604 may be implemented with any architecture designed to pass data or control information, or both, between a processor (such as a microprocessor, communications, or network processor), system memory, peripheral devices, and any other hardware components in the system. For example, communications fabric 604 may be implemented with one or more buses or crossbar switches.

[0044] Memory 602 and persistent storage 605 are computer readable storage media. In this embodiment, memory 602 includes random access memory (RAM). In general, memory 602 may include any suitable volatile or non-volatile computer readable storage media. Cache 603 is a high-speed memory that improves the performance of computer processor 601 by holding recently accessed and near accessed data from memory 602.

[0045] The program 150 may be stored in persistent storage 605 and memory 602 for execution by each of the one or more computer processors 601 via cache 603. In an embodiment, persistent storage 605 includes a magnetic hard disk drive. Alternatively, or in addition to a magnetic hard disk drive, persistent storage 605 may include a solid state hard drive, a semiconductor storage device, a read only memory (ROM), an erasable programmable read only memory (EPROM) flash memory, or other computer readable storage medium capable of storing program instructions or digital information.

[0046] The media used by persistent storage 605 may be removable. For example, a removable hard drive may be used for persistent storage 605. Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer to other computer readable storage media that are also part of persistent storage 605. Software and data 612 may be stored in persistent storage 605 for access and / or execution by each of the one or more processors 601 via cache 603.

[0047] The communications unit 607, in these examples, provides for communication with other data processing systems or devices. In these examples, the communications unit 607 includes one or more network interface cards. The communications unit 607 may provide for communication via the use of either or both physical and wireless communications links. The programs 150 may be downloaded to the persistent storage 605 through the communications unit 607.

[0048] The I / O interface 606 allows for input and output of data to and from other devices that may be connected to the server computer 120. For example, the I / O interface 606 provides a connection to an external device 608, such as a keyboard, a keypad, a touch screen, or some other suitable input device or combination thereof. The external device 608 may also include a portable computer-readable storage medium, such as a thumb drive, a portable optical or magnetic disk, or a memory card. Software and data for implementing embodiments of the present invention, such as the program 150, may be stored on such a portable computer-readable storage medium and loaded onto the persistent storage 605 via the I / O interface 606. The I / O interface 606 also connects to a display 609.

[0049] Display 609 provides a mechanism for displaying data to a user and may be, for example, a computer monitor.

[0050] The programs described herein are identified based on the application for which they are implemented in a particular embodiment of the invention, however, it should be understood that any particular program nomenclature is used merely for convenience, and thus the invention should not be limited to use only with any particular program identified and / or implied by such nomenclature.

[0051] The present invention may be a system, method, or computer program product, or a combination thereof. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon that cause a processor to perform aspects of the present invention.

[0052] The computer readable storage medium may be any tangible device capable of holding and storing instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded devices such as punch cards or raised structures in grooves having instructions recorded thereon, and any suitable combination thereof. As used herein, a computer-readable storage medium should not be construed as being, itself, a ephemeral signal, such as an electric wave or other freely propagating electromagnetic wave, or an electromagnetic wave propagating in a waveguide or other transmission body (e.g., light pulses traveling in a fiber optic cable), or an electrical signal transmitted through an electrical wire.

[0053] The computer readable program instructions described herein may be downloaded from a computer readable storage medium into each corresponding computing / processing device, or may be downloaded to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions to a computer readable storage medium in each corresponding computing / processing device for storage.

[0054] The computer readable program instructions for carrying out the operations of the present invention may be source or object code written in any combination of one or more programming languages, including assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or conventional procedural programming languages, such as Smalltalk, object oriented programming languages ​​such as C++, and the like, and quantum programming languages, such as the Q programming language, Q#, Quantum Computing Language (QCL) or similar programming languages, low level programming languages ​​such as assembly language, or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the last scenario above, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or the connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry, including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute the computer readable program instructions to implement aspects of the invention by utilizing state information of the computer readable program instructions to personalize the electronic circuitry.

[0055] Aspects of the invention described herein have been described with reference to flowchart instructions and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that any combination of flowchart illustrations and / or block diagrams and blocks in flowchart illustrations and / or block diagrams can be implemented by computer readable program instructions.

[0056] The computer readable program instructions can be provided to a processor of the computer or other programmable data processing device to generate a machine, which when executed by the processor of the computer or other programmable data processing device generates means for implementing the functions / operations specified in the block or blocks of the flowcharts and block diagrams, or a combination thereof. These computer readable program instructions that direct the computer, programmable data processing device, and other devices, or combinations thereof, to function in a particular manner can also be stored on a computer readable recording medium, such that the computer readable recording medium having instructions stored therein constitutes an article of manufacture containing instructions that implement the functional / operational features specified in the block or blocks of the flowcharts and block diagrams, or a combination thereof.

[0057] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device and cause a computer-implemented process to execute a series of operational steps on the computer, other programmable apparatus, or other device to implement the functions / acts specified in a block or blocks of the flowcharts and block diagrams, or a combination thereof, on the computer, other programmable apparatus, or other device.

[0058] The flowcharts and block diagrams in the figures (i.e., drawings) illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block of the flowchart or block diagram represents a module, segment, or portion of instructions, which includes one or more executable instructions for implementing a particular logical function(s). In some alternative implementations, the functions described in the blocks may occur out of the order described in the figures. For example, two blocks shown in succession may be executed substantially simultaneously, depending on the functionality involved, or the blocks may be executed in reverse order at times. It should also be noted that each of the block diagram and / or flowchart illustrations and combinations thereof may be implemented by a system based on special purpose hardware that performs a particular function or operation or executes specific purpose hardware and computer instructions.

[0059] The description of various embodiments of the present invention has been presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the invention. The terms used in this specification have been selected to best explain the principles of the embodiments, practical applications or technical improvements found in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. intercepting, by one or more computer processors, one or more network inputs entering or exiting an internal network; synthesizing, by one or more computer processors, one or more network input images from a random noise vector sampled from a normal distribution of text embedding network inputs utilizing a trained generative adversarial network; classifying, by one or more computer processors, one or more synthesized network input images by utilizing a trained convolutional neural network with rectified linear units to identify objects contained in the one or more network input images, the objects including patterns, sequences, trends, and signatures; predicting, by one or more computer processors, a security profile for the classified network input image and one or more associated network inputs, the security profile including a set of rules and associated mitigation actions, similar past network traffic, likelihood of infection, likelihood of signature matching with past malicious network inputs, and a cause of harm; applying, by one or more computer processors, one or more mitigating actions based on the predicted security profile associated with the one or more network inputs; 4. A computer-implemented method comprising:

2. updating, by one or more computer processors, one or more intrusion detection system signatures with the predicted security profile to mitigate subsequent false positives. The method of claim 1 further comprising:

3. Monitoring inbound and outbound network inputs by one or more computer processors utilizing a host intrusion detection system and a library of text, graphic-based, image-based, and video-based anomaly signatures. The method of claim 1 further comprising:

4. monitoring, by one or more computer processors, all network traffic using a network intrusion detection system to perform analysis of passing network traffic on a subnet, the network intrusion detection system analyzing packets, flows, sessions, packet payloads, traffic groups, network session transitions and transmissions; matching the monitored network traffic with a library of malicious signatures by one or more computer processors; The method of claim 1 further comprising:

5. classifying one or more synthesized network input images by identifying the object using the trained convolutional neural network with rectified linear units; calculating, by one or more computer processors, a similarity score indicative of a probability of image similarity of the composite image to each of the past network images. The method of claim 1 further comprising:

6. The mitigation action may include transmitting, monitoring, modifying, pausing, flagging, quarantining, diverting, storing, or logging based on one or more factors, scores, and probabilities included in the predicted security profile. The method of claim 1.

7. Utilizing the trained generative adversarial network to synthesize one or more network input images from the random noise vector sampled from the normal distribution of text embedding network inputs, applying, by one or more computer processors, text-to-image generation through re-description including semantic text embedding, global-local joint attention for cascaded image generation, semantic text regeneration, and semantic text regeneration alignment; The method of claim 1 further comprising:

8. one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the stored program instructions comprising: program instructions for intercepting one or more network inputs entering or exiting an internal network; program instructions for synthesizing one or more network input images from a random noise vector sampled from a normal distribution of text embedding network inputs using a trained generative adversarial network; program instructions for classifying one or more combined network input images by identifying objects contained in said one or more network input images using a trained convolutional neural network with rectified linear units, said objects including patterns, sequences, trends and signatures; program instructions for predicting a security profile for the classified network input image and one or more associated network inputs, the security profile including a set of rules and associated mitigation actions, similar past network traffic, likelihood of infection, likelihood of signature match with past malicious network inputs, and a cause of harm; program instructions for applying one or more mitigating actions based on the predicted security profile associated with the one or more network inputs; A computer program comprising:

9. The program instructions stored on the one or more computer readable storage media include: program instructions for mitigating subsequent false positives by updating one or more intrusion detection system signatures with the predicted security profile. The computer program product of claim 8 , further comprising:

10. The program instructions stored on the one or more computer readable storage media include: Program instructions that utilize a host intrusion detection system and a library of text, graphic-based, image-based, and video-based anomaly signatures to monitor inbound and outbound network inputs. The computer program product of claim 8 , further comprising:

11. The program instructions stored on the one or more computer readable storage media include: program instructions for monitoring all network traffic using a network intrusion detection system to perform analysis of passing network traffic on a subnet, the network intrusion detection system analyzing packets, flows, sessions, packet payloads, traffic groups, network session transitions and transmissions; Program instructions that match observed network traffic against a library of malicious signatures The computer program product of claim 8 , further comprising:

12. Program instructions for classifying one or more synthesized network input images by identifying the object using the trained convolutional neural network with rectified linear units, comprising: program instructions for computing a similarity score indicating a probability of image similarity of the synthetic image to each of the previous network images; The computer program product of claim 8 , further comprising:

13. The mitigation action may include transmitting, monitoring, modifying, pausing, flagging, quarantining, diverting, storing, or logging based on one or more factors, scores, and probabilities included in the predicted security profile.

9. A computer program product according to claim 8.

14. Program instructions for synthesizing one or more network input images from the random noise vector sampled from the normal distribution of text embedding network inputs using the trained generative adversarial network, comprising: Program instructions for applying, by one or more computer processors, text-to-image generation through re-description including semantic text embedding, global-local joint attention for cascaded image generation, semantic text regeneration, and semantic text regeneration alignment. The computer program product of claim 8 , further comprising:

15. one or more computer processors; one or more computer readable storage media; and program instructions stored on the computer-readable storage medium for execution by at least one of the one or more computer processors; The stored program instructions include: program instructions for intercepting one or more network inputs entering or exiting an internal network; program instructions for synthesizing one or more network input images from a random noise vector sampled from a normal distribution of text embedding network inputs using a trained generative adversarial network; program instructions for classifying one or more combined network input images by identifying objects contained in said one or more network input images using a trained convolutional neural network with rectified linear units, said objects including patterns, sequences, trends and signatures; program instructions for predicting a security profile for the classified network input image and one or more associated network inputs, the security profile including a set of rules and associated mitigation actions, similar past network traffic, likelihood of infection, likelihood of signature match with past malicious network inputs, and a cause of harm; program instructions for applying one or more mitigating actions based on the predicted security profile associated with the one or more network inputs; 1. A computer system comprising:

16. The program instructions stored on the one or more computer readable storage media include: Program instructions that utilize a host intrusion detection system and a library of text, graphic-based, image-based, and video-based anomaly signatures to monitor inbound and outbound network inputs.

16. The computer system of claim 15, further comprising:

17. The program instructions stored on the one or more computer readable storage media include: program instructions for monitoring all network traffic using a network intrusion detection system to perform analysis of passing network traffic on a subnet, the network intrusion detection system analyzing packets, flows, sessions, packet payloads, traffic groups, network session transitions and transmissions; Program instructions that match observed network traffic against a library of malicious signatures 16. The computer system of claim 15, further comprising:

18. Program instructions for classifying one or more synthesized network input images by identifying the object using the trained convolutional neural network with rectified linear units, comprising: program instructions for computing a similarity score indicating a probability of image similarity of the synthetic image to each of the previous network images; 16. The computer system of claim 15, further comprising:

19. The mitigation action may include transmitting, monitoring, modifying, pausing, flagging, quarantining, diverting, storing, or logging based on one or more factors, scores, and probabilities included in the predicted security profile.

16. The computer system of claim 15.

20. Program instructions for synthesizing one or more network input images from the random noise vector sampled from the normal distribution of text embedding network inputs using the trained generative adversarial network, comprising: Program instructions for applying, by one or more computer processors, text-to-image generation through re-description including semantic text embedding, global-local joint attention for cascaded image generation, semantic text regeneration, and semantic text regeneration alignment.

16. The computer system of claim 15, further comprising:

Citation Information

Patent Citations

  • Network intrusion detection method and device based on deep learning and storage medium

    CN110875912A

  • Method and apparatus for detecting abnormal traffic based on cae

    JP2020102178A