看得越仔细,学得越多:协议状态机器学习的灰箱方法
The Closer You Look, The More You Learn: A Grey-box Approach to Protocol State Machine Learning
摘要:
在本文中,我们提出了一种新的方法来推断状态机模型的协议实现。我们的方法,STATEINSPECTOR,通过使用新的程序分析结合运行时内存和I/O的观察来学习协议状态。它不需要访问源代码,只需要对测试中的实现进行轻量级的执行监控。我们证明和评估STATEINSPECTOR的有效性在众多的TLS和WPA/2实现。在此过程中,我们表明STATEINSPECTOR比现有方法能够实现更深入的状态发现、提高学习效率以及更有洞察力的事后分析。为了进一步改进学习,我们的方法使我们发现了几个与标准有关的偏差,以及一个突出的Wi-Fi实现中的高影响漏洞。
英文摘要:
In this paper, we propose a new approach to infer state machine models from protocol implementations. Our method, STATEINSPECTOR, learns protocol states by using novel program analyses to combine observations of run-time memory and I/O. It requires no access to source code and only lightweight execution monitoring of the implementation under test. We demonstrate and evaluate STATEINSPECTOR's effectiveness on numerous TLS and WPA/2 implementations. In the process, we show STATEINSPECTOR enables deeper state discovery, increased learning efficiency, and more insightful post-mortem analyses than existing approaches. Further to improved learning, our method led us to discover several concerning deviations from the standards and a high impact vulnerability in a prominent Wi-Fi implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。