-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Rule] AWS S3 Bucket Ransom Note Uploaded #3604
[New Rule] AWS S3 Bucket Ransom Note Uploaded #3604
Conversation
…som Note Replacement'
rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml
Outdated
Show resolved
Hide resolved
rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml
Outdated
Show resolved
Hide resolved
rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml
Outdated
Show resolved
Hide resolved
rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml
Outdated
Show resolved
Hide resolved
rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml
Outdated
Show resolved
Hide resolved
…nsomware_note_added.toml Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com>
…nsomware_note_added.toml Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com>
@imays11 - Although approved, please re-review this PR. I changed it from a sequence to ESQL focusing only on the ransom note upload as discussed in #3604 (comment). Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks good to me! Discussed with Terrance to remove some additional regex searches that are common from the query.
* new rule 'AWS S3 Bucket Object Retrieval, Deletion, and Potential Ransom Note Replacement' * fixed technique mapping * added investigation guide; added more ransom note extensions * adjusted lookback and maxspan * added API call to second sequence * updating date * Update rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> * Update rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> * changed rule to ESQL; updated investigation guide * changed file name * removed txt, ecc, and note --------- Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> (cherry picked from commit 62eea77)
* new rule 'AWS S3 Bucket Object Retrieval, Deletion, and Potential Ransom Note Replacement' * fixed technique mapping * added investigation guide; added more ransom note extensions * adjusted lookback and maxspan * added API call to second sequence * updating date * Update rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> * Update rules/integrations/aws/impact_s3_bucket_object_deletion_and_ransomware_note_added.toml Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> * changed rule to ESQL; updated investigation guide * changed file name * removed txt, ecc, and note --------- Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> (cherry picked from commit 62eea77)
Issues
Summary
Identifies potential ransomware note being uploaded to an AWS S3 bucket. This rule detects the
PutObject
S3 API callwith a common ransomware note file extension such as
.txt
,.note
,.ransom
, or.lock
. Adversaries with access toa misconfigured S3 bucket may retrieve, delete, and replace objects with ransom notes to extort victims.
PutObject Example Event