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

作为Weird Machine重构问题的铸件开发分析

Casting exploit analysis as a Weird Machine reconstruction problem

Robert Abela, Mark Vella

摘要:

漏洞利用构成应用程序输入形式的恶意软件。它们利用程序内部的安全漏洞,将执行控制权交给攻击者。成功利用漏洞的根本原因在于程序编译并加载到内存中执行时引入的紧急功能,称为“Weird Machines”(WM)。本质上,WM是执行攻击者字节码的意外虚拟机,每当字节码集未知时,就会使恶意软件分析复杂化。我们采取的方向,WM字节码是最好的理解在利用执行达到的进程内存布局的水平。构建此内存布局的每一步都包括一个漏洞利用原语,即漏洞利用的基本构建块。这项工作提出了一个WM重建算法,其工作原理是通过识别预定义的利用相关的行为在目标二进制文件的动态分析,将其与负责的利用段-WM字节码。通过这种方式,任何熟悉漏洞利用编程的分析师都会立即识别出重构的WM字节码的语义。这项工作是第一次尝试研究这种方法的可行性,并侧重于Web浏览器时,针对JavaScript漏洞。

英文摘要:

Exploits constitute malware in the form of application inputs. They take advantage of security vulnerabilities inside programs in order to yield execution control to attackers. The root cause of successful exploitation lies in emergent functionality introduced when programs are compiled and loaded in memory for execution, called `Weird Machines' (WMs). Essentially WMs are unexpected virtual machines that execute attackers' bytecode, complicating malware analysis whenever the bytecode set is unknown. We take the direction that WM bytecode is best understood at the level of the process memory layout attained by exploit execution. Each step building towards this memory layout comprises an exploit primitive, an exploit's basic building block. This work presents a WM reconstruction algorithm that works by identifying pre-defined exploit primitive-related behaviour during the dynamic analysis of target binaries, associating it with the responsible exploit segment - the WM bytecode. In this manner any analyst familiar with exploit programming will immediately recognise the reconstructed WM bytecode's semantics. This work is a first attempt at studying the feasibility of this method and focuses on web browsers when targeted by JavaScript exploits.

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

↑