← Voltar ao feed
medium technology

Stony Brook honeypot study: cloud and AI API keys in public Docker Hub images were tested by bots within 7.86 seconds

3 fonte(s) · 3 atualização(ões) · publicado 17/11/2026 18:27 · coletado há 1 semana

Matéria consolidada. Reúne 4 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que as 3 fontes trouxeram em 25/11/2026 12:03; os links antigos trazem para cá.

Fontes: helpnetsecurity.com ↗ malwarebytes.com ↗ bleepingcomputer.com ↗

Researchers at Stony Brook University (Billy Tsouvalas and Nick Nikiforakis) published 300 honeypot container images across eight public registries over four months. The registries included Docker Hub, Amazon ECR and Red Hat Quay (helpnetsecurity.com). The images were decoy copies of the official nginx image (helpnetsecurity.com). They held planted AWS, OpenAI and Anthropic API keys, plus decoy SSH and database credentials. The fastest use of a planted AWS key came 7.86 seconds after publication on Docker Hub. The median time to first use was 51.19 seconds, and all 100 AWS keys were used within 15 minutes (bleepingcomputer.com). The findings were presented at the ACM CCS conference (bleepingcomputer.com). This is an academic study of credential exposure, not an active campaign or a vulnerability. No CVE or named threat actor is involved. Attackers drained about $60 of prepaid OpenAI and Anthropic credit (malwarebytes.com).

Detalhes técnicos

  • The images were pulled more than 75,000 times and were never advertised. The planted AWS keys received over 140,000 API calls from about 5,000 unique IP addresses (bleepingcomputer.com); helpnetsecurity.com puts it at more than 5,000 IP addresses.
  • AWS activity ranged from checking that the keys worked, to listing resources, to consuming them (bleepingcomputer.com).
  • Nearly every bot that tested an AWS key began with GetCallerIdentity (a "who am I" identity check) to see whether the key was live. About half of the scanning IPs stopped after that check, and only about 6% went on to sustained use of account resources (malwarebytes.com, helpnetsecurity.com).
  • Docker Hub accounted for nearly all AWS activity, and Harbor also saw some abuse (bleepingcomputer.com).
  • The researchers call the scanners "ContainerBots". This is a loose umbrella term, and there is no evidence that one operator coordinates them (bleepingcomputer.com).
  • The bots appear to poll the Docker Hub catalog endpoint for newly published images and fetch each manifest. They download only the layers likely to hold credentials, unpack them and search for key-like strings, all within seconds (helpnetsecurity.com).
  • Containers were rarely run. The scanners mostly use static analysis, unpacking image layers or querying the registry API to extract file contents (bleepingcomputer.com). Only 3 of the hidden callbacks fired in the second round (helpnetsecurity.com).
  • The OpenAI and Anthropic keys were hijacked to exhaust the test-account balances (bleepingcomputer.com). They followed a validate-wait-exploit pattern. OpenAI keys sat idle for weeks before one was used to drain the remaining balance in under 24 hours. The researchers speculate that validated keys are resold and held until a buyer uses them (malwarebytes.com). One OpenAI key was used about a month after the last push, with 143 requests and over 18 million input tokens in under 24 hours. The Claude keys were drained within a day (helpnetsecurity.com).
  • In the second round of tests, every OpenAI and Anthropic key used to burn credits had unrestricted permissions. No restricted key was used that way (malwarebytes.com, helpnetsecurity.com).
  • Images with names suggesting sensitive infrastructure drew more than double the pulls per image (helpnetsecurity.com).
  • The Docker Hub pull counter lags real downloads by about 5 to 6 minutes, so image owners cannot react in time (helpnetsecurity.com).

Remediação

  • Never embed secrets in code, public repositories or image layers, and scan before publishing. The researchers recommend that Docker Hub and other registries scan images for known key formats at upload and warn publishers (bleepingcomputer.com, malwarebytes.com, helpnetsecurity.com).
  • The researchers also recommend restricting or rate-limiting the public feed of recently published or updated images (bleepingcomputer.com). helpnetsecurity.com adds that Docker Hub should require authentication for, rate-limit, or restrict the public "newest images" catalog endpoint.
  • Treat any published key as compromised from the moment of publication, even if it was public for only a minute. Revoke and rotate it immediately, then review account activity and charges (bleepingcomputer.com, malwarebytes.com, helpnetsecurity.com).
  • Scope each key narrowly and prefer short-lived credentials. AWS recommends temporary credentials over long-term access keys (malwarebytes.com). Restricted keys were never used to consume tokens in the study (helpnetsecurity.com).
  • Set hard spending limits and alerts on AI API accounts (malwarebytes.com).

Relatos divergentes

  • Docker's response: bleepingcomputer.com says the researchers reported the findings in May and received only an acknowledgment, and that a small test in August showed no new defenses. malwarebytes.com, published later (24 November), says Docker acknowledged the disclosure and its security team was reviewing the findings, citing the paper. helpnetsecurity.com, the most recent source (25 November), also says Docker had acknowledged the disclosure and was reviewing it when the paper was written. The accounts are not strictly contradictory, but no source confirms that Docker has shipped any fix.

