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

检查模型和代码之间的安全遵从性

Checking Security Compliance between Models and Code

Katja Tuma, Sven Peldszus, Daniel Strüber, Riccardo Scandariato, Jan Jürjens

摘要:

验证计划的安全机制是否在软件中实际实现是一项挑战。在基于模型的开发环境中,实现的安全机制必须捕获设计模型中考虑的所有预期安全属性。手动确保这种合规性是劳动密集型的,并且可能容易出错。这项工作介绍了第一个半自动技术的安全数据流符合性检查之间的设计模型和代码。我们开发了一个设计级模型(SecDFD,由人类提供)和代码级表示(程序模型,自动从实现中提取)之间的自动映射,以指导用户发现违规行为,从而发现代码中的潜在安全缺陷。这些映射使得能够相对于设计模型的期望的安全属性对实现进行自动化的、特定于项目的静态分析。我们开发了两种类型的安全遵从性检查,并在开源Java项目上评估了整个方法。

英文摘要:

It is challenging to verify that the planned security mechanisms are actually implemented in the software. In the context of model-based development, the implemented security mechanisms must capture all intended security properties that were considered in the design models. Assuring this compliance manually is labor intensive and can be error-prone. This work introduces the first semi-automatic technique for secure data flow compliance checks between design models and code. We develop heuristic-based automated mappings between a design-level model (SecDFD, provided by humans) and a code-level representation (Program Model, automatically extracted from the implementation) in order to guide users in discovering compliance violations, and hence potential security flaws in the code. These mappings enable an automated, and project-specific static analysis of the implementation with respect to the desired security properties of the design model. We developed two types of security compliance checks and evaluated the entire approach on open source Java projects.

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

↑