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

对Service Worker攻击与缓解措施的分类

Categorizing Service Worker Attacks and Mitigations

Karthika Subramani, Jordan Jueckstock, Alexandros Kapravelos, Roberto Perdisci

AI总结:

本文系统分析了Service Worker的已知攻击向量与新滥用路径,将其分类并评估浏览器缓解情况,提出新的监控策略并在Chromium中验证,证明严格策略对合法应用影响小。

摘要:

Service Worker(SW)是Progressive Web App的核心特性,即当用户设备离线时仍能继续运行,并且能够访问以前只有原生应用才能访问的设备传感器和功能的Web应用。在过去的几年中,研究人员发现了多种滥用SW来实现不同恶意目的的方法。例如,SW可能被滥用来构建基于Web的僵尸网络、发起DDoS攻击或执行加密货币挖掘;它们可能被劫持以创建持久的跨站脚本(XSS)攻击;它们可能在侧信道攻击的上下文中被利用,以损害用户的隐私;或者它们可能被滥用于使用基于Web推送通知的恶意广告进行钓鱼或社会工程学攻击。在本文中,我们重现并分析了与SW相关的已知攻击向量,并探索了以前未被考虑的新滥用路径。我们将这些攻击系统化为不同的类别,然后分析了这些攻击是否、如何以及估计何时被不同的浏览器供应商发布和缓解。然后,我们讨论了一些目前尚未缓解的SW安全问题,并提出了我们认为浏览器应该实现的SW行为监控方法和新的浏览器策略,以进一步提高SW安全性。此外,我们在Chromium代码库中实现了其中几个策略的概念验证版本,并测量了高度流行的Web应用所使用的SW相对于这些新策略的行为。我们的测量结果表明,实施和执行更严格的SW安全策略应该是可行的,并且不会对大多数合法的生产SW产生重大影响。

英文摘要:

Service Workers (SWs) are a powerful feature at the core of Progressive Web Apps, namely web applications that can continue to function when the user's device is offline and that have access to device sensors and capabilities previously accessible only by native applications. During the past few years, researchers have found a number of ways in which SWs may be abused to achieve different malicious purposes. For instance, SWs may be abused to build a web-based botnet, launch DDoS attacks, or perform cryptomining; they may be hijacked to create persistent cross-site scripting (XSS) attacks; they may be leveraged in the context of side-channel attacks to compromise users' privacy; or they may be abused for phishing or social engineering attacks using web push notifications-based malvertising. In this paper, we reproduce and analyze known attack vectors related to SWs and explore new abuse paths that have not previously been considered. We systematize the attacks into different categories, and then analyze whether, how, and estimate when these attacks have been published and mitigated by different browser vendors. Then, we discuss a number of open SW security problems that are currently unmitigated, and propose SW behavior monitoring approaches and new browser policies that we believe should be implemented by browsers to further improve SW security. Furthermore, we implement a proof-of-concept version of several policies in the Chromium code base, and also measure the behavior of SWs used by highly popular web applications with respect to these new policies. Our measurements show that it should be feasible to implement and enforce stricter SW security policies without a significant impact on most legitimate production SWs.

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

↑