Data-flow mode matching method and apparatus
A pattern matching and data flow technology, applied in the direction of electrical components, transmission systems, etc., can solve the problem that the evasion of pattern recognition cannot be completely prevented, and achieve the effect of avoiding message forwarding delay and reducing memory usage
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2007-06-13
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to a pattern matching method and device, in particular to a data stream pattern matching method and device, belonging to the communication field. Background technique
[0002] Pattern matching is a technique that compares collected information to a database of known network intrusion and system misuse patterns to discover violations of security policies. Simple pattern matching methods, such as string matching to find a simple entry or instruction, complex pattern matching methods, such as using mathematical expressions to represent changes in security status.
[0003] The pattern matching technology for the payload of the data stream has a wide range of applications in fields such as Intrusion Detection System (IDS for short), Intrusion Prevention System (IPS for short), Anti-Virus (AV for short), etc. . In order to evade pattern matching, network attackers usually use data flow segmentation technology to disperse attack patter...
Examples
Embodiment Construction
[0041] The technical solutions of the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
[0042] The basic concept of the present invention is: for the existing art in order to completely prevent the attack mode scattered in different segmented messages by using the data flow segmentation technology, it is necessary to preserve the order and restore the segmented messages, resulting in extreme Large message forwarding delay and memory usage; and if the order preservation and recovery of segmented messages are controlled, although the delay and memory usage can be reduced to a certain extent, it cannot completely prevent the fragments scattered in different segments The defect of the attack mode in the message provides a pattern matching method and device of the data flow. The combination of segmented messages is restored into a complete message, but the segmented messages are directly pattern-matched with...