Skip to main content
Mallory
← Back to News
cloud-misconfigurationdetection-content-updateoperational-disruption

Attackers Can Ransom Amazon S3 Data With Customer-Provided Encryption Keys

Attack Surface Exposure · 4 sources · Updated 3mo ago · First seen Jan 1, 2026

Attackers Can Ransom Amazon S3 Data With Customer-Provided Encryption Keys

Attackers who obtain AWS programmatic credentials with broad Amazon S3 permissions can overwrite objects using server-side encryption with customer-provided keys (SSE-C). The attackers control the AES-256 keys, which AWS does not store or recover; consequently, organizations cannot decrypt the replaced objects without the original attacker-held keys. The technique can be paired with a ransom note and a seven-day bucket lifecycle deletion policy, creating both an extortion mechanism and a risk of permanent data loss.

Organizations should collect Amazon S3 data events in AWS CloudTrail and alert on successful PutObject activity specifying SSE-C/AES256 encryption, especially where the behavior is new for an IAM principal or bucket. Defenses include enabling S3 versioning to preserve recoverable object versions, enforcing least-privilege IAM and restrictive bucket policies, and monitoring changes to lifecycle configurations. S3 default server-side encryption should be configured as appropriate, but it does not eliminate the risk from authorized requests that explicitly supply attacker-controlled SSE-C keys.

Why it matters

Impact assessment

Attackers with compromised AWS programmatic credentials and broad Amazon S3 permissions can render S3 objects inaccessible by overwriting them with attacker-controlled SSE-C encryption keys. This creates a high-severity cloud-ransomware condition: affected data can become permanently unrecoverable, operations dependent on that data can be disrupted, and the organization may face extortion, recovery costs, and reputational damage.

  • Affected environments: AWS customers with S3 buckets accessible to IAM users, roles, access keys, bucket policies, or ACLs that permit object modification. Exposure is greatest where identities have AmazonS3FullAccess, AdministratorAccess, or equivalent custom permissions.
  • Required access: The full described operation requires permissions including object listing, retrieval, overwrite/deletion, and lifecycle-configuration modification. Publicly exposed or overly permissive buckets may also be exposed if policy permits these actions.
  • Scope: This is not a software vulnerability or CVE; it is abuse of valid AWS capabilities after credential compromise or authorization misconfiguration. It can affect every object reachable by the compromised principal.
  • Data-loss risk: AWS does not retain SSE-C customer keys. Replaced objects require the exact attacker-held AES-256 key for retrieval. A lifecycle policy that deletes data after seven days increases the likelihood of irreversible loss.
  • Exploitation: Halcyon Research Team reportedly documented publicly known in-the-wild ransomware abuse of SSE-C. Elastic Security Labs subsequently emulated and published detection engineering for the technique.
  • Resilience factor: S3 Versioning can retain pre-overwrite object versions, but recovery may still be impaired if versioning is disabled, old versions are deleted, or an attacker can delete versions and alter lifecycle rules.
Is this exposed in your estate?Map this exposure pattern across your cloud, code, and identities.
Map your surface
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events
  1. Reported Feb 20, 20252y ago

    Elastic publishes SSE-C ransomware detection research

    Elastic Security Labs published detection-engineering research emulating SSE-C ransom activity, including compromised AWS credentials being used to overwrite S3 objects, apply a seven-day deletion lifecycle policy, and leave a ransom note. It recommended comprehensive CloudTrail S3 data-event logging and detection of anomalous SSE-C PutObject activity.

    Emulating AWS S3 SSE-C Ransom for Threat Detection
  2. Reported Jan 13, 20252y ago

    Halcyon documents in-the-wild SSE-C ransomware abuse

    Halcyon Research Team documented what it described as the first publicly known in-the-wild ransomware use of Amazon S3 Server-Side Encryption with Customer-Provided Keys (SSE-C), in which attacker-controlled keys can deny victims access to encrypted objects.

    Abusing AWS Native Services: Ransomware Encrypting S3 Buckets with SSE-C
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Amazon Simple Storage Service

Organizations

1 linked
Amazon Web Services
Do you run this?See where this exposure pattern shows up across your cloud, code, supply chain, and non-human identities.
See Where You're Exposed
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.