SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
ScaRR: Scalable Runtime
Remote Attestation for
Complex Systems
Flavio Toffalini - Singapore University of Technology and Design
Eleonora Losiouk, Andrea Biondo - University of Padua
Jianying Zhou - Singapore University of Technology and Design
Mauro Conti - University of Padua
RAID - September 23-25, 2019 - Beijing, China
Problem: Remote Attestation
Verifier (trust) Prover (not-so-trust)
Challenge
Report
Application
Is this ok?
2/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
What we can verify: Static properties
- Software loaded
- Hardware integrity
What we can’t verify: Dynamic properties
- Execution path
- Data correctness
ScaRR
3/27
Static Remote Attestation
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Verifier Prover
Report
(hash_ep, output)
ApplicationValid
Execution
Paths
analyze(Application)
Offline Analysis Online Analysis
4/27
Runtime Remote Attestation
Challenge
(nonce, input)
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Limitations
1. Offline analysis does not scale for big applications
2. Based on heuristics
3. Symbolic execution too slow for the verification
5/27
Previous Runtime Remote Attestation
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
V P
V
More complex applications
More advanced systems
No-physical attacks
6/27
Scenario: Virtual Machines in a Cloud
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
intra-cloud
communication
ext-cloud
com
m
unication
N1
N2
N3
N5
N4
N6
a
N1
N2
N3
N4
N5
N6
x = input()
if x == ‘auth’:
y = get_privileged_info()
else:
y = get_unprivileged_info()
output(y)
terminate
= return address corruption
7/27
Basic Example
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Attacks:
- Standard code-reuse attack (e.g., ROP, JOP)
- Code injection (e.g., shellcode)
- Function hooks
- Attacker takes control of user-space
Prover Assumptions:
- Prover is equipped with a trusted anchor
- Standard defences like W⊕X
- CFI != The attack could come anywhere from within the machine
8/27
Assumptions and Attacker Model
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
N1
−N4
=> [ (N2
,N4
) ]
N1
−N3
=> [ (N2
,N3
) ]
N3
−N6
=> [ ]
N4
−N6
=> [ ]
NOTE: ScaRR does not consider (N4
,N5
) and (N3
,N5
)
N1
N2
N3
N5
N4
N6
Checkpoint
(e.g., beginning
thread, syscall,
API call)
List of
Actions
Edge
9/27
Idea of ScaRR
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
- Loop
- Recursion
- Signal
- Exception
10/27
Model Challenges
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
SA
−N1
=> [ ]
N1
−N1
=> [ (N1
,N2
) ]
N1
−SB
=> [ (N1
,N3
) ]
SA
N1
SB
N2
N3
virtual -checkpoint
11/27
Loop
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
PB
virtual -checkpoint
a()
N3
N1
N2
PE
call ret
call
ret
PB
−N2
=> [ (PB
,N1
), (N1
,N2
) ]
N2
−N2
=> [ (N2
,N1
), (N1
,N2
) ]
N2
−N2
=> [ (N2
,N1
), (N1
,N3
), (N3
,N2
) ]
N2
−PE
=> [ (N2
,N1
), (N1
,N3
), (N3
,PE
) ]
PB
−PE
=> [ (PB
,N1
), (N1
,N3
), (N3
,PE
) ]
12/27
Recursion
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
SA
EA
EB
N1
SB
N2
Catch Block
or
Signal Handler
Thread
1. Pause thread LoA
2. Trace new LoA for catch block
signal handler
3. Resume thread LoA
13/27
Signal and Exception
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
14/27
ScaRR Design
Verifier ProverChallenge
(nonce, input)
ApplicationOffline
Measurements**
analyze(Application)
Offline Analysis Online Analysis
*list of reports and output go in parallel
**LoA + extra info
(output)
List of Reports*
(Cb, Cr, H(LoA))
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Offline Measurements
(Verifier side)
Partial Report (Online Measurements)
(Prover side)
(Cb, Ce, H(LoA))(Cb,Ce,H(LoA)) => [ (M1
,A1
) ... ]
Hash of LoA
Beginning
checkpoint
End
checkpoint
List of Action
15/27
Measurements
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
(Cb, Ce, H(LoA))
Hash of LoA
Beginning
checkpoint
End
checkpoint
H(LoA) is in
DB?
Cet-1
== Cbt
ss(H(LoA))
(Check1)
(Check2)
(Check3)
OK!
abort()
abort()
abort()
n
y
y
y
n
n
/* shadow stack */
Partial Report
16/27
Verification
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
S
M1
M2
M3
M4
E
A1
C
A2
int main(int argc, char ** argv) {
a(10);
/* irrelevant code */
a(6);
return 0;
}
void a(int x) {
/* irrelevant code */
printf("%dn", x);
return;
}
(S,C,H1
) => [ (M1
,A1
) ]
(C,C,H2
) => [ (A2
,M2
), (M3
,A1
) ]
(C,E,H3
) => [ (A2
,M4
) ]
Offline measurement, a map between
valid Partial Report and LoA
17/27
Remote Shadow Stack
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
(M1
,A1
)
(M1
,A1
)
(A2
,M2
) (M3
,A1
)
(M3
,A1
)
(A2
,M2
)
valid!
(A2
,M2
) ret_to (M1
,A1
)
not valid!
(A2
,M2
) ret_to (M3
,A1
)
(S,C,H1
) (C,C,H2
) (C,C,H2
)
Time
Offline measurement:
(S,C,H1
) => [ (M1
,A1
) ]
(C,C,H2
) => [ (A2
,M2
), (M3
,A1
) ]
(C,E,H3
) => [ (A2
,M4
) ]
Attack:
(S,C,H1
)→(C,C,H2
)→(C,C,H2
)→
(Check1) and
(Check2) hold!
18/27
Remote Shadow Stack
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Implementation
- Offline Analysis
- Prover
19/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
C/C++ program LLVM/Clang
Instrumented
Application
CRAB
Offline
Measurement
// abstract
// interpretation
20/27
Offline Analysis
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
User-Space
Application Process // instrumented
Kernel-Space
ScaRR Libraries // to communicate with the kernel
ScaRR sys_measureScaRR ModuleScaRR sys_addaction// custom kernel
// as trusted anchor
// 2 new syscalls
21/27
Prover
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Evaluation
Based on SPEC-CPU 2017
- Attestation Speed
- Verification Speed
- Network Impact
- Security Properties
22/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Previous works
20K/30K cf-events
23/27
Attestation Speed
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
From 1.4 M/s to 2.7 M/s
Previous work from 110 to 30k cf-events/s
(Check1) => constant hashmap fetching
(Check2) => constant operation
(Check3) => O(#actions for LoA)
Average LoA size
24/27
Verification Speed
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Problem:
Too many reports -> network
overload
Solution:
Compress groups of reports
25/27
Network Impact
Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Security Properties
✓ Code Injection: jumping to shellcode produces wrong LoA
✓ Code-reuse Attacks: produces wrong LoA
✓ Overwrite Nodes: invalid static attestation
26/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Technical Limitation
- Context switch still too slow (considered PT too)
- Be kernel-agnostic by using other trusted anchor
(e.g., SGX, TrustZone)
- Require source code
- CFG generation affects precisions of attack detections
27/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
Thank you for attention…
Flavio Toffalini - flavio_toffalini@mymail.sutd.edu.sg
28

Contenu connexe

Tendances

HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...Lionel Briand
 
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...TSC University of Mondragon
 
Indoor Wireless Localization - Zigbee
Indoor Wireless Localization - ZigbeeIndoor Wireless Localization - Zigbee
Indoor Wireless Localization - ZigbeeAlex Salim
 
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow ControllersEffective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow ControllersLionel Briand
 
Dsp lab manual
Dsp lab manualDsp lab manual
Dsp lab manualamanabr
 
Survey on Software Defect Prediction
Survey on Software Defect PredictionSurvey on Software Defect Prediction
Survey on Software Defect PredictionSung Kim
 
Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...Lionel Briand
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsLionel Briand
 
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...Lionel Briand
 
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...Luigi Vanfretti
 
A reusable verification environment for NoC platforms using UVM
A reusable verification environment for NoC platforms using UVMA reusable verification environment for NoC platforms using UVM
A reusable verification environment for NoC platforms using UVMSameh El-Ashry
 
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...Lionel Briand
 
Combining genetic algoriths and constraint programming to support stress test...
Combining genetic algoriths and constraint programming to support stress test...Combining genetic algoriths and constraint programming to support stress test...
Combining genetic algoriths and constraint programming to support stress test...Lionel Briand
 
Env2Vec: Accelerating VNF Testing with Deep Learning
Env2Vec: Accelerating VNF Testing with Deep LearningEnv2Vec: Accelerating VNF Testing with Deep Learning
Env2Vec: Accelerating VNF Testing with Deep LearningGUANGYUAN PIAO
 
Defect Prediction Over Software Life Cycle in Automotive Domain
Defect Prediction Over Software Life Cycle   in Automotive DomainDefect Prediction Over Software Life Cycle   in Automotive Domain
Defect Prediction Over Software Life Cycle in Automotive DomainRAKESH RANA
 
Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.Lionel Briand
 
Hardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) LanguagesHardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) LanguagesLEGATO project
 
SERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolSERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolHenry Muccini
 
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)lifove
 

Tendances (20)

HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
HITECS: A UML Profile and Analysis Framework for Hardware-in-the-Loop Testing...
 
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
 
Indoor Wireless Localization - Zigbee
Indoor Wireless Localization - ZigbeeIndoor Wireless Localization - Zigbee
Indoor Wireless Localization - Zigbee
 
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow ControllersEffective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
Effective Test Suites for ! Mixed Discrete-Continuous Stateflow Controllers
 
Dsp lab manual
Dsp lab manualDsp lab manual
Dsp lab manual
 
Survey on Software Defect Prediction
Survey on Software Defect PredictionSurvey on Software Defect Prediction
Survey on Software Defect Prediction
 
Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...Improving Fault Localization for Simulink Models using Search-Based Testing a...
Improving Fault Localization for Simulink Models using Search-Based Testing a...
 
Strel streaming
Strel streamingStrel streaming
Strel streaming
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance Systems
 
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
AN EMPIRICAL STUDY ON THE POTENTIAL USEFULNESS OF DOMAIN MODELS FOR COMPLETEN...
 
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
Impact of GPS Signal Loss and Spoofing on Power System Synchrophasor Applicat...
 
A reusable verification environment for NoC platforms using UVM
A reusable verification environment for NoC platforms using UVMA reusable verification environment for NoC platforms using UVM
A reusable verification environment for NoC platforms using UVM
 
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
A Machine-Learning Approach for Demarcating Requirements in Textual Specifica...
 
