Sign In to Follow Application
View All Documents & Correspondence

Secure Boot Mechanism With Hardware Root Of Trust For Preventing Firmware Attacks

Abstract: A secure boot mechanism with hardware root of trust prevents firmware attacks through a Physically Unclonable Function (PUF) module generating device-unique cryptographic keys from manufacturing variations. The system comprises a security processor executing cryptographic operations and a secure boot controller managing hierarchical firmware verification through multiple boot stages. Dual-key verification combines device-unique keys with manufacturer-signed certificates providing defense-in-depth security. Monotonic counters in tamper-resistant memory prevent rollback attacks. Real-time hardware state machine monitoring detects boot execution anomalies. The apparatus operates entirely in hardware achieving minimal performance overhead. Applications include Internet of Things devices and server infrastructure, providing immutable security against firmware-level attacks including bootkits, BIOS modifications, and supply chain compromises. Recovery mechanisms enable secure restoration from compromised firmware.

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
15 March 2026
Publication Number
13/2026
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
Parent Application

Applicants

SR UNIVERSITY
SR University Ananthasagar, Hasanparthy, Warangal 506371, Telangana, India

Inventors

1. Dr. GYANA RANJANA PANIGRAHI
Post Doctoral Fellowship School of Computer Science and Artificial Intelligence SR University, Ananthasagar, Hasanparthy, Warangal- 506371, Telangana, India
2. Dr. JAGJIT SINGH DHATTERWAL
Professor, School of Computer Science and Artificial Intelligence,SR University, Ananthasagar, Hasanparthy, Warangal- 506371, Telangana, India
3. Dr. SANDEEP KUMAR
Professor, Symbiosis Institute of Technology, Nagpur Campus, Symbiosis International (Deemed University), Pune, India - 440035

Claims

1. A secure boot apparatus for preventing firmware attacks in computing devices, comprising: a) a hardware root of trust core integrated at silicon level comprising a Physically Unclonable Function (PUF) module configured to generate device-unique cryptographic keys from inherent manufacturing variations, and a security processor coupled to said PUF module and configured to execute cryptographic verification operations including AES-256 encryption, SHA-256 hashing, and RSA-2048 signature verification; b) a secure boot controller operatively coupled to said hardware root of trust core, said secure boot controller comprising a hardware state machine configured to manage hierarchical verification of firmware components through multiple boot stages and monitor boot execution in real-time for anomaly detection; c) tamper-resistant memory operatively coupled to said secure boot controller, said tamper-resistant memory storing cryptographic certificates, monotonic counters for rollback protection, and audit logs; d) wherein said apparatus implements a dual-key verification architecture requiring both successful verification using device-unique keys derived from said PUF module and successful verification using manufacturer-signed certificates; and e) wherein firmware components are cryptographically verified before execution establishing an unbroken chain of trust from power-on through operating system handoff.

2. The apparatus as claimed in claim 1, wherein said Physically Unclonable Function module comprises a Static Random-Access Memory (SRAM) PUF that generates cryptographic material based on power-up settling patterns of SRAM cells, further comprising helper data stored in non-volatile memory for error correction and a fuzzy extractor algorithm for reconstructing stable cryptographic keys from noisy PUF measurements.

3. The apparatus as claimed in claim 1, wherein said hardware state machine implements at least the following states: POWER_ON_RESET state upon device power application, PUF_INITIALIZATION state for deriving device-unique keys, ROOT_VERIFICATION state for self-verification of hardware root of trust, multiple verification states for hierarchical bootloader verification, SECURE_BOOT_COMPLETE state indicating successful verification, and FAILURE_LOCKDOWN state triggered by security violations, wherein state transitions are hardware-enforced and cannot be bypassed through software manipulation.

4. The apparatus as claimed in claim 1, wherein said tamper-resistant memory comprises an active shield layer detecting physical intrusion attempts, environmental sensors monitoring voltage and temperature conditions, encryption-at-rest using device-unique keys for all stored sensitive data, and authentication tags for verifying integrity of stored data.

