Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A defect detection method and system for cross-architecture firmware heap memory

A defect detection and cross-architecture technology, applied in the field of defect detection of cross-architecture firmware heap memory, can solve problems such as low efficiency, difficult implementation, insufficient processor architecture support, etc., to solve limited storage space, improve efficiency, and overcome impractical The effect of actual demand

Active Publication Date: 2022-03-11
TSINGHUA UNIV +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a defect detection method and system for cross-architecture firmware heap memory, which are used to solve the problems of insufficient processor architecture support, difficult implementation, and low efficiency after implementation in the cross-architecture firmware memory defect detection method in the prior art.

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
  • A defect detection method and system for cross-architecture firmware heap memory
  • A defect detection method and system for cross-architecture firmware heap memory
  • A defect detection method and system for cross-architecture firmware heap memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042]In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] Aiming at the problems existing in the existing technology, a method and system for emulating memory defect detection of cross-architecture firmware is provided, which utilizes computing power-rich server resources to realize heap memory defect detection of cross-architecture firmware in a fixed and single operating environment.

[0044...

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

Embodiments of the present invention provide a defect detection method and system for cross-architecture firmware heap memory. The method includes: obtaining the application program in the emulator and firmware, and analyzing the application program in the emulator based on the binary translation technology, so that the application program is adapted to the system architecture of the preset test environment; and performing register heap memory reading and writing by traversing The hook function and the heap memory allocation hook function map to generate shadow memory, execute the preset memory defect detection algorithm based on the shadow memory, and obtain the heap memory defect detection result. The embodiment of the present invention eliminates the need to deploy detection tools to the device where the firmware is located by simulating the cross-platform characteristics of the execution module, which greatly overcomes the unrealistic demand that traditional memory detection tools need to be deployed in the device, and improves the efficiency of firmware testing , to solve the problem of limited storage space of IoT devices, and the memory defect detection module also provides an effective solution for detecting various heap memory defects in cross-architecture firmware scenarios.

Description

technical field [0001] The invention relates to the technical field of defect detection, in particular to a defect detection method and system for a cross-architecture firmware heap memory. Background technique [0002] With the rapid growth of the number of IoT devices, the number of IoT devices is expected to reach 9.9 billion by the end of 2020. Today, the technical threshold for attacking is getting lower and lower, and IoT terminal devices have become new attack targets. Routers, cameras, refrigerators, sweeping robots, water meters, and smart street lights will all become potential attack targets. Kaspersky IoT Security Report "New trends in the world of IoT threats" pointed out that the number of IoT malicious samples captured has exploded in recent years. According to Gartner's forecast, by the end of 2020, more than 25% of cyber attacks detected by enterprises will involve IoT devices. [0003] Memory security flaws such as buffer overflows have always been the lo...

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 Patents(China)
IPC IPC(8): G06F11/36G06F11/22G06F11/26
CPCG06F11/3688G06F11/2205G06F11/2273G06F11/261
Inventor 高健许怡文姜宇罗冰何跃鹰张晓明张嘉玮孙中豪曹可建李建强何清林王庆邢燕祯
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products