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

TEE-based method and device for realizing code reinforcement

A code and code segment technology, applied in the field of code reinforcement based on a trusted execution environment, can solve problems such as data security risks, attacks, and difficult to verify operating system tampering, and achieve the effect of improving security

Pending Publication Date: 2020-10-02
HANGZHOU HIKVISION DIGITAL TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The operating system in REE can obtain all the data of the carried application, but it is difficult to verify whether the operating system has been tampered with, and it will also be attacked and have loopholes (bugs), which pose a security risk to the carried data

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
  • TEE-based method and device for realizing code reinforcement
  • TEE-based method and device for realizing code reinforcement
  • TEE-based method and device for realizing code reinforcement

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0071] It can be seen from the background technology that although the code in the CA in the REE can be encrypted and decrypted in the TEE through the interaction between the REE and the TEE, so that the CA can continue to run in the REE under the premise of ensuring security, however, How to perform encryption and decryption in the TEE can still ensure that the code reinforced in the CA will not be attacked and tampered with, rather than simply handing it over to the TEE for processing, which is not mentioned. Furthermore, since the shared register storing the code is set in the user space of the device, and the interaction between REE and TEE is realized in the kernel space of the device, multiple code instructions need to be called and called , the p...

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 discloses a TEE-based method and device for achieving code reinforcement. According to the embodiment of the invention, the code segment to be processed in the TEE in the binary programis set, so that the code segment can be identified when the REE operates the binary program, and after the code segment is decrypted in the TEE when the code segment is operated, the decrypted code segment covers the code segment in the binary program in the REE, so that the REE can continue to operate the code segment; and when the code segment is run, after the code segment is encrypted in TEE,the encrypted code segment covers the decrypted code segment in the binary program in REE, so that the security of the code segment in the binary program is ensured. According to the embodiment of theinvention, on the premise of improving the security, code reinforcement is realized based on the TEE.

Description

technical field [0001] The present invention relates to the technical field of data encryption and decryption, in particular to a method and device for implementing code reinforcement based on a Trusted Execution Environment (TEE, Trusted execution environment). Background technique [0002] With the development of mobile devices, the functions of mobile devices are becoming more and more powerful. Mobile devices can store users' assets, process payments and other operations. At present, the system operating environment of mobile devices is called multifunctional operating environment (REE, Rich Execution Environment). REE supports operating systems based on Android (Android), IOS and Linux. REE is powerful, open and scalable, and can provide mobile The application layer of the device provides all the functions of the device, such as camera, touch screen, etc., to realize various applications that users see now. [0003] The operating system in the REE can obtain all the da...

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/12G06F21/52
CPCG06F21/12G06F21/52
Inventor 严兴潮
Owner HANGZHOU HIKVISION DIGITAL TECH