Skip to content

Allow SSE C for S3 ransomware client side encryption - #956

Open
Hashim1999164 wants to merge 1 commit into
DataDog:mainfrom
Hashim1999164:fix/s3-ransomware-allow-ssec-946
Open

Allow SSE C for S3 ransomware client side encryption#956
Hashim1999164 wants to merge 1 commit into
DataDog:mainfrom
Hashim1999164:fix/s3-ransomware-allow-ssec-946

Conversation

@Hashim1999164

@Hashim1999164 Hashim1999164 commented Sep 4, 2026

Copy link
Copy Markdown

Summary

Fixes #946 where detonation fails on new buckets that block SSE C by default.

Before encrypting objects, call PutBucketEncryption with BlockedEncryptionTypes set to NONE so CopyObject with customer provided keys can succeed. This mirrors an attacker clearing the protection at detonation time.

Test plan

  • go build the technique package
  • make docs regenerates the technique page
  • (optional) detonate the S3 ransomware client side encryption technique against a fresh warmup bucket

New buckets block customer provided keys by default, which broke
aws.impact.s3-ransomware-client-side-encryption. Clear the SSE-C
block with PutBucketEncryption before CopyObject encryption.

Fixes DataDog#946
@Hashim1999164
Hashim1999164 requested review from a team as code owners September 4, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken TTP: aws.impact.s3-ransomware-client-side-encryption

1 participant