Combining genetic algoriths and constraint programming to support stress test...
Combining genetic algoriths and constraint programming to support stress test...Combining genetic algoriths and constraint programming to support stress test...
Combining genetic algoriths and constraint programming to support stress test...
 
Env2Vec: Accelerating VNF Testing with Deep Learning
Env2Vec: Accelerating VNF Testing with Deep LearningEnv2Vec: Accelerating VNF Testing with Deep Learning
Env2Vec: Accelerating VNF Testing with Deep Learning
 
Defect Prediction Over Software Life Cycle in Automotive Domain
Defect Prediction Over Software Life Cycle   in Automotive DomainDefect Prediction Over Software Life Cycle   in Automotive Domain
Defect Prediction Over Software Life Cycle in Automotive Domain
 
Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.
 
Hardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) LanguagesHardware Description Beyond Register-Transfer Level (RTL) Languages
Hardware Description Beyond Register-Transfer Level (RTL) Languages
 
SERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolSERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_school
 
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
 

Similaire à ScaRR

Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...IRJET Journal
 
talk_2015_07_01_Imperial_College_slides
talk_2015_07_01_Imperial_College_slidestalk_2015_07_01_Imperial_College_slides
talk_2015_07_01_Imperial_College_slidesNikolay Kosmatov
 
Automated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWSAutomated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWSAbhik Roychoudhury
 
