Saturday, October 10, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

AI Learns to Break Encryption by Listening to a Chip’s Power Whispers

October 10, 2026
in Technology and Engineering
Blake Davidson
By Blake Davidson Scienmag Editorial Profile - Data Science
Reading Time: 6 mins read
0
AI Learns to Break Encryption by Listening to a Chip’s Power Whispers

AI Learns to Break Encryption by Listening to a Chip's Power Whispers

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Every time a smartphone encrypts a message or a smart card verifies a payment, the tiny silicon inside it leaks secrets. Not through software bugs or weak passwords, but through physics itself: the fluctuating draw of electrical power, the faint hum of electromagnetic radiation, and even millisecond-level timing delays all betray something about the calculations happening within. This is the domain of side-channel analysis, a field of cryptology that has matured from a laboratory curiosity into one of the most practical threats facing embedded security. Now, a team of researchers in China has shown that a machine learning technique borrowed from computer vision can dramatically sharpen one of the oldest weapons in this arsenal, recovering encryption key relationships with success rates that leap far beyond what previous methods could achieve.

The technique, described in the open-access journal Cybersecurity, is called CL-SCCA, short for Contrastive Learning-based Side-channel Collision Attack. It was developed by Zoushaojie Jiang, An Wang, Annyu Liu, Yaoling Ding, Jingqi Zhang, Jiakun Li, and Liehuang Zhu, most of them affiliated with the Beijing Institute of Technology. Their work targets a family of attacks known as side-channel collision attacks, which were first proposed by Kai Schramm and colleagues back in 2003 as a way of attacking the DES block cipher. The core idea behind collision attacks is elegant: rather than guessing the value of a secret key byte directly, an attacker looks for moments when two different internal operations of a cipher produce the same intermediate value. When two S-box outputs in the Advanced Encryption Standard, for example, collide, the attacker learns that the XOR of the two corresponding key bytes equals the XOR of the two known plaintext bytes. Recover enough of these pairwise relationships, and the entire key space collapses. Instead of searching through an astronomically large key space, the attacker needs only to enumerate a single reference byte, reducing the search to a trivial 256 possibilities.

For two decades, the weak link in collision attacks has been the collision detector itself. Traditional approaches rely on hand-crafted statistical distinguishers, typically correlation coefficients, to measure how similar the power traces of two different byte operations look. The trouble is that real hardware is messy. Noise floods the measurements, leakage signals are nonlinear, and the leakage from one byte position may be shifted in time or distorted in shape compared with another. Under these conditions, simple statistical similarity measures struggle to uncover the hidden shared features that would reveal a genuine collision, and the recovered key relationships become unstable. The result is that collision attacks, despite their theoretical power, have often underperformed in practice.

Deep learning promised to change that. In 2023, Moritz Staib and Amir Moradi introduced DL-SCCA, the first deep learning-based side-channel collision attack. Their insight exploited a structural property of fixed-key encryption: under a fixed key, there is a one-to-one mapping between each plaintext byte and the intermediate S-box value it produces. A neural network can therefore be trained on the traces of one byte position, using plaintext values as labels, and then transferred to the traces of other bytes to infer key differences. This worked, but only up to a point. Because different key bytes are generally different, the same plaintext label can correspond to entirely different intermediate values at different byte positions. Training jointly on multiple bytes using plaintext labels would confuse the model, forcing it to pull together leakage features that actually belong to different secrets. DL-SCCA was therefore confined to learning from a single byte at a time, leaving the richer, multi-byte leakage distribution largely untapped.

This is where contrastive learning enters the picture. Contrastive learning is a self-supervised technique that rose to fame in image recognition, most famously through frameworks like SimCLR. Its central trick is to learn representations without labels: two randomly augmented views of the same input are pulled together in the model’s representation space, while views of different inputs are pushed apart. Applied to power traces, this means the network can learn what makes a trace distinctive without ever being told which plaintext or key produced it. The researchers behind CL-SCCA realized this was exactly the missing ingredient. By pretraining an encoder on unlabeled traces drawn from multiple byte positions simultaneously, the model learns leakage features that are shared across bytes, precisely the transferable, collision-relevant structure that a single-byte supervised model cannot capture.

