MaskedNet: The First Hardware Inference Engine Aiming Power Side-Channel Protection
Authors:
- 7 December 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 197-208
Abstract
Differential Power Analysis (DPA) has been an active area of research for the past two decades to study the attacks for extracting secret information from cryptographic implementations through power measurements and their defenses. The research on power side-channels have so far predominantly focused on analyzing implementations of ciphers such as AES, DES, RSA, and recently post-quantum cryptography primitives (e.g., lattices). Meanwhile, machine-learning applications are becoming ubiquitous with several scenarios where the Machine Learning Models are Intellectual Properties requiring confidentiality. Expanding side-channel analysis to Machine Learning Model extraction, however, is largely unexplored. This paper expands the DPA framework to neural-network classifiers. First, it shows DPA attacks during inference to extract the secret model parameters such as weights and biases of a neural network. Second, it proposes the first countermeasures against these attacks by augmenting masking. The resulting design uses novel masked components such as masked adder trees for fully-connected layers and masked Rectifier Linear Units for activation functions. On a SAKURA-X FPGA board, experiments show that the first-order DPA attacks on the unprotected implementation can succeed with only 200 traces and our protection respectively increases the latency and area-cost by $ 2.8\times$ and $2.3\times$.
Keywords
All Related Versions
This publication has 38 references indexed in Scilit:
- Cross-VM side channels and their use to extract private keys2012
- Introduction to differential power analysisJournal of Cryptographic Engineering, 2011
- Horizontal Correlation Analysis on Exponentiation2010
- From the bitstream to the netlist2008
- Threshold Implementations Against Side-Channel Attacks and Glitches2006
- Adversarial learning2005
- A Generic Protection against High-Order Differential Power AnalysisLecture Notes in Computer Science, 2003
- Secure exchange of information by synchronization of neural networksEurophysics Letters, 2002
- Using Second-Order Power Analysis to Attack DPA Resistant Software2000
- On Boolean and Arithmetic Masking against Differential Power Analysis2000