RUHR-UNIVERSITÄT BOCHUM Static Power SCA of Sub-100 nm CMOS ASICs and the Insecurity of Masking Schemes in Low-Noise Environments Thorben Moos Ruhr University Bochum, Horst Görtz Institute for IT Security, Germany August 28th, 2019
Section 1 Introduction Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 1
RUHR-UNIVERSITÄT BOCHUM What’s known? Introduction • CMOS logic gates and memory elements have a data dependent static power consumption Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 2
RUHR-UNIVERSITÄT BOCHUM What’s known? Introduction • CMOS logic gates and memory elements have a data dependent static power consumption • Leakage currents increase significantly by down-scaling the physical feature size of transistors Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 2
RUHR-UNIVERSITÄT BOCHUM What’s known? Introduction • CMOS logic gates and memory elements have a data dependent static power consumption • Leakage currents increase significantly by down-scaling the physical feature size of transistors • Attacks on crypto primitives exploiting this data dependency have been demonstrated in practice for FPGAs [CHES 2014] and ASICs [DATE 2015/2017] Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 2
RUHR-UNIVERSITÄT BOCHUM What’s known? Introduction • CMOS logic gates and memory elements have a data dependent static power consumption • Leakage currents increase significantly by down-scaling the physical feature size of transistors • Attacks on crypto primitives exploiting this data dependency have been demonstrated in practice for FPGAs [CHES 2014] and ASICs [DATE 2015/2017] • When clock control is obtained by an adversary, measurements with a very low noise influence can be recorded Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 2
RUHR-UNIVERSITÄT BOCHUM What’s known? Introduction • CMOS logic gates and memory elements have a data dependent static power consumption • Leakage currents increase significantly by down-scaling the physical feature size of transistors • Attacks on crypto primitives exploiting this data dependency have been demonstrated in practice for FPGAs [CHES 2014] and ASICs [DATE 2015/2017] • When clock control is obtained by an adversary, measurements with a very low noise influence can be recorded • Control over the operating conditions significantly enhances the ability to extract secrets, even though it accelerates device degradation Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 2
RUHR-UNIVERSITÄT BOCHUM Setup Introduction Climate Chamber Temp.: 90 °C Humid.: 10 % Oscilloscope DC Amplifier + + - - Board + ASIC Low-Pass Filter Vdd ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 3
RUHR-UNIVERSITÄT BOCHUM Setup Introduction Climate Chamber Temp.: 90 °C Humid.: 10 % Oscilloscope DC Amplifier + + - - Board + ASIC Low-Pass Filter Vdd ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 3
RUHR-UNIVERSITÄT BOCHUM Setup Introduction Climate Chamber Temp.: 90 °C Humid.: 10 % Oscilloscope DC Amplifier + + - - Board + ASIC Low-Pass Filter Vdd ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 3
RUHR-UNIVERSITÄT BOCHUM Setup Introduction Climate Chamber Temp.: 90 °C Humid.: 10 % Oscilloscope DC Amplifier + + - - Board + ASIC Low-Pass Filter Vdd ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 3
RUHR-UNIVERSITÄT BOCHUM Setup Introduction Climate Chamber Temp.: 90 °C Humid.: 10 % Oscilloscope DC Amplifier + + - - Board + ASIC Low-Pass Filter Vdd ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 3
RUHR-UNIVERSITÄT BOCHUM Setup Introduction Climate Chamber Temp.: 90 °C Humid.: 10 % Oscilloscope DC Amplifier + + - - Board + ASIC Low-Pass Filter Vdd ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 3
RUHR-UNIVERSITÄT BOCHUM Setup Introduction Climate Chamber Temp.: 90 °C Humid.: 10 % Oscilloscope DC Amplifier + + - - Board + ASIC Low-Pass Filter Vdd ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 3
RUHR-UNIVERSITÄT BOCHUM ASICs Introduction (a) 65nm ASIC layout (b) 90nm ASIC layout Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 4
Section 2 Influence of Operating Conditions Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 5
RUHR-UNIVERSITÄT BOCHUM Target 1024-bit HF Register To evaluate the influence of operating conditions, choose an instance that leaks a lot: Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 6
RUHR-UNIVERSITÄT BOCHUM Target 1024-bit HF Register To evaluate the influence of operating conditions, choose an instance that leaks a lot: 1024-bit HF Input Register - filled either with 0s or 1s - average fanout of 11 Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 6
RUHR-UNIVERSITÄT BOCHUM Target 1024-bit HF Register ... 0 SET SET D Q D Q CLK Q Q To evaluate the influence of CLR CLR ... operating conditions, choose SET D Q an instance that leaks a lot: Q CLR ... D SET Q Q 1024-bit HF Input Register CLR ... - filled either with 0s or 1s - average fanout of 11 ... SET D Q Q CLR Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 6
RUHR-UNIVERSITÄT BOCHUM Target 1024-bit HF Register ... ... 0 1 SET SET SET SET D Q D Q D Q D Q CLK CLK Q Q Q Q To evaluate the influence of CLR CLR CLR CLR ... ... operating conditions, choose SET SET D Q D Q an instance that leaks a lot: Q Q CLR CLR ... ... D SET D SET Q Q Q Q 1024-bit HF Input Register CLR CLR ... ... - filled either with 0s or 1s - average fanout of 11 ... ... SET SET D Q D Q Q Q CLR CLR Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 6
Subsection 1 90 nm ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 7
t RUHR-UNIVERSITÄT BOCHUM 90 nm ASIC – Normal Operating Conditions 5,000 Measurements at 1.2 V and 20 ◦ C 11...1 Frequency of occurrence 300 00...0 200 100 0 75 80 85 90 95 100 105 110 115 Leakage current [µA] Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 8
t RUHR-UNIVERSITÄT BOCHUM 90 nm ASIC – Normal Operating Conditions 5,000 Measurements at 1.2 V and 20 ◦ C 2000 11...1 Frequency of occurrence 300 00...0 1500 t-statistics 200 1000 100 500 0 0 75 80 85 90 95 100 105 110 115 0 1000 2000 3000 4000 5000 Leakage current [µA] Number of measurements Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 8
RUHR-UNIVERSITÄT BOCHUM 90 nm ASIC – Normal Operating Conditions 5,000 Measurements at 1.2 V and 20 ◦ C 2000 11...1 Frequency of occurrence 300 00...0 1500 t-statistics 200 1000 100 500 0 0 75 80 85 90 95 100 105 110 115 0 1000 2000 3000 4000 5000 Leakage current [µA] Number of measurements Difference of Means 4.1353 µA Average Total Current 96.5 µA t -value (after 5,000 Traces) 480 Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 8
RUHR-UNIVERSITÄT BOCHUM 90 nm ASIC – Increased Supply Voltage 5,000 Measurements at 1.6 V and 20 ◦ C 2000 11...1 Frequency of occurrence 300 00...0 1500 t-statistics 200 1000 100 500 0 0 450 455 460 465 470 475 480 485 0 1000 2000 3000 4000 5000 Leakage current [µA] Number of measurements Difference of Means 18.7822 µA × 4.5419 gain Average Total Current 467.3 µA × 4.8424 gain t -value (after 5,000 Traces) 1938 × 4.0375 gain Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 9
RUHR-UNIVERSITÄT BOCHUM 90 nm ASIC – Increased Temperature 5,000 Measurements at 1.2 V and 90 ◦ C 2000 11...1 Frequency of occurrence 00...0 1500 t-statistics 100 1000 500 0 0 750 755 760 765 770 775 780 785 790 0 1000 2000 3000 4000 5000 Leakage current [µA] Number of measurements Difference of Means 14.4754 µA × 3.5004 gain Average Total Current 771.1 µA × 7.9907 gain t -value (after 5,000 Traces) 526 × 1.0958 gain Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 10
RUHR-UNIVERSITÄT BOCHUM 90 nm ASIC – Increased Voltage and Temperature 5,000 Measurements at 1.6 V and 90 ◦ C 2000 11...1 Frequency of occurrence 00...0 1500 100 t-statistics 1000 500 0 0 1850 1855 1860 1865 1870 1875 1880 1885 0 1000 2000 3000 4000 5000 Leakage current [µA] Number of measurements Difference of Means 32.3217 µA × 7.8160 gain Average Total Current 1,867.3 µA × 19.3503 gain t -value (after 5,000 Traces) 867 × 1.8063 gain Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 11
Subsection 2 65 nm ASIC Thorben Moos | Static Power SCA of Sub-100 nm CMOS ASICs | August 28th, 2019 12
Recommend
More recommend