皇帝如今有衣可穿:通过密码管理器实现Web用户身份认证的安全治理框架
The Emperor is Now Clothed: A Secure Governance Framework for Web User Authentication through Password Managers
AI总结:
针对现有密码管理器与Web应用交互方案的功能缺陷与安全漏洞,提出基于浏览器的Berytus治理框架,通过双API协调二者交互,可有效缓解多类网络攻击,支持多种认证模式并已在Firefox中实现验证。
摘要:
现有促进密码管理器与Web应用交互的方案,在功能完备性及针对主流攻击的缓解策略上均存在不足。HTML自动填充(HTML Autofill)的表达能力不足,凭证管理API(Credential Management API)不支持浏览器扩展类密码管理器,其他已提出的解决方案也不符合用户已建立的心智模型。本文提出Berytus,这是一款基于浏览器的治理框架,可介导密码管理器与Web应用之间的交互。我们设计了两个API,以支撑Berytus在密码管理器与Web应用之间充当协调器的角色。我们在Firefox中实现了该框架,可完全支持注册与认证流程。作为协调器,Berytus能够对Web应用进行身份认证,并促成Web应用与密码管理器之间的认证密钥交换;我们的研究表明,这一机制可有效缓解钓鱼攻击、跨站脚本攻击、内联代码注入(例如由恶意浏览器扩展发起的注入)以及TLS代理中间人攻击,而现有的缓解策略(如内容安全策略(Content Security Policy)与凭证令牌化)仅能发挥部分作用。该框架的设计还具备理想的功能特性,例如支持多步骤、多因子及自定义认证方案。我们开展了全面的安全性与功能评估,并探讨了未来可能的研究方向。
英文摘要:
Existing approaches to facilitate the interaction between password managers and web applications fall short of providing adequate functionality and mitigation strategies against prominent attacks. HTML Autofill is not sufficiently expressive, Credential Management API does not support browser extension password managers, and other proposed solutions do not conform to established user mental models. In this paper, we propose Berytus, a browser-based governance framework that mediates the interaction between password managers and web applications. Two APIs are designed to support Berytus acting as an orchestrator between password managers and web applications. An implementation of the framework in Firefox is developed that fully supports registration and authentication processes. As an orchestrator, Berytus is able to authenticate web applications and facilitate authenticated key exchange between web applications and password managers, which as we show, can provide effective mitigation strategies against phishing, cross-site scripting, inline code injection (e.g., by a malicious browser extension), and TLS proxy in the middle attacks, whereas existing mitigation strategies such as Content Security Policy and credential tokenisation are only partially effective. The framework design also provides desirable functional properties such as support for multi-step, multi-factor, and custom authentication schemes. We provide a comprehensive security and functionality evaluation and discuss possible future directions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。