SECURITY LAB // CONTROLLED VALIDATION
Attack the message, observe the guardrail
Select a fault. The normal and altered paths remain visible side by side.
ANIMATED PIPELINE // ONE PROTECTED MESSAGE
- 01 · SENDER
Receiver fingerprint pin
SHA-256(pk) == pinned BB82…29F5
… - 02 · SENDER
KEM encapsulation
ML-KEM-512-style → shared secret
… - 03 · SENDER
HKDF-SHA-256
shared secret → AES-256 key
… - 04 · SENDER
AES-256-CCM
22 B plaintext → 874 B protected
… - 05 · RECEIVER
Device HMAC-SHA-256
per-device key over header + ciphertext
… - 06 · RECEIVER
Sequence counter
seq > last accepted (EasyFlash)
… - 07 · SENDER
Authenticated ACK
CoAP 0x44 2.04 Changed
…
Illustration of the firmware's check order using measured sizes (22 → 874 → 890 B). No cryptography runs in the browser.
NORMAL FLOW
Protected packet
Identity + freshness checks
Authenticated plaintext
ATTACK FLOW
Replay attack
Old / equal sequence
Compare persistent counter
REPLAY_REJECTED
EASYFLASH // SENDER
Sequence reservation
EASYFLASH // RECEIVER
Keypair + last accepted sequence
Boot does not reset freshness state.