Real-time Instruction-Level Anomaly Detection for Embedded Applications using AI
Authors/Creators
Description
Bare-metal embedded systems, such as ARM Cortex-M4-based devices, are vulnerable to attacks such as buffer overflows due to the lack of operating system protection. This paper presents a novel approach for detecting standard C library functions -such as memcpy, memset, strncat-that are susceptible to such vulnerabilities by analyzing micro-architectural instruction traces.
We propose machine learning pipelines, including CNN-, LSTM-, and autoencoder-based detectors. Our approach uses data pre-processing techniques, such as sliding windows with varying stride are employed to optimize classification accuracy.
Evaluating the algorithm with 25 custom workloads simulating common weaknesses (e.g., CWE-120, CWE-126) shows 93.89% TPR, 73.19% TNR, 26.81% FPR, and 6.11% FNR.
This work advances IoT security by enabling online and real-time vulnerable function identification supporting zero-day attack detection. This goes beyond existing techniques targeting only higher-level platforms.
Files
Real-time Instruction-Level Anomaly Detection for Embedded Applications using AI.pdf
Files
(3.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:04c63822183a4c9450fd207c6c1ff4a8
|
3.5 MB | Preview Download |