Sigma rule: AWS KMS Imported Key Material Usage
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-1e1226656f6d, updated 2025-10-18T00:00:00.000Z.
Rule
- Title
- AWS KMS Imported Key Material Usage
- Status
- experimental
- Level
- high
- Author
- toopricey
- Date
- 2025-10-18
- File
- rules/cloud/aws/cloudtrail/aws_kms_import_key_material.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the import or deletion of key material in AWS KMS, which can be used as part of ransomware attacks. This activity is uncommon and provides a high certainty signal.
Log source
- product
- aws
- service
- cloudtrail
Detection
selection:
eventSource: 'kms.amazonaws.com'
eventName:
- 'ImportKeyMaterial'
- 'DeleteImportedKeyMaterial'
condition: selectionFalse positives (as the rule lists them)
- Legitimate use cases for imported key material are rare, but may include, Organizations with hybrid cloud architectures that import external key material for compliance requirements.
- Development or testing environments that simulate external key management scenarios. Even in these cases, such activity is typically infrequent and should not add significant noise.
Tags
- attack.impact
- attack.t1486
- attack.resource-development
- attack.t1608.003
MITRE ATT&CK ids this rule names
References
- https://www.chrisfarris.com/post/effective-aws-ransomware/
- https://docs.aws.amazon.com/kms/latest/developerguide/ct-importkeymaterial.html
- https://docs.aws.amazon.com/kms/latest/developerguide/ct-deleteimportedkeymaterial.html
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/aws/cloudtrail/aws_kms_import_key_material.yml
Sources and licences
SigmaHQ
"AWS KMS Imported Key Material Usage" by toopricey (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/aws/cloudtrail/aws_kms_import_key_material.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: AWS KMS Imported Key Material Usage",
entity page, dataset version ref-1e1226656f6d, updated 2025-10-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1279262f-1464-422f-ac0d-5b545320c526 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1279262f-1464-422f-ac0d-5b545320c526, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.