Cybersecurity researchers from JFrog have identified a significant threat involving Docker Hub, where millions of imageless repositories have been used for malicious purposes. These repositories appear innocuous, containing only documentation with no actual Docker images. However, the documentation is misleading and designed to direct users to phishing or malware-infested sites. This deceptive practice has affected over 4.6 million repositories, with 2.81 million specifically engineered to serve as landing pages that redirect users to harmful websites.
The malicious campaigns orchestrated through these repositories vary in nature and purpose. One campaign, known as the Downloader, created repositories in early 2021 and again in September 2023, promising links to pirated content or game cheats. However, these links either lead directly to malicious sources or to legitimate sites that quickly redirect to malware after a brief delay. Another campaign focused on e-book phishing, tricking users into providing financial information under the guise of downloading free e-books.
In addition to these targeted attacks, there was a broader, more ambiguous campaign involving thousands of repositories created daily, which seemed to be in a testing phase. Some of these repositories contained links to a diary-hosting service, while others included innocuous text, possibly to test the effectiveness of the repository as a malware distribution channel. This campaign’s exact purpose remains unclear, but it underscores the potential for even more widespread abuse of Docker Hub’s platform.
The discovery of these campaigns serves as a stark reminder of the vulnerabilities within open-source ecosystems. Docker has taken action by removing all implicated accounts and repositories following JFrog’s responsible disclosure. However, the incident highlights a larger issue of trust and security in widely used development platforms, urging developers and users to exercise increased caution and vigilance when interacting with or downloading from these environments.