Saved in:
Bibliographic Details
Main Authors: Wedenig, Thomas, Nagpal, Rishub, Cassiers, Gaëtan, Mangard, Stefan, Peharz, Robert
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.13748
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909464549916672
author Wedenig, Thomas
Nagpal, Rishub
Cassiers, Gaëtan
Mangard, Stefan
Peharz, Robert
author_facet Wedenig, Thomas
Nagpal, Rishub
Cassiers, Gaëtan
Mangard, Stefan
Peharz, Robert
contents Detecting weaknesses in cryptographic algorithms is of utmost importance for designing secure information systems. The state-of-the-art soft analytical side-channel attack (SASCA) uses physical leakage information to make probabilistic predictions about intermediate computations and combines these "guesses" with the known algorithmic logic to compute the posterior distribution over the key. This attack is commonly performed via loopy belief propagation, which, however, lacks guarantees in terms of convergence and inference quality. In this paper, we develop a fast and exact inference method for SASCA, denoted as ExSASCA, by leveraging knowledge compilation and tractable probabilistic circuits. When attacking the Advanced Encryption Standard (AES), the most widely used encryption algorithm to date, ExSASCA outperforms SASCA by more than 31% top-1 success rate absolute. By leveraging sparse belief messages, this performance is achieved with little more computational cost than SASCA, and about 3 orders of magnitude less than exact inference via exhaustive enumeration. Even with dense belief messages, ExSASCA still uses 6 times less computations than exhaustive inference.
format Preprint
id arxiv_https___arxiv_org_abs_2501_13748
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Exact Soft Analytical Side-Channel Attacks using Tractable Circuits
Wedenig, Thomas
Nagpal, Rishub
Cassiers, Gaëtan
Mangard, Stefan
Peharz, Robert
Machine Learning
Cryptography and Security
Detecting weaknesses in cryptographic algorithms is of utmost importance for designing secure information systems. The state-of-the-art soft analytical side-channel attack (SASCA) uses physical leakage information to make probabilistic predictions about intermediate computations and combines these "guesses" with the known algorithmic logic to compute the posterior distribution over the key. This attack is commonly performed via loopy belief propagation, which, however, lacks guarantees in terms of convergence and inference quality. In this paper, we develop a fast and exact inference method for SASCA, denoted as ExSASCA, by leveraging knowledge compilation and tractable probabilistic circuits. When attacking the Advanced Encryption Standard (AES), the most widely used encryption algorithm to date, ExSASCA outperforms SASCA by more than 31% top-1 success rate absolute. By leveraging sparse belief messages, this performance is achieved with little more computational cost than SASCA, and about 3 orders of magnitude less than exact inference via exhaustive enumeration. Even with dense belief messages, ExSASCA still uses 6 times less computations than exhaustive inference.
title Exact Soft Analytical Side-Channel Attacks using Tractable Circuits
topic Machine Learning
Cryptography and Security
url https://arxiv.org/abs/2501.13748