Hardware Security Fundamentals and Threat Model
You'll learn what hardware-level threats look like and why software security alone can't protect against physical attacks.
The Hardware Security Challenge
While we've focused on firmware and software vulnerabilities, hardware represents the physical foundation of all security. If an attacker compromises hardware, every security control built on top—encryption, authentication, secure boot—can be undermined.
Think of it like this: no matter how strong your door locks (software security), if someone can dig under your foundation or tamper with the walls themselves (hardware), they bypass everything.
Core Hardware Threats
Physical Tampering
Direct manipulation of device components—opening enclosures, probing circuit boards, desoldering chips, or injecting signals through test interfaces like JTAG and UART. Attackers can extract encryption keys from memory chips or modify hardware to bypass security checks.
Side-Channel Attacks
Exploiting unintended information leakage from physical characteristics:
- Power analysis: Measuring power consumption patterns to deduce cryptographic keys
- Timing attacks: Observing how long operations take
- Electromagnetic emanation: Capturing radio signals devices emit during computation
- Acoustic analysis: Even sound from components can leak secrets
Supply Chain Compromises
Malicious modifications inserted during manufacturing, assembly, or distribution. An attacker might replace genuine components with backdoored versions or intercept shipments to implant hardware trojans—tiny malicious circuits hidden in chips.
Why This Matters for IoT
IoT and embedded devices are particularly vulnerable because they're often physically accessible to attackers, deployed in uncontrolled environments, and lack tamper-resistant enclosures. The Secure Enclave concepts you learned earlier exist precisely to defend against these hardware-level threats.
Key Takeaway: Hardware security addresses physical tampering, side-channel information leakage, and supply chain attacks—threats that exist below the software layer and require purpose-built defensive hardware, secure manufacturing, and tamper detection mechanisms.