Aws Kms Key

Description

Dataset which contains cloudtrail logs and the creation of a kms key with a policy that all people can use the key for encryption, which is common for S3 ransomware attacks.

MITRE ATT&CK Techniques

ID Technique Tactic
T1486 Data Encrypted for Impact Impact

Environment Details

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

Datasets

The following datasets were collected during this attack simulation:

Aws_cloudtrail_events-Json

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

Asl_ocsf_cloudtrail-Json

  • Path: /datasets/attack_techniques/T1486/aws_kms_key/asl_ocsf_cloudtrail.json
  • Sourcetype: aws:cloudtrail:lake
  • Source: aws_asl

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

Detection Name Type Source MITRE ATT&CK Analytic Story
ASL AWS Detect Users creating keys with encrypt policy without MFA TTP Cloud T1486 Ransomware Cloud
AWS Detect Users creating keys with encrypt policy without MFA TTP 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/aws_kms_key/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