Reflections on Trusting Docker: Invisible Malware in Continuous Integration Systems


연구 분야: Software Development



학회: 2023 IEEE Security and Privacy Workshops (SPW)


초록

Continuous integration (CI) is a widely adopted methodology for supporting software development. It provides automated generation of artifacts (e.g., binaries, container images) which are then deployed in production. However, to which extent should you trust the generated artifacts even if the source code is clean of malicious code? Revisiting the famous compiler backdoor from Ken Thompson, we show that a container-based CI system can be compromised without leaving any trace in the source code. Therefore, detecting such malware is challenging or even impossible with common practices such as peer review or static code analysis. We detail multiple ways to do the initial infection process. Then, we show how to persist during CI system updates, allowing long-term compromise. We detail possible malicious attack payloads such as sensitive data extraction or backdooring production software. We show that infected CI systems can be remotely controlled using covert channels to update attack payload or adapt malware to mitigation strategies. Finally, we propose a proof of concept implementation tested on GitLab CI and applicable to major CI providers.


Author Profile
Florent Moriconi

EURECOM AMADEUS

정보 없음
Author Profile
Axel Ilmari Neergaard

EURECOM CUJO AI

Anguilla
Author Profile
Lucas Georget

EURECOM EDF R&D LAAS-CNRS

정보 없음

📄 논문 정보

발행 연도 2023년
인용수 436
출판 국가 Anguilla
사이트 IEEE
좋아요 수 1

연관 논문 목록 (261건)