IP Library Granted Patent US 10,754,953
Granted Patent B2
US 10,754,953 · App. 16/109,870 · Granted Aug 25, 2020

TrustZone-based security isolation method for shared library and system thereof

Inventors: Hai Jin (Hubei, CN); Weiqi Dai (Hubei, CN); Jun Deng (Hubei, CN); Deqing Zou (Hubei, CN)
Assignee: Huazhong University of Science and Technology
G06F21/57G06F9/545G06F21/44G06F21/53G06F21/629H04L63/101G06F2221/2141G06F2221/2149
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,754,953
App. No.
16/109,870
Granted
Aug 25, 2020
Kind
B2
Abstract

The present invention provides a TrustZone-based security isolation system for shared library, the system at least comprising: a sandbox creator, a library controller, and an interceptor, the sandbox creator, in a normal world, dynamically creating a sandbox isolated from a Rich OS, the interceptor, intercepting corresponding system-calling information and/or Android framework APIs by means of inter-process stack inspection, the library controller, performing analysis based on the intercepted system-calling information and/or Android framework APIs, redirecting a library function to the sandbox, and switching calling states of the library function in the sandbox as well as setting up a library authority. The present invention has good versatility, low cost and high security. It realizes isolation of the library without increasing the trusted bases in the Secure World of the TrustZone, effectively reducing the risk of being attacked.

Claims (31)

1. A TrustZone-based security isolation system for shared library, the system having a normal world and a secure world, the system comprising:

a sandbox creator, a library controller, and an interceptor, wherein the sandbox creator and the library controller are located in the secure world, and wherein:

the sandbox creator is configured to dynamically create a sandbox isolated from a Rich OS in the normal world based on abnormity information monitored by the interceptor;

the interceptor is configured to intercept corresponding system-calling information and an Android framework application programming interface by means of inter-process stack inspection;

inspect non-sandboxed library-function-calling behaviors;

acquire physical address information of a program library in the normal world; and

call the library controller to redirect the physical address information;

the library controller is configured to:

perform analysis based on the intercepted system-calling information and the Android framework application programming interface;

redirect a library function to the sandbox;

switch calling states of the library function in the sandbox; and

setting up a library authority.

2. The TrustZone-based security isolation system for shared library of claim 1 , wherein the library controller sets up the library authority by:

creating a corresponding specific thread and trusted base based on activation information of at least one application program;

the specific thread checking a stack authority in a framework layer and a kernel layer based on a sensitive resource request; and

based on an access request for the application program, establishing a legitimate authority of the application program by traversing programs involved by the access request.

3. The TrustZone-based security isolation system for shared library of claim 2 , wherein the library controller is further configured to establish the legitimate authority of the application program based on a matching result between the system-calling information intercepted by the interceptor and a whitelist of the access control list.

4. The TrustZone-based security isolation system for shared library of claim 3 , wherein the interceptor is further configured to determine a calling mode of the intercepted system-calling information based on operational behavior information of the application program or the library.

5. The TrustZone-based security isolation system for shared library of claim 4 , wherein the library controller is further configured to, based on the calling mode of the library function determined by the interceptor, redirect an initial address of the corresponding library to the sandbox, in which the library controller redirects a switching code of the sandbox.

6. The TrustZone-based security isolation system for shared library of claim 4 , wherein the library controller is further configured to adjust a library function pointer in the sandbox based on the calling mode of the callback function determined by the interceptor.

7. A TrustZone-based security isolation method for shared library having a normal world and a secure world, the method comprising:

monitoring abnormity information;

dynamically creating a sandbox isolated from a Rich OS in & the normal world based on the monitored abnormity information;

intercepting corresponding system-calling information and an Android framework application program interface by means of inter-process stack inspection;

performing analysis based on the intercepted system-calling information the Android framework application program interface;

redirecting a library function to the sandbox;

switching calling states of the library function in the sandbox;

setting up a library authority;

inspecting non-sandboxed library-function-calling behaviors;

acquiring physical address information of a program library in the normal world; and

calling a library controller to redirect the physical address information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2018
From: JIN, HAI; DAI, WEIQI; DENG, JUN; ZOU, DEQING
To: HUAZHONG UNIVERSITY OF SCIENCE AND TECHNOLOGY
Reel/Frame 046792/0021 →
Priority Claims (1)
CN 2018 1 0249221 · Mar 22, 2018 · national
Continuity (1)
Related Publication 20190294798A1 · Sep 26, 2019