针对会话初始协议(SIP)可能存在的安全漏洞以及对SIP漏洞挖掘研究工作不足的问题,基于协议分析与模糊测试,提出一种SIP协议漏洞挖掘方案。该方案在分析SIP协议语法、格式和会话流程的基础上,对可能出现漏洞的SIP消息生成对应的畸形数据包作为模糊测试的测试用例,并在会话建立的过程中随机发送畸形数据触发测试目标,在监视到SIP客户端发生异常时记录异常信息,并分析导致异常的错误是否能被利用。实验结果表明,该方案能更全面地挖掘出由协议分析结果和模糊测试发现的SIP漏洞,提高挖掘数量和效率。
Aiming at the potential security vulnerabilities of Session Initiation Protocol(SIP) and the lack of research work for exploiting SIP vulnerabilities, an exploiting solution of SIP vulnerabilities is proposed based on protocol analysis and fuzz test. On the basis of analyzing SIP protocol grammar, format and session interaction process, this method generates abnormal SIP data packets as the test case of fuzz test for the SIP messages with potential vulnerabilities,sends abnormal data randomly to trigger the test object in the process of building conversation, records abnormal information when monitoring the exception of SIP clients, and analyzes whether the exception information can be utilized. Experimental results show that this scheme can exploit more SIP vulnerabilities based on protocol analysis results and fuzz test, improving mining quantity and efficiency.