first year review wp2 overview
play

First year review WP2 overview Trento - September 24th, 2007 1 - PowerPoint PPT Presentation

First year review WP2 overview Trento - September 24th, 2007 1 Goal To investigate software-only methodologies to implement the remote entrusting principle 2 Partners POLITO (WP leader) Team: Team: Team: - - - Mario


  1. First year review WP2 overview Trento - September 24th, 2007 1

  2. Goal • To investigate software-only methodologies to implement the remote entrusting principle 2

  3. Partners • POLITO (WP leader) • Team: • • Team: Team: - - - Mario BALDI Mario BALDI Mario BALDI - - - Stefano DI CARLO Stefano DI CARLO Stefano DI CARLO - - - Paolo FALCARIN Paolo FALCARIN Paolo FALCARIN - - - Antonio DURANTE Antonio DURANTE Antonio DURANTE - - - Alberto SCIONTI Alberto SCIONTI Alberto SCIONTI - - - Davide D’ Davide D ’APRILE APRILE Davide D’APRILE 3

  4. Partners • POLITO (WP leader) • UNITN • Team: • • Team: Team: • • • Paolo TONELLA Paolo TONELLA Paolo TONELLA • • • Mariano CECCATO Mariano CECCATO Mariano CECCATO • • • Jasvir NAGRA Jasvir NAGRA Jasvir NAGRA • • • Milla DALLA PREDA Milla DALLA PREDA Milla DALLA PREDA • • • Amitabh SAXENA Amitabh SAXENA Amitabh SAXENA 4

  5. Partners • POLITO (WP leader) • UNITN • KUL - Team: - - Team: Team: - - - Bart PRENEEL Bart PRENEEL Bart PRENEEL - - - Brecht WYSEUR Brecht WYSEUR Brecht WYSEUR - - - Jan CAPPAERT Jan CAPPAERT Jan CAPPAERT - - - Thomas HERLEA Thomas HERLEA Thomas HERLEA 5

  6. Partners • POLITO (WP leader) • UNITN • KUL • SPIIRAS • Team: • • Team: Team: • • • Igor KOTENKO Igor KOTENKO Igor KOTENKO • • • Vasily DESNITSKY Vasily DESNITSKY Vasily DESNITSKY • • • Victor VORONTSOV Victor VORONTSOV Victor VORONTSOV • • • Vitaly BOGDANOV Vitaly BOGDANOV Vitaly BOGDANOV 6

  7. Partners • POLITO (WP leader) • UNITN • KUL • SPIIRAS • Team: • GEM • • Team: Team: • • • Pierre GIRARDSté Pierre GIRARDSt éphane SOCIE phane SOCIE Pierre GIRARDStéphane SOCIE 7

  8. Tasks D2.1 D2.2 M0 M3 M6 M9 M12 M15 M18 M21 M24 M27 M30 M33 M36 T2.1 T2.1 T2.2 T2.2 T2.3 T2.3 T2.4 T2.4 T2.5 T2.5 T2.6 T2.6 8

  9. Tasks T2.1 T2.1 M10 M11 M12 M13 M14 M15 M16 ... M10 M11 M12 M13 M14 M15 M16 ... M1 M1 M2 M2 M3 M3 M4 M4 M5 M5 M6 M6 M7 M7 M8 M8 M9 M9 T2.1 T2.1 T2.2 T2.2 T2.3 T2.3 T2.4 T2.4 T2.5 T2.5 9

  10. T2.1 T2.1 Trust model • Definition of the trust model for software only remote entrusting • The output of this task is the deliverable D2.1: - Trust model and assumption for software based TR methods 10

  11. T2.1 T2.1 Trust model Untrusted platform (U) Trusted platform (T) HW HW OS OS TAG P TAG P TAG seq. TAG seq. TAG seq. TAG seq. Validation Validation M M Monitor replacement M M Monitor replacement o o n n i i t t o o r r r r e e p p l l a a c c e Monitor Monitor e m m e e n n t t factory factory 11

  12. Tasks T2.2 T2.2 M10 M11 M12 M13 M14 M15 M16 ... M10 M11 M12 M13 M14 M15 M16 ... M1 M1 M2 M2 M3 M3 M4 M4 M5 M5 M6 M6 M7 M7 M8 M8 M9 M9 T2.1 T2.1 T2.2 T2.2 T2.3 T2.3 T2.4 T2.4 T2.5 T2.5 12

  13. T2.2 T2.2 Secure interlocking and authenticity checking • Definition of software techniques to: - Securely combine the program P and the monitor M - Protect the authenticity of code and data of P 13

  14. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking Invariants Monitoring (POLITO) • A program invariant is a property that is true at a particular program execution point • Invariant monitoring aims at detecting attacks to the state of a program P by continuously checking dynamically inferred invariants 14

  15. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking Invariants Monitoring (POLITO) • Invariants monitoring workflow � - Invariants definition (available tools: DAIKON by Michael D. Ernst) - Selection of the set I’ of relevant invariants to protect a subset S’ of the state of P How to select S’ and I’ still an open challenge? 15

  16. T2.2 T2.2 � T2.2 Secure interlocking and authenticity checking Invariants Monitoring (POLITO) � - Definition of a monitor M able to periodically send information about S’ to T T verifies if the selected list of invariants I’ is always respected Any violation is detected as an attack • Invariants monitoring is not 100% secure • A prototype C++ application performing strings elaboration is available 16

  17. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking Barrier slicing (UNITN) • Aims at protecting the state of P by moving part of its code from U to T • It presents an alternative architecture w.r.t. the presented trust model • Trade-off between security and performance 17

  18. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking Barrier slicing (UNITN) 1 time2 = System.currentTimeMillis(); 1 time2 = System.currentTimeMillis(); double delta = speed * (time2 – time); 2 2 double delta = speed * (time2 – time); • A set S of variables to x = x + delta * cos(direction); 3 3 x = x + delta * cos(direction); 4 y = y + delta * sin(direction); y = y + delta * sin(direction); 4 5 Server.sendPosition(x,y); 5 Server.sendPosition(x,y); protect is removed U 6 if (track.isInBox(x, y)){ 6 if (track.isInBox(x, y)){ gas = maxGas; 7 7 gas = maxGas; 8 lastFuel = time2; lastFuel = time2; 8 • Program slicing: the 9 } } 9 10 else { 10 else { gas = maxGas - ( int ) (time2-lastFuel); (executable) slice of P 11 11 gas = maxGas - ( int ) (time2-lastFuel); 12 if (gas < 0) { if (gas < 0) { 12 responsible of the 13 gas = 0; 13 gas = 0; 14 if (speed > maxSpeed /10) 14 if (speed > maxSpeed /10) variables in S is moved speed = maxSpeed /10; 15 15 speed = maxSpeed /10; 16 else if (speed < minSpeed/10) else if (speed < minSpeed/10) 16 to T 17 speed = minSpeed/10; speed = minSpeed/10; 17 } } 18 } } 18 time = time2; 18 time = time2;

  19. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking Barrier slicing (UNITN) • Untrusted platform (U) - Use of variables in S replaced by queries and synchronization statements to T • Trusted platform (T) - A barrier slicing running for each untrusted platform - Query and synchronization statements managed for each untrusted platform 19

  20. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking Barrier slicing (UNITN) • Example: barrier slice implemented on a simple car race game written in JAVA • A complete description of the approach published - Mariano Ceccato, Mila Dalla Preda, Jasvir Nagra, Christian Collberg, Paolo Tonella, Barrier Slicing for Remote Software Trusting, 7th IEEE International Working Conference on Source Code Analysis and Manipulation - Jasvir Nagra, Mariano Ceccato and Paolo Tonella, “Distributing Trust Verification to Increase Application Performance”, in PDP2008, February 13-15, 2008, Toulose, France 20

  21. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking White-Box Remote Procedure Call - WBRPC (UNITN, KUL) • The name RPC implies the ability of a trusted platform T to execute an arbitrary program P on an untrusted platform U - In collaboration with Prof. Amir HERZBERG • The key idea is the use of an O bfuscated V irtual M achine (OVM) 21

  22. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking White-Box Remote Procedure Call - WBRPC (UNITN, KUL) • WBRPC workflow - P is encrypted by T to get E(P) - E(P) and the inputs a are sent to U for execution under OVM 22

  23. T2.2 T2.2 � T2.2 Secure interlocking and authenticity checking White-Box Remote Procedure � � Call - WBRPC (UNITN, KUL) � - OVM performs the following tasks: Computes P = D ( E(P) ) Computes y = P(a) Computes z = E(y) Sends z to T - T has the decryption key and computes y = P(a) = D(z) 23

  24. T2.2 T2.2 T2.2 Secure interlocking and authenticity checking White-Box Remote Procedure Call - WBRPC (UNITN, KUL) • Under reasonable definition of obfuscator, we can show that OVM provides confidentiality of programs and integrity of execution of program 24

  25. Tasks T2.3 T2.3 M10 M11 M12 M13 M14 M15 M16 ... M10 M11 M12 M13 M14 M15 M16 ... M1 M1 M2 M2 M3 M3 M4 M4 M5 M5 M6 M6 M7 M7 M8 M8 M9 M9 T2.1 T2.1 T2.2 T2.2 T2.3 T2.3 T2.4 T2.4 T2.5 T2.5 25

  26. T2.3 T2.3 Dynamic replacement for increased tamper resistance • Investigation of innovative methods exploiting the “time dimension” to increase overall tamper resistance of M • The research activities of this task contribute to the deliverable D2.2: - Methods to dynamically replace the secure software module and to securely interlock applications with secure software modules 26

  27. T2.3 T2.3 Dynamic replacement for increased tamper resistance • Current (software-based) techniques co- bundle monitoring code with application code: - Position and behavior are hidden • Threat (well-financed skilled attacker) - The user has full access on U and can exploit any type of reverse engineering facilities to break the monitoring code 27

  28. T2.3 T2.3 Dynamic replacement for increased tamper resistance • Continuos replacement of M - Selected software component and parameters of M are continuously replaced to make reverse engineering costs too high • Dynamic replacement requires: - A mobility infrastructure - A binding support 28

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend