arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.07444cs.CR
收藏

使用元数据信息的恶意包检测

Malicious Package Detection using Metadata Information

S. Halder, M. Bewong, A. Mahboubi, Y. Jiang, R. Islam, Z. Islam, R. Ip, E. Ahmed, G. Ramachandran, A. Babar

AI总结:

本文提出基于元数据的恶意包检测模型MeMPtec,通过提取并分类包元数据特征,显著降低误报和漏报率,并增强对抗攻击抵抗力。

摘要:

在不断演进的软件开发环境中,保护软件供应链免受恶意包的侵害至关重要。对软件供应链的攻击涉及攻击者将有害软件注入软件存储库中常用的包或库中。例如,JavaScript 使用 Node Package Manager (NPM),而 Python 使用 Python Package Index (PyPi) 作为各自的包存储库。过去,NPM 曾出现过漏洞,例如 event-stream 事件,其中一个恶意包被引入到流行的 NPM 包中,可能会影响大量项目。随着第三方包的集成在现代软件开发中变得越来越普遍,加速了应用程序的创建和部署,对稳健检测机制的需求变得至关重要。另一方面,由于每天发布的新包数量庞大,识别恶意包的任务面临重大挑战。为了解决这个问题,在本文中,我们引入了一种基于元数据的恶意包检测模型 MeMPtec。该模型从包元数据信息中提取一组特征。这些提取的特征根据单调性和受限控制属性被分类为易操作(ETM)或难操作(DTM)特征。通过利用这些元数据特征,我们不仅提高了检测恶意包的有效性,而且与现有最先进技术相比,展示了其对对抗攻击的抵抗力。我们的实验表明,误报(高达 97.56%)和漏报(高达 91.86%)均显著减少。

英文摘要:

Protecting software supply chains from malicious packages is paramount in the evolving landscape of software development. Attacks on the software supply chain involve attackers injecting harmful software into commonly used packages or libraries in a software repository. For instance, JavaScript uses Node Package Manager (NPM), and Python uses Python Package Index (PyPi) as their respective package repositories. In the past, NPM has had vulnerabilities such as the event-stream incident, where a malicious package was introduced into a popular NPM package, potentially impacting a wide range of projects. As the integration of third-party packages becomes increasingly ubiquitous in modern software development, accelerating the creation and deployment of applications, the need for a robust detection mechanism has become critical. On the other hand, due to the sheer volume of new packages being released daily, the task of identifying malicious packages presents a significant challenge. To address this issue, in this paper, we introduce a metadata-based malicious package detection model, MeMPtec. This model extracts a set of features from package metadata information. These extracted features are classified as either easy-to-manipulate (ETM) or difficult-to-manipulate (DTM) features based on monotonicity and restricted control properties. By utilising these metadata features, not only do we improve the effectiveness of detecting malicious packages, but also we demonstrate its resistance to adversarial attacks in comparison with existing state-of-the-art. Our experiments indicate a significant reduction in both false positives (up to 97.56%) and false negatives (up to 91.86%).

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

↑