An AI-based private network abnormal risk flow multi-modal detection method and system
By extracting multimodal session data from private network links, performing session boundary stability analysis and business intent modeling, the shortcomings of existing methods in identifying complex attacks are addressed. This enables a refined understanding of industrial control communication behavior and the identification of continuous attacks, thereby enhancing the protection capabilities of private networks.
Patent Information
- Application Number
- CN202511867684.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2045-12-11
AI Technical Summary
Existing abnormal traffic detection methods struggle to establish coherent behavioral chains when faced with anomalies involving multiple steps and combinations of behaviors. They cannot distinguish between parameter writing in normal processes and potential violations, and when dealing with encrypted traffic, they fail to reflect behavioral differences within encrypted packets. Furthermore, they lack correlation modeling of the temporal relationships between events, making it difficult to identify continuous attack behaviors when program update anomalies and parameter writing anomalies occur together.
By extracting protocol function code sequences, packet arrival time sequences, and encrypted message length parameters from the private network link, multimodal session data fragments are generated. Combined with timestamp rearrangement and interpolation correction, session boundary stability analysis is performed. Protocol behavior rules are established based on business intent, write register instruction operations are detected, behavior offset indicators and risk trend curves are calculated, time-series correlation diagrams of first- and second-level risk events are established, attack chains are identified, and device isolation responses are triggered.
It achieves complete reconstruction of industrial control communication behavior, accurately identifies structural sub-segments within a session, avoids misalignment in behavior analysis, can identify complex attack behaviors, improves the protection capability of private networks, and has adaptive capabilities to maintain detection accuracy during the evolution of attack behaviors.
Smart Images

