首页|HMFuzzer:一种基于人机协同的物联网设备固件漏洞挖掘方案

HMFuzzer:一种基于人机协同的物联网设备固件漏洞挖掘方案

扫码查看
模糊测试是一种针对物联网设备固件漏洞挖掘的主流方法,能够先攻击者一步发现安全威胁,提升物联网设备的安全性.但是目前大部分的模糊测试技术关注于如何自动化地实现漏洞挖掘,忽略了专家经验对于设备固件漏洞挖掘工作的优势.本文提出一种基于人机协同的物联网设备固件漏洞挖掘方案HMFuzzer,设计了基于设备固件前后端交互的设备固件关键信息提取方法,通过模拟设备固件、设备管理界面以及用户三方交互模式获取固件潜在的关键信息,并通过二进制文件定位和函数分析技术解析出固件关键函数.此外,HMFuzzer通过在模糊测试的预处理、测试和结果分析阶段引入专家经验,利用上一阶段获取的关键信息,结合强化学习算法,优化种子变异和模糊测试流程,显著提升了模糊测试的覆盖率、效率以及漏洞挖掘能力.实验结果表明,相比于现有的固件漏洞挖掘方法,HMFuzzer的漏洞识别成功率能提高10%以上,具备更强的漏洞检测能力.特别是,针对真实厂商的物联网设备测试,HMFuzzer发现了多个0-day漏洞,其中已获得4个CVE/CNVD高危漏洞.
HMFuzzer:A Human-Machine Collaboration-Based Firmware Vulnerability Mining Scheme for IoT Devices
The popularity of infrastructure such as 5G has greatly facilitated the development of the Internet of Things(IoT),which has become an integral part of our lives.However,with the widespread adoption of IoT technologies in many areas,the security risks of its architecture have also increased and the attack surface for IoT is becoming more diverse.In recent years,malicious attacks and security incidents related to the IoT have been frequent,which are often caused by exploitable security vulnerabilities in IoT devices.In this context,fuzzing currently becomes the mainstream approach for IoT device firmware vulnerability mining,which can improve the security of IoT devices by detecting security threats ahead of attackers.However,most of the existing research works on IoT device firmware vulnerability mining have overly focused on automated vulnerability mining.Although automated vulnerability mining reduces the labor cost,it limits the flexibility and scalability of the solutions and ignores the benefits of expert experience.Expert experience can greatly enhance the compatibility of automated fuzzers,improve the efficiency of test seed evolution,and also help automated tools to discern anomalous program states that are difficult to resolve,which in turn improves the ability of vulnerability mining.Therefore,in order to effectively combine expert experience and automated vulnerability mining and improve the efficiency of IoT device firmware vulnerability mining,this paper proposes a human-machine collaborative firmware vulnerability mining scheme for IoT device,named HMFuzzer.HMFuzzer obtains the target device firmware information through various methods and designs a device firmware key information extraction method based on the interaction between the front and back ends of the device firmware.The method simulates the three-party interaction mode among the device firmware,the management interface,and the user,which can effectively obtain the target device's potential firmware key information.Besides,HMFuzzer obtains firmware key functions through binary file location and function analysis for guiding the subsequent fuzzing seed generation.In addition,HMFuzzer introduces expert experience into the pre-processing,testing,and result analysis phases,optimizing the seed variation and fuzzing process based on the key information obtained in the previous phase.Furthermore,it combines with the reinforcement learning algorithm,which significantly improves the coverage rate and efficiency of fuzzing as well as the vulnerability mining capability of target device firmware.To verify the effectiveness and detection capability of HMFuzzer,we conduct three parts of experiments,including reinforcement learning algorithm experiments,vulnerability detection capability comparison experiments,and 0-day vulnerability mining experiments.The reinforcement learning algorithm experiments demonstrate that compared to existing vulnerability mining solutions for IoT devices,the reinforcement learning algorithm is able to significantly improve the coverage of target programs by improving the efficiency of seed screening.The vulnerability detection capability comparison experiments collect 110 vulnerabilities in 37 different devices from 7 vendors.The results show that HMFuzzer is able to improve vulnerability identification success rate by more than 10%compared to existing methods,providing a stronger vulnerability detection capability.The 0-day vulnerability mining experiments analyze three real vendor's IoT devices.Finally,HMFuzzer finds multiple 0-day vulnerabilities,including 4 CVE/CNVD high-risk vulnerabilities.

Internet of Thingsvulnerability miningfuzzinghuman machine collaborationdevice firmwarereinforcement learning

况博裕、张兆博、杨善权、苏铓、付安民

展开 >

南京理工大学网络空间安全学院 南京 210094

南京理工大学计算机科学与工程学院 南京 210094

物联网 漏洞挖掘 模糊测试 人机协同 设备固件 强化学习

国家自然科学基金项目国家自然科学基金项目江苏省自然科学基金项目未来网络科研基金项目中央高校基本科研业务费专项江苏省青蓝工程和江苏省卓越博士后计划

6207223962372236BK20211192FNSRFP-2021-ZD-0530921013111

2024

计算机学报
中国计算机学会 中国科学院计算技术研究所

计算机学报

CSTPCD北大核心
影响因子:3.18
ISSN:0254-4164
年,卷(期):2024.47(3)
  • 49