Simple Power Analysis on Post-Quantum Code Based Cryptosystems
This paper demonstrates that Simple Power Analysis combined with machine learning can successfully extract secret bits from the McEliece and BIKE post-quantum cryptosystems using only 200 power traces, revealing significant information leakage during the decapsulation phase.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a high-tech, futuristic lockbox designed to keep your secrets safe, even from super-computers of the future (Quantum Computers). This paper is about a student named Konstantinos who decided to see if these "unbreakable" boxes actually have a secret backdoor, not in the math, but in the way they physically behave when they work.
Here is the story of the experiment, broken down into simple parts:
1. The "Whispering" Lockbox
The paper focuses on two specific types of futuristic locks called McEliece and BIKE. These are designed to be "Post-Quantum," meaning they are built to survive attacks from quantum computers.
Usually, people think security is all about the math. If the math is hard, the lock is safe. But Konstantinos looked at the physical side. He realized that when a computer unlocks a box, it doesn't just think; it also "sweats." It uses electricity, and that electricity creates tiny, invisible ripples in the air (electromagnetic waves) and changes how much power it draws.
Think of it like a safe-cracker listening to a safe. Even if the combination is perfect, the safe might make a tiny click or a whir when the right number is turned. That sound is a "leak." In the digital world, this leak is called Simple Power Analysis (SPA).
2. The "Low-Tech" Detective Kit
You might think you need a million-dollar lab to catch these leaks. Konstantinos proved you don't. He built a "detective kit" using cheap, off-the-shelf parts, similar to what a hobbyist might buy:
- The Target: A Raspberry Pi 3 (a tiny, cheap computer) acting as the lockbox.
- The Sensor: A tiny resistor (like a speed bump for electricity) to measure how much power the computer uses.
- The Amplifier: A small device to make the tiny electrical signals loud enough to hear.
- The Recorder: A Raspberry Pi Pico (another tiny computer) to write down the data.
It's like using a stethoscope and a notebook instead of a super-microscope to listen to a heartbeat.
3. The "Heartbeat" of the Secret
The experiment involved opening the lockbox (a process called decapsulation) to generate a secret key. As the computer did this, Konstantinos recorded the "heartbeat" (the power usage) of the machine.
He then asked a simple question: "Does the heartbeat change depending on the secret number being processed?"
To answer this, he used a statistical tool (a correlation coefficient) to see if the power spikes matched the secret bits (0s and 1s).
- The Result: Yes! The heartbeat changed. When the computer processed a "1," the power spike was different than when it processed a "0."
- The Proof: He found that the power traces and the secret bits were linked with a strength greater than 0.1 (a threshold that experts agree means "there is a leak").
4. Teaching a Computer to Read the Mind
The most interesting part was what happened next. Konstantinos didn't just look at the data; he taught a computer (using Machine Learning) to predict the secret bits based only on the power traces.
Imagine you have a bag of 200 secret notes. You give a robot the sound of the computer working, and ask it to guess the notes.
- The Outcome: The robot got it right more often than if it had just guessed randomly.
- The Specifics: The robot was particularly good at guessing the "1" bits because those caused bigger power spikes (like a louder heartbeat).
- The Score: The system was able to predict the secret information with a success rate (F1 score) consistently above 0.65, which is considered a significant leak in the world of cryptography.
5. The Conclusion
The paper concludes that even though these Post-Quantum locks are mathematically strong, their physical implementation on cheap hardware is "leaky."
- The Bad News: If you use these systems on simple devices without extra protection, a thief with a cheap kit could potentially steal your secret key just by listening to the power usage.
- The Future: The paper suggests that to fix this, engineers need to add "noise" or "masks" to hide the true heartbeat of the computer. It also notes that another system called HQC wasn't tested yet because it wasn't available in the software library used, leaving that as a job for future researchers.
In short: The paper shows that even the most advanced digital locks can be cracked by listening to their "whispers" if you know how to listen, and you don't need a supercomputer to do it—just a few dollars worth of electronics.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.