The technical pipeline is straightforward to describe but carefully engineered. After segmenting full traces into byte-specific leakage windows using sensitivity analysis, the method proceeds in three stages. First comes unsupervised pretraining: each trace is augmented twice using random shifting, random cropping, and random denoising, producing a positive pair, while augmented samples from other traces serve as negatives. A simple multilayer perceptron with four fully connected layers encodes these samples, and a projection head maps them into a 128-dimensional contrastive space where a normalized temperature-scaled cross-entropy loss does the pulling and pushing. Second, the projection head is discarded and a classification head is attached; the model is fine-tuned with plaintext labels from one chosen byte. Third, the fine-tuned model is applied to traces of target bytes, and candidate key differences are ranked by accumulating log-probabilities across attack traces. Notably, the researchers found that this simple MLP architecture outperformed a convolutional network variant, suggesting the gains come from the learning strategy rather than model size.

One subtlety threatened to undermine the whole approach. In a mini-batch mixing traces from several bytes, cross-byte negative samples vastly outnumber same-byte negatives. Because traces from different bytes differ in position, amplitude, and morphology, the model can separate them cheaply using these superficial byte-source cues rather than the fine-grained leakage features that actually matter for collision detection. The team’s solution is a byte-weighted contrastive loss, which assigns a reduced weight, controlled by a coefficient alpha, to cross-byte negative pairs. Gradient analysis shows this scales down the backpropagation contribution of cross-byte pairs, discouraging the model from wasting capacity on byte-identity discrimination. Ablation experiments on the ASCAD_F dataset showed that lowering alpha consistently reduced average key-rank and raised success rates, and t-SNE visualizations confirmed that the learned representations from different bytes overlapped far more when cross-byte repulsion was weakened.

The experimental results are striking. Across three public benchmark datasets, CL-SCCA achieved relative improvements in key-difference recovery success rate of approximately 14.88 percent on ASCAD_F, 77.73 percent on ASCAD_R, and 65.20 percent on DPA Contest v4 compared with the previous state of the art. On both ASCAD variants, the method drove the key-rank of the correct difference to zero for every target byte, meaning the right answer always surfaced at the top of the ranking. The method was not limited to AES: the team collected their own datasets for the Chinese national cipher SM4 on a 16-bit smart card and for the lightweight cipher PRESENT-128 on a 32-bit microcontroller, and in both cases the contrastive approach substantially outperformed DL-SCCA, demonstrating generality across different S-box sizes, cipher structures, and hardware platforms. Comparisons against other self-supervised baselines were equally decisive: an autoencoder-based method managed a recovery success rate below one percent, a Siamese network reached only about fifteen percent, while the byte-weighted variant of CL-SCCA exceeded eighty percent on ASCAD_F.

The study is candid about limits. On DPA Contest v4, which uses rotating S-box masking, cross-byte transfer proved harder: recovery results clustered into groups, and Pearson correlation analysis of group-averaged traces showed that leakage similarity between bytes within a group was high while similarity across groups was near zero. No loss function can erase such inherent leakage differences. The researchers also found that leakage window size matters in a non-monotonic way, with a 700-sample window on ASCAD_F outperforming both smaller and larger choices, because extra trace regions inject irrelevant information. Robustness tests against desynchronization and random delay countermeasures showed the contrastive approach still held the advantage, though the byte-weighted refinement lost its edge when perturbations made same-byte traces differ as much as cross-byte ones.

For defenders, the message is sobering. Masking countermeasures, long considered a robust shield, did not stop these attacks on any of the masked datasets tested. The work signals a broader trend in hardware security: self-supervised learning, which thrives on unlabeled data, is a natural fit for realistic attack scenarios where adversaries cannot easily obtain labeled profiling traces from a clone device. The authors point toward future end-to-end frameworks that would jointly localize leakage, align cross-byte features, and recover keys directly from raw traces. As machine learning continues to lower the expertise and data barriers of side-channel attacks, the race between leakage and countermeasure design is entering a new, faster phase, and the chips guarding our keys will need every advantage physics and mathematics can offer.

Subject of Research: Contrastive learning-based side-channel collision attacks for recovering cryptographic key differences from power traces

