PartEmu

Traditional TrustZone OSes and Applications is not easy to fuzz because they cannot be instrumented or modified easily in the original hardware environment. So to emulate them for fuzzing purpose.

Targets

Design & Method

Architecture

Tools

Results

Emulations works well. For upgraded TZOSes, only a few efforts are needed for compatibility.

TAs

Challenges

Class Vulnerability Types Crashes
Availability Null-pointer dereferences 9
  Insufficient shared memory crashes 10
  Other 8
Confidentiality Read from attacker-controlled pointer to shared memory 8
  Read from attacker-controlled 0
  OOB buffer length to shared memory  
Integrity Write to secure memory using attacker-controlled pointer 11
  Write to secure memory using 2
  attacker-controlled OOB buffer length  

Just like the previous paper, the main causes of the crashes can be attributed to:

TZOSes

Review

Strength

Weakness