ECTester: Reverse-engineering side-channel countermeasures of ECC implementations
The result's identifiers
Result code in IS VaVaI
<a href="https://www.isvavai.cz/riv?ss=detail&h=RIV%2F00216224%3A14330%2F25%3A00141400" target="_blank" >RIV/00216224:14330/25:00141400 - isvavai.cz</a>
Result on the web
<a href="https://tches.iacr.org/index.php/TCHES/article/view/12411" target="_blank" >https://tches.iacr.org/index.php/TCHES/article/view/12411</a>
DOI - Digital Object Identifier
<a href="http://dx.doi.org/10.46586/tches.v2025.i4.290-316" target="_blank" >10.46586/tches.v2025.i4.290-316</a>
Alternative languages
Result language
angličtina
Original language name
ECTester: Reverse-engineering side-channel countermeasures of ECC implementations
Original language description
Developers implementing elliptic curve cryptography (ECC) face a wide range of implementation choices created by decades of research into elliptic curves. The literature on elliptic curves offers a plethora of curve models, scalar multipliers, and addition formulas, but this comes with the price of enabling attacks to also use the rich structure of these techniques. Navigating through this area is not an easy task and developers often obscure their choices, especially in black-box hardware implementations. Since side-channel attackers rely on the knowledge of the implementation details, reverse engineering becomes a crucial part of attacks. This work presents ECTester --- a tool for testing black-box ECC implementations. Through various test suites, ectester observes the behavior of the target implementation against known attacks but also non-standard inputs and elliptic curve parameters. We analyze popular ECC libraries and smartcards and show that some libraries and most smartcards do not check the order of the input points and improperly handle the infinity point. Based on these observations, we design new techniques for reverse engineering scalar randomization countermeasures that are able to distinguish between group scalar randomization, additive, multiplicative or Euclidean splitting. Our techniques do not require side-channel measurements; they only require the ability to set custom domain parameters, and are able to extract not only the size but also the exact value of the random mask used. Using the techniques, we successfully reverse-engineered the countermeasures on 13 cryptographic smartcards from 5 major manufacturers -- all but one we tested on. Finally, we discuss what mitigations can be applied to prevent such reverse engineering, and whether it is possible at all.
Czech name
—
Czech description
—
Classification
Type
D - Article in proceedings
CEP classification
—
OECD FORD branch
10201 - Computer sciences, information science, bioinformathics (hardware development to be 2.2, social aspect to be 5.8)
Result continuities
Project
<a href="/en/project/VJ02010010" target="_blank" >VJ02010010: Tools for AI-enhanced Security Verification of Cryptographic Devices</a><br>
Continuities
P - Projekt vyzkumu a vyvoje financovany z verejnych zdroju (s odkazem do CEP)
Others
Publication year
2025
Confidentiality
S - Úplné a pravdivé údaje o projektu nepodléhají ochraně podle zvláštních právních předpisů
Data specific for result type
Article name in the collection
IACR Transactions on Cryptographic Hardware and Embedded Systems
ISBN
—
ISSN
2569-2925
e-ISSN
—
Number of pages
27
Pages from-to
290-316
Publisher name
Ruhr-University of Bochum
Place of publication
Německo
Event location
Kuala Lumpur, Malaysia
Event date
Sep 14, 2025
Type of event by nationality
WRD - Celosvětová akce
UT code for WoS article
—