5. The apparatus as claimed in claim 1, wherein said monotonic counters for rollback protection are implemented in One-Time Programmable (OTP) memory or anti-fuse technology, said counters comprising firmware version numbers that can only increment and never decrement, wherein firmware installation is rejected if the firmware version number is less than the current counter value.

6. The apparatus as claimed in claim 1, wherein said dual-key verification comprises a first verification path using device-unique keys derived from PUF-based root keys through HMAC-based Key Derivation Function (HKDF) and a second verification path using manufacturer-signed certificates validated through a certificate chain including Root CA Certificate, Intermediate CA Certificate, and Firmware Signing Certificate, wherein both verification paths must succeed before authorizing firmware execution.

7. The apparatus as claimed in claim 1, wherein said hierarchical verification comprises Stage 0 verification involving hardware root of trust self-verification, Stage 1 verification involving primary bootloader verification by hardware root of trust, Stage 2 verification involving secondary bootloader verification by primary bootloader, and Stage 3 verification involving operating system kernel and firmware components verification, wherein each stage inherits cryptographic capabilities from the previous stage extending the chain of trust.

8. The apparatus as claimed in claim 1, further comprising a recovery mechanism including secure recovery firmware stored in write-protected memory region having independent cryptographic signature and rollback counter, wherein recovery mode is automatically initiated upon repeated main firmware verification failures, and wherein the apparatus enters permanent lockdown state if recovery attempts fail after predetermined number of iterations.

9. A method for secure boot verification in a computing device, comprising the steps of: a) initializing a Physically Unclonable Function (PUF) upon device power-on to derive device-unique cryptographic keys from SRAM settling patterns; b) executing immutable boot code from secure boot read-only memory to verify integrity of hardware root of trust components; c) loading a primary bootloader from external non-volatile storage; d) performing dual-key verification of said primary bootloader comprising calculating cryptographic hash, verifying digital signature using manufacturer certificate chain, verifying authentication tag using device-unique key, and comparing bootloader version against monotonic rollback counter; e) upon successful verification, transferring execution control to said primary bootloader while maintaining chain of trust; f) repeating verification process for subsequent firmware components in hierarchical sequence; and g) monitoring boot execution using hardware state machine, triggering security lockdown upon detection of unauthorized deviations from expected boot flow.

10. The method as claimed in claim 9, wherein said PUF initialization comprises powering SRAM cells, reading settling patterns, retrieving helper data from secure storage, applying fuzzy extractor with BCH error correction to reconstruct stable keys, deriving cryptographic keys using Key Derivation Function (KDF), and immediately erasing raw PUF bits and intermediate keys from volatile memory.

Specification