Linha do tempo

  1. helpnetsecurity.com ↗ · pub. 25/11/2026 08:22 · coletado 25/11 10:02

    Bots exploit leaked AWS keys in Docker images within 8 seconds, Stony Brook decoy study of 300 images finds

    ler a análise desta fonte

    Researchers Billy Tsouvalas and Nick Nikiforakis of Stony Brook University published 300 decoy copies of the official nginx image on eight registries, including Docker Hub, Amazon ECR and Red Hat Quay. Each copy held fake AWS, OpenAI and Anthropic API keys. Scanners the researchers call ContainerBots used the AWS keys fast: the median time to first use was 51 seconds and the fastest was 7.86 seconds. In total the AWS keys drew over 140,000 API calls from more than 5,000 IP addresses. The OpenAI and Claude keys were drained of their balances.

    Technical Details

    • Bots appear to poll the Docker Hub catalog endpoint for newly published images, fetch each manifest, and download only the layers likely to hold credentials. They then unpack those layers and search them for key-like strings, all within seconds.
    • Almost every bot first ran an AWS identity check ("who am I"), and about half of the IPs stopped there.
    • OpenAI and Claude keys followed a validate-wait-exploit pattern. One OpenAI key was used about a month after the last push, with 143 requests and over 18 million input tokens in under 24 hours. The Claude keys were drained within a day.
    • Keys with restricted permissions were never used to consume tokens.
    • Images with names suggesting sensitive infrastructure drew more than double the pulls per image.
    • Bots almost never ran the images. Only 3 of the hidden callbacks fired in the second round.
    • Docker Hub's pull counter lags real downloads by about 5 to 6 minutes, so owners cannot react in time.

    Remediation

    • Registries should scan pushed images for known key formats and warn the uploader.
    • Docker Hub should require authentication for, rate-limit, or restrict the public "newest images" catalog endpoint.
    • Developers should treat any secret in a published image as compromised at the moment of publication and rotate it. They should also scope keys to restricted permissions.
    • Docker had acknowledged the disclosure and was reviewing it when the paper was written.
  2. malwarebytes.com ↗ · pub. 24/11/2026 14:08 · coletado 24/11 15:02

    Stony Brook honeypot study: bots tested exposed AWS key within 7.86 seconds in public container images; AI API credits drained

    ler a análise desta fonte

    Researchers at Stony Brook University (Billy Tsouvalas and Nick Nikiforakis) deliberately published 300 honeypot container images across eight public registries, including Docker Hub, over four months. The images contained working AWS, OpenAI and Anthropic keys tied to monitoring. The fastest observed use of an exposed key came 7.86 seconds after publication, and the images were downloaded tens of thousands of times without being advertised. This is a research study, not an active campaign, and the article names no CVE or threat actor. It reports that attackers used up about $60 of prepaid OpenAI and Anthropic credit.

    Technical Details

    • Nearly every bot that tested an AWS key began with GetCallerIdentity, a check of whether the key is live.
    • About half of the scanning IP addresses stopped after that check. Only around 6% went on to sustained use of account resources.
    • OpenAI keys sat idle for weeks before one was used to drain the remaining balance in under 24 hours. The researchers speculate that validated keys are resold and held until a buyer uses them.
    • In the second round of tests, every OpenAI and Anthropic key used to burn credits had unrestricted permissions. No restricted key was used that way.
    • The researchers disclosed the findings to Docker. According to the paper, Docker acknowledged the disclosure and its security team was reviewing them (malwarebytes.com).

    Remediation

    • Keep secrets out of code, public repositories and container images, and scan before publishing. The researchers also recommend that registries scan images at upload.
    • Scope each key narrowly and prefer short-lived credentials. AWS recommends temporary credentials over long-term access keys.
    • Set hard spending limits and alerts.
    • Treat any published key as compromised, even if it was public for only a minute. Revoke and replace it, then review account activity and charges.
  3. bleepingcomputer.com ↗ · pub. 17/11/2026 18:27 · coletado 17/11 19:00 primeiro registro

    Cloud keys leaked in public Docker Hub images are harvested by automated scanners within seconds, Stony Brook study finds

    ler a análise desta fonte

    Researchers at Stony Brook University (Billy Tsouvalas and Nick Nikiforakis) published 300 honeypot images across eight public container registries over four months. The images contained planted AWS, OpenAI and Anthropic API keys, plus decoy SSH and database credentials. Attackers used the planted AWS keys as fast as 7.86 seconds after publication on Docker Hub. The median time to first use was 51.19 seconds, and all 100 AWS keys were used within 15 minutes. The findings were presented at the ACM CCS conference (bleepingcomputer.com). This is an academic study of credential exposure, not a vulnerability or a single incident. No CVE is involved.

    Technical Details

    • The images were pulled more than 75,000 times. The planted AWS keys received over 140,000 API calls from about 5,000 unique IP addresses.
    • The AWS activity ranged from checking that the keys worked, to listing resources, to consuming them.
    • The OpenAI and Anthropic keys were hijacked to exhaust the test-account balances.
    • Docker Hub accounted for nearly all AWS activity. Harbor also saw some abuse.
    • The researchers call the scanners "ContainerBots". This is a loose umbrella term, and there is no evidence that one operator coordinates them.
    • Containers were rarely run. The scanners mostly use static analysis, unpacking image layers or querying the registry API to extract file contents.

    Remediation

    • The researchers recommend that Docker Hub scan images for secrets before they go live and warn publishers.
    • They also recommend restricting or rate-limiting the public feed of recently published or updated images.
    • Publishers should never embed secrets in image layers. Any key that has been exposed should be revoked and rotated immediately.
    • The researchers reported the findings to Docker in May and received only an acknowledgment. A small test in August showed no new defenses.