Trust is Good, Monitoring is Better: FPG TEE-Based Monitoring for Malware-Detection

Friederike Bruns, Georg Gläser, Florian Kögler, Jonas Lienke, Nithin Ravani Nanjundaswamy, Gregor Nitsche, Behnam Razi Perjikolaei, Jörg Walter · 2025

Ensuring trustworthiness in electronic systems is crucial to maintain safety and data integrity.Safety properties of robotic components are rigorously validated during development and, similarly, security requires ongoing monitoring during system operation as well.However, this monitoring must also safeguard its own components from tampering.We propose a novel runtime monitoring approach using application-specific monitors within an FPGA-based Trusted Execution Environment (TEE).To protect these monitors from supply chain attacks during design, fabrication, testing, or packaging, the TEE is programmed as the final step before deployment.The monitors are directly generated from formal constraint specifications established during the design and test phases.Our approach is demonstrated on a RISC-V-based System-on-Chip (SoC) for robotic applications, featuring a force sensor and a CAN-bus interface.We monitor the timing behaviour of hardware and software to detect malicious modifications affecting data transmission to a control unit.In an FPGA prototype, the monitors successfully identified hardware and software tampering.In real ASIC implementations, programming the TEE post-packaging ensures resilience against supply chain attacks.

Read the paper · More papers on PaperTik