S3 File Encryption

Description

Cloudtrail dataset with an s3 copy and encrypt operation. This is often used in S3 ransomware attacks.

MITRE ATT&CK Techniques

ID Technique Tactic
T1486 Data Encrypted for Impact Impact

Environment Details

Field Value
Environment attack_range
Directory s3_file_encryption
Test Date 2021-01-11

Datasets

The following datasets were collected during this attack simulation:

Aws_cloudtrail_events-Json

  • Path: /datasets/attack_techniques/T1486/s3_file_encryption/aws_cloudtrail_events.json
  • Sourcetype: aws:cloudtrail
  • Source: aws_cloudtrail

The following detections in our security content repository use this attack data for testing:

Detection Name Type Source MITRE ATT&CK Analytic Story
AWS Detect Users with KMS keys performing encryption S3 Anomaly Cloud T1486 Ransomware Cloud

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1486/s3_file_encryption/aws_cloudtrail_events.json --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0