An Analysis of Malicious Behaviors of Open-Source Packages Using Dynamic Analysis


연구 분야: Analysis



학회: International Conference on Computer Applications in Industry and Engineering


초록

There has been an increasing number of malicious open-source packages in recent years. A recent backdoor attack on the Linux xz utility has highlighted the importance of security checks on open-source packages, especially popular ones. While major security scanners focus on identifying vulnerabilities (CVEs) in open-source packages, there are very few studies on malware analysis techniques for them. Similar to traditional malware analysis, there are two types of analysis for open-source packages: static and dynamic analysis. Static analysis techniques mainly focus on analyzing the source code of a package while dynamic analysis techniques execute the code in an isolated environment. Dynamic analysis techniques seem more promising than static analysis techniques, as they can expose packages’ behaviors at runtime. However, current dynamic analysis tools (e.g., package-analysis) make minimal effort to provide insight into the behaviors of open-source packages. In this paper, we attempt to analyze the dynamic behaviors of open-source packages on popular package repositories, including npm, PyPI, RubyGems, Packagist, and crates.io. We also analyze the discrepancies in behaviors between benign and malicious packages at runtime, which is helpful in building rules for malware detection. Our study finds that malicious packages perform a significantly higher number of domain communications and command executions. Malicious packages use simple techniques for malicious operations such as base64 or curl.


Author Profile
Thanh-Cong Nguyen

University of Information Technology Ho Chi Minh City Vietnam

Vietnam
Author Profile
Duc-Ly Vu

School of Computing and Information Technology Eastern International University Binh Duong Vietnam

Andorra
Author Profile
Narayan C. Debnath

School of Computing and Information Technology Eastern International University Binh Duong Vietnam

Andorra

📄 논문 정보

발행 연도 2024년
인용수 0
출판 국가 Vietnam, Andorra
사이트 Springer
좋아요 수 0

연관 논문 목록 (141건)