{"id":{"repo_id":"rit","oai_identifier":"oai:repository.rit.edu:theses-12765"},"canonical_url":"https://search.ndltd.org/etd/rit/oai:repository.rit.edu:theses-12765","repository":{"repo_id":"rit","name":"Rochester Institute of Technology","base_url":"https://repository.rit.edu/do/oai/"},"display":{"title":"Software-Based Property Enforcement for Detecting Hardware Anomalies","abstract":"As the world grows more and more reliant on microcomputing systems, security becomes a greater and greater concern. Malicious code is an ever-present issue in the field of computing and hardware vulnerabilities pose a rising threat to an increasingly connected landscape. This variety in threats can be mitigated through invariant rules for device operation, which form a policy for acceptable device behavior such that policy violations can be interpreted as either erroneous or malicious. This defense architecture disregards threat source and identifies issues based on their symptoms. Such systems are usually enforced through hardware implementations, which can become expensive in time and resources to include and even more so to adapt or modify. To address this, a software-based anomaly detector system was designed and implemented on an STM32-l476rg microcontroller. This system enforces a set of custom security invariants through software and included device peripherals, allowing anomaly detection without modifying the device. These invariants were developed over the course of the work based on listings from the Common Weakness Enumeration (CWE) from the MITRE corporation. The detector consists of a secure bootloader to ensure code integrity, a detector system making use of general-purpose and watchdog timers, and a FreeRTOS instance to run the overlying user code. This system was tested against simulated hardware anomalies through the debug port and measured for performance. The detector was able to successfully detect a variety of threats, including out-of-bounds execution, locked memory modification, stack overflow, improper state transition, hardware reconfiguration, debug mode use, secure boot bypass, and AES round skips. The detector code was found to have a processor time overhead of 0.0842 percent, and the memory usage reached about four percent utilization for the target processor.","abstract_html":"As the world grows more and more reliant on microcomputing systems, security becomes a greater and greater concern. Malicious code is an ever-present issue in the field of computing and hardware vulnerabilities pose a rising threat to an increasingly connected landscape. This variety in threats can be mitigated through invariant rules for device operation, which form a policy for acceptable device behavior such that policy violations can be interpreted as either erroneous or malicious. This defense architecture disregards threat source and identifies issues based on their symptoms. Such systems are usually enforced through hardware implementations, which can become expensive in time and resources to include and even more so to adapt or modify. To address this, a software-based anomaly detector system was designed and implemented on an STM32-l476rg microcontroller. This system enforces a set of custom security invariants through software and included device peripherals, allowing anomaly detection without modifying the device. These invariants were developed over the course of the work based on listings from the Common Weakness Enumeration (CWE) from the MITRE corporation. The detector consists of a secure bootloader to ensure code integrity, a detector system making use of general-purpose and watchdog timers, and a FreeRTOS instance to run the overlying user code. This system was tested against simulated hardware anomalies through the debug port and measured for performance. The detector was able to successfully detect a variety of threats, including out-of-bounds execution, locked memory modification, stack overflow, improper state transition, hardware reconfiguration, debug mode use, secure boot bypass, and AES round skips. The detector code was found to have a processor time overhead of 0.0842 percent, and the memory usage reached about four percent utilization for the target processor.","abstract_has_math":false,"creators":["Thomas, Jacob"],"institution":null,"degree_name":"Computer Engineering (MS)","degree_level":"Thesis","degree_discipline":"Computer Engineering","degree_department":null,"school":null,"contributors":["Michael Zuzak"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T09:05:36Z","subjects":["Embedded systems","Invariant enforcement","Microcontrollers","Security"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.rit.edu/theses/11627","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.rit.edu/theses/11627","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.rit.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Arepository.rit.edu%3Atheses-12765","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Michael Zuzak"]},{"key":"dc:creator","label":"Author","values":["Thomas, Jacob"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2024-12-21T08:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2023-12-01T08:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Computer Engineering (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Embedded systems","Invariant enforcement","Microcontrollers","Security"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.rit.edu/theses/11627"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["As the world grows more and more reliant on microcomputing systems, security becomes a greater and greater concern. Malicious code is an ever-present issue in the field of computing and hardware vulnerabilities pose a rising threat to an increasingly connected landscape. This variety in threats can be mitigated through invariant rules for device operation, which form a policy for acceptable device behavior such that policy violations can be interpreted as either erroneous or malicious. This defense architecture disregards threat source and identifies issues based on their symptoms. Such systems are usually enforced through hardware implementations, which can become expensive in time and resources to include and even more so to adapt or modify. To address this, a software-based anomaly detector system was designed and implemented on an STM32-l476rg microcontroller. This system enforces a set of custom security invariants through software and included device peripherals, allowing anomaly detection without modifying the device. These invariants were developed over the course of the work based on listings from the Common Weakness Enumeration (CWE) from the MITRE corporation. The detector consists of a secure bootloader to ensure code integrity, a detector system making use of general-purpose and watchdog timers, and a FreeRTOS instance to run the overlying user code. This system was tested against simulated hardware anomalies through the debug port and measured for performance. The detector was able to successfully detect a variety of threats, including out-of-bounds execution, locked memory modification, stack overflow, improper state transition, hardware reconfiguration, debug mode use, secure boot bypass, and AES round skips. The detector code was found to have a processor time overhead of 0.0842 percent, and the memory usage reached about four percent utilization for the target processor."]},{"key":"dc:title","label":"Title","values":["Software-Based Property Enforcement for Detecting Hardware Anomalies"]}]}],"canonical_facts":{"dc:contributor":["Michael Zuzak"],"dc:creator":["Thomas, Jacob"],"dc:date.available":["2024-12-21T08:00:00Z"],"dc:date.created":["2023-12-01T08:00:00Z"],"dc:description.abstract":["As the world grows more and more reliant on microcomputing systems, security becomes a greater and greater concern. Malicious code is an ever-present issue in the field of computing and hardware vulnerabilities pose a rising threat to an increasingly connected landscape. This variety in threats can be mitigated through invariant rules for device operation, which form a policy for acceptable device behavior such that policy violations can be interpreted as either erroneous or malicious. This defense architecture disregards threat source and identifies issues based on their symptoms. Such systems are usually enforced through hardware implementations, which can become expensive in time and resources to include and even more so to adapt or modify. To address this, a software-based anomaly detector system was designed and implemented on an STM32-l476rg microcontroller. This system enforces a set of custom security invariants through software and included device peripherals, allowing anomaly detection without modifying the device. These invariants were developed over the course of the work based on listings from the Common Weakness Enumeration (CWE) from the MITRE corporation. The detector consists of a secure bootloader to ensure code integrity, a detector system making use of general-purpose and watchdog timers, and a FreeRTOS instance to run the overlying user code. This system was tested against simulated hardware anomalies through the debug port and measured for performance. The detector was able to successfully detect a variety of threats, including out-of-bounds execution, locked memory modification, stack overflow, improper state transition, hardware reconfiguration, debug mode use, secure boot bypass, and AES round skips. The detector code was found to have a processor time overhead of 0.0842 percent, and the memory usage reached about four percent utilization for the target processor."],"dc:identifier":["https://repository.rit.edu/theses/11627"],"dc:subject":["Embedded systems","Invariant enforcement","Microcontrollers","Security"],"dc:title":["Software-Based Property Enforcement for Detecting Hardware Anomalies"],"thesis:degree_discipline":["Computer Engineering"],"thesis:degree_level":["Thesis"],"thesis:degree_name":["Computer Engineering (MS)"]},"updated_at":"2026-11-19T09:05:36Z"}