The Cloudification Perspectives of Search-based Software Testing
The Cloudification Perspectives of Search-based Software TestingThe Cloudification Perspectives of Search-based Software Testing
The Cloudification Perspectives of Search-based Software TestingSebastiano Panichella
 
Reliability analysis of wireless automotive applications with transceiver red...
Reliability analysis of wireless automotive applications with transceiver red...Reliability analysis of wireless automotive applications with transceiver red...
Reliability analysis of wireless automotive applications with transceiver red...rchulyada
 
Mixed Scanning and DFT Techniques for Arithmetic Core
Mixed Scanning and DFT Techniques for Arithmetic CoreMixed Scanning and DFT Techniques for Arithmetic Core
Mixed Scanning and DFT Techniques for Arithmetic CoreIJERA Editor
 
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...ijics
 
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...ijcisjournal
 
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATION
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATIONA SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATION
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATIONIJCSES Journal
 
Keynote VST2020 (Workshop on Validation, Analysis and Evolution of Software ...
Keynote VST2020 (Workshop on  Validation, Analysis and Evolution of Software ...Keynote VST2020 (Workshop on  Validation, Analysis and Evolution of Software ...
Keynote VST2020 (Workshop on Validation, Analysis and Evolution of Software ...University of Antwerp
 
Michael_Joshua_Validation
Michael_Joshua_ValidationMichael_Joshua_Validation
Michael_Joshua_ValidationMichaelJoshua
 
SOA in the cloud with FraSCAti, OW2con11, Nov 24-25, Paris
SOA in the cloud with FraSCAti, OW2con11, Nov 24-25, ParisSOA in the cloud with FraSCAti, OW2con11, Nov 24-25, Paris
SOA in the cloud with FraSCAti, OW2con11, Nov 24-25, ParisOW2
 
Iben from Spirent talks at the SDN World Congress about the importance of and...
Iben from Spirent talks at the SDN World Congress about the importance of and...Iben from Spirent talks at the SDN World Congress about the importance of and...
Iben from Spirent talks at the SDN World Congress about the importance of and...Iben Rodriguez
 
Modern DevOps with Spinnaker/Concourse and Micrometer
Modern DevOps with Spinnaker/Concourse and MicrometerModern DevOps with Spinnaker/Concourse and Micrometer
Modern DevOps with Spinnaker/Concourse and MicrometerJesse Tate Pulfer
 
Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...
Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...
Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...SANTIAGO PABLO ALBERTO
 
Muves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 FinalMuves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 FinalElastic Grid, LLC.
 
Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...
Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...
Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...ShuvamRoy12
 
A science-gateway for workflow executions: online and non-clairvoyant self-h...
A science-gateway for workflow executions: online and non-clairvoyant self-h...A science-gateway for workflow executions: online and non-clairvoyant self-h...
A science-gateway for workflow executions: online and non-clairvoyant self-h...Rafael Ferreira da Silva
 

Similaire à ScaRR (20)

Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
Advancing VLSI Design Reliability: A Comprehensive Examination of Embedded De...
 
talk_2015_07_01_Imperial_College_slides
talk_2015_07_01_Imperial_College_slidestalk_2015_07_01_Imperial_College_slides
talk_2015_07_01_Imperial_College_slides
 
Automated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWSAutomated Program Repair, Distinguished lecture at MPI-SWS
Automated Program Repair, Distinguished lecture at MPI-SWS
 
The Cloudification Perspectives of Search-based Software Testing
The Cloudification Perspectives of Search-based Software TestingThe Cloudification Perspectives of Search-based Software Testing
The Cloudification Perspectives of Search-based Software Testing
 
Reliability analysis of wireless automotive applications with transceiver red...
Reliability analysis of wireless automotive applications with transceiver red...Reliability analysis of wireless automotive applications with transceiver red...
Reliability analysis of wireless automotive applications with transceiver red...
 
Mixed Scanning and DFT Techniques for Arithmetic Core
Mixed Scanning and DFT Techniques for Arithmetic CoreMixed Scanning and DFT Techniques for Arithmetic Core
Mixed Scanning and DFT Techniques for Arithmetic Core
 
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
 
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
CONCEPT OF OPERATIONS TO SYSTEM DESIGN AND DEVELOPMENT-AN INTEGRATED SYSTEM F...
 
Robin Singh-Fd
Robin Singh-FdRobin Singh-Fd
Robin Singh-Fd
 
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATION
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATIONA SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATION
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATION
 
Keynote VST2020 (Workshop on Validation, Analysis and Evolution of Software ...
Keynote VST2020 (Workshop on  Validation, Analysis and Evolution of Software ...Keynote VST2020 (Workshop on  Validation, Analysis and Evolution of Software ...
Keynote VST2020 (Workshop on Validation, Analysis and Evolution of Software ...
 
Michael_Joshua_Validation
Michael_Joshua_ValidationMichael_Joshua_Validation
Michael_Joshua_Validation
 
SOA in the cloud with FraSCAti, OW2con11, Nov 24-25, Paris
SOA in the cloud with FraSCAti, OW2con11, Nov 24-25, ParisSOA in the cloud with FraSCAti, OW2con11, Nov 24-25, Paris
SOA in the cloud with FraSCAti, OW2con11, Nov 24-25, Paris
 
Iben from Spirent talks at the SDN World Congress about the importance of and...
Iben from Spirent talks at the SDN World Congress about the importance of and...Iben from Spirent talks at the SDN World Congress about the importance of and...
Iben from Spirent talks at the SDN World Congress about the importance of and...
 
Modern DevOps with Spinnaker/Concourse and Micrometer
Modern DevOps with Spinnaker/Concourse and MicrometerModern DevOps with Spinnaker/Concourse and Micrometer
Modern DevOps with Spinnaker/Concourse and Micrometer
 
Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...
Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...
Electrónica: Sistema de prueba Guía de desarrollo. Un manual completo para in...
 
Muves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 FinalMuves3 Elastic Grid Java One2009 Final
Muves3 Elastic Grid Java One2009 Final
 
Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...
Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...
Attentive-YOLO: On-Site Water Pipeline Inspection Using Efficient Channel Att...
 
PID2143641
PID2143641PID2143641
PID2143641
 
A science-gateway for workflow executions: online and non-clairvoyant self-h...
A science-gateway for workflow executions: online and non-clairvoyant self-h...A science-gateway for workflow executions: online and non-clairvoyant self-h...
A science-gateway for workflow executions: online and non-clairvoyant self-h...
 

Plus de Flavio Toffalini

SGXMonitor Presentation - ACSAC 2022
SGXMonitor Presentation - ACSAC 2022SGXMonitor Presentation - ACSAC 2022
SGXMonitor Presentation - ACSAC 2022Flavio Toffalini
 
Static Analysis of Context Leaks in Android Applications
Static Analysis of Context Leaks in Android ApplicationsStatic Analysis of Context Leaks in Android Applications
Static Analysis of Context Leaks in Android ApplicationsFlavio Toffalini
 
Google Dorks: Analysis, Creation, and new Defenses
Google Dorks: Analysis, Creation, and new DefensesGoogle Dorks: Analysis, Creation, and new Defenses
Google Dorks: Analysis, Creation, and new DefensesFlavio Toffalini
 

Plus de Flavio Toffalini (6)

SGXMonitor Presentation - ACSAC 2022
SGXMonitor Presentation - ACSAC 2022SGXMonitor Presentation - ACSAC 2022
SGXMonitor Presentation - ACSAC 2022
 
SnakeGX (full version)
SnakeGX (full version) SnakeGX (full version)
SnakeGX (full version)
 
SnakeGX (short version)
SnakeGX (short version)SnakeGX (short version)
SnakeGX (short version)
 
Careful Packing
Careful PackingCareful Packing
Careful Packing
 
Static Analysis of Context Leaks in Android Applications
Static Analysis of Context Leaks in Android ApplicationsStatic Analysis of Context Leaks in Android Applications
Static Analysis of Context Leaks in Android Applications
 
Google Dorks: Analysis, Creation, and new Defenses
Google Dorks: Analysis, Creation, and new DefensesGoogle Dorks: Analysis, Creation, and new Defenses
Google Dorks: Analysis, Creation, and new Defenses
 

Dernier

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durbanmasabamasaba
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsBert Jan Schrijver
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburgmasabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 

Dernier (20)

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 

ScaRR

  • 1. ScaRR: Scalable Runtime Remote Attestation for Complex Systems Flavio Toffalini - Singapore University of Technology and Design Eleonora Losiouk, Andrea Biondo - University of Padua Jianying Zhou - Singapore University of Technology and Design Mauro Conti - University of Padua RAID - September 23-25, 2019 - Beijing, China
  • 2. Problem: Remote Attestation Verifier (trust) Prover (not-so-trust) Challenge Report Application Is this ok? 2/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 3. What we can verify: Static properties - Software loaded - Hardware integrity What we can’t verify: Dynamic properties - Execution path - Data correctness ScaRR 3/27 Static Remote Attestation Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 4. Verifier Prover Report (hash_ep, output) ApplicationValid Execution Paths analyze(Application) Offline Analysis Online Analysis 4/27 Runtime Remote Attestation Challenge (nonce, input) Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 5. Limitations 1. Offline analysis does not scale for big applications 2. Based on heuristics 3. Symbolic execution too slow for the verification 5/27 Previous Runtime Remote Attestation Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 6. V P V More complex applications More advanced systems No-physical attacks 6/27 Scenario: Virtual Machines in a Cloud Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems intra-cloud communication ext-cloud com m unication
  • 7. N1 N2 N3 N5 N4 N6 a N1 N2 N3 N4 N5 N6 x = input() if x == ‘auth’: y = get_privileged_info() else: y = get_unprivileged_info() output(y) terminate = return address corruption 7/27 Basic Example Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 8. Attacks: - Standard code-reuse attack (e.g., ROP, JOP) - Code injection (e.g., shellcode) - Function hooks - Attacker takes control of user-space Prover Assumptions: - Prover is equipped with a trusted anchor - Standard defences like W⊕X - CFI != The attack could come anywhere from within the machine 8/27 Assumptions and Attacker Model Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 9. N1 −N4 => [ (N2 ,N4 ) ] N1 −N3 => [ (N2 ,N3 ) ] N3 −N6 => [ ] N4 −N6 => [ ] NOTE: ScaRR does not consider (N4 ,N5 ) and (N3 ,N5 ) N1 N2 N3 N5 N4 N6 Checkpoint (e.g., beginning thread, syscall, API call) List of Actions Edge 9/27 Idea of ScaRR Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 10. - Loop - Recursion - Signal - Exception 10/27 Model Challenges Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 11. SA −N1 => [ ] N1 −N1 => [ (N1 ,N2 ) ] N1 −SB => [ (N1 ,N3 ) ] SA N1 SB N2 N3 virtual -checkpoint 11/27 Loop Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 12. PB virtual -checkpoint a() N3 N1 N2 PE call ret call ret PB −N2 => [ (PB ,N1 ), (N1 ,N2 ) ] N2 −N2 => [ (N2 ,N1 ), (N1 ,N2 ) ] N2 −N2 => [ (N2 ,N1 ), (N1 ,N3 ), (N3 ,N2 ) ] N2 −PE => [ (N2 ,N1 ), (N1 ,N3 ), (N3 ,PE ) ] PB −PE => [ (PB ,N1 ), (N1 ,N3 ), (N3 ,PE ) ] 12/27 Recursion Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 13. SA EA EB N1 SB N2 Catch Block or Signal Handler Thread 1. Pause thread LoA 2. Trace new LoA for catch block signal handler 3. Resume thread LoA 13/27 Signal and Exception Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 14. 14/27 ScaRR Design Verifier ProverChallenge (nonce, input) ApplicationOffline Measurements** analyze(Application) Offline Analysis Online Analysis *list of reports and output go in parallel **LoA + extra info (output) List of Reports* (Cb, Cr, H(LoA)) Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 15. Offline Measurements (Verifier side) Partial Report (Online Measurements) (Prover side) (Cb, Ce, H(LoA))(Cb,Ce,H(LoA)) => [ (M1 ,A1 ) ... ] Hash of LoA Beginning checkpoint End checkpoint List of Action 15/27 Measurements Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 16. (Cb, Ce, H(LoA)) Hash of LoA Beginning checkpoint End checkpoint H(LoA) is in DB? Cet-1 == Cbt ss(H(LoA)) (Check1) (Check2) (Check3) OK! abort() abort() abort() n y y y n n /* shadow stack */ Partial Report 16/27 Verification Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 17. S M1 M2 M3 M4 E A1 C A2 int main(int argc, char ** argv) { a(10); /* irrelevant code */ a(6); return 0; } void a(int x) { /* irrelevant code */ printf("%dn", x); return; } (S,C,H1 ) => [ (M1 ,A1 ) ] (C,C,H2 ) => [ (A2 ,M2 ), (M3 ,A1 ) ] (C,E,H3 ) => [ (A2 ,M4 ) ] Offline measurement, a map between valid Partial Report and LoA 17/27 Remote Shadow Stack Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 18. (M1 ,A1 ) (M1 ,A1 ) (A2 ,M2 ) (M3 ,A1 ) (M3 ,A1 ) (A2 ,M2 ) valid! (A2 ,M2 ) ret_to (M1 ,A1 ) not valid! (A2 ,M2 ) ret_to (M3 ,A1 ) (S,C,H1 ) (C,C,H2 ) (C,C,H2 ) Time Offline measurement: (S,C,H1 ) => [ (M1 ,A1 ) ] (C,C,H2 ) => [ (A2 ,M2 ), (M3 ,A1 ) ] (C,E,H3 ) => [ (A2 ,M4 ) ] Attack: (S,C,H1 )→(C,C,H2 )→(C,C,H2 )→ (Check1) and (Check2) hold! 18/27 Remote Shadow Stack Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 19. Implementation - Offline Analysis - Prover 19/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 20. C/C++ program LLVM/Clang Instrumented Application CRAB Offline Measurement // abstract // interpretation 20/27 Offline Analysis Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 21. User-Space Application Process // instrumented Kernel-Space ScaRR Libraries // to communicate with the kernel ScaRR sys_measureScaRR ModuleScaRR sys_addaction// custom kernel // as trusted anchor // 2 new syscalls 21/27 Prover Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 22. Evaluation Based on SPEC-CPU 2017 - Attestation Speed - Verification Speed - Network Impact - Security Properties 22/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 23. Previous works 20K/30K cf-events 23/27 Attestation Speed Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 24. From 1.4 M/s to 2.7 M/s Previous work from 110 to 30k cf-events/s (Check1) => constant hashmap fetching (Check2) => constant operation (Check3) => O(#actions for LoA) Average LoA size 24/27 Verification Speed Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 25. Problem: Too many reports -> network overload Solution: Compress groups of reports 25/27 Network Impact Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 26. Security Properties ✓ Code Injection: jumping to shellcode produces wrong LoA ✓ Code-reuse Attacks: produces wrong LoA ✓ Overwrite Nodes: invalid static attestation 26/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 27. Technical Limitation - Context switch still too slow (considered PT too) - Be kernel-agnostic by using other trusted anchor (e.g., SGX, TrustZone) - Require source code - CFG generation affects precisions of attack detections 27/27Toffalini et al., (2019) ScaRR: Scalable Runtime Remote Attestation for Complex Systems
  • 28. Thank you for attention… Flavio Toffalini - flavio_toffalini@mymail.sutd.edu.sg 28