Adversarial Assertions

Assertions are statements that can be embedded inside any software program or hardware implementation for checking expected behaviors. They are widely used for validation of functional behaviors as well as faster bug localization. There are no prior efforts to investigate whether the assertions can be exploited by an adversary. In this paper, we demonstrate a timing side-channel attack by exploiting the assertion behaviors. Specifically, we show that an adversary can get unauthorized data by exploiting branch prediction methodologies as well as exception handling delay in assertions. Experimental results demonstrate that our attack is successful on multiple Intel and AMD processors. State-of-the-art Spectre fuzzing tools are unable to detect the attack from adversarial assertions. Therefore, the designers should consider the security implications before introducing assertions in their designs. We also propose a mitigation technique to defend against adversarial assertions.

Authors

Institutions

Publication Details

Published
2025-04-23
DOI
https://doi.org/10.1109/isqed65160.2025.11014430
Primary Topic
History of Science and Medicine
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adversarial Assertions

Prabhat Mishra
History of Science and Medicine
article

Adversarial Assertions

Prabhat Mishra
article en

Abstract

Assertions are statements that can be embedded inside any software program or hardware implementation for checking expected behaviors. They are widely used for validation of functional behaviors as well as faster bug localization. There are no prior efforts to investigate whether the assertions can be exploited by an adversary. In this paper, we demonstrate a timing side-channel attack by exploiting the assertion behaviors. Specifically, we show that an adversary can get unauthorized data by exploiting branch prediction methodologies as well as exception handling delay in assertions. Experimental results demonstrate that our attack is successful on multiple Intel and AMD processors. State-of-the-art Spectre fuzzing tools are unable to detect the attack from adversarial assertions. Therefore, the designers should consider the security implications before introducing assertions in their designs. We also propose a mitigation technique to defend against adversarial assertions.

University of Florida (US)
Openalex Percentile: Top 83%
History of Science and Medicine
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.