Side-channel robustness analysis of masked assembly codes using a symbolic approach

被引:7
|
作者
Ben El Ouahma, Ines [1 ]
Meunier, Quentin L. [1 ]
Heydemann, Karine [1 ]
Encrenaz, Emmanuelle [1 ]
机构
[1] Sorbonne Univ, LIP6, UMR 7606, F-75005 Paris, France
关键词
Masking; Side-Channel Attacks; Assembly Code; Leakage Assessment; Distributions; RESISTANCE; MASKING;
D O I
10.1007/s13389-019-00205-7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Masking is a popular countermeasure against side-channel attacks, which randomizes secret data with random and uniform variables called masks. At software level, masking is usually added in the source code and its effectiveness needs to be verified. In this paper, we propose a symbolic method to verify side-channel robustness of masked programs. The analysis is performed at the assembly level since compilation and optimizations may alter the added protections. Our proposed method aims to verify that intermediate computations are statistically independent from secret variables using defined distribution inference rules. We verify the first round of a masked AES in 22 s and show that some secure algorithms or source codes are not leakage-free in their assembly implementations.
引用
收藏
页码:231 / 242
页数:12
相关论文
共 50 条
  • [1] Side-channel robustness analysis of masked assembly codes using a symbolic approach
    Inès Ben El Ouahma
    Quentin L. Meunier
    Karine Heydemann
    Emmanuelle Encrenaz
    Journal of Cryptographic Engineering, 2019, 9 : 231 - 242
  • [2] Symbolic Side-Channel Analysis for Probabilistic Programs
    Malacaria, Pasquale
    Khouzani, M. H. R.
    Pasareanu, Corina S.
    Quoc-Sang Phan
    Luckow, Kasper
    IEEE 31ST COMPUTER SECURITY FOUNDATIONS SYMPOSIUM (CSF 2018), 2018, : 313 - 327
  • [3] Symbolic Path Cost Analysis for Side-Channel Detection
    Brennan, Tegan
    Saha, Seemanta
    Bultan, Tevfik
    Pasareanu, Corina S.
    ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, : 27 - 37
  • [4] Symbolic path cost analysis for side-channel detection
    University of California Santa Barbara, Santa Barbara
    CA, United States
    不详
    CA, United States
    ISSTA - Proc. ACM SIGSOFT Int. Symp. Softw. Test. Anal., (27-37):
  • [5] Efficient Profiled Side-Channel Analysis of Masked Implementations, Extended
    Bronchain, Olivier
    Durvaux, Francois
    Masure, Loic
    Standaert, Francois-Xavier
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2022, 17 : 574 - 584
  • [6] Fault-Assisted Side-Channel Analysis of Masked Implementations
    Yao, Yuan
    Yang, Mo
    Patrick, Conor
    Yuce, Bilgiday
    Schaumont, Patrick
    PROCEEDINGS OF THE 2018 IEEE INTERNATIONAL SYMPOSIUM ON HARDWARE ORIENTED SECURITY AND TRUST (HOST), 2018, : 57 - 64
  • [7] Side-channel leakage of masked CMOS gates
    Mangard, S
    Popp, T
    Gammel, BM
    TOPICS IN CRYPTOLOGY - CT-RSA 2005, PROCEEDINGS, 2005, 3376 : 351 - 365
  • [8] Poster: Symbolic Path Cost Analysis for Side-Channel Detection
    Brennan, Tegan
    Saha, Seemanta
    Bultan, Tevfik
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 424 - 425
  • [9] Codes for Side-Channel Attacks and Protections
    Guilley, Sylvain
    Heuser, Annelie
    Rioul, Olivier
    CODES, CRYPTOLOGY AND INFORMATION SECURITY, C2SI 2017, 2017, 10194 : 35 - 55
  • [10] Quadrivariate Improved Blind Side-Channel Analysis on Boolean Masked AES
    Clavier, Christophe
    Reynaud, Leo
    Wurcker, Antoine
    CONSTRUCTIVE SIDE-CHANNEL ANALYSIS AND SECURE DESIGN, COSADE 2018, 2018, 10815 : 153 - 167