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

密码本应保密:一种适用于网页浏览器的实用安全密码输入通道

Passwords Are Meant to Be Secret: A Practical Secure Password Entry Channel for Web Browsers

Anuj Gautam, Tarun Kumar Yadav, Kent Seamons, Scott Ruoti

AI总结:

本文提出一种由密码管理器自动填充假密码、再由浏览器在请求发送前替换为真密码的安全输入方案,有效阻止恶意脚本和扩展窃取凭证,且无需用户改变行为。

摘要:

基于密码的身份验证面临各种安全性和可用性问题。密码管理器通过使用户能够有效管理密码,有助于缓解其中一些问题。然而,恶意的客户端脚本和浏览器扩展可以在密码管理器将密码自动填充到网页后窃取密码。在本文中,我们探讨了密码管理器在防止自动填充凭证被盗方面可以发挥什么作用,而无需改变用户行为。为此,我们识别了一个密码泄露的威胁模型,然后利用该威胁模型探索使用密码管理器实现安全密码输入的设计空间。我们确定了五种可能的设计来解决这个问题,每种设计在安全性和可部署性方面都有不同的权衡。我们的分析表明,在安全性和可用性之间取得最佳平衡的设计是:管理器自动填充一个虚假密码,然后依靠浏览器在网络请求移交给操作系统以通过网络传输之前,立即用真实密码替换虚假密码。这消除了恶意客户端脚本或浏览器扩展访问和泄露真实密码的能力。我们在Firefox浏览器中实现了我们的设计并进行了实验,结果表明,在Alexa排名前1000的网站中,它成功阻止了97%的恶意脚本和扩展的攻击,同时还能在其余网站上保持恢复默认行为的能力,避免功能退化。最重要的是,这种设计对用户是透明的,不需要改变用户行为。

英文摘要:

Password-based authentication faces various security and usability issues. Password managers help alleviate some of these issues by enabling users to manage their passwords effectively. However, malicious client-side scripts and browser extensions can steal passwords after they have been autofilled by the manager into the web page. In this paper, we explore what role the password manager can take in preventing the theft of autofilled credentials without requiring a change to user behavior. To this end, we identify a threat model for password exfiltration and then use this threat model to explore the design space for secure password entry implemented using a password manager. We identify five potential designs that address this issue, each with varying security and deployability tradeoffs. Our analysis shows the design that best balances security and usability is for the manager to autofill a fake password and then rely on the browser to replace the fake password with the actual password immediately before the web request is handed over to the operating system to be transmitted over the network. This removes the ability for malicious client-side scripts or browser extensions to access and exfiltrate the real password. We implement our design in the Firefox browser and conduct experiments, which show that it successfully thwarts malicious scripts and extensions on 97\% of the Alexa top 1000 websites, while also maintaining the capability to revert to default behavior on the remaining websites, avoiding functionality regressions. Most importantly, this design is transparent to users, requiring no change to user behavior.

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

↑