DOMtegrity:确保网页完整性,防止恶意浏览器扩展
DOMtegrity: Ensuring Web Page Integrity against Malicious Browser Extensions
摘要:
在本文中,我们解决了一个未解决的问题,在现实世界中:如何确保网页内容的完整性,在浏览器中存在的恶意浏览器扩展?将机密用户凭据暴露给恶意扩展的问题已得到广泛理解,这促使各大银行部署双因素身份验证。然而,网络内容的“完整性”的重要性很少受到关注。我们实现了两个攻击现实世界中的网上银行网站,并表明,忽略的“完整性”的网页内容可以从根本上击败两个因素的解决方案。为了解决这个问题,我们提出了一个加密协议,称为DOMtegrity,以确保端到端的完整性的DOM结构的网页,从提供在Web服务器的渲染的页面在用户的浏览器。DOMtegrity是第一个保护DOM完整性而无需修改浏览器架构或需要额外硬件的解决方案。它的工作原理是利用浏览器扩展和内联JavaScript代码之间微妙而重要的差异。我们展示了DOMtegrity如何防止早期的攻击和一系列的浏览器中的人(MITB)攻击。我们对超过14,000个真实扩展进行了广泛的实验,以评估DOMtegrity的有效性。
英文摘要:
In this paper, we address an unsolved problem in the real world: how to ensure the integrity of the web content in a browser in the presence of malicious browser extensions? The problem of exposing confidential user credentials to malicious extensions has been widely understood, which has prompted major banks to deploy two-factor authentication. However, the importance of the `integrity' of the web content has received little attention. We implement two attacks on real-world online banking websites and show that ignoring the `integrity' of the web content can fundamentally defeat two-factor solutions. To address this problem, we propose a cryptographic protocol called DOMtegrity to ensure the end-to-end integrity of the DOM structure of a web page from delivering at a web server to the rendering of the page in the user's browser. DOMtegrity is the first solution that protects DOM integrity without modifying the browser architecture or requiring extra hardware. It works by exploiting subtle yet important differences between browser extensions and in-line JavaScript code. We show how DOMtegrity prevents the earlier attacks and a whole range of man-in-the-browser (MITB) attacks. We conduct extensive experiments on more than 14,000 real-world extensions to evaluate the effectiveness of DOMtegrity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。