B3 Product security
Keeping control of a device someone else holds: signed firmware and a chain of trust, A/B updates with trial boots and anti-rollback, timing and power side…
Lessons
- Signed firmware and the chain of trust · Hashes, HMACs and signatures, a root of trust, key management, encryption and anti-rollback versions.
- A/B updates, trial boots and rollback · Two slots, verifying in place, an atomic boot record, the trial boot and when to confirm.
- Side channels and glitches · Timing and power side channels, constant-time code, glitching single decisions, and lockouts that hold.
- Reading a firmware dump · Vector tables, strings and disassembly, what attackers look for, and protecting the image.