Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Custom position sequence pattern matching algorithm suitable for cache loss attack

A matching algorithm and sequential mode technology, applied in the field of matching algorithms, can solve the problems of system processing performance decline and low cache hit rate, and achieve the effect of reducing cache miss rate, stable matching performance, and improving CPU performance.

Active Publication Date: 2021-06-22
HARBIN INST OF TECH
View PDF16 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to solve the technical problems of low cache hit rate and system processing performance degradation that are easy to be exploited by attackers to implement cache attacks in the prior art, the present invention provides a self-defined position sequence pattern matching algorithm suitable for cache loss attacks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Custom position sequence pattern matching algorithm suitable for cache loss attack
  • Custom position sequence pattern matching algorithm suitable for cache loss attack
  • Custom position sequence pattern matching algorithm suitable for cache loss attack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Embodiment 1, with reference to Figure 1 to Figure 5 , to illustrate this embodiment, a kind of self-defined position sequence pattern matching algorithm suitable for cache loss attack of this embodiment, comprises the following steps:

[0047] Step 1. Construct the automaton, build the automaton according to the custom position order; the automaton is composed of GOTO table, FAIL table and OUTPUT table, the GOTO table records the next state and the moving distance of the scanning position according to the current state and the current character, and the FAIL table determines Which state to return to when the next state obtained by the GOTO table is invalid and how far the scan position moves, while the OUTPUT table saves the hit pattern in one state and the next state. Two types of windows are set when the automaton is built, which are fixed windows and variable windows. fixed size window w 1 , multiple variable-sized windows w 2 , where w 1 with size [1, shortest...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a self-defined position sequence pattern matching algorithm suitable for a cache loss attack, and relates to a matching algorithm, in particular to the self-defined position sequence pattern matching algorithm suitable for the cache loss attack. The method comprises the following steps of: matching a current scanning character with a current state node by establishing an automaton with a self-defined position sequence; if the current scanning character is successfully matched with the chr in the current state node boundary value or the failure pointer, skipping the automaton to the next node along the boundary value or the failure pointer; if the new node is a tail node of a mode custom sequence, namely a leaf node of the automaton, hitting the mode, and outputting the mode recorded in the OUTPUT table; and skipping the current state of the automaton to the next node recorded by the current node, and continuing scanning and matching. The self-defined position sequence matching algorithm solves the following technical problems that a mode matching algorithm always performs deep scanning, and a large number of automaton nodes are not in a CPU cache, so that the cache hit rate is low, and the system processing performance is greatly reduced.

Description

technical field [0001] The present application relates to a matching algorithm, in particular to a self-defined position sequence pattern matching algorithm suitable for cache loss attacks. Background technique [0002] Pattern matching has always been a research hotspot and difficulty in computer science. In the field of information security, cache miss attacks against pattern matching algorithms seriously threaten network security systems. The attacker uses the movement sequence of the scan pointer in the pattern matching algorithm to forge the attack data so that the pattern matching algorithm always scans to the depth of the path when scanning, which increases the cache loss rate of the system. Multi-pattern exact matching algorithms can be divided into three categories according to the search methods: prefix search, suffix search and substring search. Among the prefix search methods, Aho-Corasick (AC) is the most typical algorithm. The algorithm moves the window by c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F21/52G06F21/78G06K9/62
CPCG06F21/52G06F21/78G06F18/22Y02D30/50
Inventor 刘立坤余翔湛韦贤葵史建焘叶麟葛蒙蒙李精卫石开宇车佳臻王久金冯帅赵跃宋赟祖
Owner HARBIN INST OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products