Article Title: CL-SCCA: multi-byte contrastive learning for side-channel collision attacks on cryptosystems

Article References: Jiang, Z., Wang, A., Liu, A., Ding, Y., Zhang, J., Li, J., & Zhu, L. (2026). CL-SCCA: multi-byte contrastive learning for side-channel collision attacks on cryptosystems. Cybersecurity, 9(1), Article 232. https://doi.org/10.1186/s42400-026-00658-4

Image Credits: AI Generated

DOI: 10.1186/s42400-026-00658-4

Keywords: side-channel analysis, collision attack, contrastive learning, deep learning, cryptography, AES, SM4, PRESENT, power traces, masking countermeasures, key recovery, self-supervised learning

Cite Scienmag News

Blake Davidson. (October 10, 2026). AI Learns to Break Encryption by Listening to a Chip’s Power Whispers. Scienmag. https://scienmag.com/ai-learns-to-break-encryption-by-listening-to-a-chips-power-whispers/

Blake Davidson. "AI Learns to Break Encryption by Listening to a Chip’s Power Whispers." Scienmag, 10 October 2026, https://scienmag.com/ai-learns-to-break-encryption-by-listening-to-a-chips-power-whispers/. Accessed 10 October 2026.

Blake Davidson. "AI Learns to Break Encryption by Listening to a Chip’s Power Whispers." Scienmag. October 10, 2026. https://scienmag.com/ai-learns-to-break-encryption-by-listening-to-a-chips-power-whispers/

Tags: advancements in side-channel attack researchAEScollision attackcontrastive learningcontrastive learning-based collision attackcryptographycryptology security threatsdeep learningelectromagnetic radiation side channelsembedded device encryption vulnerabilitieskey recoverymachine learning in cryptographymasking countermeasuresphysical cryptography attack methodspower consumption attack techniquespower tracesPRESENTself-supervised learningside-channel analysisSM4smart card payment verification riskssmartphone message encryption securitytiming delay side-channel attacks
Share26Tweet16
Previous Post

Rice Farming’s Next Revolution: Microbes, Drones and AI Join Forces

Next Post

AI Reads Dental X-Rays With Anatomy Awareness to Spot Hidden Jawbone Infections

Related Posts

Greening the Gap: Poorer US Neighborhoods Are Cooling Down Faster Than Rich Ones
Technology and Engineering

Greening the Gap: Poorer US Neighborhoods Are Cooling Down Faster Than Rich Ones

October 10, 2026
Genes and early treatment clues reveal which Graves’ patients will defy standard therapy
Technology and Engineering

Genes and early treatment clues reveal which Graves’ patients will defy standard therapy

October 10, 2026
AI Coach Learns to Tailor College Workouts Using Deep Reinforcement Learning
Technology and Engineering

AI Coach Learns to Tailor College Workouts Using Deep Reinforcement Learning

October 10, 2026
New CO2 Wellbore Model Reveals How Compressibility Delays Pressure Underground
Technology and Engineering

New CO2 Wellbore Model Reveals How Compressibility Delays Pressure Underground

October 10, 2026
Machine Learning Maps the Microbial Tipping Points of Bacterial Vaginosis
Biology

Machine Learning Maps the Microbial Tipping Points of Bacterial Vaginosis

October 10, 2026
The Drafting Fiction: How Regulators Really Govern AI Scribes in Healthcare
Medicine

The Drafting Fiction: How Regulators Really Govern AI Scribes in Healthcare

October 10, 2026
Next Post
AI Reads Dental X-Rays With Anatomy Awareness to Spot Hidden Jawbone Infections

AI Reads Dental X-Rays With Anatomy Awareness to Spot Hidden Jawbone Infections

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27656 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • AI Reads Dental X-Rays With Anatomy Awareness to Spot Hidden Jawbone Infections
  • AI Learns to Break Encryption by Listening to a Chip’s Power Whispers
  • Rice Farming’s Next Revolution: Microbes, Drones and AI Join Forces
  • A Decade of Data Reveals the Hidden Burden of Substance-Induced Mental Disorders in US Treatment Centers

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,150 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading