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

一种安全模式选择与实现检查的改进方法

An Advanced Approach for Choosing Security Patterns and Checking their Implementation

Sébastien Salva, Loukmen Regainia

摘要:

本文处理的问题,产生具体的测试用例,测试是否容易受到攻击的应用程序,并检查是否正确实施安全解决方案。本文提出的方法旨在指导开发人员实现安全的应用程序,从威胁建模阶段到测试阶段。这种方法依赖于集成各种安全数据的知识库,例如,攻击、攻击步骤和安全模式,它们是设计安全应用程序的通用和可重用解决方案。该方法的第一阶段包括协助开发人员设计攻击防御树,表达攻击者可能危及应用程序和可能实施的防御。这些防御以安全模式组合的形式给出。在第二阶段,这些树用于指导开发人员生成测试用例。在测试用例执行之后,测试判决显示应用程序是否容易受到ADTree建模的威胁的攻击。该方法的最后一个阶段检查在测试用例执行时收集的应用程序跟踪中是否包含安全模式的行为属性。这些属性是正式的LTL属性,这是从知识库中生成的。开发人员不必编写LTL属性,也不必成为正式模型的专家。我们在10个Web应用程序上进行了实验,以评估其测试有效性和性能。

英文摘要:

This paper tackles the problems of generating concrete test cases for testing whether an application is vulnerable to attacks, and of checking whether security solutions are correctly implemented. The approach proposed in the paper aims at guiding developers towards the implementation of secure applications, from the threat modelling stage up to the testing one. This approach relies on a knowledge base integrating varied security data, e.g., attacks, attack steps, and security patterns that are generic and re-usable solutions to design secure applications. The first stage of the approach consists in assisting developers in the design of Attack Defense Trees expressing the attacker possibilities to compromise an application and the defenses that may be implemented. These defenses are given under the form of security pattern combinations. In the second stage, these trees are used to guide developers in the test case generation. After the test case execution, test verdicts show whether an application is vulnerable to the threats modelled by an ADTree. The last stage of the approach checks whether behavioural properties of security patterns hold in the application traces collected while the test case execution. These properties are formalised with LTL properties, which are generated from the knowledge base. Developers do not have to write LTL properties not to be expert in formal models. We experimented the approach on 10 Web applications to evaluate its testing effectiveness and its performance.

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

↑