-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update events and add new events from pepperclipp blog post (#26)
- Loading branch information
1 parent
5c578cb
commit e575af3
Showing
17 changed files
with
479 additions
and
7 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"awsRegion": "us-east-1", | ||
"errorCode": "AccessDenied", | ||
"errorMessage": "User: arn:aws:sts::345594607949:assumed-role/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50/AdanAlvarez is not authorized to perform: kms:CreateKey on resource: * because no identity-based policy allows the kms:CreateKey action", | ||
"eventCategory": "Management", | ||
"eventID": "6f4babb4-aac4-4664-a2e6-1ce8c9baac2b", | ||
"eventName": "CreateKey", | ||
"eventSource": "kms.amazonaws.com", | ||
"eventTime": "2025-02-15T14:51:04Z", | ||
"eventType": "AwsApiCall", | ||
"eventVersion": "1.11", | ||
"managementEvent": true, | ||
"readOnly": false, | ||
"recipientAccountId": "345594607949", | ||
"requestID": "6542de57-ab9c-43e2-9532-738cc50c76db", | ||
"requestParameters": null, | ||
"responseElements": null, | ||
"sourceIPAddress": "46.6.38.8", | ||
"tlsDetails": { | ||
"cipherSuite": "TLS_AES_256_GCM_SHA384", | ||
"clientProvidedHostHeader": "kms.us-east-1.amazonaws.com", | ||
"tlsVersion": "TLSv1.3" | ||
}, | ||
"userAgent": "aws-cli/2.17.32 md/awscrt#0.21.2 ua/2.0 os/linux#5.15.153.1-microsoft-standard-WSL2 md/arch#x86_64 lang/python#3.11.9 md/pyimpl#CPython exec-env/grimoire_a35c5710-8a0e-4a58-b124-508fa7267cbd cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#kms.create-key", | ||
"userIdentity": { | ||
"accessKeyId": "ASIAVA5YLHFG22UNOASA", | ||
"accountId": "345594607949", | ||
"arn": "arn:aws:sts::345594607949:assumed-role/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50/AdanAlvarez", | ||
"principalId": "AROAVA5YLHFGXTTEWKGQX:AdanAlvarez", | ||
"sessionContext": { | ||
"attributes": { | ||
"creationDate": "2025-02-15T14:50:08Z", | ||
"mfaAuthenticated": "false" | ||
}, | ||
"sessionIssuer": { | ||
"accountId": "345594607949", | ||
"arn": "arn:aws:iam::345594607949:role/aws-reserved/sso.amazonaws.com/us-east-2/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50", | ||
"principalId": "AROAVA5YLHFGXTTEWKGQX", | ||
"type": "Role", | ||
"userName": "AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50" | ||
} | ||
}, | ||
"type": "AssumedRole" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"awsRegion": "us-east-1", | ||
"errorCode": "NotFoundException", | ||
"errorMessage": "Key 'arn:aws:kms:us-east-1:345594607949:key/1234abcd-12ab-34cd-56ef-1234567890ab' does not exist", | ||
"eventCategory": "Management", | ||
"eventID": "82afc1f2-b6aa-48dd-bab5-86bbbefb46ac", | ||
"eventName": "DescribeKey", | ||
"eventSource": "kms.amazonaws.com", | ||
"eventTime": "2025-02-15T14:52:52Z", | ||
"eventType": "AwsApiCall", | ||
"eventVersion": "1.11", | ||
"managementEvent": true, | ||
"readOnly": true, | ||
"recipientAccountId": "345594607949", | ||
"requestID": "d9ab4ab3-911c-4627-86fd-2c8216f39fc1", | ||
"requestParameters": null, | ||
"responseElements": null, | ||
"sourceIPAddress": "46.6.38.8", | ||
"tlsDetails": { | ||
"cipherSuite": "TLS_AES_256_GCM_SHA384", | ||
"clientProvidedHostHeader": "kms.us-east-1.amazonaws.com", | ||
"tlsVersion": "TLSv1.3" | ||
}, | ||
"userAgent": "aws-cli/2.17.32 md/awscrt#0.21.2 ua/2.0 os/linux#5.15.153.1-microsoft-standard-WSL2 md/arch#x86_64 lang/python#3.11.9 md/pyimpl#CPython exec-env/grimoire_f1febf2d-7a30-413e-86a0-19e718b2faad cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#kms.describe-key", | ||
"userIdentity": { | ||
"accessKeyId": "ASIAVA5YLHFG22UNOASA", | ||
"accountId": "345594607949", | ||
"arn": "arn:aws:sts::345594607949:assumed-role/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50/AdanAlvarez", | ||
"principalId": "AROAVA5YLHFGXTTEWKGQX:AdanAlvarez", | ||
"sessionContext": { | ||
"attributes": { | ||
"creationDate": "2025-02-15T14:50:08Z", | ||
"mfaAuthenticated": "false" | ||
}, | ||
"sessionIssuer": { | ||
"accountId": "345594607949", | ||
"arn": "arn:aws:iam::345594607949:role/aws-reserved/sso.amazonaws.com/us-east-2/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50", | ||
"principalId": "AROAVA5YLHFGXTTEWKGQX", | ||
"type": "Role", | ||
"userName": "AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50" | ||
} | ||
}, | ||
"type": "AssumedRole" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"eventName": "CreateKey", | ||
"eventSource": "kms.amazonaws.com", | ||
"awsService": "KMS", | ||
"description": "Creates a unique customer managed KMS key in your AWS account and Region.", | ||
"mitreAttackTactics": [ | ||
"TA0040 - Impact" | ||
], | ||
"mitreAttackTechniques": [ | ||
"T1486 - Data Encrypted for Impact" | ||
], | ||
"mitreAttackSubTechniques": [], | ||
"unverifiedMitreAttackTechniques": [], | ||
"usedInWild": false, | ||
"incidents": [], | ||
"researchLinks": [ | ||
{ | ||
"description": "Encrypting buckets for compliance and ransom - How Attackers Can Use KMS to Ransomware S3 Buckets", | ||
"link": "https://blog.pepperclipp.com/pepperclipp-public/encrypting-buckets-for-compliance-and-ransom-how-attackers-can-use-kms-to-ransomware-s3-buckets" | ||
} | ||
], | ||
"securityImplications": "Attackers might create keys only accessible by the identity they have compromised, for later encrypt data and delete access to it for ransomware attacks.", | ||
"alerting": [], | ||
"simulation": [ | ||
{ | ||
"type": "commandLine", | ||
"value": "aws kms create-key" | ||
} | ||
], | ||
"permissions": "https://aws.permissions.cloud/iam/kms#kms-CreateKey" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"awsRegion": "us-east-1", | ||
"errorCode": "AccessDenied", | ||
"errorMessage": "User: arn:aws:sts::345594607949:assumed-role/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50/AdanAlvarez is not authorized to perform: kms:CreateKey on resource: * because no identity-based policy allows the kms:CreateKey action", | ||
"eventCategory": "Management", | ||
"eventID": "6f4babb4-aac4-4664-a2e6-1ce8c9baac2b", | ||
"eventName": "CreateKey", | ||
"eventSource": "kms.amazonaws.com", | ||
"eventTime": "2025-02-15T14:51:04Z", | ||
"eventType": "AwsApiCall", | ||
"eventVersion": "1.11", | ||
"managementEvent": true, | ||
"readOnly": false, | ||
"recipientAccountId": "345594607949", | ||
"requestID": "6542de57-ab9c-43e2-9532-738cc50c76db", | ||
"requestParameters": null, | ||
"responseElements": null, | ||
"sourceIPAddress": "46.6.38.8", | ||
"tlsDetails": { | ||
"cipherSuite": "TLS_AES_256_GCM_SHA384", | ||
"clientProvidedHostHeader": "kms.us-east-1.amazonaws.com", | ||
"tlsVersion": "TLSv1.3" | ||
}, | ||
"userAgent": "aws-cli/2.17.32 md/awscrt#0.21.2 ua/2.0 os/linux#5.15.153.1-microsoft-standard-WSL2 md/arch#x86_64 lang/python#3.11.9 md/pyimpl#CPython exec-env/grimoire_a35c5710-8a0e-4a58-b124-508fa7267cbd cfg/retry-mode#standard md/installer#exe md/distrib#ubuntu.24 md/prompt#off md/command#kms.create-key", | ||
"userIdentity": { | ||
"accessKeyId": "ASIAVA5YLHFG22UNOASA", | ||
"accountId": "345594607949", | ||
"arn": "arn:aws:sts::345594607949:assumed-role/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50/AdanAlvarez", | ||
"principalId": "AROAVA5YLHFGXTTEWKGQX:AdanAlvarez", | ||
"sessionContext": { | ||
"attributes": { | ||
"creationDate": "2025-02-15T14:50:08Z", | ||
"mfaAuthenticated": "false" | ||
}, | ||
"sessionIssuer": { | ||
"accountId": "345594607949", | ||
"arn": "arn:aws:iam::345594607949:role/aws-reserved/sso.amazonaws.com/us-east-2/AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50", | ||
"principalId": "AROAVA5YLHFGXTTEWKGQX", | ||
"type": "Role", | ||
"userName": "AWSReservedSSO_ReadOnlyAccess_ff7f8c5c5851db50" | ||
} | ||
}, | ||
"type": "AssumedRole" | ||
} | ||
} | ||
] |
Oops, something went wrong.