Skip to content

A Post-Compilation Side-Channel Attack Countermeasure Framework for STM32

Aug 2026 · Midwest Symposium on Circuits and Systems · pp. 183-187 · 0 citations · 20 references

Abstract

The prolific deployment of embedded systems across critical infrastructure has made hardware security a pressing concern. For example, inexpensive microcontrollers, such as the STM32 series, are frequently deployed with cryptographic firmware that is vulnerable to Side-Channel Attack (SCA), such as Correlation Power Analysis (CPA). Subsequently, manually implementing existing software-based countermeasures, including random delays and instruction shuffling, can be difficult, tedious, and error-prone. This work presents an automated, toolchain-agnostic framework that secures existing firmware by injecting random jitter and dummy instructions at the assembly level. Furthermore, a software-based AES-128 implementation on an STM32F446RE is utilized to validate the proposed framework through a minimalist power analysis setup. Evaluation indicated that the average Guessing Entropy (GE) increased from 75.9 at baseline to 153.5, rendering key recovery impractical. Moreover, the proposed framework suppressed maximum correlation to noise levels $\left(\rho_{\text {avg }}=0.039\right)$ across all 16 key bytes, resulting in a 0% CPA success rate. In addition, the hardening techniques are lightweight and remain suitable for resource-constrained environments.

View source

Similar papers

Review Open access 2026

Analysis of Countermeasures Techniques Against Side-Channel Attacks on Electronic Circuits: A Review

Side-channel attacks (SCAs) exploit unintended physical leakages in digital systems, such as power consumption, electromagnetic emissions, and execution time, to extract sensitive information, including cryptographic keys. This article presents a comprehensive comparative study of several families of countermeasures, i...

Yahaya Coulibaly, Ousmane Traoré, Daouda Traoré · 0 citations
Open access Sep 2026

A Secure Logic Locking Integration Technique for AES Algorithm

The globalization of semiconductor manufacturing has increased vulnerabilities such as hardware Trojan insertion, overbuilding, reverse engineering, and intellectual property piracy. Logic locking has emerged as an effective countermeasure to protect integrated circuits using secret key activation. The Advanced Encrypt...

P. M, S. P · 0 citations
2026

Coupling Leakage in Theory and Practice - Unveiling (Post-PnR) Security Flaws in Masked FPGA-Mapped Designs

This work focuses on detecting (low-level) vulnerabilities in masked FPGA designs through experimental and tool-assisted evaluation and shows how to formally abstract, unveil, and mitigate such leakages, thereby enabling a security-aware FPGA design flow that spans from the behavioral to the physical level.

Nicolai Müller, Daniel Lammers, Simon Osterheider et al. · 0 citations
Open access Sep 2026

Coupling Leakage in Theory and Practice

This work focuses on detecting (low-level) vulnerabilities in masked FPGA designs through experimental and tool-assisted evaluation and shows how to formally abstract, unveil, and mitigate such leakages, thereby enabling a security-aware FPGA design flow that spans from the behavioral to the physical level.

Nicolai Müller, Daniel Lammers, Simon Osterheider et al. · 0 citations
Open access Sep 2026

An Evidence-Based Framework for Hardware Security Evaluation Using Side-Channel Analysis: Leakage Detection, Key-Recovery Validation, and Robustness Assessment

Side-channel analysis (SCA) remains a significant threat to embedded cryptographic implementations, yet hardware security evaluation often lacks a systematic workflow that links leakage detection, exploitability validation, trace-efficiency estimation, and robustness assessment. Rather than proposing a new leakage dist...

Arvind Sharma, Shao-Fang Wen · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.