Real-time ML-based Defense Against Malicious Payload in Reconfigurable Embedded Systems

Rye Stahle-Smith, Rasha Karakchi
9/2/2025
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{stahlesmith2025realtime,
  title  = {Real-time ML-based Defense Against Malicious Payload in Reconfigurable Embedded Systems},
  author = {Rye Stahle-Smith and Rasha Karakchi},
  year   = {2025},
  eprint = {2509.02387},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.02387v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.02387.svg)](https://codeofpaper.com/paper/2509.02387)

Discussion