Introduction to Trusted Computing
Pieter Maene, Johannes G¨
- tzfried, Ruan de Clercq,
Tilo M¨ uller, Felix Freiling, and Ingrid Verbauwhede
1KU Leuven/COSIC, Belgium 2FAU Erlangen-N¨
Introduction to Trusted Computing Pieter Maene , Johannes G - - PowerPoint PPT Presentation
Introduction to Trusted Computing Pieter Maene , Johannes G otzfried, Ruan de Clercq, Tilo M uller, Felix Freiling, and Ingrid Verbauwhede 1 KU Leuven/COSIC, Belgium 2 FAU Erlangen-N urnberg, Germany January 31, 2017 Trusted Computing 2
1KU Leuven/COSIC, Belgium 2FAU Erlangen-N¨
2
3
4
Architecture Security Properties Architectural Features Other I s
a t i
A t t e s t a t i
S e a l i n g D y n a m i c R
C
e C
fi d e n t i a l i t y S i d e
h a n n e l R e s i s t a n c e
1
M e m
y P r
e c t i
2
L i g h t w e i g h t C
r
e s s
H W
n l y T C B P r e e m p t i
D y n a m i c L a y
t U p g r a d e a b l e T C B B a c k w a r d s C
p a t i b i l i t y O p e n
r c e A c a d e m i c T a r g e t I S A AEGIS
TPM
–
TXT
TrustZone
Bastion
SMART
–
Sancus
Soteria
SecureBlue++
SGX
Iso-X
TrustLite
TyTAN
Sanctum
= Yes; = Partial; = No; – = Not Applicable
1Resistance against software side-channel attacks targeting memory access patterns only. 2Protection from physical attacks, both passive (e.g., probing) and active (e.g., fault injection).
5
1 Introduction 2 Background 3 Attacker Model 4 Properties 5 Architectures 6 Comparison 7 Conclusion
6
7
8
9
1 Controls all software outside the TCB 2 Access to communication channel 3 Dolev-Yao 4 No Denial-of-Service protection 5 Physical attacks out of scope
6 Software side-channels generally excluded 10
SM1 SM2 TCB App1 App2 Processor
11
12
SM1 SM2 RoT RoT TCB App1 App2 Remote Storage Attestation Sealing Measuring Processor
13
SM1 SM2 DRoT DRoT TCB App1 App2 Remote Storage Attestation Sealing Measuring Processor
14
15
16
17
18
19
Architecture Security Properties Architectural Features Other Isolation Attestation Sealing Dynamic RoT Code Confidentiality Side-Channel Resistance1 Memory Protection2 Lightweight Coprocessor HW-Only TCB Preemption Dynamic Layout Upgradeable TCB Backwards Compatibility Open-Source Academic Target ISA SMART
–
20
Verifier Prover n, x M = HMACK(n, code) M Check M Execute x
21
User’s Application Attested Code SMART Code Instructions Data Registers/IO Application Data Key Memory HMAC Reset Memory Erasure
22
Architecture Security Properties Architectural Features Other I s
a t i
A t t e s t a t i
S e a l i n g D y n a m i c R
C
e C
fi d e n t i a l i t y S i d e
h a n n e l R e s i s t a n c e1 M e m
y P r
e c t i
L i g h t w e i g h t C
r
e s s
H W
n l y T C B P r e e m p t i
D y n a m i c L a y
t U p g r a d e a b l e T C B B a c k w a r d s C
p a t i b i l i t y O p e n
r c e A c a d e m i c T a r g e t I S A Sancus
Soteria
23
N1 N2 IP SP1 SP2
SM1,1 SM2,1
· · ·
SM2,2 SMj,k
· · ·
24
Unprotected Entry Point Code & Constants Unprotected SM1 Text Section Protected Data SM1 Data Section Unprotected Memory KN,SP,SM1 IDSM1 Next ID Caller ID KN SM1 Metadata Layout Key ID Protected Storage Area
25
Architecture Security Properties Architectural Features Other I s
a t i
A t t e s t a t i
S e a l i n g D y n a m i c R
C
e C
fi d e n t i a l i t y S i d e
h a n n e l R e s i s t a n c e1 M e m
y P r
e c t i
L i g h t w e i g h t C
r
e s s
H W
n l y T C B P r e e m p t i
D y n a m i c L a y
t U p g r a d e a b l e T C B B a c k w a r d s C
p a t i b i l i t y O p e n
r c e A c a d e m i c T a r g e t I S A TrustZone
26
Rich OS TEE Client API App1 App2 App3 Monitor Trusted OS TEE Internal API Trusted App1 Trusted App2 Trusted App3 Normal World Secure World Processor
27
28
29
30
31
Architecture Security Properties Architectural Features I s
a t i
A t t e s t a t i
S e a l i n g D y n a m i c R
C
e C
fi d e n t i a l i t y S i d e
h a n n e l R e s i s t a n c e M e m
y P r
e c t i
L i g h t w e i g h t C
r
e s s
H W
n l y T C B P r e e m p t i
D y n a m i c L a y
t U p g r a d e a b l e T C B B a c k w a r d s C
p a t i b i l i t y AEGIS
–
–
Architecture Other O p e n
r c e A c a d e m i c T a r g e t I S A AEGIS
TPM
TXT
TrustZone
Bastion
SMART
Sancus
Soteria
SecureBlue++
SGX
Iso-X
TrustLite
TyTAN
Sanctum
33
34
34