Cloud keys leaked in Docker Hub images are stolen within seconds
Attackers stole credentials exposed in public Docker images within seconds, according to researchers who published honeypot images to measure the speed.
Overview
Researchers at Stony Brook University published 300 test images on public containerA lightweight software package that runs an application isolated from other programs on the same host kernel registries to see how quickly attackers would steal exposed credentialsThe login details, such as a username and password or key, that prove who an account belongs to. They found that automated scannersUsing automated tools to probe computers, networks, or code for known security flaws and missing patches extracted the keysThe secret value that locks or opens a message within seconds, with the fastest theft occurring 7.86 seconds after publication. The stolen AWS keys received over 140,000 API callsA structured interface that lets one software program request data or actions from another program from 5,000 unique IP addressesThe numerical network label assigned to a device so internet traffic knows where to reach it, while OpenAI and Anthropic keys were used to exhaust test balances. The scanners generally used static analysisScanning a program's source code or binary file for security flaws without actually running the program to unpack image layers rather than running the containers. This rapid exploitation means that any organization publishing software with embedded secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys faces an immediate risk of compromise. Ordinary users and businesses must assume that any secret placed in a public image is stolen almost instantly.
Terms in this story
- container
- A lightweight software package that runs an application isolated from other programs on the same host kernel. Cloud teams package web services inside containers so they start in seconds, and security stories warn about container escape bugs that let an attacker break out onto the host server.
- Credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- scanners
- Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 lists the term
- keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- API calls
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- IP addresses
- The numerical network label assigned to a device so internet traffic knows where to reach it. Every server and router on the internet has an IP address, and defenders inspect connection logs for unfamiliar IP addresses when tracing where an attack came from.
- static analysis
- Scanning a program's source code or binary file for security flaws without actually running the program. Software teams run static analysis in their build pipeline to spot SQL injection or buffer overflow patterns automatically whenever a developer submits code. Security+ objective 4.1 lists the term
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- exploited
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- honeypot
- A decoy server or fake account set up on purpose to attract attackers and watch what they do. Researchers and defenders leave a honeypot exposed on the internet or inside a company network so any connection to it immediately reveals an intruder and records their tools. Security+ objective 1.2 lists the term
- API keys
- A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
- SSH
- An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Two researchers at Stony Brook University..." Found by reading the article; these exact words are in it - Who is affected: "AWS, OpenAI, and Anthropic..."
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Docker Hub images are being extracted and exploited by attackers within as little as eight..." Found in the opening sentences - Security+ 3.1 Compare and contrast security implications of different architecture models.
"Cloud keys leaked in Docker Hub images are stolen within seconds..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"Credentials and access secrets exposed in public Docker..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Provide Cloud and Cloud Security guidance to leadership.
"Cloud keys leaked in Docker Hub..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Provide timely detection, identification, and alerting of possible attacks/intrusions, anomalous activities, and misuse activities and distinguish these incidents and events from benign activities.
"...placed detection tools to notify them..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role