Science and Technology
Hardware Security
A Comprehensive Reference
AI generated by Nikhil Kumar Rajput
From silicon to systems: TPM, HSM, PUF, TEE, secure boot, side channels, FPGA, IoT, automotive, medical, ICS and chiplet security
In the reading list Cyber security foundations (book 3 of 3)
39 chapters
Contents¶
Front matter
Part I: Hardware Security Foundations
Chapter 1: Trusted Platform Module (TPM 2.0)
- 1.1 Introduction and Historical Context
- 1.2 TPM 2.0 Architecture
- 1.3 TPM 2.0 Commands and tpm2-tools
- 1.4 Python Remote Attestation with tpm2-pytss
- 1.5 FPGA and ASIC Implementations
- 1.6 Security Attacks and Countermeasures
- 1.7 Post-Quantum Considerations for TPM 2.0
- 1.8 TPM Ecosystem: All Solutions
- 1.9 Relevant Standards and Specifications
- 1.10 Solved Problems
- 1.11 Recent Developments (2024–2026)
- 1.11.1 TCG TPM 2.0 Profile for Automotive (2024)
- 1.11.2 Microsoft Pluton: Integrated TPM Replacement
- 1.11.3 CVE-2023-1017 and CVE-2023-1018: TPM 2.0 Reference Buffer Overflows
- 1.11.4 faulTPM: AMD fTPM Voltage Glitch Attack (2023)
- 1.11.5 Post-Quantum Migration: FIPS 203/204 in TPM 2.0 (2024–2025)
- 1.11.6 Open-Source TPM Ecosystem Updates (2023–2025)
- 1.12 Exercises
Chapter 2: Hardware Security Module (HSM)
- 2.1 Introduction
- 2.2 FIPS 140-3 Security Levels
- 2.3 HSM Internal Architecture
- 2.4 PKCS#11 API
- 2.5 Commercial HSM Products
- 2.6 Key Ceremony Procedures
- 2.7 Payment HSM Operations
- 2.8 Python Interface: PyKCS11
- 2.9 FPGA-Based HSM Implementation
- 2.10 HSM Security Attacks and Countermeasures
- 2.11 All HSM Solutions Ecosystem
- 2.12 Standards and Specifications
- 2.13 Solved Problems
- 2.14 Recent Developments (2024–2026)
- 2.14.1 Entrust nShield 5s and 5c (2024): FIPS 140-3 Level 3 with PQC
- 2.14.2 AWS CloudHSM v3 and External Key Store (XKS) Integration (2024)
- 2.14.3 PKCS#11 3.0 Standard (2023): Post-Quantum Mechanism IDs
- 2.14.4 HSM-as-a-Service: Azure Managed HSM and GCP Cloud HSM (2024)
- 2.14.5 Thales Luna Network HSM 7.x PQC Firmware (2024)
- 2.14.6 HSM Post-Quantum Migration Strategy: Hybrid Keys and Dual-Algorithm Signing
- 2.15 Exercises
Chapter 3: Physically Unclonable Functions (PUF)
- 3.1 Introduction
- 3.2 Arbiter PUF
- 3.3 Ring Oscillator PUF (RO-PUF)
- 3.4 SRAM PUF
- 3.5 Fuzzy Extractor
- 3.6 Machine Learning Attacks on PUFs
- 3.7 PUF Hardware Implementations
- 3.8 PUF Quality Metrics
- 3.9 All PUF Solutions Ecosystem
- 3.10 Standards and Specifications
- 3.11 Solved Problems
- 3.12 Recent Developments (2024–2026)
- 3.12.1 Deep Learning Attacks on PUFs (2023–2024)
- 3.12.2 New PUF Types: Memristor PUF and SRAM PUF in 3 nm Processes
- 3.12.3 ISO/IEC 20897-1:2020 Updated Guidance (2024)
- 3.12.4 PUF-Based Key Generation for Post-Quantum Algorithms
- 3.12.5 NIST SP 800-90B Application to PUF Entropy Assessment
- 3.12.6 Commercial PUF: Intrinsic ID BroadKey 3.0 and Verayo PUF-PHY
- 3.13 Exercises
Chapter 4: Trusted Execution Environment (TEE)
- 4.1 Introduction
- 4.2 TEE Landscape
- 4.3 Intel SGX
- 4.4 ARM TrustZone
- 4.5 AMD SEV-SNP
- 4.6 Confidential Computing Consortium
- 4.7 Attacks on TEEs
- 4.8 Standards
- 4.9 FPGA TEE Implementations
- 4.10 ASIC TEE Implementations
- 4.11 TEE Software Solutions Reference
- 4.12 TEE Architecture Comparison Diagram
- 4.13 Advanced Attacks on TEEs
- 4.14 Code Examples
- 4.15 Standards and Specifications
- 4.16 Key GitHub Repositories
- 4.17 Solved Problems
- 4.18 Recent Developments (2024–2026)
- 4.18.1 ARM CCA: Realm Management Extension (RMEv1)
- 4.18.2 Intel TDX 1.5 (2024): Improved Attestation and Nested VMs
- 4.18.3 AMD SEV-SNP Improvements (2024)
- 4.18.4 RISC-V Keystone 2.0 TEE Framework
- 4.18.5 OP-TEE 4.0 (2024): FIDO2 and Improved Secure Storage
- 4.18.6 TEE Attacks: CacheWarp and TDXDown (2023–2024)
- 4.18.7 GlobalPlatform TEE Protection Profile 1.3
- 4.19 Exercises
Chapter 5: Hardware Root of Trust
- 5.1 Introduction
- 5.2 HRoT Architecture Components
- 5.3 Commercial HRoT Chips
- 5.4 OpenTitan: Open-Source HRoT
- 5.5 DICE Architecture
- 5.6 TikZ Diagrams
- 5.7 FPGA Implementation Table
- 5.8 ASIC Implementation Table
- 5.9 All Solutions: Hardware Root of Trust
- 5.10 Solved Problems
- 5.11 Recent Developments (2024–2026)
- 5.11.1 OpenTitan Earl Grey Silicon Tapeout (lowRISC, 2023)
- 5.11.2 Microsoft Pluton as Integrated Root of Trust (AMD Ryzen 6000+)
- 5.11.3 TCG DICE Layering Architecture v1.1 (2023)
- 5.11.4 NIST SP 800-193 Revision 2 Draft (2024): Platform Firmware Resiliency
- 5.11.5 Google Titan M2 (Tensor G3, 2023): Secure Element Plus RoT Combo
- 5.11.6 Apple Secure Enclave (A17 Pro, 2023): 3 nm with Hardware Post-Quantum
- 5.12 Exercises
- 5.13 Famous Repositories
- 5.14 Standards
Part II: Attack Detection and Defense
Chapter 6: Side-Channel Attack Protection
- 6.1 Side-Channel Attack Taxonomy
- 6.2 Measurement Setup and Hardware
- 6.3 Countermeasures
- 6.4 SCALib Python CPA Attack
- 6.5 Evaluation Standards
- 6.6 Open-Source Repositories
- 6.7 Solved Problems
- 6.8 FPGA Implementation of SCA-Resistant AES
- 6.9 ASIC Implementation Metrics
- 6.10 Recent Developments (2024–2026)
- 6.10.1 INCEPTION Attack: AMD Zen 3/4 Speculative Execution (2023)
- 6.10.2 iLeakage: Apple M1/M2/A-Series Safari Side-Channel (2023)
- 6.10.3 RowHammer on DDR5 (2024): Target Row Refresh Failures
- 6.10.4 AEPIC Leak (2022–2023): Intel CPU Architectural Bug Leaking SGX Secrets
- 6.10.5 Composable Masking Schemes (2024): Hardware-Friendly d+1 Sharing
- 6.10.6 ChipWhisperer Pro Updates and SCALib 2.0
- 6.10.7 ISO/IEC 17825:2023 Update for Side-Channel Testing
- 6.11 Exercises
Chapter 7: Hardware Trojan Detection
- 7.1 Hardware Trojan Taxonomy
- 7.2 Detection Methods
- 7.3 Logic Locking
- 7.4 TRUST-HUB Benchmarks
- 7.5 Split Manufacturing and Supply Chain Security
- 7.6 FPGA-Based Trojan Detection
- 7.7 ASIC Ring Oscillator Sensor Array
- 7.8 GNN-Based Trojan Detection: Python Implementation
- 7.9 Verilog Trojan Example and Detection
- 7.10 Open-Source Tools and Repositories
- 7.11 Solved Problems
- 7.12 Recent Developments (2024–2026)
- 7.12.1 IARPA TrojAI Program Results (2023–2024)
- 7.12.2 GNN on Netlist Graphs: 2023–2024 State of the Art
- 7.12.3 OpenTitan Supply Chain Verification Model
- 7.12.4 Supermicro Supply Chain Investigation: 2023 Updates
- 7.12.5 EU Cyber Resilience Act: Hardware Trojan Provisions (2024)
- 7.12.6 NIST SP 800-161r1: Hardware Supply Chain Risk Management
- 7.13 Exercises
Chapter 8: Secure Boot
- 8.1 Secure Boot Fundamentals
- 8.2 ARM Trusted Firmware-A Boot Stages
- 8.3 MCUboot Secure Boot for Embedded Systems
- 8.4 FPGA Secure Boot Implementation
- 8.5 ASIC Secure Boot Implementation
- 8.6 Secure Boot Attack Vectors
- 8.7 Anti-Rollback and Measured Boot
- 8.8 Secure Boot Standards
- 8.9 Solved Problems
- 8.10 Recent Developments (2024–2026)
- 8.10.1 BlackLotus UEFI Bootkit and CVE-2023-24932
- 8.10.2 Shim RCE Vulnerability: CVE-2023-40547
- 8.10.3 AMD Platform Secure Boot Updates (2024)
- 8.10.4 NIST SP 800-147C Draft: BIOS/UEFI Protection (2024)
- 8.10.5 Secure Boot for RISC-V (UEFI Forum Specification, 2023)
- 8.10.6 Google Verified Boot 2.0 for Android 14 (2023)
- 8.11 Exercises
Chapter 9: True Random Number Generator (TRNG)
- 9.1 Introduction
- 9.2 Random Number Taxonomy
- 9.3 Physical Entropy Sources
- 9.4 Hardware TRNG Designs
- 9.5 NIST SP 800-90B Health Tests
- 9.6 NIST SP 800-90A DRBG Algorithms
- 9.7 Post-Processing and Conditioning
- 9.8 TikZ Diagrams
- 9.9 FPGA TRNG Implementation Table
- 9.10 ASIC TRNG Implementation Table
- 9.11 All Solutions: TRNG
- 9.12 Solved Problems
- 9.13 Recent Developments (2024–2026)
- 9.13.1 NIST SP 800-90C Final (2024): Construction of RNGs from Entropy Sources
- 9.13.2 Intel RDRAND/RDSEED on 13th/14th Gen Raptor Lake
- 9.13.3 Quantum RNG (QRNG): ID Quantique Quantis 3.0 and 5G Integration
- 9.13.4 ARM TrustZone RNG in Cortex-M85 (ARMv8.1-M)
- 9.13.5 Post-Quantum Seeding: NIST Recommendation for 256-Bit Security Entropy
- 9.13.6 ENISA Entropy Assessment Guidelines (2024)
- 9.14 Exercises
- 9.15 Famous Repositories
- 9.16 Standards
Part III: Platform and System Security
Chapter 10: FPGA Security
- 10.1 Introduction
- 10.2 FPGA Architecture and Security Primitives
- 10.3 Bitstream Encryption and Authentication
- 10.4 FPGA-Based PUF Implementations
- 10.5 Side-Channel Attacks on FPGAs
- 10.6 Hardware Trojans in FPGA
- 10.7 Multi-Tenant FPGA Security (Cloud)
- 10.8 FPGA Secure Boot and TikZ Diagrams
- 10.9 FPGA Implementation Table
- 10.10 ASIC Implementation Table
- 10.11 All Solutions: FPGA Security
- 10.12 Solved Problems
- 10.13 Recent Developments (2024–2026)
- 10.13.1 Intel Agilex 7 Security Features
- 10.13.2 AMD Versal AI Core Series Security Hardening (2024)
- 10.13.3 FPGA Bitstream Encryption Attacks on UltraScale+ (2023)
- 10.13.4 MicroBlaze-V (RISC-V Soft Core) Security Model
- 10.13.5 eFPGA IP Security: Flex Logix EFLX and Menta eFPGA
- 10.13.6 EU Chips Act Provisions for FPGA Security Evaluation
- 10.14 Exercises
- 10.15 Famous Repositories
- 10.16 Standards
Chapter 11: IOMMU and DMA Protection
- 11.1 DMA Attack Fundamentals
- 11.2 Intel VT-d Architecture
- 11.3 AMD IOMMU (AMD-Vi)
- 11.4 ARM SMMU v3.2
- 11.5 Thunderbolt Security Levels and Mitigations
- 11.6 Kernel DMA Protection and Windows HVCI
- 11.7 FPGA DMA Controller and PCILeech Firmware
- 11.8 Solutions Comparison
- 11.9 Solved Problems
- 11.10 Recent Developments (2024–2026)
- 11.10.1 Thunderbolt 4 and USB4 Security Updates (2023–2024)
- 11.10.2 PCIe 6.0 IDE: Integrity and Data Encryption
- 11.10.3 CVE-2023-20593: AMD Zenbleed (Zen 2 XMM Register Disclosure)
- 11.10.4 Linux Kernel DMA-IOMMU Improvements (Kernels 6.1–6.8)
- 11.10.5 ARM SMMU v3.2 (2023): Nested Translation and Broadcast TLB Invalidation
- 11.10.6 CXL 3.0 Security: Memory Pooling and Trust Boundaries
- 11.11 Exercises
Chapter 12: Memory Security
- 12.1 DRAM Architecture and Rowhammer
- 12.2 DRAM Rowhammer Mitigations
- 12.3 AMD Memory Encryption: SME, TSME, and SEV
- 12.4 Intel Total Memory Encryption (TME) and MKTME
- 12.5 ARM Memory Tagging Extension (MTE)
- 12.6 Cold Boot Attacks and TRESOR Defense
- 12.7 FPGA Memory Security Implementations
- 12.8 Solutions Comparison
- 12.9 Solved Problems
- 12.10 Recent Developments (2024–2026)
- 12.10.1 Rowhammer on DDR5: JEDEC PER Specification (2024)
- 12.10.2 Half-Double / Rowhammer++: Adjacent-Row and ECC Bypass Attacks
- 12.10.3 AMD SEV-SNP Improvements in EPYC 9004 (Genoa, 2023)
- 12.10.4 Intel TDX and TME-MK on Sapphire Rapids (2023)
- 12.10.5 CXL Memory Security: Trust Domains in CXL 3.0
- 12.10.6 LPDDR5X Mobile Integrity Checking: Qualcomm Oryon (2024)
- Exercises
Chapter 13: Anti-Tamper Technologies
- 13.1 Anti-Tamper Threat Model
- 13.2 Tamper Detection Mechanisms
- 13.3 Secure Key Storage and Zeroization
- 13.4 TEMPEST and Electromagnetic Security
- 13.5 Physical Encapsulation and Potting
- 13.6 PCI PTS HSM Security Requirements
- 13.7 TikZ Diagrams: Anti-Tamper Architecture
- 13.8 Supply Chain Security
- 13.9 Solutions Comparison Table
- 13.10 FPGA and ASIC Implementation
- 13.11 Solved Problems
- 13.12 Recent Developments (2024–2026)
- 13.12.1 PCI PTS 6.x (2023–2024): Updated Point-of-Interaction Requirements
- 13.12.2 Physical Unclonable Functions for Tamper Evidence
- 13.12.3 Lattice MachXO3D: Dedicated Security Controller with Tamper Detection
- 13.12.4 Microchip CEC1736: T2-Style Security for Windows Laptops
- 13.12.5 PCIe CMA/SPDM: Component Measurement and Authentication
- 13.12.6 EU Cyber Resilience Act (CRA 2024): Tamper Requirements for Connected Products
- Exercises
Chapter 14: Hardware Attestation
- 14.1 Introduction
- 14.2 IETF RATS: Remote ATtestation procedureS (RFC 9334)
- 14.3 TPM 2.0 Attestation
- 14.4 DICE (Device Identifier Composition Engine)
- 14.5 SPDM: Security Protocol and Data Model
- 14.6 Intel TDX Attestation
- 14.7 AMD SEV-SNP Attestation
- 14.8 IEEE 802.1AR: Device Identity (IDevID / LDevID)
- 14.9 TikZ Diagrams
- 14.10 FPGA Implementation Table
- 14.11 ASIC Implementation Table
- 14.12 All Solutions: Hardware Attestation
- 14.13 Solved Problems
- 14.14 Recent Developments (2024–2026)
- 14.14.1 IETF RATS Architecture RFC 9334 (2022, Deployed 2023–2024)
- 14.14.2 TCG DICE Endorsement Architecture for Devices (2023)
- 14.14.3 NVIDIA Hopper Confidential Computing Attestation (H100 CC, 2023)
- 14.14.4 SPDM 1.3 (2023): PCIe and CXL Device Authentication
- 14.14.5 Microsoft Azure Attestation Service v2 (2024)
- 14.14.6 Keylime Remote Attestation v7.x (Linux Foundation, 2024)
- 14.15 Exercises
- 14.16 Famous Repositories
- 14.17 Standards
Part IV: Domain-Specific Hardware Security
Chapter 15: Automotive Hardware Security
- 15.1 Automotive Threat Landscape
- 15.2 Automotive E/E Architecture
- 15.3 CAN Bus Security
- 15.4 CAN SecOC – Secure Onboard Communication
- 15.5 SHE – Secure Hardware Extension
- 15.6 EVITA HSM Profiles
- 15.7 AURIX TC3xx HSM – Infineon TriCore
- 15.8 V2X Security – IEEE 1609.2 and SCMS
- 15.9 Uptane – OTA Security
- 15.10 ISO/SAE 21434 and UN ECE WP.29 Regulation 155
- 15.11 FPGA Automotive HSM Resource Utilization
- 15.12 C Code: SHE CMD_LOAD_KEY
- 15.13 C Code: SHE CMD_LOAD_KEY
- 15.14 Solved Problems
- 15.15 Recent Developments (2024–2026)
- 15.15.1 ISO/SAE 21434:2021 and UNECE WP.29 R155 Enforcement (2024)
- 15.15.2 V2X PKI: C-V2X (5G NR-V2X) vs. DSRC Hardware Comparison
- 15.15.3 Tesla Full Self-Driving Computer HW4 (2023) Security Architecture
- 15.15.4 Automotive HSM: Infineon SHE+ and NXP SE050 Automotive Grade
- 15.15.5 OTA Hardware Security: Signed Rollback Protection
- 15.15.6 AUTOSAR SecOC Hardware Requirements for Zone E/E Architectures
- 15.16 Exercises
Chapter 16: Post-Quantum Cryptography Hardware
- 16.1 Quantum Threat to Classical Cryptography
- 16.2 NIST PQC Standards – FIPS 203/204/205/206
- 16.3 ML-KEM (Kyber) – Module Learning With Errors KEM
- 16.4 NTT Butterfly Unit Hardware
- 16.5 ML-DSA (Dilithium) Hardware
- 16.6 SLH-DSA (SPHINCS+) Hardware
- 16.7 FN-DSA (Falcon) Hardware Challenges
- 16.8 Hybrid KEM: X-Wing and ECDH+ML-KEM
- 16.9 FPGA PQC Implementation Results
- 16.10 ASIC PQC Implementation
- 16.11 Side-Channel Attacks on PQC
- 16.12 PQC Software and Hardware Solutions
- 16.13 CNSA 2.0 Migration Timeline
- 16.14 GitHub Resources
- 16.15 Solved Problems
- 16.16 Recent Developments (2024–2026)
- 16.16.1 FIPS 203/204/205/206 Finalised August 2024: Deployment Status
- 16.16.2 CNSA 2.0 Implementation: NSA Guidance Updates (2024–2025)
- 16.16.3 X-Wing Hybrid KEM RFC Draft (2024): Hardware Implementation
- 16.16.4 Falcon/FN-DSA FPGA Optimisations (2024): Masked Gaussian Sampler
- 16.16.5 Apple PQ3 (ML-KEM-768) and Signal PQXDH (2024)
- 16.16.6 BIKE and HQC as NIST Additional Candidates (2024–2025)
- 16.17 Exercises
Chapter 17: JTAG and Debug Interface Security
- 17.1 JTAG Architecture – IEEE 1149.1
- 17.2 TAP State Machine
- 17.3 JTAG Instructions and Device Chaining
- 17.4 ARM CoreSight Debug Architecture
- 17.5 ARM Serial Wire Debug (SWD)
- 17.6 JTAG and SWD Debug Tools
- 17.7 Debug Security Mechanisms
- 17.8 FPGA JTAG Security Implementations
- 17.9 ASIC Debug Security Implementation
- 17.10 JTAG Attack Techniques and Tools
- 17.11 Debug Security Solutions Comparison
- 17.12 Implementation Examples
- 17.13 Solved Problems
- 17.14 Recent Developments (2024–2026)
- 17.14.1 JTAG over USB-C (USB Debug Class, 2023): New Attack Surface
- 17.14.2 JTAG Authentication Bypass CVEs in IoT SoCs (2023)
- 17.14.3 ARM CoreSight 9.0: Improved Debug Authentication and Security Extensions
- 17.14.4 RISC-V JTAG Debug Transport: OpenOCD RISC-V Support Maturity
- 17.14.5 JTAGulator v2.x Updates for Detection Speed
- 17.14.6 PSA Certified Level 2 Debug Requirements
Chapter 18: Hardware Cryptographic Accelerators
- 18.1 AES Hardware Acceleration
- 18.2 Public-Key Cryptography Accelerators
- 18.3 Hash and GHASH Accelerators
- 18.4 Stream Ciphers and Authenticated Encryption
- 18.5 FPGA Crypto Accelerator Implementations
- 18.6 SoC Crypto Accelerator Architecture
- 18.7 ASIC Cryptographic Accelerators
- 18.8 Cryptographic Accelerator Solutions Comparison
- 18.9 Implementation Examples
- 18.10 Solved Problems
- 18.11 Recent Developments (2024–2026)
- 18.11.1 NIST AES-GCM-SIV Hardware (RFC 8452 Implementation Acceleration)
- 18.11.2 SHA-3 Hardware Acceleration: AMD Zen 4 SHA-3 Instructions (2022–2023)
- 18.11.3 ARM SVE2 Cryptographic Extensions (Neoverse V2, 2023)
- 18.11.4 Intel CET (Control-Flow Enforcement Technology) Hardware Deployment
- 18.11.5 RISC-V Zkb/Zkc/Zknd/Zkne/Zknh Crypto Extensions (Ratified 2021, Deployed 2023–2024)
- 18.11.6 ML-KEM Hardware Acceleration IP: Lattice Semiconductor and Xilinx PQC Library (2024)
Chapter 19: Secure Key Management
- 19.1 Introduction
- 19.2 Key Lifecycle Diagram
- 19.3 ATECC608B Internal Zone Diagram
- 19.4 Key Storage in Hardware
- 19.5 Hardware Secure Element and KMS Comparison
- 19.6 HashiCorp Vault
- 19.7 AWS KMS
- 19.8 Azure Key Vault and Managed HSM
- 19.9 DICE-Based Key Derivation
- 19.10 HKDF and AES Key Wrap
- 19.11 Microchip ATECC608B Hardware Operations
- 19.12 Shamir Secret Sharing
- 19.13 Quantum-Safe Key Sizes
- 19.14 FPGA Key Storage Resource Table
- 19.15 ASIC Key Management Hardware
- 19.16 Standards
- 19.17 Recent Developments (2024–2026)
- 19.17.1 KMIP 2.2 (OASIS, 2023): Post-Quantum Key Types
- 19.17.2 HashiCorp Vault 1.15/1.16 (2023–2024): PQC Transit Engine
- 19.17.3 AWS KMS Post-Quantum TLS (2024): Hybrid Key Agreement
- 19.17.4 PKCS#11 3.0 Post-Quantum Mechanisms
- 19.17.5 Key Ceremony Automation: HSM Quorum Authentication Improvements
- 19.17.6 NIST SP 800-57 Part 1 Rev 5 (2020, Deployment 2023–2024)
- 19.18 Solved Problems
- 19.19 Exercises
Chapter 20: IoT Hardware Security
- 20.1 IoT Threat Landscape
- 20.2 IoT Platform Security Comparison
- 20.3 ARM TrustZone-M (ARMv8-M)
- 20.4 PSA Platform Security Architecture
- 20.5 ATECC608B IoT Cryptographic Coprocessor
- 20.6 MCUboot Secure Bootloader
- 20.7 SUIT: Software Update for IoT (RFC 9019)
- 20.8 LoRaWAN 1.1 Security
- 20.9 ASCON Lightweight Cipher (NIST Standard 2023)
- 20.10 DTLS 1.3 and EDHOC for Constrained Devices
- 20.11 TLS Libraries for MCUs
- 20.12 Target Hardware for IoT Security
- 20.13 FPGA and ASIC IoT Security
- 20.14 Secure Provisioning Flow
- 20.15 IoT OTA Update Architecture
- 20.16 All Solutions Comparison
- 20.17 Solved Problems
- 20.18 Recent Developments (2024–2026)
- 20.18.1 Matter 1.2/1.3 (2023–2024): Hardware Security Requirements
- 20.18.2 PSA Certified Level 3 (2023): New Evaluation Methodology
- 20.18.3 EU Cyber Resilience Act (CRA 2024): IoT Hardware Security Mandates
- 20.18.4 NIST IR 8259D: IoT Device Cybersecurity Profile for Enterprise (2023)
- 20.18.5 RP2350 (Raspberry Pi Pico 2, 2024): Dual-Architecture Security
- 20.18.6 ESP32-S3 Secure Boot v2 and Flash Encryption Improvements
- 20.18.7 Nordic nRF9160/nRF5340 PSA Certified Certification
Part V: Authentication and Cryptographic Hardware
Chapter 21: Secure Elements and Smart Cards
- 21.1 Secure Element Definition and Form Factors
- 21.2 ISO 7816 Smart Card Standard
- 21.3 JavaCard Platform
- 21.4 GlobalPlatform Security
- 21.5 EMV (Europay/Mastercard/Visa)
- 21.6 PIV – Personal Identity Verification
- 21.7 ePassport – ICAO Doc 9303
- 21.8 MIFARE Classic Attacks
- 21.9 NFC Security
- 21.10 Secure Element Hardware
- 21.11 Smart Card Architecture TikZ Diagram
- 21.12 FPGA Smart Card Emulation
- 21.13 ASIC Secure Element Implementations
- 21.14 All Solutions Comparison
- 21.15 Recent Developments (2024–2026)
- 21.15.1 ISO/IEC 7816-15 (2023): Cryptographic Information Application
- 21.15.2 GlobalPlatform SEPE (Secure Element Policy Engine, 2023)
- 21.15.3 Apple Secure Element: iPhone 15/16 (A17 Pro, 3 nm)
- 21.15.4 Google Pixel 8 Titan M2: SE + HSM Combo
- 21.15.5 SE for Digital Identity: eIDAS 2.0 EUDIW Hardware Requirements
- 21.15.6 NXP SE051W: Post-Quantum Secure Element (2024)
Chapter 22: FIDO2 and WebAuthn Hardware Security Keys
- 22.1 Introduction
- 22.2 FIDO2 Architecture
- 22.3 YubiKey 5 Series
- 22.4 Google Titan Security Key
- 22.5 SoloKeys (Open-Source)
- 22.6 WebAuthn Registration and Authentication Ceremonies
- 22.7 Attestation Formats
- 22.8 Physical Security: YubiKey Clone Resistance
- 22.9 TikZ Diagrams
- 22.10 FPGA Implementation Table
- 22.11 ASIC Implementation Table
- 22.12 All Solutions: FIDO2
- 22.13 Solved Problems
- 22.14 Recent Developments (2024–2026)
- 22.14.1 FIDO2/Passkeys Mass Adoption (2023–2024)
- 22.14.2 CTAP 2.2 (2023): Hybrid Transport and Enterprise Attestation
- 22.14.3 YubiKey 5.7 Firmware (2024): FIDO2.2 and PQC Roadmap
- 22.14.4 CVE-2024-45678: YubiKey 5 ECDSA Side-Channel (EUCLEAK)
- 22.14.5 Google Titan Security Key v2 (2023): USB-A/C/NFC
- 22.14.6 Passkeys in Hardware: TPM-Backed and Secure Enclave
- 22.15 Exercises
- 22.16 Famous Repositories
- 22.17 Standards
Chapter 23: Hardware Cryptocurrency Wallets
- 23.1 Introduction
- 23.2 Cryptographic Foundations
- 23.3 Hardware Platforms
- 23.4 TikZ Diagrams
- 23.5 Hardware Attack Surface
- 23.6 FPGA Prototyping of Wallet Primitives
- 23.7 ASIC Implementation
- 23.8 Open-Source and Commercial Ecosystems
- 23.9 Standards and Specifications
- 23.10 Famous Repositories and Tools
- 23.11 Solved Problems
- 23.12 Recent Developments (2024–2026)
- 23.12.1 Ledger Recover Controversy (2023): Seed Phrase Backup Security Debate
- 23.12.2 Trezor Safe 3 (2023): EAL6+ Secure Element Integration
- 23.12.3 BitBox02 Post-Quantum: SPHINCS+ Firmware Signing (2024)
- 23.12.4 Lattice Hardware Wallet (Open Source, 2024)
- 23.12.5 Bitcoin Taproot/Schnorr Hardware Wallet Support Maturity
- 23.12.6 ETH2.0 Staking: Validator Keys in Dedicated HSMs
- 23.13 Exercises
Part VI: Network and Architecture Security
Chapter 24: Network Security Processors
- 24.1 Introduction
- 24.2 NSP Microarchitecture
- 24.3 IPsec Hardware Offload
- 24.4 TLS 1.3 Offload
- 24.5 TikZ Diagrams
- 24.6 MACsec Hardware Offload
- 24.7 Deep Packet Inspection Hardware
- 24.8 FPGA Prototyping of NSP Functions
- 24.9 ASIC Implementation
- 24.10 Side-Channel Considerations in NSPs
- 24.11 Post-Quantum Cryptography in NSPs
- 24.12 Open-Source and Commercial Ecosystems
- 24.13 Standards and Specifications
- 24.14 Famous Repositories and Tools
- 24.15 Solved Problems
- 24.16 Recent Developments (2024–2026)
- 24.16.1 Post-Quantum TLS 1.3: X25519MLKEM768 in Network Processors (2024)
- 24.16.2 P4-Programmable Security: NVIDIA BlueField-3 DPU (2023)
- 24.16.3 AWS Nitro v5 (2024): New Security Capabilities
- 24.16.4 CXL 3.0 Security in Data Centre Interconnects
- 24.16.5 OpenSSL 3.2/3.3 (2024): ML-KEM in TLS Stacks Deployed on NSPs
- 24.16.6 NVIDIA Morpheus (2024): Real-Time Network Threat Detection on GPU
- 24.17 Exercises
Chapter 25: CHERI Capability Hardware
- 25.1 Introduction
- 25.2 The Capability Model
- 25.3 ISA Extensions
- 25.4 CheriBSD: OS-Level Compartmentalisation
- 25.5 TikZ Diagrams
- 25.6 Morello Hardware Implementation
- 25.7 CHERI-RISC-V
- 25.8 FPGA Implementation
- 25.9 ASIC Implementation
- 25.10 Open-Source and Commercial Ecosystems
- 25.11 Standards and Specifications
- 25.12 Famous Repositories
- 25.13 Solved Problems
- 25.14 Recent Developments (2024–2026)
- 25.14.1 Morello Board Production Deployment Results (2022–2024)
- 25.14.2 Microsoft CHERIoT (IoT-Optimised CHERI, 2023)
- 25.14.3 CheriBSD 23.11 (2023): Capability-Aware Toolchain Maturity
- 25.14.4 CHERI for RISC-V: CHERIoT RISC-V ISA Extension Spec (2023)
- 25.14.5 UK DSIT Digital Security by Design Programme Outcomes (2024)
- 25.14.6 Arm CHERI Morello: Capability Bounds Violations in Production Code
- 25.15 Exercises
Chapter 26: RISC-V Security Extensions
- 26.1 Introduction
- 26.2 Privilege Architecture and Security Boundaries
- 26.3 RISC-V Scalar Cryptographic Extensions (Zk*)
- 26.4 Keystone TEE Framework
- 26.5 WorldGuard Memory Protection
- 26.6 Control-Flow Integrity: Zisslpcfi and Zicfilp
- 26.7 TikZ Diagrams
- 26.8 Side-Channel Mitigations in RISC-V
- 26.9 FPGA Implementation
- 26.10 ASIC Implementation
- 26.11 Open-Source and Commercial Ecosystems
- 26.12 Standards and Specifications
- 26.13 Famous Repositories
- 26.14 Solved Problems
- 26.15 Recent Developments (2024–2026)
- 26.15.1 RISC-V Zk* Cryptographic Extensions: Commercial SoC Deployment (2023–2024)
- 26.15.2 RISC-V PMP Updates: Smepmp (2023) and ePMP Enforcement
- 26.15.3 SiFive X280 (2023): Vector Crypto Extensions and Security Monitor
- 26.15.4 RISC-V WorldGuard: Hardware Domain Isolation (2024 Spec)
- 26.15.5 Allwinner D1-H RISC-V: Secure Boot Deployment
- 26.15.6 StarFive JH7110 (VisionFive 2): Security Boot and TrustZone Analog
- 26.16 Exercises
Part VII: Industry-Specific Hardware Security Solutions
Chapter 27: Formal Verification of Hardware Security
- 27.1 Introduction
- 27.2 Temporal Logic and Property Specification
- 27.3 Model Checking
- 27.4 Theorem Proving for Hardware
- 27.5 Security Property Classes
- 27.6 TikZ Diagrams
- 27.7 Equivalence Checking
- 27.8 Side-Channel Formal Analysis
- 27.9 OpenTitan Formal Verification Case Study
- 27.10 FPGA Prototyping for Formal Verification Experiments
- 27.11 ASIC Formal Verification Metrics
- 27.12 Open-Source Tools and Commercial Ecosystems
- 27.13 Standards and Specifications
- 27.14 Famous Repositories and Tools
- 27.15 Solved Problems
- 27.16 Recent Developments (2024–2026)
- 27.16.1 OpenTitan Formal Verification Results (2023–2024): 100K+ Assertions
- 27.16.2 Cadence JasperGold 2024: AI-Assisted Property Generation
- 27.16.3 Synopsys VC Formal 2024.03: Security Path Verification
- 27.16.4 CHERI Formal Proofs: HOL4 Mechanised Proofs of CHERI-MIPS (2023)
- 27.16.5 seL4 Verified Microkernel on RISC-V (2023): Full Verification Complete
- 27.16.6 RISC-V Sail Model: Formal ISA Specification for Hardware Compliance
- 27.17 Exercises
Chapter 28: Hardware Supply Chain Security
- 28.1 Introduction
- 28.2 Supply Chain Attack Surface
- 28.3 Counterfeit Component Categories
- 28.4 Hardware Authentication Architecture
- 28.5 in-toto Attestation Framework
- 28.6 SLSA Framework for Hardware
- 28.7 SBOM and HBOM
- 28.8 Trusted Foundry Programs
- 28.9 FPGA-Based Supply Chain Monitoring
- 28.10 ASIC Implementation of Anti-Counterfeiting Logic
- 28.11 Anti-Counterfeiting Physical Features
- 28.12 All Solutions Comparison
- 28.13 Solved Problems
- 28.14 Standards and Regulations
- 28.15 Recent Developments (2024–2026)
- 28.15.1 CHIPS and Science Act — US Domestic Fabrication Incentives
- 28.15.2 NIST SP 800-161 Revision 1 — C-SCRM Practices
- 28.15.3 EU Chips Act — European Semiconductor Sovereignty
- 28.15.4 X-ray CT for IC Inspection — Bruker and Zeiss Systems
- 28.15.5 JEDEC JEP106 and JESD89 — Traceability Improvements
- 28.15.6 HBOM — Hardware Bill of Materials as an Emerging Standard
- 28.15.7 Google Project Zero Supply Chain Findings (2023–2024)
- 28.16 Exercises
Chapter 29: 5G and Telecom Hardware Security
- 29.1 Introduction
- 29.2 5G Network Architecture and Security Domains
- 29.3 UICC and eSIM Hardware Security
- 29.4 5G-AKA Protocol and Key Derivation
- 29.5 eSIM SGP.22 Profile Download Security
- 29.6 gNodeB Secure Boot and Attestation
- 29.7 SS7 and Diameter Attacks
- 29.8 Network Function Virtualization Hardware Security
- 29.9 FPGA-Based 5G Baseband Security
- 29.10 ASIC Implementation of 5G Security Accelerators
- 29.11 Quantum-Safe 5G Migration
- 29.12 All Solutions Comparison
- 29.13 Solved Problems
- 29.14 Standards
- 29.15 Recent Developments (2024–2026)
- 29.15.1 5G SA Deployment Acceleration and Security Advantages
- 29.15.2 GSMA FS.40 — 5G Hardware Security Guidelines (2024)
- 29.15.3 O-RAN Alliance WG11 Security Specifications (2023–2024)
- 29.15.4 5G Redirection and Downgrade Attacks — IMSI Catchers on 5G NR
- 29.15.5 Post-Quantum 5G — 3GPP SA3 PQC Work Item (2024–2025)
- 29.15.6 Ericsson and Nokia RAN Hardware Security — Secure Boot and Attestation in BBUs
- 29.16 Exercises
Chapter 30: Medical Device Hardware Security
- 30.1 Introduction
- 30.2 Threat Model for Medical Devices
- 30.3 Regulatory Framework
- 30.4 ARM Cortex-M33 TrustZone-M for Medical
- 30.5 BLE LE Secure Connections for CGM
- 30.6 MCUboot Secure Firmware Update for Medical
- 30.7 Known Medical Device Vulnerabilities
- 30.8 Hospital Network Segmentation
- 30.9 DICOM Security
- 30.10 FPGA Implementation for Medical Signal Processing Security
- 30.11 ASIC Implementation of Medical Device Security
- 30.12 All Solutions Comparison
- 30.13 Solved Problems
- 30.14 Standards
- 30.15 Recent Developments (2024–2026)
- 30.15.1 FDA Cybersecurity Guidance (2023) — Premarket Requirements and SBOM Mandate
- 30.15.2 EU MDR/IVDR Cybersecurity Requirements — Full Enforcement 2024
- 30.15.3 FDA Section 524B — PATCH Act Mandatory Security Updates
- 30.15.4 Insulin Pump Security — Medtronic MiniMed Vulnerabilities (2023)
- 30.15.5 Pacemaker Security — CRT-D Device Attack Surface Research (2023–2024)
- 30.15.6 IEC 62443-4-2 for Medical Devices — Component Security Requirements
- 30.16 Exercises
Chapter 31: ICS and SCADA Hardware Security
- 31.1 Introduction
- 31.2 Purdue Model and OT Network Architecture
- 31.3 ICS Hardware Platforms
- 31.4 Stuxnet: Technical Deep-Dive
- 31.5 TRITON/TRISIS: Safety System Attack
- 31.6 CRASHOVERRIDE / Industroyer
- 31.7 Modbus TCP Security
- 31.8 DNP3 Vulnerabilities and Authentication
- 31.9 OPC UA Security
- 31.10 Data Diode Hardware
- 31.11 FPGA-Based Hardware Firewalls for OT Protocols
- 31.12 ASIC Implementation of OT Protocol Security
- 31.13 MITRE ATT&CK for ICS
- 31.14 OT Network Security Monitoring
- 31.15 All Solutions Comparison
- 31.16 Solved Problems
- 31.17 Standards
- 31.18 Recent Developments (2024–2026)
- 31.18.1 CISA ICS-CERT Advisories 2023–2024 — Siemens and Rockwell Vulnerabilities
- 31.18.2 Volt Typhoon — Chinese APT Targeting Critical Infrastructure Hardware
- 31.18.3 NIST SP 800-82 Revision 3 — Updated OT Security Guide (2023)
- 31.18.4 IEC 62443-3-3 SL-3 Hardware Requirements (2023 Update)
- 31.18.5 Dragos Year in Review 2023 — ICS Threat Groups Targeting Hardware
- 31.18.6 OT Hardware Security — Claroty and Nozomi Hardware Fingerprinting
- 31.19 Exercises
Chapter 32: Biometric Hardware Security
- 32.1 Biometric System Architecture
- 32.2 Fingerprint Sensor Hardware
- 32.3 Face Recognition Hardware
- 32.4 Presentation Attack Detection (PAD) and Liveness
- 32.5 Cancelable Biometrics and Template Protection
- 32.6 Secure Biometric Template Storage
- 32.7 FPGA Implementation of Biometric Matching
- 32.8 ASIC Implementation
- 32.9 Commercial and Open-Source Solutions
- 32.10 Solved Problems
- 32.11 Standards
- 32.12 Recent Developments (2024–2026)
- 32.12.1 Deepfake Attacks on Biometric Hardware — ISO/IEC 30107-3 PAD Updates (2023)
- 32.12.2 Apple Face ID — A17 Pro Improvements and Neural Engine Updates
- 32.12.3 FIDO2 Biometric Authenticator Certification (2024)
- 32.12.4 EU AI Act Biometric Provisions (2024)
- 32.12.5 Under-Display Fingerprint Spoofing — Qualcomm 3D Sonic Max Gen 2
- 32.12.6 Iris Recognition in AI PCs — Intel RealSense ID F455
- 32.13 Exercises
Chapter 33: Satellite and Aerospace Hardware Security
- 33.1 Space Radiation Environment
- 33.2 Radiation-Hardened Processor Hardware
- 33.3 Radiation Mitigation Techniques
- 33.4 CCSDS Space Data Link Security (SDLS)
- 33.5 GPS Signal Structure and Spoofing Attacks
- 33.6 Anti-Jamming Hardware
- 33.7 Avionics Bus Security
- 33.8 UAV and Drone Security
- 33.9 Quantum-Safe Satellite Communications
- 33.10 FPGA Implementation for Space Applications
- 33.11 ASIC Implementation for Space
- 33.12 Commercial and Open-Source Solutions
- 33.13 Solved Problems
- 33.14 Standards
- 33.15 Recent Developments (2024–2026)
- 33.15.1 Viasat KA-SAT Attack — Lessons from 2022 Applied 2023–2024
- 33.15.2 SpaceX Starlink Security Hardening (2023)
- 33.15.3 GPS Spoofing Incidents 2023–2024 — Iran/Russia Aviation Cases
- 33.15.4 CISA Space Systems Critical Infrastructure Designation (2024)
- 33.15.5 DO-326A/ED-202A Avionics Cybersecurity Enforcement (2024)
- 33.15.6 Confidential Computing in Space — Radiation-Hardened TEE on LEO Satellites
- 33.16 Exercises
Chapter 34: AI and ML Hardware Security
- 34.1 AI Hardware Threat Model
- 34.2 AI Chip Landscape
- 34.3 NVIDIA H100 Confidential Computing Architecture
- 34.4 Model Weight Extraction Attacks
- 34.5 Membership Inference and Model Inversion
- 34.6 Backdoor and Trojan Attacks
- 34.7 Model File Security
- 34.8 Federated Learning Hardware Security
- 34.9 Trusted Execution for AI Workloads
- 34.10 Neural Network Watermarking
- 34.11 FPGA Implementation for AI Security
- 34.12 ASIC Implementation Comparison
- 34.13 Commercial and Open-Source Solutions
- 34.14 Solved Problems
- 34.15 Standards
- 34.16 Recent Developments (2024–2026)
- 34.16.1 NVIDIA H200 — HBM3e Encrypted Memory and Updated Confidential Computing
- 34.16.2 AMD MI300X — SEV-SNP Integration for Confidential AI (2024)
- 34.16.3 Intel Gaudi 3 — Security Architecture (2024)
- 34.16.4 EU AI Act Hardware Requirements (2024)
- 34.16.5 LLM Model Extraction Attacks on Inference Hardware (2023–2024)
- 34.16.6 Groq LPU — Deterministic Execution and Side-Channel Implications
- 34.16.7 Apple M3 GPU Side-Channel — LeftoverLocals (CVE-2023-4969)
- 34.17 Exercises
Chapter 35: USB and Thunderbolt Security
- 35.1 USB Attack Taxonomy
- 35.2 USB Hardware Architecture
- 35.3 BadUSB Attack
- 35.4 O.MG Cable and Advanced Hardware Implants
- 35.5 Hak5 Ecosystem
- 35.6 USB Killer
- 35.7 Thunderspy – Thunderbolt Security Vulnerabilities
- 35.8 PCILeech DMA Attack
- 35.9 Kernel DMA Protection
- 35.10 USB Policy Enforcement
- 35.11 USB 3.2 and USB4 Security Improvements
- 35.12 USB Power Delivery Security
- 35.13 FPGA Implementation for USB Protocol Analysis
- 35.14 ASIC Implementation
- 35.15 Commercial and Open-Source Solutions
- 35.16 Solved Problems
- 35.17 Standards
- 35.18 Recent Developments (2024–2026)
- 35.18.1 USB4 Version 2.0 — 80 Gbps and Updated Security Model (2022, Devices 2023–2024)
- 35.18.2 ChoiceJacking — USB Charger MITM Attack on Mobile Devices (2024)
- 35.18.3 Thunderbolt 5 (Intel Barlow Ridge, 2023) — 120 Gbps and Security
- 35.18.4 CVE-2023-28746 — RDFS Microarchitectural Data Sampling via USB
- 35.18.5 BadUSB-C — Updated Attacks on USB-C Controllers (2023)
- 35.18.6 USB Implementers Forum Security Working Group (2024)
- 35.19 Exercises
Chapter 36: Wireless Hardware Security
- 36.1 Wireless Attack Taxonomy
- 36.2 SDR Hardware Platform Architecture
- 36.3 Wi-Fi Hardware Security
- 36.4 Bluetooth Hardware Security
- 36.5 RFID and NFC Security
- 36.6 Zigbee and IEEE 802.15.4 Security
- 36.7 LoRa and LoRaWAN Security
- 36.8 Rolling Code Security – RollJam Attack
- 36.9 Automotive Wireless Security
- 36.10 Spectrum Monitoring Hardware
- 36.11 GNU Radio Protocol Decoding
- 36.12 FPGA Implementation for Wireless Security
- 36.13 ASIC Implementation
- 36.14 Commercial and Open-Source Solutions
- 36.15 Solved Problems
- 36.16 Standards
- 36.17 Recent Developments (2024–2026)
- 36.17.1 Wi-Fi 7 (IEEE 802.11be, 2024) — Security Features and MLO Attack Surface
- 36.17.2 Bluetooth 6.0 Channel Sounding — Precise Ranging and Security (2024)
- 36.17.3 CVE-2023-45866 — BlueDucky Bluetooth HID Injection
- 36.17.4 BLUFFS — Bluetooth Forward Secrecy Attacks (2023, INRIA)
- 36.17.5 UWB Security in Apple U2/U3 — AirDrop and Car Key Applications
- 36.17.6 NFC Relay Attack Evolution — ACT Android NFC Relay (2023–2024)
- 36.17.7 LoRaWAN 1.1.1 — Security Mitigations (2024)
- 36.18 Exercises
Part VIII: Emerging Hardware Security Technologies
Chapter 37: Confidential Computing Hardware
- 37.1 Threat Model: The Untrusted Hypervisor
- 37.2 Intel Trust Domain Extensions (TDX)
- 37.3 AMD Secure Encrypted Virtualization – Secure Nested Paging (SEV-SNP)
- 37.4 ARM Confidential Compute Architecture (CCA)
- 37.5 IBM Secure Execution for Linux (IBM Z / LinuxONE)
- 37.6 FPGA Implementation: Confidential Computing Accelerators
- 37.7 ASIC Implementation Data
- 37.8 Confidential Computing Ecosystem
- 37.9 Recent Developments (2024–2026)
Chapter 38: Hardware Security Design Flow and EDA Tools
- 38.1 Threat Modelling for Hardware
- 38.2 Secure RTL Design Principles
- 38.3 EDA Tools for Hardware Security
- 38.4 Side-Channel Analysis in Design Flow
- 38.5 Fault Injection Analysis in Design Flow
- 38.6 FPGA Prototyping for Security Validation
- 38.7 Chip Tapeout Security Checklist
- 38.8 Creating New Hardware Security Technologies: Research-to-Silicon
- 38.9 Open-Source Hardware Security Platforms
- 38.10 Recent Developments (2024–2026)
Chapter 39: Chiplet and Heterogeneous Integration Security
- 39.1 Chiplet Architecture Overview
- 39.2 Security Threats in Chiplet Systems
- 39.3 UCIe Security (Universal Chiplet Interconnect Express)
- 39.4 Chiplet Identity and Attestation
- 39.5 FPGA Implementation: Secure D2D Controller
- 39.6 ASIC Implementation Data
- 39.7 Chiplet Security Ecosystem and Standards
- 39.8 Recent Developments (2024–2026)
Back matter
Preface¶
Hardware security is the foundation upon which all software security rests. Without trust in the hardware, no software guarantee can be meaningful. This book provides a comprehensive reference covering every major area of hardware security – from the most fundamental primitives (TPMs, PUFs, TRNGs) to cutting-edge developments in post-quantum cryptography and AI hardware security.
Every chapter follows a rigorous structure: it begins with the threat landscape and motivating attack, explains the architecture with block diagrams, dives into both FPGA and ASIC implementations with real resource numbers, surveys every major commercial and open-source solution that exists today, walks through solved problems, and closes with exercises to test and deepen understanding.
Who This Book Is For¶
This book is intended for:
-
Hardware security engineers designing security into chips and systems
-
Software engineers building security systems on top of hardware primitives
-
Security researchers investigating hardware attack techniques and defenses
-
Students studying hardware security, embedded systems, or cryptography
-
CTF participants tackling hardware hacking challenges
-
Industry professionals in automotive, IoT, medical, aerospace, and telecom sectors
What This Book Covers¶
This book covers 36 hardware security technology areas organized into logical groups:
- Foundations (Chapters 1–5)
- TPM, HSM, PUF, TEE, and Hardware Root of Trust.
- Attack Defenses (Chapters 6–9)
- Side-channel attacks, hardware Trojan detection, secure boot, and TRNG.
- Platform Security (Chapters 10–14)
- FPGA security, IOMMU/DMA protection, memory security, anti-tamper, and attestation.
- Domain-Specific Security (Chapters 15–20)
- Automotive, PQC, JTAG debug, crypto accelerators, key management, and IoT.
- Authentication and Identity (Chapters 21–23)
- Secure elements, FIDO2/WebAuthn, and cryptocurrency wallets.
- Network and Architecture (Chapters 24–26)
- Network processors, CHERI capability hardware, and RISC-V security.
- Industry Solutions (Chapters 27–36)
- Formal verification, supply chain, 5G, medical, ICS/SCADA, biometrics, satellite, AI/ML, USB/Thunderbolt, and wireless.
- Emerging Technologies (Chapters 37–39)
- Confidential computing hardware (Intel TDX, AMD SEV-SNP, ARM CCA), hardware security design flow and EDA tools (from RTL to silicon), and chiplet and heterogeneous integration security (UCIe, DICE identity, HBM3 encryption).
Conventions Used¶
Each chapter uses:
-
TikZ block diagrams to visualise architectures
-
Code listings in C, Python, Verilog, assembly, and shell
-
Comparison tables for all existing solutions (FPGA LUTs, ASIC area, speed)
-
Solved Problems with step-by-step worked solutions
-
Exercises ranging from short-answer to open-ended design challenges
-
Note: Note boxes for important definitions and facts
-
Warning: Warning boxes for common mistakes and security pitfalls
-
Tip: Tip boxes for practical implementation advice