[Paper Review] IMS: Intelligent Hardware Monitoring System for Secure SoCs
The paper presents IMS, a machine-learning based real-time AXI protocol monitoring system integrated as a hardware IP to detect protocol-violation DoS attacks on SoCs, achieving high detection accuracy with low hardware overhead and latency.
In the modern Systems-on-Chip (SoC), the Advanced eXtensible Interface (AXI) protocol exhibits security vulnerabilities, enabling partial or complete denial-of-service (DoS) through protocol-violation attacks. The recent countermeasures lack a dedicated real-time protocol semantic analysis and evade protocol compliance checks. This paper tackles this AXI vulnerability issue and presents an intelligent hardware monitoring system (IMS) for real-time detection of AXI protocol violations. IMS is a hardware module leveraging neural networks to achieve high detection accuracy. For model training, we perform DoS attacks through header-field manipulation and systematic malicious operations, while recording AXI transactions to build a training dataset. We then deploy a quantization-optimized neural network, achieving 98.7% detection accuracy with <=3% latency overhead, and throughput of >2.5 million inferences/s. We subsequently integrate this IMS into a RISC-V SoC as a memory-mapped IP core to monitor its AXI bus. For demonstration and initial assessment for later ASIC integration, we implemented this IMS on an AMD Zynq UltraScale+ MPSoC ZCU104 board, showing an overall small hardware footprint (9.04% look-up-tables (LUTs), 0.23% DSP slices, and 0.70% flip-flops) and negligible impact on the overall design's achievable frequency. This demonstrates the feasibility of lightweight, security monitoring for resource-constrained edge environments.
Motivation & Objective
- Address AXI protocol security vulnerabilities that enable DoS in SoCs.
- Develop a real-time, hardware-implemented ML-based monitoring system (IMS) for AXI traffic.
- Create a public dataset of normal and malicious AXI transactions for training and evaluation.
- Demonstrate IMS integration in a RISC-V SoC and assess hardware overhead and performance.
Proposed method
- Generate a labeled AXI traffic dataset by recording normal operation and synthesizing DoS-style malicious transactions across AXI channels.
- Engineer features from 52 protocol signals, reduce to 22 via correlation analysis, then compress with PCA to retain 90–97% variance.
- Train a two-hidden-layer MLP with 32 neurons per layer and a sigmoid output using ADAM optimization and binary cross-entropy loss.
- Apply quantization-aware training to (<8,5>) precision with 80% weight pruning to map the model to hardware.
- Synthesize the ML model with HLS4ML to an AXI-Stream IP core and map it as a memory-mapped peripheral on a Chipyard/RISC-V SoC.
- Evaluate detection performance (accuracy, precision, recall, F1, AUC-ROC) and hardware metrics (DSP, LUT, FF, BRAM) on a ZCU104 FPGA.

Experimental results
Research questions
- RQ1Can ML-based heterogeneous feature representations detect AXI protocol-violation attacks in real time on SoCs?
- RQ2What feature engineering and model optimization strategies yield hardware-friendly, high-accuracy AXI monitoring?
- RQ3What is the hardware overhead and performance impact of integrating IMS as an AXI monitoring IP?
- RQ4How robust is IMS across different AXI attack vectors and mixed attacks?
- RQ5Is there public data available to reproduce protocol-level AXI security evaluations?
Key findings
- IMS achieves up to 98.9–99.1% accuracy and 0.993 AUC-ROC in baseline and quantized forms.
- Quantized <8,5> model reaches 99.0% recall and maintains AUC-ROC > 0.99.
- FPGA implementation reduces DSP usage by 99.5% (from 799 to 4) and LUTs by 53.9% (to 20,841) with 0.23% DSP, 0.70% FF usage on ZCU104.
- IMS latency is around 1.53–1.61 ms per inference with throughput exceeding 2.4–2.57 million inferences/s under varying AXI loads.
- Attack-specific detection rates include AWLEN overflow 100% DR; ARID duplication 98.0% DR; AWQOS flooding 97.2% DR; mixed attacks above 98% DR.
- Overall detection rate across 3,242 samples is 98.5% with 96.4% precision.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.