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

“这样!去吧!,什么也不会发生”规范会导致安全存储的密码吗?

"Do this! Do that!, And nothing will happen" Do specifications lead to securely stored passwords?

Joseph Hallett, Nikhil Patnaik, Benjamin Shreeve, Awais Rashid

摘要:

为一段安全敏感代码编写规范(代码应该如何运行)的行为是否会导致开发人员生成更安全的代码?我们要求138名开发人员编写一段代码来存储密码:其中一半人被要求在编写程序之前写下代码应该如何运行的规范,另一半人被要求编写代码,但没有被提示先编写规范。我们发现,显式提示开发人员编写规范对所实现的密码存储方法的安全性有很小的积极影响。然而,开发人员通常无法安全地存储密码,尽管他们声称对自己的方法充满信心和知识,尽管考虑了适当的威胁范围。我们发现需要以开发人员为中心的可用机制来告诉开发人员如何存储密码:他们必须做的事情的列表不起作用。

英文摘要:

Does the act of writing a specification (how the code should behave) for a piece of security sensitive code lead to developers producing more secure code? We asked 138 developers to write a snippet of code to store a password: Half of them were asked to write down a specification of how the code should behave before writing the program, the other half were asked to write the code but without being prompted to write a specification first. We find that explicitly prompting developers to write a specification has a small positive effect on the security of password storage approaches implemented. However, developers often fail to store passwords securely, despite claiming to be confident and knowledgeable in their approaches, and despite considering an appropriate range of threats. We find a need for developer-centered usable mechanisms for telling developers how to store passwords: lists of what they must do are not working.

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

↑