基于SPIN和TTCN-3的协议安全性测试研究
Protocol Security Testing with SPIN and TTCN-3
协议安全性测试是确保通信协议安全的重要方法。本文提出了一种基于模型检测工具SPIN和协议测试语言TTCN-3的网络协议安全性测试方法。该方法使用模型检测方法对协议规范的安全性进行验证。为建立更有效的协议验证模型,使用了安全威胁模型对协议中的恶意实体进行建模,并且引入信息安全的分类原则来对协议的安全需求进行详尽分析。为实现从协议验证结果到TTCN-3测试例的自动转化,设计了从SPIN反例文件到TTCN-3测试例的映射规则,并实现了测试例自动生成工具st2ttcn。在源地址验证协议SAVI安全性测试中的应用表明,该方法能有效的检测出协议规范中的漏洞,指导测试实践,能够在协议标准化过程中发挥重要作用。
Protocol security testing is an important technique to ensure the security of communication protocols. However, methods considering both effective detection to specification vulnerabilities and efficient testing on protocol implementations are not well developed. In this paper, we present a general method for protocol security testing including protocol verification with SPIN model checker and protocol testing with formal testing language TTCN-3. We use threat model to model malicious entities and import the classification of information security to achieve a complete analysis of security requirements for protocol verification. We also develop a SPIN Trail to TTCN-3(st2ttcn) convention tool to generate testcases automatically from counter examples obtained from model checking. As a case study, we apply our approach to the security testing of Source Address Validation Improvements (SAVI) protocol. We test two versions of SAVI-DHCP protocol. The result indicates that our method is effective and efficient.
王之梁、周礼、尹霞
通信无线通信电子对抗
协议测试安全性测试SPINN-3
Protocol TestingSecurity TestingSPINTTCN-3
王之梁,周礼,尹霞.基于SPIN和TTCN-3的协议安全性测试研究[EB/OL].(2010-12-21)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/201012-766.点此复制
评论