Embedded devices are omnipresent in modern networks including the ones operating inside critical environments. However, due to their constrained nature, novel mechanisms are required to provide external, and non-intrusive anomaly detection. Among such approaches, one that has gained traction is based on the analysis of the electromagnetic (EM) signals that get emanated during a device's operation. However, one of the most neglected challenges of this approach is the requirement for manually gathering and fingerprinting the signals that correspond to each execution path of the software/firmware. Indeed, even simple programs are comprised of hundreds if not thousands of branches thus, making the fingerprinting stage an extremely time-consuming process that involves the manual labor of a human specialist. To address this issue, we propose a framework for generating synthetic EM signals directly from the machine code. The synthetic signals can be used to train a Machine Learning based (ML) system for anomaly detection. The main advantage of the proposed approach is that it completely removes the need for an elaborate and error-prone fingerprinting stage, thus, dramatically increasing the scalability of the corresponding protection mechanisms. The experimental evaluations indicate that our method provides high detection accuracy (above 90% AUC score) when employed for the detection of injection attacks. Moreover, the proposed methodology inflicts only a small penalty (-1.3%) in accuracy for the detection of the injection of as little as four malicious instructions when compared to the same methods if real signals were to be used.
翻译:嵌入装置在现代网络中无处不在,其中包括在关键环境中运作的装置。然而,由于它们的局限性性质,需要新机制来提供外部和非侵入性异常现象的检测。在这类方法中,已经获得牵引的是一种基于分析在装置运行过程中产生的电磁信号的方法。然而,这一方法最被忽视的挑战之一是需要人工收集和指纹信号,这些信号与软件/硬件的每个执行路径相对应。事实上,即使简单的程序也包含数百个甚至数千个分支,因此,使指纹鉴别阶段成为一个极其耗时的过程,其中涉及一名人类专家的体力劳动。为了解决这一问题,我们提出了一个直接从机器代码生成合成EM信号的框架。合成信号可用于培训基于机器学习的系统,以便发现异常现象。拟议方法的主要优点是,它完全消除了对详细和易出错的指纹识别阶段的需求,从而极大地增加了相应保护机制的可缩缩性。实验性评估表明,如果在采用正确的四个方法时,我们使用的检测方法(即采用较高的检测方法,只有90 % ) 才是用于注射式袭击的精确度。