Unlock instant, AI-driven research and patent intelligence for your innovation.

Execution port time channel safety protection system and method based on conflict detection

A security protection and conflict detection technology, applied in the field of system security, can solve problems such as reducing the accuracy of time information acquisition, affecting the accuracy of functions, and reducing the bandwidth of timing channels

Pending Publication Date: 2021-12-17
SHANGHAI ADVANCED RES INST CHINESE ACADEMY OF SCI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The former is protected by adding noise to all time information related to the process to reduce the bandwidth of the timing channel. By modifying the RDTSC or RDTSCP instruction, adding noise to the return value of the instruction execution can reduce the attacker’s The purpose of obtaining the accuracy of time information, but this method will also directly affect the functional accuracy of the corresponding modified instructions and affect the use of normal programs; the latter is relatively simple to disable SMT through software or hardware to prevent such problems , which can completely solve the time side channel problem caused by the dual-thread sharing of the execution port, but this method loses the benefits brought by the SMT technology itself and will cause corresponding performance loss. Other protection methods are closed or dynamically closed SMT technology to solve this problem, there is no way to protect the execution port time channel problem through the micro-architecture

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
  • Execution port time channel safety protection system and method based on conflict detection
  • Execution port time channel safety protection system and method based on conflict detection
  • Execution port time channel safety protection system and method based on conflict detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] An embodiment of the present invention is given below in conjunction with the accompanying drawings, and the solution of the present invention is further explained and described in detail.

[0030] figure 2 It is a schematic diagram of the micro-architecture of the security protection system of the execution port time channel based on conflict detection in the present invention. Such as figure 2 As shown, the execution port time channel safety protection system based on conflict detection of the present invention is based on the existing multi-port scheduling micro-architecture of the processor and adds a protection design. Such as figure 1 As shown, the multi-port scheduling micro-architecture under the SMT environment of the existing processor includes an allocation module 10, a scheduler 20, a dependency matrix 21, an age matrix 22 and a scheduler selection module 23 located inside the scheduler 20, and a random Execution resources. The out-of-order execution r...

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 an execution port time channel safety protection system based on conflict detection. The execution port time channel safety protection system comprises a port conflict matrix and a strategy modifier, when the scheduler schedules the ready micro-operation, port conflicts are recognized and recorded in a port conflict matrix, the port conflicts caused by double threads are judged according to records, and port conflict vectors are correspondingly sent; the strategy modifier outputs a strategy type, a priority vector and a strategy enable signal; when the distribution module receives the port segmentation strategy and the strategy port enable vector, the port segmentation algorithm is changed; when a scheduler receives a port time-sharing strategy, a strategy port enabling vector and a priority vector, an algorithm based on the priority vector is changed. The invention further provides a corresponding safety protection method. According to the system and the method provided by the invention, the attack of constructing the time channel by continuously using the execution port conflict instruction in the SMT environment is effectively prevented.

Description

technical field [0001] The invention belongs to the technical field of system security, and relates to a security protection system and method for an execution port time channel based on conflict detection. Background technique [0002] In superscalar processor micro-architecture design, the macro-instructions described in the instruction set architecture will form corresponding micro-operations through the process of fetching and decoding. Before the micro-operation executes the instruction, it will complete the binding of the corresponding execution port through the instruction analysis. When simultaneous multi-threading (Simultaneous Multi-Threading, SMT) technology is turned off, there is only one thread inside the processor pipeline, and micro-operations that use the allocation module to complete port binding will enter the execution unit through the corresponding port; when SMT technology is turned on, In this case, during the interaction between the processor decodin...

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): H04L9/00H04L29/06G06F21/57
CPCH04L9/005H04L63/205G06F21/57Y02P90/02
Inventor 岳晓萌杨秋松李明树
Owner SHANGHAI ADVANCED RES INST CHINESE ACADEMY OF SCI