arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.02979cs.CR
收藏

POW-HOW:一个持久的定时侧通道,以规避在线恶意软件沙箱

POW-HOW: An enduring timing side-channel to evade online malware sandboxes

Antonio Nappa, Panagiotis Papadopoulos, Matteo Varvello, Daniel Aceituno Gomez, Juan Tapiador, Andrea Lanzi

摘要:

在线恶意软件扫描器是网络安全公司和研究人员武器库中最好的武器之一。这种系统的一个基本部分是沙箱,它为任何用户提供了一个检测和隔离的环境(虚拟化或仿真),以上传和运行未知的工件并识别潜在的恶意行为。这些服务提供的API和报告中的丰富信息也帮助攻击者测试了许多技术的有效性,使恶意软件难以检测。恶意软件逃避分析系统的最常见技术是监视执行环境,检测任何调试工件的存在,并在需要时隐藏其恶意行为。这通常通过寻找暗示执行环境不属于本机的信号来实现,例如特定的内存模式或某些CPU指令的行为特征。在本文中,我们展示了攻击者如何通过将工作量证明(PoW)算法纳入恶意软件样本来逃避对此类在线服务的检测。具体来说,我们利用PoW算法的计算成本的渐近行为,当它们在某些类别的硬件平台上运行时,可以有效地检测恶意软件沙箱分析器的非裸机环境。为了证明这种直觉的有效性,我们设计并实现了POW-HOW框架,一个自动实现沙箱检测策略并将测试规避程序嵌入到任意恶意软件样本中的工具。我们的实证评估表明,所提出的规避技术是持久的,难以指纹,并减少现有的恶意软件检测率的10倍。此外,我们还展示了裸机环境如何无法随着消费者服务的实际恶意软件提交率而扩展。

英文摘要:

Online malware scanners are one of the best weapons in the arsenal of cybersecurity companies and researchers. A fundamental part of such systems is the sandbox that provides an instrumented and isolated environment (virtualized or emulated) for any user to upload and run unknown artifacts and identify potentially malicious behaviors. The provided API and the wealth of information inthe reports produced by these services have also helped attackers test the efficacy of numerous techniques to make malware hard to detect.The most common technique used by malware for evading the analysis system is to monitor the execution environment, detect the presence of any debugging artifacts, and hide its malicious behavior if needed. This is usually achieved by looking for signals suggesting that the execution environment does not belong to a the native machine, such as specific memory patterns or behavioral traits of certain CPU instructions. In this paper, we show how an attacker can evade detection on such online services by incorporating a Proof-of-Work (PoW) algorithm into a malware sample. Specifically, we leverage the asymptotic behavior of the computational cost of PoW algorithms when they run on some classes of hardware platforms to effectively detect a non bare-metal environment of the malware sandbox analyzer. To prove the validity of this intuition, we design and implement the POW-HOW framework, a tool to automatically implement sandbox detection strategies and embed a test evasion program into an arbitrary malware sample. Our empirical evaluation shows that the proposed evasion technique is durable, hard to fingerprint, and reduces existing malware detection rate by a factor of 10. Moreover, we show how bare-metal environments cannot scale with actual malware submissions rates for consumer services.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