Real-time ML-based Defense Against Malicious Payload in Reconfigurable Embedded Systems
Stahle-Smith, Rye, Karakchi, Rasha
–arXiv.org Artificial Intelligence
The growing use of FPGAs in reconfigurable systems introducessecurity risks through malicious bitstreams that could cause denial-of-service (DoS), data leakage, or covert attacks. We investigated chip-level hardware malicious payload in embedded systems and proposed a supervised machine learning method to detect malicious bitstreams via static byte-level features. Our approach diverges from existing methods by analyzing bitstreams directly at the binary level, enabling real-time detection without requiring access to source code or netlists. Bitstreams were sourced from state-of-the-art (SOTA) benchmarks and re-engineered to target the Xilinx PYNQ-Z1 FPGA Development Board. Our dataset included 122 samples of benign and malicious configurations. The data were vectorized using byte frequency analysis, compressed using TSVD, and balanced using SMOTE to address class imbalance. The evaluated classifiers demonstrated that Random Forest achieved a macro F1-score of 0.97, underscoring the viability of real-time Trojan detection on resource-constrained systems. The final model was serialized and successfully deployed via PYNQ to enable integrated bitstream analysis.
arXiv.org Artificial Intelligence
Sep-3-2025
- Country:
- Asia > Middle East
- Iran > Tehran Province > Tehran (0.05)
- North America > United States
- Missouri > St. Louis County
- St. Louis (0.06)
- New York > New York County
- New York City (0.05)
- South Carolina > Richland County
- Columbia (0.16)
- Missouri > St. Louis County
- Asia > Middle East
- Genre:
- Research Report (0.51)
- Industry:
- Information Technology > Security & Privacy (0.49)
- Technology: