Trifón Giménez Epoche & Espri [email protected] ...€¦ · Trifón Giménez Epoche & Espri...

17
Side Side Channel Channel Analysis Analysis Scoring attack potential under AVA_VAN.5 Trifón Giménez Epoche & Espri [email protected] under AVA_VAN.5

Transcript of Trifón Giménez Epoche & Espri [email protected] ...€¦ · Trifón Giménez Epoche & Espri...

Page 1: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

SideSide ChannelChannel AnalysisAnalysis

Scoring attack potential under AVA_VAN.5

Trifón GiménezEpoche & [email protected]

under AVA_VAN.5

Page 2: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

� Introduction to SCA

� Current Situation

� Proposal

Agenda

� Proposal

� Scoring Attack Potential

� Conclusions

214 ICCC Orlando2013/09/11

Page 3: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Introduction

� Side Channels leaking

� Timming, Power Consumption, Emanations…

� Consumptions depends on Operations

3

� Statistical Analysis

Hypothesis vs. Consumption

Power Consumption & Electromagnetic Emanation

14 ICCC Orlando2013/09/11

Page 4: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Current Situation

� CC

� Excludes evaluation of some hardwareaspects

� JIL Smart-Cards

4

� JIL Smart-Cards

� AVA_VAN.5

� Other Initiatives

� ISO 17825 (Working Draft)

� FIPS 140-3

14 ICCC Orlando2013/09/11

Page 5: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Embracing HW evaluation

� CC

� Explicit assurance evaluation activitiesassociated to functional requirements

� New vision PPs

� See "An XML extension of the CC/CEM to cover thenew CPP“ by Miguel Bañón

5

new CPP“ by Miguel Bañón

� See the evaluation methodologies for Smart Cards

� Rephrase the CC to embrace HW evaluations

� Different characteristics but common techniques

� Compatible with the existing VA and attackpotential ratings

14 ICCC Orlando2013/09/11

Page 6: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Proposal

� Motivation

SCA in AVA_VAN 3 & 4

� Parameters

6

� Parameters

� Environment

� Measurement

� Analysis

14 ICCC Orlando2013/09/11

Page 7: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Environment

� Accessible TOE?

� Trigger

� Measurement Point

7

� TOE configuration & operation

� Instrumentation

� Oscilloscope

� Frequency (2 x TOE)14 ICCC Orlando2013/09/11

Page 8: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

� Appropriate Signal?

� Amplifiers, Filters

� # of Traces

Measurement

� TOE dependency

� ↑ traces � ↑ time

� Quality

+ resolution � better analysis ☺ � bespoke tool �

814 ICCC Orlando2013/09/11

Page 9: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Analysis

� Signal Processing

� Leakage

� Countermeasures

� Noise Reduction?

9

� Noise Reduction?

� Average Calculation

� Frequency filters

� Misalignment?

14 ICCC Orlando2013/09/11

Page 10: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Attack

� SPA, DPA, CPA, 2º order attacks, …

� Parameters

� Power consumption hypothesis

� Statistic Test applied

10

� Success?

� Criterion / Decision Factor

14 ICCC Orlando2013/09/11

Page 11: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Scoring Attack Potential

Measurement Environment

PCI board Router

1114 ICCC Orlando2013/09/11

�Physically Accessible

�Measurement Point

�Trigger

�Low/Medium Oscilloscope

�Physically Protected

�Security Boxes Application

�Medium/High Oscilloscope

Page 12: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Scoring Attack Potential

Measurement

PCI board Router

1214 ICCC Orlando2013/09/11

�Simple TOE Operation

�Signal OK

�No amplifiers

�1.000 points per trace

�Homemade TOE Operation

�Signal Weak

� Tailored Amplification

�100.000 points per trace

Page 13: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Scoring Attack Potential

�Countermeasures?

Analysis: Signal Pre-processing

PCI board Router

1314 ICCC Orlando2013/09/11

�Noise?

�Average noise reduction

�Countermeasures?

�Noise?

�Average noise reduction

�Frequency filters

�Misalignment?

�Static Alignment

Page 14: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Scoring Attack Potential

�Known Attacks �Bespoke Attacks

Analysis: Attack

PCI board Router

1414 ICCC Orlando2013/09/11

�Known Attacks

�SPA, DPA, DEMA

�Result

�Correlation / Leakage

or

�Key Extraction

�Bespoke Attacks

�Tailored Consumption /

Emantion Hypothesis

�Adapted Statistic Test

�SPA,DPA/DEMA, 2º Order

�Result

�Key Extraction

Page 15: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Scoring Attack Potential

AVA_VAN.3 Factor AVA_VAN.4

<= two weeks 2 Elapsed time <= one month 4

Proficient 3 Expertise Expert 6

1514 ICCC Orlando2013/09/11

Public 0 Knowledge of TOE Public 0

Easy 1 Window of opportunity Easy 1

Specialized 4 Equipment Bespoke 7

10 TOTAL 18

Enhanced Basic Moderate

Page 16: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Conclusions

� Side channel may be commensurate withAVA_VAN.3 & 4 attack potentials

� Critical factors for applicabilityAdequate TOE� Adequate TOE

� Measurement� Analysis

� SCA on evaluations NOW� CC Products may be leaking at this time!!

1614 ICCC Orlando2013/09/11

Page 17: Trifón Giménez Epoche & Espri eval@epoche.es ...€¦ · Trifón Giménez Epoche & Espri eval@epoche.es. Introduction to SCA Current Situation Proposal Agenda Scoring Attack Potential

Trifón Gimé[email protected]@epoche.es

Epoche & Espri, S.L.

Avda. de la Vega, 1

28108, Alcobendas, Madrid

Spain

Tel: +34 914-902-900

FAX: +34 916-625-344

Epoche & Espri Corporation

4000 Legato Road, Suite 1100

Fairfax, VA 22033

USA

Tel: +1 888-877-9506

FAX: +1 703-227-7189

14 ICCC Orlando2013/09/11 17