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

An IP core RTL level code security vulnerability detection method based on information flow

A vulnerability detection and information flow technology, which is applied in the field of security vulnerability detection of IP core RTL-level codes, can solve problems such as damage, large investment, lack of hardware Trojans and design loopholes

Active Publication Date: 2019-05-03
BEIJING INST OF COMP TECH & APPL
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the developer's mistake or improper design, there are some design loopholes in the IP core, and there are hidden channels directly between key registers and external outputs. If exploited by an attacker, it may be used for the purpose of stealing key information of registers or destroying functions.
(2) Hardware Trojan horse or malicious code
[0008] (1) The destructive detection method is very time-consuming and requires a huge investment, which will cause irreversible damage to the circuit, etc.
With the rapid development of integrated circuit technology, the interior of the chip is becoming more and more refined, even exceeding the observation range of existing precision equipment, which makes the detection method of destructive hardware Trojans face great challenges
[0009] (2) The effectiveness of the functional test method depends on the quality of incentives applied to the IP core. Common hardware Trojan horses or security risks are often difficult to be easily triggered, and a large number of incentives need to be tried, which takes a lot of time
[0010] (3) Bypass analysis and detection When the overall scale of the circuit to be tested is large, and the scale of hardware Trojans implanted inside the circuit is small, some bypass information, such as current and path delay, have a very small change range, and bypass analysis and detection Hard to spot hardware Trojans
[0011] (4) At present, the methods for detecting the security of IP cores are mainly focused on the back-end, and there is a lack of complete and mature detection methods for hardware Trojan horses and design vulnerabilities at the code level, especially at the RTL level.

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
  • An IP core RTL level code security vulnerability detection method based on information flow
  • An IP core RTL level code security vulnerability detection method based on information flow
  • An IP core RTL level code security vulnerability detection method based on information flow

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0023] figure 1 Shown is the flow chart of a kind of information flow-based IP core RTL level code safety loophole detection method of the present invention, as figure 1 As shown, a method for detecting security vulnerabilities of IP core RTL level codes based on information flow comprises the following steps:

[0024] Step 1: Enter the code to be tested.v / .vhd;

[0025] Step 2: Perform lexical syntax analysis on the code to generate a grammatical abstraction tree;

[0026] Step 3: According to the data flow of the grammatical abstraction tree, perform information flow processing on the expression, add a "smudge" label to the operand, and add label propagation logic;

[0027] Step 4: Combining the single-operator ex...

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 relates to an information flow-based IP core RTL level code security vulnerability detection method. The method comprises the steps of inputting a to-be-detected RTL code; carrying out lexical parsing on the RTL code to generate a grammatical abstract tree; carrying out information flow processing on the expression according to the data flow of the grammar abstraction tree, adding astain label for the operand, and adding label propagation logic;combining the expressions of the single operators subjected to information flow processing to generate a total information flow expression of the assignment statement; judging whether the code is completely processed or not; generating a code with an information flow label and propagation logic; compiling a security attribute according to the security requirement, and generating the security attribute on the basis of the code with the information flow label and the propagation logic; performing simulation verification / formalized verification on the security attribute assertion and the code with the information flow label and the propagation logic; obtaining safety verification conclusion. According to the invention, the detection of security vulnerabilities existing in the RTL-level codes designed by the IP core is realized.

Description

technical field [0001] The invention relates to the field of integrated circuit security detection, in particular to a security loophole detection method for IP core RTL level codes. Background technique [0002] In the register transfer level (RTL) code of the IP core contained in the integrated circuit design, there may be some security risks. These security risks can be divided into two categories: (1) design loopholes. Due to the developer's mistake or improper design, there are some design loopholes in the IP core, and there are hidden channels directly between key registers and external outputs. If exploited by an attacker, it may be used for the purpose of stealing key information of registers or destroying functions. (2) Hardware Trojan horse or malicious code. Attackers can implant hardware Trojan horses or malicious codes in the RTL design of integrated circuit IP cores through some uncontrollable links of developers. After these codes meet the trigger conditions...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/56G06F21/57G06F21/76
Inventor 沈炜李东方胡亚云王志昊王纪王晓龙王宏任祎龙姜野李少宇陈丽容
Owner BEIJING INST OF COMP TECH & APPL