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

你可以运行但无法隐藏:针对 Node.js 恶意包更新的运行时防护

You Can Run But You Can't Hide: Runtime Protection Against Malicious Package Updates For Node.js

Marc Ohm, Timo Pohl, Felix Boes

AI总结:

本文提出一种 Node.js 运行时防护方法,通过自动将包能力限制在最小必要范围来抵御恶意包更新,实验表明可阻止 9/10 的历史攻击,且安装与运行时开销均低于 0.6 秒。

摘要:

恶意准备的软件包是软件供应链攻击中被广泛利用的武器。恶意包的检测无疑是高度优先事项,并且已经开发了许多学术和商业方法。在不可避免的攻击情况下,人们需要对恶意代码具有弹性。为此,我们提出了一种针对 Node.js 的运行时防护,它自动将包的能力限制在已建立的最小范围内。所需能力的检测及其在运行时的强制执行已被实现,并针对已知的恶意攻击进行了评估。我们的方法能够阻止 10 次历史攻击中的 9 次,安装时间开销中位数小于 0.6 秒,运行时开销中位数小于 0.2 秒。

英文摘要:

Maliciously prepared software packages are an extensively leveraged weapon for software supply chain attacks. The detection of malicious packages is undoubtedly of high priority and many academic and commercial approaches have been developed. In the inevitable case of an attack, one needs resilience against malicious code. To this end, we present a runtime protection for Node.js that automatically limits a package's capabilities to an established minimum. The detection of required capabilities as well as their enforcement at runtime has been implemented and evaluated against known malicious attacks. Our approach was able to prevent 9/10 historic attacks with a median install-time overhead of less than 0.6 seconds and a median runtime overhead of less than 0.2 seconds.

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

↑