Skip to content

Redesigning PKI For IoT Because Crypto is Hard

Brian Knopf

As the previous Director of Security at companies like Linksys, Belkin, and Wink, I learned hard lessons about the pitfalls of PKI. This was especially true on IoT devices, where the responsibility was on consumers or...

Summary

### The Reality of PKI in Constrained IoT Hardware At 00:00, Brian Knopf reflects on his tenure as Director of Security at major consumer hardware manufacturers including Linksys, Belkin, and Wink. He introduces the central dilemma of connected device security: while Public Key Infrastructure (PKI) is widely heralded as the gold standard for authentication and encryption, implementing traditional enterprise PKI on cost-constrained, resource-limited IoT hardware is exceptionally difficult and fraught with implementation pitfalls.

### Common Cryptographic Pitfalls in Mass Production At 08:15 and 15:30, Knopf outlines the most prevalent cryptographic mistakes made by consumer electronics manufacturers. Constrained devices frequently lack hardware Real-Time Clocks (RTCs), meaning devices boot with clocks set to the Unix epoch or build dates, causing immediate TLS certificate expiration validation failures. Furthermore, manufacturers routinely hardcode identical private keys across entire product lines in unencrypted SPI flash memory or predictable filesystem paths, allowing an attacker who extracts one key to compromise millions of devices.

### The Broken State of Certificate Revocation At 22:44, the speaker examines the near-total failure of standard certificate revocation mechanisms on embedded devices. Certificate Revocation Lists (CRLs) quickly grow too large to fit in limited device RAM, while Online Certificate Status Protocol (OCSP) requests fail when devices operate behind strict enterprise firewalls or suffer intermittent internet connectivity. When a private key is leaked in production, IoT vendors find themselves incapable of revoking trust without permanently bricking deployed hardware.

### Hardware Roots of Trust and Secure Elements At 30:10 and 36:40, Knopf advocates for integrating hardware-based roots of trust into IoT bill-of-materials. He explains how low-cost crypto coprocessors, Trusted Platform Modules (TPMs), and secure elements (such as Microchip ATECC chips) allow private keys to be generated and stored securely on silicon, preventing key extraction via bus sniffing or flash dumping. He emphasizes that unique, per-device asymmetric certificates must be injected during factory provisioning.

### Designing Resilient, Manageable IoT PKI Architectures Concluding from 39:20 to 43:57, Knopf presents architectural blueprints for modern IoT PKI. He recommends deploying dedicated device certificate authorities (CAs), implementing automated certificate renewal protocols, decoupling cryptographic validation from static system clocks, and establishing secure over-the-air firmware recovery pipelines so that security teams can rotate root certificates without disrupting critical consumer services.

(AI summary — Gemini 3.8 Flash)

Related talks

IoT Village·35 min

  • DEF CON
  • Blue Team
  • Date: Aug 2017
  • Location: Las Vegas

Aaron Guzman

Today, most vehicle manufacturers in the US connect their vehicles to a type of network and delegate controls to mobile or web applications upon vehicle purchasing. Thankfully, security research for consumer devices a...

iotvulnerabilitiesautomotive+1

IoT Village·1 hr

  • DEF CON
  • Red Team
  • Date: Aug 2017
  • Location: Las Vegas

Zenofex, 0x00string, CJ 000, Maximus64

Get out your rollerblades, plug in your camo keyboard, and fire up your BLT drive. It's 25 years later and we're still hacking the planet. The Exploitee.rs are back with new 0day, new exploits and more fun. Celebratin...

iotvulnerabilitiescryptography