Towards the Detection of Malicious Java Packages


연구 분야: Safety



학회: SCORED'22: Proceedings of the 2022 ACM Workshop on Software Supply Chain Offensive Research and Ecosystem Defenses


초록

Open-source software supply chain attacks aim at infecting downstream users by poisoning open-source packages. The common way of consuming such artifacts is through package repositories and the development of vetting strategies to detect such attacks is ongoing research. Despite its popularity, the Java ecosystem is the less explored one in the context of supply chain attacks. In this paper, we present simple-yet-effective indicators of malicious behavior that can be observed statically through the analysis of Java bytecode. Then we evaluate how such indicators and their combinations perform when detecting malicious code injections. We do so by injecting three malicious payloads taken from real-world examples into the Top-10 most popular Java libraries from libraries.io. We found that the analysis of strings in the constant pool and of sensitive APIs in the bytecode instructions aid in the task of detecting malicious Java packages by significantly reducing the information, thus, making also manual triage possible.


Author Profile
Piergiorgio Ladisa

SAP Security Research & University of Rennes 1/INRIA/IRISA Mougins France

France
Author Profile
Henrik Plate

SAP Security Research Mougins France

France
Author Profile
Matias Martinez

Université Polytechnique Hauts-de-France Valenciennes France

France

📄 논문 정보

발행 연도 2022년
인용수 12
출판 국가 France
사이트 ACM
좋아요 수 0

연관 논문 목록 (132건)