arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1811.05945cs.CRcs.SE
收藏

Mayall:一个桌面JavaScript审计和攻击后分析框架

Mayall: A Framework for Desktop JavaScript Auditing and Post-Exploitation Analysis

Adam Rapley, Xavier Bellekens, Lynsay A. Shepherd, Colin McLean

摘要:

用JavaScript编写桌面应用程序为开发人员提供了编写具有最先进功能的跨平台应用程序的机会。然而,在这样做的过程中,他们可能会将代码提交给恶意行为者的一些未经批准的修改。Electron就是这样一个JavaScript应用程序框架,它促进了这种多平台的开箱即用范式,并基于Node.js JavaScript运行时--一种越来越流行的服务器端技术。在将这项技术引入客户端环境的过程中,由于Node.js提供了强大的系统编程接口,以前未意识到的风险暴露给了用户。为了突出这些快速扩展的框架中以前未暴露的风险,本文提出了Mayall框架,这是一个可扩展的工具包,旨在进行JavaScript安全审计和开发后分析。该论文还公开了15个非常受欢迎的Electron应用程序,并表明三分之二的应用程序被发现使用了CVSS得分较高的已知易受攻击的元素。此外,本文还披露了Electron Framework中一个影响广泛且被忽视的漏洞,该漏洞是每个应用程序未更改的运行时的直接副产品,允许恶意行为者修改源代码并在经过验证和签名的应用程序中无限制地注入隐蔽的恶意软件。最后,一些注入矢量进行了探讨,并提出了适当的补救措施。

英文摘要:

Writing desktop applications in JavaScript offers developers the opportunity to write cross-platform applications with cutting edge capabilities. However in doing so, they are potentially submitting their code to a number of unsanctioned modifications from malicious actors. Electron is one such JavaScript application framework which facilitates this multi-platform out-the-box paradigm and is based upon the Node.js JavaScript runtime --- an increasingly popular server-side technology. In bringing this technology to the client-side environment, previously unrealized risks are exposed to users due to the powerful system programming interface that Node.js exposes. In a concerted effort to highlight previously unexposed risks in these rapidly expanding frameworks, this paper presents the Mayall Framework, an extensible toolkit aimed at JavaScript security auditing and post-exploitation analysis. The paper also exposes fifteen highly popular Electron applications and demonstrates that two thirds of applications were found to be using known vulnerable elements with high CVSS scores. Moreover, this paper discloses a wide-reaching and overlooked vulnerability within the Electron Framework which is a direct byproduct of shipping the runtime unaltered with each application, allowing malicious actors to modify source code and inject covert malware inside verified and signed applications without restriction. Finally, a number of injection vectors are explored and appropriate remediations are proposed.

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

↑