Figure CN121585451B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network security technology, specifically to an AI-based method and system for multimodal detection of abnormal risk traffic in private networks. Background Technology
[0002] With the rapid expansion of industrial control systems in energy, manufacturing, transportation, and other fields, dedicated communication networks are gradually forming a complex interactive structure comprised of periodic data acquisition tasks, parameter download commands, and program update processes. Dedicated network traffic exhibits characteristics such as diverse protocol stacks, multi-layered command structures, and intertwined business intents. Furthermore, the widespread adoption of encrypted communication makes traditional monitoring methods relying on content inspection ineffective. The real-time requirements and continuous operation of modern dedicated networks mean that any interruption, abnormal write, or unknown program update can trigger system-wide chain reactions within a very short time. Therefore, a refined understanding of traffic behavior and multi-dimensional analysis capabilities are particularly important.
[0003] Most existing abnormal traffic detection methods rely on single-modal features, such as focusing only on protocol field changes, detecting only time series fluctuations, or only statistically analyzing packet length distribution. This makes it difficult to establish a coherent behavioral chain logic when facing anomalies that span multiple steps and combinations of behaviors. Such methods often fail to distinguish between parameter writes in normal processes and potential violations, and also fail to establish dynamic rule matching relationships between different business intentions. When processing encrypted traffic, traditional methods mostly use only coarse-grained statistical indicators, which are difficult to reflect the behavioral differences within encrypted packets. Furthermore, existing methods typically isolate abnormal events and lack correlation modeling of the temporal relationships between events. Therefore, when faced with scenarios where program update anomalies and parameter write anomalies occur simultaneously, it is difficult to identify continuous attack behaviors in a timely manner. Summary of the Invention
[0004] To address the shortcomings of existing technologies, this invention provides an AI-based multimodal detection method and system for abnormal risk traffic in private networks, thus solving the problems mentioned in the background.
[0005] To achieve the above objectives, this invention provides the following technical solution: A multimodal detection method for abnormal risk traffic in private networks based on AI, comprising the following steps: S1. Real-time traffic is collected in the private network link, and the protocol function code sequence, packet arrival time sequence, and encrypted message length parameters are extracted. Simultaneously, the collected data is rearranged and interpolated according to the message timestamp to generate multimodal session data fragments. The session data fragments are then labeled with the corresponding business intent category according to the current industrial control task flow. S2. Session boundary stability analysis is performed on the multimodal session data. By detecting protocol field change segments, time series rate change points, and encrypted length distribution mutation points, structural sub-segments within the session are located. Protocol behavior rules are established based on business intent. When the business intent is a parameter setting point download... S1. Monitor write register instruction operations. If the write operation value of the process parameter register exceeds the preset fluctuation range, a level 1 risk event is generated. S2. Calculate the stable range of fields, the average time interval, and the encrypted length distribution profile of the sub-segment to form a feature set. By comparing the feature differences of adjacent sub-segments, calculate the behavior offset index and generate a session-level risk trend curve. Combine this with the current private network service load level to generate a level 2 risk event. S3. Establish a time sequence correlation diagram for level 1 and level 2 risk events. When program update anomalies and parameter write anomalies from the same source device occur consecutively within a preset time window, it is determined as an attack chain and a device isolation response is triggered. The sensitivity of sub-segment division to protocol change points, time sequence change points, and length distribution mutation points is dynamically adjusted according to the attack chain determination results.
[0006] Further, the specific process for generating multimodal session data fragments is as follows: Traffic probes are deployed at key nodes of the private network link to collect raw packets via port mirroring. The collected packets are then parsed to extract the function code fields of Modbus / TCP and OPC UA industrial protocols, forming a protocol function code sequence. The arrival time intervals of adjacent packets are recorded to construct a packet arrival time sequence. The effective payload length of each encrypted packet is calculated, generating an encrypted packet length parameter sequence. The collected data is timestamped and rearranged according to the time sequence identifier in the packet header. Time sequence disorder caused by network jitter is corrected, and interpolation algorithms are used to repair time sequence breaks caused by sudden packet loss. The repaired protocol function code sequence, packet arrival time sequence, and encrypted packet length parameter sequence are aligned and packaged according to the session to generate multimodal session data fragments.
[0007] Furthermore, the specific process of labeling session data fragments with corresponding business intent categories according to the current industrial control task flow is as follows: Obtain the currently executing work order task information, parse the device operation instructions in the work order task, and extract the operation type, target device identifier, and planned execution time window; match the source IP address and destination IP address of the session data fragment with the device identifier in the work order, and perform time alignment based on the overlap between the session occurrence time and the work order execution time window; establish business intent mapping rules: when the session feature is a periodic read register operation and matches a data acquisition work order, mark it as periodic data acquisition; when the session feature includes a write register operation and matches a parameter modification work order, mark it as parameter setpoint download; when the session feature includes a program block transmission operation and matches a program update work order, mark it as controller program update; for sessions that cannot match known work orders, perform intent inference based on protocol behavior patterns using a clustering algorithm.
[0008] Furthermore, session boundary stability analysis is performed on multimodal session data. The specific process for locating structural sub-segments within the session by detecting protocol field change segments, time series rate variation points, and encryption length distribution abrupt change points is as follows: A sliding window analysis is performed on the protocol function code sequence to detect abrupt change points in the function code type; wavelet transform is performed on the packet arrival time series to extract singularities in the time series; kernel density estimation is performed on the encryption message length distribution to identify abrupt change regions in the length distribution; a joint detection window is established based on protocol field change segments, time series rate variation points, and encryption length distribution abrupt change points. When any two types of abrupt change points appear simultaneously within the time window, it is determined as a valid session boundary; based on the detected session boundaries, the session is divided into multiple structural sub-segments, and a feature index including a start timestamp, an end timestamp, and the dominant protocol behavior type is established for the divided sub-segments.
[0009] Furthermore, based on business intent, protocol behavior rules are established. When the business intent is parameter setpoint download, the write register instruction operation is monitored. If the write operation value to the process parameter register exceeds the preset fluctuation range, the specific process of generating a Level 1 risk event is as follows: A dynamic rule base based on business intent is established, and a corresponding protocol behavior whitelist is configured for each business intent. When the business intent is parameter setpoint download, the write register instruction monitoring rule is activated. The target register address and written value of the write register instruction are filtered out from the protocol function code sequence, and the register address range corresponding to the key process parameters is identified by accessing the process parameter knowledge base. The normal operating range of the key process parameters is constructed based on historical data, and the confidence interval of the parameter value is calculated by kernel density estimation. The written value in the write register instruction is compared with the corresponding parameter confidence interval in real time. When the written value exceeds the confidence interval, the source device identifier, target register address, abnormal value, and occurrence timestamp are extracted to generate a Level 1 risk event containing business intent, violation type, and risk level.
[0010] Further, step S3 includes the following steps: calculating the value distribution range of the protocol field for each sub-segment as the field stability range, calculating the statistical mean of the message arrival time interval as the time interval mean, and statistically analyzing the distribution profile of the encrypted message length; analyzing the characteristic differences between adjacent sub-segments based on the sliding window analysis, calculating the comprehensive offset of adjacent sub-segments in the three dimensions of field stability range, time interval mean, and encrypted message length distribution profile through the dynamic time warping algorithm, forming a behavioral offset index sequence; mapping the behavioral offset index sequence to the time axis, generating a continuous risk trend curve through spline interpolation, normalizing the risk trend curve according to the current private network service load level, and generating a secondary risk event when the curve amplitude exceeds the threshold dynamically adjusted based on the load level.
[0011] Furthermore, a temporal correlation graph for Level 1 and Level 2 risk events is established. When program update anomalies and parameter write anomalies from the same source device occur consecutively within a preset time window, they are identified as an attack chain, triggering a device isolation response. The specific process is as follows: A correlation graph is established with risk events as nodes and temporal relationships between events as edges. Node attributes include event type, source device identifier, and occurrence timestamp. Edge weights represent the time interval between events. Paths satisfying a specific pattern are searched in the correlation graph. When a directed edge is found between a program update anomaly node and a parameter write anomaly node from the same source device, and the timestamp difference between the two nodes is within a preset time window, it is identified as a potential attack chain. The potential attack chain is assessed for confidence, with assessment factors including event severity, time window compliance, and device criticality level. When the confidence exceeds a set threshold, it is confirmed as an attack chain, and an isolation command is sent to the target device.
[0012] Furthermore, the specific process of dynamically adjusting the sensitivity of protocol change points, timing change points, and length distribution mutation points when dividing sub-segments based on the attack chain determination results is as follows: Based on the types of risk events involved in the attack chain, extract the corresponding feature patterns of protocol change points, timing change points, and length distribution mutation points, and adjust the detection threshold in the session boundary stability analysis; establish a mutation point pattern weight table, dynamically update the weights based on the occurrence frequency of each mutation point pattern in the attack chain, and perform boundary determination sequentially according to the mutation point patterns sorted by weight during joint detection window judgment.
[0013] A multimodal detection system for abnormal risk traffic in private networks based on AI includes the following modules: a data acquisition and processing module for collecting real-time traffic in the private network link, extracting protocol function code sequences, packet arrival time sequences, and encrypted message length parameters, and simultaneously rearranging and interpolating the collected data according to message timestamps to generate multimodal session data fragments, and marking the session data fragments with the corresponding business intent categories according to the current industrial control task flow; and a session analysis module for performing session boundary stability analysis on the multimodal session data, locating structural sub-segments within the session by detecting protocol field change segments, time series rate variation points, and encrypted length distribution abrupt change points, establishing protocol behavior rules based on business intent, and monitoring register write instruction operations when the business intent is parameter setpoint download. If a write operation to the process parameter register is detected to exceed the preset fluctuation range, a Level 1 risk event is generated. The risk assessment module is used to calculate the stable range of fields, the average time interval, and the encrypted length distribution profile of the sub-segment to form a feature set. By comparing the feature differences of adjacent sub-segments, the behavioral offset index is calculated and a session-level risk trend curve is generated. Combined with the current private network service load level, a Level 2 risk event is generated. The security response module is used to establish the time sequence correlation diagram of Level 1 and Level 2 risk events. When program update anomalies and parameter write anomalies from the same source device are detected to occur continuously within a preset time window, it is determined as an attack chain and the device isolation response is triggered. Based on the attack chain determination result, the sensitivity of the sub-segment division to protocol change points, time sequence change points, and length distribution mutation points is dynamically adjusted.
[0014] The present invention has the following beneficial effects: (1) An AI-based multimodal detection method for abnormal risk traffic in private networks. This method synchronously extracts protocol function code sequences, packet arrival time sequences, and encrypted message length parameters from the private network link, and generates multimodal session data fragments by combining timestamp rearrangement and interpolation correction, thereby achieving a complete reconstruction of industrial control communication behavior. This method avoids the problem of weak behavioral expression caused by the reliance on a single type of feature in traditional methods, and enables the instruction sequence, time rhythm, and encrypted traffic structure to participate in anomaly identification. On this basis, by detecting protocol field change segments, time series rate change points, and encrypted length distribution mutation points, a stable session boundary identification mechanism is formed, which can accurately delineate the structural sub-segments within the session and avoid the behavioral analysis misalignment caused by the fuzzy boundaries in existing methods. Furthermore, protocol behavior rules are established based on business intent, so that key operations such as parameter setting point download can be placed in a clear business context for detection, thereby making the identification of abnormal register write operations context-dependent and solving the practical problem that traditional methods are prone to misjudgment when facing the same type of instruction but different business contexts.
[0015] (2) An AI-based multimodal detection system for abnormal risk traffic in private networks extracts stable intervals, average time intervals, and encryption length distribution contours from sub-segments and compares the differences between adjacent sub-segments to construct behavioral offset indicators and session-level risk trend curves. This allows abnormal behavior to be identified in a continuous state rather than in isolated judgments of fragmented events, thus overcoming the shortcomings of existing methods in reflecting behavioral evolution trends. Based on this, a correlation graph is established using the temporal relationship between first-level and second-level risk events. This allows for the identification of attack chains formed by the continuous occurrence of program update anomalies and parameter write anomalies, enabling inference of deep attack behaviors rather than being limited to responses to single-point anomalies. The sensitivity of the session segmentation to protocol change points, temporal change points, and encryption length mutation points is dynamically adjusted according to the attack chain judgment results, giving the system adaptive capabilities. This allows the system to maintain detection accuracy throughout the evolution of attack behaviors, improving the overall protection capability of the private network.
[0016] Of course, any product implementing this invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0017] Figure 1 This is a flowchart of an AI-based multimodal detection method for abnormal risk traffic in private networks according to the present invention.
[0018] Figure 2 This is a flowchart of an AI-based multimodal detection system for abnormal risk traffic in a private network, as described in this invention. Detailed Implementation
[0019] This application provides an AI-based multimodal detection method and system for abnormal risk traffic in private networks, which solves the problem that existing technologies struggle to effectively identify complex attacks in private networks that are highly concealed and have business contextual relationships.
[0020] The overall concept of the solution in this application embodiment is as follows: A hierarchical detection system was constructed through multimodal data fusion and business intent understanding. First, during the data acquisition phase, protocol, timing, and encryption features were integrated and business semantics were injected, providing a rich data foundation with practical business implications for subsequent analysis. Second, a dual detection mechanism was employed: on the one hand, protocol compliance verification was performed based on business rules to detect immediate threats violating process logic; on the other hand, abnormal sessions deviating from the normal baseline were identified through behavioral pattern analysis. Finally, correlation analysis linked point anomalies into attack chains, and the detection results were used to optimize the sensitivity of front-end analysis, forming a closed-loop defense system with self-learning capabilities.
[0021] Please see Figure 1This invention provides a technical solution: an AI-based multimodal detection method for abnormal risk traffic in private networks, comprising the following steps: S1. Real-time traffic is collected in the private network link, and protocol function code sequences, packet arrival time sequences, and encrypted message length parameters are extracted. Simultaneously, the collected data is rearranged and interpolated according to message timestamps to generate multimodal session data fragments. These session data fragments are then labeled with the corresponding business intent category according to the current industrial control task flow. S2. Session boundary stability analysis is performed on the multimodal session data. By detecting protocol field change segments, time series rate change points, and encrypted length distribution mutation points, structural sub-segments within the session are located. Protocol behavior rules are established based on business intent. When the business intent is parameter setting point download, the write operation is monitored. Register instruction operations: If a write operation to the process parameter register is detected to exceed the preset fluctuation range, a Level 1 risk event is generated; S3. Calculate the stable range of fields, the average time interval, and the encrypted length distribution profile for each sub-segment to form a feature set. By comparing the feature differences between adjacent sub-segments, calculate the behavior offset index and generate a session-level risk trend curve. Combine this with the current private network service load level to generate a Level 2 risk event; S4. Establish a time-series correlation diagram for Level 1 and Level 2 risk events. When program update anomalies and parameter write anomalies from the same source device occur consecutively within a preset time window, it is determined as an attack chain and a device isolation response is triggered. Based on the attack chain determination result, dynamically adjust the sensitivity of sub-segment division to protocol change points, time-series change points, and length distribution mutation points.
[0022] In this implementation plan, S1: This step is used to build a multimodal session data foundation for subsequent analysis in real time at the private network node. Specifically, this involves deploying traffic probes on critical links to collect raw packets in a port mirroring manner, extracting protocol function code sequences (i.e., industry protocol instruction codes arranged in chronological order, such as Modbus function codes or OPC UA operation types), packet arrival time sequences (referring to the time interval sequence of adjacent packets, used to reflect the session timing rhythm), and encrypted packet length parameters (referring to the effective payload length of each encrypted packet, used as a side-channel characteristic of encrypted traffic); the collected packets are rearranged by timestamp and time breaks caused by network jitter or packet loss are interpolated and corrected to ensure the synchronization of the three types of sequences on the time axis. Through time alignment and interpolation correction, the analysis error caused by timing misalignment is eliminated, ensuring that each session segment simultaneously contains protocol behavior, timing characteristics, and encrypted length information, providing a complete and consistent data unit for subsequent boundary segmentation and behavior analysis. S2: This step is used to identify internal structural sub-segments at the session granularity and implement rule verification based on business semantics. Specifically, a change point detection method is used to identify function code mutation points (protocol field change segments) in the protocol field sequence, rate change points (points where the statistical characteristics of arrival intervals change significantly within a short period of time) in the arrival time sequence, and distribution mutation points (points where the length distribution pattern jumps from one steady-state mode to another) in the encrypted message length sequence. These change points are superimposed on the same time axis as the basis for dividing the structural sub-segments within the session. Based on the business intent marked in S1 (referring to the operational semantics obtained from work orders or control flows, such as periodic collection, parameter download, and program update), corresponding protocol behavior rules are established. For parameter setting point download intents, write register instructions are further monitored, and the written value is compared with the historical fluctuation range (confidence interval estimated through historical sampling data). If it exceeds the range, a level one risk event is generated. Accurate sub-segment segmentation is achieved through multi-dimensional change point joint judgment, and the rule verification is combined with business semantics. It can identify immediate illegal writes while ensuring the correct context, reducing false alarms and improving the accuracy of location. S3: This step is used to quantitatively characterize the sub-segments and identify the evolution trend of behavior within the session. For each sub-segment, calculate the stable range of the protocol field (i.e., the common value range of the protocol field within the segment), the average time interval (the statistical average of the arrival time intervals within the segment), and the encryption length distribution profile (the distribution pattern of message length within the segment). These indicators are then combined into a sub-segment feature set. By comparing the differences between adjacent sub-segments in the above dimensions, a behavioral offset index (characterizing the magnitude and direction of behavioral changes from one stable state to another) is calculated. Based on the behavioral offset index sequence along the time axis, a session-level risk trend curve is constructed (i.e., interpolating discrete offsets into a continuous curve to reflect abnormal evolution). This curve is then combined with the current private network service load level (for normalization and threshold adaptation) to determine whether a secondary risk event has been triggered.Transforming isolated anomaly signals into a continuous risk evolution view facilitates the capture of slow-penetrating or gradually escalating attack behaviors, and reduces false alarms caused by business fluctuations through load-aware thresholds. S4: This step is used to temporally correlate the detection results of the rule layer (first-level events) and the behavior layer (second-level events) to identify attack chains composed of multiple events and drive response and adaptive optimization. Specifically, a temporal correlation graph is constructed with risk events as nodes and the order of event occurrence as directed edges. Paths satisfying specific patterns are retrieved from this graph; for example, if an abnormal node for program updates and an abnormal node for parameter writing from the same source device appear adjacent to each other within a preset time window, it is determined to be an attack chain, triggering a device isolation response (isolation response refers to protective actions such as issuing network isolation policies or closing suspicious communication channels). Simultaneously, the attack chain determination result is mapped to a dynamic adjustment strategy for the sub-segment division detection threshold (e.g., increasing the detection sensitivity for mutation points that frequently appear in the attack chain), to achieve closed-loop adaptive detection. Event cascading inference improves the ability to identify complex, multi-stage attacks, and result-driven parameter adjustments improve the system's detection accuracy and robustness in subsequent traffic.
[0023] Specifically, the process of generating multimodal session data fragments is as follows: Traffic probes are deployed at key nodes of the private network link to collect raw packets via port mirroring. The collected packets are then parsed to extract the function code fields of Modbus / TCP and OPC UA industrial protocols, forming a protocol function code sequence. The arrival time intervals of adjacent packets are recorded to construct a packet arrival time sequence. The effective payload length of each encrypted packet is calculated, generating an encrypted packet length parameter sequence. The collected data is timestamped and rearranged according to the time sequence identifier in the packet header. Time sequence disorder caused by network jitter is corrected, and interpolation algorithms are used to repair time sequence breaks caused by sudden packet loss. The repaired protocol function code sequence, packet arrival time sequence, and encrypted packet length parameter sequence are aligned and packaged according to the session to generate multimodal session data fragments.
[0024] In this implementation plan, traffic probes (used to capture all data packets on the link in real time) are deployed at key nodes of the private network link. Raw packets are collected via port mirroring; port mirroring refers to copying all traffic passing through a switch or router port without affecting normal communication. The collected packets are first parsed to extract the function code fields of industrial protocols such as Modbus / TCP and OPCUA, forming a protocol function code sequence. ,in, Indicates the first The function code of each message identifies the specific operation type performed by the message, such as reading a register or writing a register, providing basic information for subsequent business intent identification. Simultaneously, the arrival time intervals of adjacent messages are recorded to construct a packet arrival time sequence. ,in ; Indicates the first The timestamps of each message reflect the timing characteristics of message transmission, revealing periodic operations or sudden events. For each encrypted message, the payload length is calculated to form an encrypted message length sequence. ,in This represents the payload length of the r-th message; this sequence is used to analyze abnormal fluctuations in message volume, such as abnormal data uploads or tampering. To ensure time series consistency, the collected data is rearranged according to the message header timestamp, and out-of-order errors caused by network jitter are corrected. For time series breaks caused by packet loss, interpolation algorithms are used to repair them, generating a corrected time series. The formula is as follows: ;in This indicates the repaired time interval; "valid" indicates the time interval is normal, and "lost or abnormal" indicates the time interval is missing or abnormal. This operation ensures the continuity of time series analysis, providing a stable foundation for subsequent session segmentation. Finally, the repaired... , and Alignment and packaging based on session identifiers generate multimodal session data fragments. Each fragment contains protocol, timing, and length characteristics, forming a multimodal data representation that provides a unified data foundation for service intent marking and anomaly detection.
[0025] Specifically, the process of labeling session data fragments with corresponding business intent categories according to the current industrial control task flow is as follows: Obtain the currently executing work order task information, parse the device operation instructions in the work order task, and extract the operation type, target device identifier, and planned execution time window; match the source IP address and destination IP address of the session data fragment with the device identifier in the work order, and align the time based on the overlap between the session occurrence time and the work order execution time window; establish business intent mapping rules: when the session feature is a periodic read register operation and matches a data acquisition work order, mark it as periodic data acquisition; when the session feature includes a write register operation and matches a parameter modification work order, mark it as parameter setpoint download; when the session feature includes a program block transfer operation and matches a program update work order, mark it as controller program update; for sessions that cannot match known work orders, infer intent based on protocol behavior patterns using a clustering algorithm.
[0026] In this implementation plan, the generated multimodal session data fragments are labeled with the corresponding business intent category according to the current industrial control task flow. The currently executed work order task information is obtained, the device operation instructions are parsed, and the operation type is extracted. Target device identification and the planned execution time window This is used to match session data fragments. The business intent here refers to the operational purpose corresponding to the message, such as periodic data collection, parameter setting, or program update. The source and destination IP addresses of the session data fragments are matched with the work order device identifier, and time alignment is performed based on the overlap between the session occurrence time and the work order execution time window. (Overlap degree) The calculation formula is as follows: ;in For the indicator function, when the time of the a-th message... Falling within the work order time window If the value is 1, then the value is 0; The total number of messages in the session segment; This reflects the degree of time matching between the session and the work order. The higher the matching degree, the higher the credibility of marking the segment as the corresponding business intent. Establish business intent mapping rules: when the session feature is a periodic register read operation and matches a data acquisition work order, mark it as periodic data acquisition; when the session feature includes a register write operation and matches a parameter modification work order, mark it as parameter setting download; when the session feature includes a program block transfer operation and matches a program update work order, mark it as controller program update. For sessions that cannot match known work orders, intent inference is performed using protocol behavior patterns and a clustering algorithm. The clustering distance function can use multimodal weighted distance: ;in Representing sessions Function code sequence, time sequence, and length sequence; These are the distance metrics for each sequence; The unified weighting coefficient (determined through historical statistics) is used to quantify the similarity between two sessions in the multimodal feature space, thereby inferring the business intent of an unknown session.
[0027] Specifically, the process of performing session boundary stability analysis on multimodal session data, and locating structural sub-segments within the session by detecting protocol field change segments, time series rate variation points, and encryption length distribution abrupt change points, is as follows: Sliding window analysis is performed on the protocol function code sequence to detect abrupt change points in the function code type; wavelet transform is performed on the packet arrival time series to extract singularities in the time series; kernel density estimation is performed on the encryption message length distribution to identify abrupt change regions in the length distribution; a joint detection window is established based on protocol field change segments, time series rate variation points, and encryption length distribution abrupt change points; when any two types of abrupt change points appear simultaneously within the time window, it is determined as a valid session boundary; based on the detected session boundaries, the session is divided into multiple structural sub-segments, and a feature index including a start timestamp, an end timestamp, and the dominant protocol behavior type is established for the divided sub-segments.
[0028] In this implementation scheme, to accurately delineate session boundaries and identify internal structural sub-segments, boundary stability analysis is performed on the multimodal session data. First, the protocol function code sequence... Using sliding window Analyze the frequency of function code type changes within each window and calculate the change index: ;in, This indicates the function code change index for the k-th window; Indicates the window length; This represents the m function codes within the window; Function code weights are dynamically assigned based on frequency of use; this metric is used to identify abrupt changes in protocol operation types. Secondly, wavelet transform is performed on the packet arrival time series to extract singularities. ;in, Indicates wavelet transform operation; The wavelet basis function is represented by rt; the scale parameter is represented by rt; singular points reflect abrupt changes in the time series rate, used to capture bursts of traffic or periodic interruptions. Simultaneously, kernel density estimation is performed on the encrypted message length sequence to identify regions of abrupt changes in the length distribution. ;in This represents the estimated value of the length probability density function; Represents the kernel function; The bandwidth parameter is calculated using the Silverman rule; abrupt change regions are used to capture the length characteristics of abnormal data uploads or illegal control messages. Based on these three types of abrupt changes, a joint detection window is established. When any two types of abrupt changes occur simultaneously within the same time window, that location is determined to be a valid session boundary, thus dividing the session into multiple structured sub-segments. For each sub-segment, a feature index is established, including a start timestamp, an end timestamp, and the dominant protocol behavior type, providing a structured foundation for subsequent risk event detection.
[0029] Specifically, based on business intent, protocol behavior rules are established. When the business intent is parameter setpoint download, write register instruction operations are monitored. If the write operation value of the process parameter register exceeds the preset fluctuation range, a Level 1 risk event is generated. The specific process is as follows: A dynamic rule base based on business intent is established, and a corresponding protocol behavior whitelist is configured for each business intent. When the business intent is parameter setpoint download, the write register instruction monitoring rule is activated. The target register address and written value of the write register instruction are filtered out from the protocol function code sequence. The register address range corresponding to the key process parameters is identified by accessing the process parameter knowledge base. The normal operating range of the key process parameters is constructed based on historical data. The confidence interval of the parameter value is calculated by kernel density estimation. The written value in the write register instruction is compared with the corresponding parameter confidence interval in real time. When the written value exceeds the confidence interval, the source device identifier, target register address, abnormal value, and occurrence timestamp are extracted to generate a Level 1 risk event containing business intent, violation type, and risk level.
[0030] In this implementation scheme, to capture abnormal operations, a dynamic rule base based on business intent is established, and a protocol behavior whitelist is configured for each business intent. For example, when the business intent is parameter setpoint download, the write register instruction monitoring rule is activated. This is based on the protocol function code sequence. Filter out write register instructions Record the target register address for each instruction. and write values Access the process parameter knowledge base to identify the register address ranges corresponding to key process parameters. Based on historical operational data, normal ranges for key parameters are constructed, and confidence intervals for the parameters are calculated using kernel density estimation. ;in, Indicates the historical average; Indicates standard deviation; This represents the confidence level coefficient; this step is used to determine whether the written value deviates from the normal process range. When the written value... At that time, extract the source device identifier. Target register address Abnormal values and timestamp of occurrence Generate a Level 1 risk event that includes business intent, violation type, and risk level. This step can promptly detect abnormal write operations of process parameters, enabling targeted protection.
[0031] Specifically, step S3 includes the following steps: calculating the value distribution range of the protocol field for each sub-segment as the field stability range, calculating the statistical mean of the message arrival time interval as the time interval mean, and statistically analyzing the distribution profile of the encrypted message length; analyzing the characteristic differences between adjacent sub-segments based on the sliding window analysis, and calculating the comprehensive offset of adjacent sub-segments in the three dimensions of field stability range, time interval mean, and encrypted message length distribution profile through the dynamic time warping algorithm to form a behavioral offset index sequence; mapping the behavioral offset index sequence to the time axis, generating a continuous risk trend curve through spline interpolation, normalizing the risk trend curve according to the current private network service load level, and generating a secondary risk event when the curve amplitude exceeds the threshold dynamically adjusted based on the load level.
[0032] In this implementation plan, firstly, for each sub-segment Calculate features in three dimensions: Field stability interval: Protocol field sequence within a sub-segment Calculate the value distribution interval, defined as ;in The stable range of the field is used to measure the range of variation in protocol operations within a sub-segment; this indicator reflects the stability of the protocol behavior within the sub-segment. 2. Average time interval: This represents the time series of message arrivals within the sub-segment. Calculate the average value of the time interval ;in This represents the average arrival time interval of a sub-segment; used to assess the traffic rhythm and periodicity characteristics of the sub-segment. 3. Encrypted message length distribution profile: statistically analyzes the encrypted message length sequence within a sub-segment. probability distribution ;in This is a discrete indicator function; the distribution profile reflects the message length variation pattern and can be used to detect abnormal data uploads or abnormal commands. Next, based on a sliding window... Analyze the characteristic differences between adjacent sub-segments. Calculate the overall offset using the Dynamic Time Warping (DTW) algorithm. ;in: Indicates the degree of difference in the stable interval of the field; Indicates the degree of difference in the mean of the time interval; Indicates the degree of difference in the encrypted length distribution profile. Calculation of distribution similarity measure; The weighting coefficients for each dimension are determined through fitting historical data to ensure that the overall offset accurately reflects the intensity of behavioral changes. The resulting overall offset sequence... Arranged chronologically, corresponding to the event timeline, and a continuous risk trend curve is generated using spline interpolation. ;in Indicates the start time of the sub-segment; spline interpolation can smooth the continuous behavior offset index, making it easier to observe the trend of risk changes. Finally, based on the current private network service load level... Risk trend curve Normalization is performed: ;in This is the load level adjustment function, which can be obtained by fitting historical load offset relationships. If the normalized curve... The amplitude exceeds the set threshold (Determined through historical anomaly statistics) then a session-level level 2 risk event is generated. This is used to indicate abnormal behavior trends across sub-segments and trigger corresponding security responses.
[0033] Specifically, a time-series correlation graph is established for Level 1 and Level 2 risk events. When program update anomalies and parameter write anomalies from the same source device occur consecutively within a preset time window, an attack chain is identified, triggering a device isolation response. The specific process is as follows: A correlation graph is established with risk events as nodes and the time sequence relationship between events as edges. Node attributes include event type, source device identifier, and occurrence timestamp. Edge weights represent the time interval between events. Paths satisfying a specific pattern are searched in the correlation graph. When a directed edge is found between a program update anomaly node and a parameter write anomaly node from the same source device, and the difference in timestamps between the two nodes is within a preset time window, a potential attack chain is identified. The potential attack chain is evaluated for confidence. Evaluation factors include event severity, time window compliance, and device criticality level. When the confidence exceeds a set threshold, it is confirmed as an attack chain, and an isolation command is sent to the target device.
[0034] In this implementation plan, attack chain identification first involves identifying level-one risk events. Level 2 risk events Using a unified node, a temporal relationship graph of risk events is constructed. This represents a set of nodes in a graph, where each node contains an attribute: event type. Source device identification Time of the incident This represents a directed edge between nodes, with edge weight. It reflects the time intervals between events and is used to determine the continuity of events. Then, in the graph... Search for paths that satisfy the attack pattern and define potential attack chains. The determination criteria are: ;in: Indicates the source device identifier. Indicates the node event type, Indicates the time interval between events; ParameterWrite indicates parameter writing; ProgramUpdate indicates program updating. This represents a preset time window threshold, determined through statistical analysis of historical attack chains, used to ensure the continuity and relevance of the judgment. For each potential attack chain... Calculate confidence level ;in: Indicates the severity of the event; Indicates the score for compliance with the time window; Indicates the criticality level rating of the equipment; The weighting coefficients are determined through fitting historical data to ensure that the confidence level reasonably reflects the attack risk; when (threshold) If the distribution of normal and abnormal events is determined statistically, it is identified as a real attack chain, and an isolation command is sent to the corresponding source device.
[0035] Specifically, the process of dynamically adjusting the sensitivity of protocol change points, timing change points, and length distribution mutation points when dividing sub-segments based on the attack chain determination results is as follows: Based on the types of risk events involved in the attack chain, extract the corresponding feature patterns of protocol change points, timing change points, and length distribution mutation points, and adjust the detection threshold in the session boundary stability analysis; establish a mutation point pattern weight table, dynamically update the weights based on the occurrence frequency of each mutation point pattern in the attack chain, and perform boundary determination sequentially according to the mutation point patterns sorted by weight during joint detection window judgment.
[0036] In this implementation scheme, after the attack chain is determined, the sensitivity of the sub-segment division is dynamically adjusted based on the attack chain information to improve the ability to detect potential anomalies. A set of mutation point feature patterns is defined. This includes protocol field change points, time series rate change points, and encryption length mutation points. Corresponding patterns are extracted based on the event types involved in the attack chain. And update the decision threshold in the joint detection window. ;in: The basic detection threshold; This is an adjustment factor dynamically calculated based on the attack chain frequency; Indicates the first A mutation point pattern is identified; the adjusted threshold is used to improve sensitivity to high-frequency patterns, ensuring that abnormal sub-segments can be identified in a timely manner. Furthermore, a mutation point pattern weight table is established for the joint detection window. Weight calculation formula: ;in: Mutation point mode Frequency of occurrence in the attack chain; This indicates the priority of the mode in boundary determination; during joint detection window determination, it is based on... Sub-segment boundaries are determined sequentially from high to low to ensure that critical mutation points trigger partitioning first, thus optimizing the efficiency of risk event capture. Technical impact: By dynamically adjusting thresholds and weight ranking, the system can adaptively optimize sub-segment partitioning based on the characteristics of discovered attack chains, improving the ability to identify abnormal operations and forming a closed-loop self-learning defense system.
[0037] Please see Figure 2 A multimodal detection system for abnormal risk traffic in private networks based on AI includes the following modules: a data acquisition and processing module for collecting real-time traffic in the private network link, extracting protocol function code sequences, packet arrival time sequences, and encrypted message length parameters, and simultaneously rearranging and interpolating the collected data according to message timestamps to generate multimodal session data fragments, and marking the session data fragments with the corresponding business intent categories according to the current industrial control task flow; and a session analysis module for performing session boundary stability analysis on the multimodal session data, locating structural sub-segments within the session by detecting protocol field change segments, time series rate change points, and encrypted length distribution abrupt change points, establishing protocol behavior rules based on business intent, and monitoring write register instructions when the business intent is parameter setpoint download. If a write operation to the process parameter register is detected to exceed the preset fluctuation range, a Level 1 risk event is generated. The risk assessment module is used to calculate the stable range of fields, the average time interval, and the encrypted length distribution profile of the sub-segment to form a feature set. By comparing the feature differences of adjacent sub-segments, the behavioral offset index is calculated and a session-level risk trend curve is generated. Combined with the current private network service load level, a Level 2 risk event is generated. The security response module is used to establish the time sequence correlation diagram of Level 1 and Level 2 risk events. When program update anomalies and parameter write anomalies from the same source device are detected to occur continuously within a preset time window, it is determined as an attack chain and the device isolation response is triggered. Based on the attack chain determination result, the sensitivity of the sub-segment division to protocol change points, time sequence change points, and length distribution mutation points is dynamically adjusted.
[0038] In this implementation plan, the data acquisition and processing module is responsible for real-time acquisition of industrial protocol messages in the private network link, extracting protocol function code sequences, packet arrival time sequences, and encrypted message length parameters. It then rearranges and interpolates the acquired data according to timestamps to generate multimodal session data fragments. Simultaneously, it labels the session data fragments with corresponding business intent categories based on the current industrial control task flow, providing a business semantic information foundation for subsequent analysis. This module ensures data integrity and synchronization of multimodal characteristics, enabling the system to obtain rich and structured input from underlying network traffic. The session analysis module performs session boundary stability analysis on the multimodal session data. By detecting protocol field change segments, time series rate variation points, and abrupt changes in encrypted length distribution, it divides the session into structural sub-segments. It also establishes protocol behavior rules based on business intent. When an abnormal write register instruction loaded at a parameter setpoint is detected, a level-one risk event is generated. This module achieves accurate identification of abnormal operations through refined sub-segment division and rule matching, providing basic information for risk assessment. Risk Assessment Module: This module calculates the stable intervals, average time intervals, and encrypted length distribution profiles of sub-segments to form a sub-segment feature set. By comparing the feature differences between adjacent sub-segments, it calculates behavioral offset indicators and generates session-level risk trend curves. Combined with the current private network service load level, it generates secondary risk events. This module can quantify local abnormal behavior into assessable risk trends, achieving a comprehensive assessment from single-point anomalies to overall session behavior deviations. Security Response Module: This module establishes a temporal correlation diagram for primary and secondary risk events, identifies potential attack chains, and triggers device isolation responses when conditions are met. Simultaneously, it dynamically adjusts the sensitivity of sub-segment division to protocol change points, temporal change points, and length distribution abrupt changes based on the attack chain determination results. This module correlates scattered abnormal events into a complete attack chain, enabling continuous threat identification across events and improving the system's detection capability for potential attacks through adaptive adjustments.
[0039] In summary, this application has at least the following effects: A multimodal detection method and system for abnormal risk traffic in private networks based on AI achieves accurate detection of complex abnormal behaviors with strong concealment and high business relevance in private networks through multimodal data fusion, business intent understanding, and hierarchical risk assessment. This method acquires structured session data fragments with business semantics during the acquisition phase, performs fine-grained segmentation of sub-segments and generates first-level risk events during the session analysis phase, quantifies anomalies through behavioral offset indicators and generates second-level risk events during the risk assessment phase, and links dispersed abnormal events into attack chains through a security response module, achieving continuous threat identification and device isolation across events. The overall solution forms a closed-loop defense system from data acquisition, anomaly identification, risk assessment to automatic response, improving the accuracy, timeliness, and operability of anomaly detection in private network environments.
[0040] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0041] This invention is described with reference to flowchart illustrations and / or block diagrams of systems, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0042] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0043] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0044] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0045] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A multimodal detection method for abnormal risk traffic in a private network based on AI, characterized in that, Includes the following steps: S1. Collect real-time traffic in the private network link, extract the protocol function code sequence, packet arrival time sequence and encrypted message length parameter, and rearrange and interpolate the collected data according to the message timestamp to generate multimodal session data fragments, and mark the session data fragments with the corresponding business intent category according to the current industrial control task flow; S2. Perform session boundary stability analysis on multimodal session data. By detecting protocol field change segments, time series rate change points, and encryption length distribution mutation points, locate structural sub-segments within the session. Establish protocol behavior rules based on business intent. When the business intent is parameter setting point download, monitor write register instruction operations. If the write operation value of the process parameter register exceeds the preset fluctuation range, generate a level 1 risk event. S3. Calculate the stable interval, average time interval, and encryption length distribution profile of the sub-segment to form a feature set. By comparing the feature differences between adjacent sub-segments, calculate the behavior offset index and generate a session-level risk trend curve. Combine this with the current private network service load level to generate a secondary risk event. S4. Establish a time sequence correlation diagram for level 1 and level 2 risk events. When program update anomalies and parameter write anomalies from the same source device occur consecutively within a preset time window, it is determined as an attack chain and a device isolation response is triggered. The sensitivity of sub-segment division to protocol change points, timing change points, and length distribution mutation points is dynamically adjusted according to the attack chain determination result. The specific process of locating the internal structural sub-segments of the session in step S2 is as follows: Sliding window analysis is performed on the protocol function code sequence to detect abrupt changes in function code type; wavelet transform is performed on the packet arrival time series to extract singularities in the time series; and kernel density estimation is performed on the encrypted message length distribution to identify abrupt changes in the length distribution. A joint detection window is established based on protocol field change segments, time series rate change points, and encryption length distribution mutation points. When any two types of mutation points appear simultaneously within the time window, they are determined to be valid session boundaries. Based on the detected session boundaries, the session is divided into multiple structured sub-segments, and feature indexes including start timestamp, end timestamp, and dominant protocol behavior type are established for the divided sub-segments.
2. The AI-based multimodal detection method for abnormal risk traffic in a private network according to claim 1, characterized in that: The specific process for generating multimodal session data fragments is as follows: Traffic probes are deployed at key nodes of the private network link to collect raw packets via port mirroring. The collected packets are then parsed to extract the function code fields of Modbus / TCP and OPC UA industrial protocols, forming a protocol function code sequence. Record the arrival time intervals of adjacent messages, construct a packet arrival time series, calculate the effective payload length of each encrypted message, and generate an encrypted message length parameter sequence. The collected data is timestamped and rearranged according to the time sequence identifier in the message header, the time sequence disorder caused by network jitter is corrected, and the data is repaired by interpolation algorithm for time sequence breakpoints caused by sudden packet loss. The repaired protocol function code sequence, packet arrival time sequence, and encrypted message length parameter sequence are aligned and packaged according to the session to generate multimodal session data fragments.
3. The AI-based multimodal detection method for abnormal risk traffic in a private network according to claim 2, characterized in that: The specific process of labeling session data fragments with the corresponding business intent categories according to the current industrial control task flow is as follows: Obtain information about the currently executing work order task, parse the equipment operation instructions in the work order task, and extract the operation type, target equipment identifier, and planned execution time window; The source IP address and destination IP address of the session data fragment are matched with the device identifier in the work order, and time alignment is performed based on the overlap between the session occurrence time and the work order execution time window. Establish business intent mapping rules: when the session feature is a periodic read register operation and matches a data acquisition work order, mark it as periodic data acquisition; when the session feature includes a write register operation and matches a parameter modification work order, mark it as parameter setpoint download; when the session feature includes a program block transfer operation and matches a program update work order, mark it as controller program update. For sessions that cannot be matched with known work orders, intent inference is performed using a clustering algorithm based on protocol behavior patterns.
4. The AI-based multimodal detection method for abnormal risk traffic in a private network according to claim 1, characterized in that: Based on business intent, protocol behavior rules are established. When the business intent is parameter setpoint download, write register instruction operations are monitored. If the write operation value to the process parameter register exceeds the preset fluctuation range, the specific process of generating a level 1 risk event is as follows: Establish a dynamic rule base based on business intent, configure a corresponding protocol behavior whitelist for each business intent, and activate the write register instruction monitoring rule when the business intent is parameter setpoint download; The write register instruction is filtered out from the protocol function code sequence to record the target register address and the written value, and the process parameter knowledge base is accessed to identify the register address range corresponding to the key process parameters. Based on historical data, the normal operating range of key process parameters is constructed, and the confidence interval of parameter values is calculated through kernel density estimation. The written values in the write register instruction are compared with the corresponding parameter confidence intervals in real time. When the written value exceeds the confidence interval, the source device identifier, target register address, abnormal value, and occurrence timestamp are extracted to generate a Level 1 risk event containing business intent, violation type, and risk level.
5. The AI-based multimodal detection method and system for abnormal risk traffic in private networks according to claim 1, characterized in that: Step S3 includes the following steps: For each sub-segment, the value distribution range of the protocol field is calculated as the field stability range, the statistical mean of the message arrival time interval is calculated as the time interval mean, and the distribution profile of the encrypted message length is statistically analyzed. Based on sliding window analysis of the feature differences between adjacent sub-segments, the dynamic time warping algorithm is used to calculate the comprehensive offset of adjacent sub-segments in three dimensions: field stability interval, average time interval, and encryption length distribution profile, forming a behavioral offset index sequence. The behavioral deviation index sequence is mapped to the time axis, and a continuous risk trend curve is generated by spline interpolation. The risk trend curve is normalized according to the current private network service load level. When the curve amplitude exceeds the threshold dynamically adjusted based on the load level, a secondary risk event is generated.
6. The AI-based multimodal detection method for abnormal risk traffic in a private network according to claim 1, characterized in that: Establish a time-series correlation diagram for Level 1 and Level 2 risk events. When program update anomalies and parameter write anomalies from the same source device occur consecutively within a preset time window, it is determined as an attack chain and the specific process of triggering device isolation response is as follows: Establish a relationship graph with risk events as nodes and the temporal relationship between events as edges. The node attributes include event type, source device identifier, and occurrence timestamp, and the edge weight represents the time interval between events. When searching for paths in the association graph, if a directed edge is found between a program update anomaly node and a parameter write anomaly node from the same source device, and the timestamp difference between the two nodes is within a preset time window, it is determined to be a potential attack chain. A confidence assessment is conducted on potential attack chains. The assessment factors include the severity of the event, the time window compliance, and the criticality level of the device. When the confidence level exceeds the set threshold, it is confirmed as an attack chain, and an isolation command is sent to the target device.
7. The AI-based multimodal detection method for abnormal risk traffic in a private network according to claim 6, characterized in that: The specific process of dynamically adjusting the sensitivity of sub-segment division to protocol change points, timing change points, and length distribution abrupt change points based on the attack chain determination results is as follows: Based on the types of risk events involved in the attack chain, extract the corresponding protocol change points, time sequence change points, and length distribution mutation point feature patterns, and adjust the detection threshold in the session boundary stability analysis. A mutation point pattern weight table is established, and the weights are dynamically updated based on the occurrence frequency of each mutation point pattern in the attack chain. When judging in the joint detection window, the boundary is judged in sequence according to the mutation point patterns after weight sorting.
8. An AI-based multimodal detection system for abnormal risk traffic in private networks, applied to the AI-based multimodal detection method for abnormal risk traffic in private networks as described in any one of claims 1-7, characterized in that, Includes the following modules: The data acquisition and processing module is used to collect real-time traffic in the private network link, extract the protocol function code sequence, packet arrival time sequence and encrypted message length parameter, and rearrange and interpolate the collected data according to the message timestamp to generate multimodal session data fragments, and mark the session data fragments with the corresponding business intent category according to the current industrial control task flow. The session analysis module is used to perform session boundary stability analysis on multimodal session data. By detecting protocol field change segments, time series rate change points, and encryption length distribution mutation points, it locates structural sub-segments within the session and establishes protocol behavior rules based on business intent. When the business intent is parameter setpoint download, it monitors write register instruction operations. If the write operation value of the process parameter register exceeds the preset fluctuation range, a level 1 risk event is generated. The risk assessment module is used to calculate the stable range of fields, the average time interval, and the distribution profile of encryption length for sub-segments, forming a feature set. By comparing the feature differences between adjacent sub-segments, it calculates the behavior offset index and generates a session-level risk trend curve. Combined with the current private network service load level, it generates a secondary risk event. The security response module is used to establish the timing correlation diagram of level 1 and level 2 risk events. When program update anomalies and parameter write anomalies from the same source device occur consecutively within a preset time window, it is determined to be an attack chain and triggers the device isolation response. Based on the attack chain determination result, the sensitivity of sub-segment division to protocol change points, timing change points and length distribution mutation points is dynamically adjusted.
Citation Information
Patent Citations
Multi-modal AI model attack behavior detection and blocking system
CN120979775A
Method and device for detecting abnormal traffic, and program
JP2008118242A
