Power Analysis Attack: Cracking a Secure Enclave Key Byte
Interactive correlation power analysis (CPA) simulator: watch a side-channel attack recover one AES key byte from a mobile secure-enclave chip by correlating simulated power traces against a Hamming-weight leakage model across all 256 key hypotheses.
Every time a mobile secure-enclave chip runs a key through the AES S-box, its instantaneous power draw leaks a tiny signal correlated with the data being processed. This simulator captures that leakage as a stream of noisy power traces and runs a real Correlation Power Analysis (CPA) attack against all 256 possible values of one secret key byte: for each trace it computes the Hamming weight of the hypothetical S-box output under every key guess, then Pearson-correlates that hypothesis against the measured power stream. The 256 candidate keys are rendered as a 3D bar field whose heights are their live correlation coefficients — watch the true key's bar rise out of the noise floor as more traces accumulate, tune the noise level to see how much harder that makes the attack, and compare the live readouts against the revealed ground-truth key.
An interactive correlation power analysis (CPA) simulator: capture simulated power traces from a mobile secure-enclave chip's AES S-box computation and watch a side-channel attack recover one secret key byte out of 256 candidates as the trace count grows.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install