Description:DETAILED DESCRIPTION OF INVENTION
System Architecture Overview
Referring to Figure 1, the present invention comprises a hardware-based secure boot apparatus designed to establish an immutable root of trust for computing devices. The hardware root of trust core (100) serves as the foundational security element, integrated at the silicon level and fabricated using advanced semiconductor processes (preferably 22nm or smaller CMOS technology). The core is physically separated from main processor circuitry and incorporates protective features including active shield layers, secure enclaves, and power analysis resistance mechanisms.
Hardware Root of Trust Core (100)
The hardware root of trust core comprises two primary components: the Physically Unclonable Function module (101) and the security processor (102). The PUF module generates device-unique cryptographic keys from inherent manufacturing variations that occur naturally during semiconductor fabrication. In the preferred embodiment, the PUF module utilizes SRAM PUF technology wherein SRAM cells randomly settle to either '0' or '1' states when powered from unpowered state, based on microscopic transistor mismatches unique to each device.
PUF Module Operation (101)
During initial device manufacturing, the SRAM PUF undergoes an enrollment process wherein it is powered multiple times (typically 100-1000 cycles) to identify stable bits showing consistent behavior across power cycles. Helper data is generated using fuzzy extraction algorithms to correct unstable bits caused by temperature variations, aging, and noise. The helper data is stored in non-volatile memory while PUF-derived keys are never stored, ensuring that cryptographic keys exist only during active operations.
At runtime, when the device powers on, the SRAM PUF settling pattern is read, helper data is retrieved, and a fuzzy extractor reconstructs stable cryptographic keys. The system implements BCH error correction codes with 15-20% error correction capacity, achieving >99.99% reconstruction success rate across the operating temperature range (-40°C to +85°C). The PUF-derived keys provide uniqueness (<10⁻⁶ probability of duplicate keys), unclonability (cannot be physically duplicated even with original manufacturing equipment), and tamper evidence (physical attacks disrupt PUF structure).
Security Processor (102)
The security processor is a hardened 32-bit RISC microcontroller with custom security extensions, operating at 50-200 MHz with power consumption of 10-50 milliwatts during active verification. The processor incorporates hardware accelerators for cryptographic operations: AES-256 encryption/decryption at 2 Gbps throughput, SHA-256 hashing at 1 Gbps throughput, RSA-2048/4096 signature verification at 50-200 operations per second, and Elliptic Curve (P-256, P-384) operations at 100-500 operations per second. Security features include instruction randomization preventing return-oriented programming attacks, shadow stacks protecting control flow integrity, memory encryption preventing bus snooping, and secure interrupt handling with cryptographic authentication.
Secure Boot Controller (120)
The secure boot controller manages the overall verification sequence and enforces security policy through a hardware state machine (121). The state machine implements the following states: POWER_ON_RESET (initial state upon device power application), PUF_INITIALIZATION (PUF key derivation), ROOT_VERIFICATION (self-verification of hardware root of trust), multiple verification states for hierarchical bootloader verification (STAGE1_VERIFICATION, STAGE2_VERIFICATION, FIRMWARE_VERIFICATION), SECURE_BOOT_COMPLETE (normal operation), and FAILURE_LOCKDOWN (security violation detected). State transitions are hardware-enforced and cannot be bypassed through software manipulation, occurring only after successful cryptographic verification.
Real-Time Monitoring (122)
The controller continuously monitors boot execution through timing analysis (comparing execution times against expected values), sequence integrity checking (verifying proper boot stage ordering), and memory access pattern analysis (detecting unauthorized memory accesses). Timing anomalies exceeding threshold percentages (typically 20%) trigger security alerts, as deviations may indicate malicious code execution. The controller restricts firmware code to predefined memory regions, triggering immediate lockdown upon unauthorized access attempts.
Dual-Key Verification Architecture
Referring to Figure 3, the invention implements a sophisticated dual-key cryptographic verification scheme providing defense-in-depth security. The first verification path utilizes device-unique keys derived from the PUF module through HMAC-based Key Derivation Function (HKDF) per RFC 5869:
DEVICE_ROOT_KEY = PUF_Derive()
DEVICE_VERIFICATION_KEY = HKDF(DEVICE_ROOT_KEY,
"firmware_verification", device_serial_number)
The second verification path utilizes manufacturer-signed certificates following a certificate chain: Root CA Certificate (manufacturer's root certificate authority embedded in secure boot ROM), Intermediate CA Certificate (product line or firmware version certificate), and Firmware Signing Certificate (authorizing specific firmware images). The verification process validates the certificate chain up to the trusted root CA, checks certificate revocation status, and verifies the firmware signature using the certificate public key.
Hierarchical Chain of Trust
Referring to Figure 2, boot verification proceeds through multiple stages, each building upon the security established by previous stages. Stage 0 involves hardware root of trust self-verification wherein the secure boot ROM integrity is verified by calculating its hash and comparing against a reference hash stored in hardware fuses. Stage 1 verifies the primary bootloader by loading its firmware image structure (header with metadata, certificate chain, digital signature, and executable code), validating the certificate chain, calculating executable code hash, verifying the digital signature, and checking the version number against the rollback counter. Upon successful verification, code is loaded into isolated memory with execute-only, no-write protection attributes. Stage 2 follows identical verification for the secondary bootloader, and Stage 3 verifies additional firmware components registered in a firmware manifest.
Rollback Protection Mechanism
The invention implements comprehensive protection against rollback attacks through monotonic counters stored in tamper-resistant memory. The counters are implemented in One-Time Programmable (OTP) memory or anti-fuse technology providing physical irreversibility, ensuring counter values can only increment and never decrement. Each rollback counter entry comprises a firmware_family_id (32-bit identifier), version_counter (64-bit monotonic value), timestamp (64-bit Unix timestamp), and signature (HMAC-SHA256 using device-unique key). During firmware verification, if the new firmware version is less than the current counter value, the firmware is rejected and a security event is logged. If the version is equal, the firmware is accepted (same version re-installation). If greater, the firmware is accepted and after successful boot, the stored version counter is updated through an irreversible increment operation.
Tamper-Resistant Memory Architecture (130)
Secure storage of cryptographic material utilizes tamper-resistant memory with multiple protection layers. Physical security includes active shield structures detecting intrusion attempts and environmental sensors monitoring voltage, temperature, and electromagnetic conditions. Upon tamper detection, the system performs immediate erasure of sensitive key material and sets a permanent lockdown flag. Cryptographic protection encrypts all sensitive data using device-unique keys through AES-256 encryption, and includes HMAC-SHA256 authentication tags verifying data integrity. Updates to tamper-resistant memory require multi-factor authentication including cryptographic signature from manufacturer, time-limited authorization token, device-unique challenge-response authentication, and optional physical presence confirmation.
Boot Process Timing
The complete boot sequence proceeds as follows: T+0ms Power-On Reset, T+5ms PUF Initialization and key derivation, T+15ms Secure Boot ROM execution and self-verification, T+25ms Primary Bootloader load from external storage, T+35ms Primary Bootloader verification (certificate validation, signature verification, rollback check), T+50ms Primary Bootloader execution, T+75ms Secondary Bootloader verification, T+100ms Secondary Bootloader execution, T+150ms Operating System verification, T+200ms OS Handoff and Secure Boot completion. Total boot time overhead for security verification is approximately 180-200ms, representing less than 1% overhead compared to typical 10-second server boot times.
Technical Advantages
Immutability: Unlike software-based solutions, the hardware root of trust cannot be modified through software exploits or malicious firmware updates.
Device Uniqueness: PUF-based key derivation ensures each device has unique security characteristics preventing wholesale compromise even if algorithms are reverse-engineered.
Comprehensive Coverage: The hierarchical verification chain covers all firmware components eliminating gaps in the security perimeter.
Performance Efficiency: Hardware acceleration of cryptographic operations enables rapid boot verification with minimal performance penalty (<1% boot time overhead).
Scalability: The architecture scales from simple IoT sensors to complex multi-processor server systems through modular component design.
, Claims:1. A secure boot apparatus for preventing firmware attacks in computing devices, comprising: a) a hardware root of trust core integrated at silicon level comprising a Physically Unclonable Function (PUF) module configured to generate device-unique cryptographic keys from inherent manufacturing variations, and a security processor coupled to said PUF module and configured to execute cryptographic verification operations including AES-256 encryption, SHA-256 hashing, and RSA-2048 signature verification;
b) a secure boot controller operatively coupled to said hardware root of trust core, said secure boot controller comprising a hardware state machine configured to manage hierarchical verification of firmware components through multiple boot stages and monitor boot execution in real-time for anomaly detection;
c) tamper-resistant memory operatively coupled to said secure boot controller, said tamper-resistant memory storing cryptographic certificates, monotonic counters for rollback protection, and audit logs;
d) wherein said apparatus implements a dual-key verification architecture requiring both successful verification using device-unique keys derived from said PUF module and successful verification using manufacturer-signed certificates; and
e) wherein firmware components are cryptographically verified before execution establishing an unbroken chain of trust from power-on through operating system handoff.
2. The apparatus as claimed in claim 1, wherein said Physically Unclonable Function module comprises a Static Random-Access Memory (SRAM) PUF that generates cryptographic material based on power-up settling patterns of SRAM cells, further comprising helper data stored in non-volatile memory for error correction and a fuzzy extractor algorithm for reconstructing stable cryptographic keys from noisy PUF measurements.
3. The apparatus as claimed in claim 1, wherein said hardware state machine implements at least the following states: POWER_ON_RESET state upon device power application, PUF_INITIALIZATION state for deriving device-unique keys, ROOT_VERIFICATION state for self-verification of hardware root of trust, multiple verification states for hierarchical bootloader verification, SECURE_BOOT_COMPLETE state indicating successful verification, and FAILURE_LOCKDOWN state triggered by security violations, wherein state transitions are hardware-enforced and cannot be bypassed through software manipulation.
4. The apparatus as claimed in claim 1, wherein said tamper-resistant memory comprises an active shield layer detecting physical intrusion attempts, environmental sensors monitoring voltage and temperature conditions, encryption-at-rest using device-unique keys for all stored sensitive data, and authentication tags for verifying integrity of stored data.
5. The apparatus as claimed in claim 1, wherein said monotonic counters for rollback protection are implemented in One-Time Programmable (OTP) memory or anti-fuse technology, said counters comprising firmware version numbers that can only increment and never decrement, wherein firmware installation is rejected if the firmware version number is less than the current counter value.
6. The apparatus as claimed in claim 1, wherein said dual-key verification comprises a first verification path using device-unique keys derived from PUF-based root keys through HMAC-based Key Derivation Function (HKDF) and a second verification path using manufacturer-signed certificates validated through a certificate chain including Root CA Certificate, Intermediate CA Certificate, and Firmware Signing Certificate, wherein both verification paths must succeed before authorizing firmware execution.
7. The apparatus as claimed in claim 1, wherein said hierarchical verification comprises Stage 0 verification involving hardware root of trust self-verification, Stage 1 verification involving primary bootloader verification by hardware root of trust, Stage 2 verification involving secondary bootloader verification by primary bootloader, and Stage 3 verification involving operating system kernel and firmware components verification, wherein each stage inherits cryptographic capabilities from the previous stage extending the chain of trust.
8. The apparatus as claimed in claim 1, further comprising a recovery mechanism including secure recovery firmware stored in write-protected memory region having independent cryptographic signature and rollback counter, wherein recovery mode is automatically initiated upon repeated main firmware verification failures, and wherein the apparatus enters permanent lockdown state if recovery attempts fail after predetermined number of iterations.
9. A method for secure boot verification in a computing device, comprising the steps of: a) initializing a Physically Unclonable Function (PUF) upon device power-on to derive device-unique cryptographic keys from SRAM settling patterns;
b) executing immutable boot code from secure boot read-only memory to verify integrity of hardware root of trust components;
c) loading a primary bootloader from external non-volatile storage;
d) performing dual-key verification of said primary bootloader comprising calculating cryptographic hash, verifying digital signature using manufacturer certificate chain, verifying authentication tag using device-unique key, and comparing bootloader version against monotonic rollback counter;
e) upon successful verification, transferring execution control to said primary bootloader while maintaining chain of trust;
f) repeating verification process for subsequent firmware components in hierarchical sequence; and
g) monitoring boot execution using hardware state machine, triggering security lockdown upon detection of unauthorized deviations from expected boot flow.
10. The method as claimed in claim 9, wherein said PUF initialization comprises powering SRAM cells, reading settling patterns, retrieving helper data from secure storage, applying fuzzy extractor with BCH error correction to reconstruct stable keys, deriving cryptographic keys using Key Derivation Function (KDF), and immediately erasing raw PUF bits and intermediate keys from volatile memory.

Documents

Application Documents

# Name Date
1 202641031135-FORM-9 [15-03-2026(online)].pdf 2026-03-15
2 202641031135-FORM 1 [15-03-2026(online)].pdf 2026-03-15
3 202641031135-DRAWINGS [15-03-2026(online)].pdf 2026-03-15
4 202641031135-COMPLETE SPECIFICATION [15-03-2026(online)].pdf 2026-03-15
5 202641031135-PATENT_APPLICATION_PUBLICATION.pdf 2026-04-06