AWS Key Management Service (KMS) AWS-kms
9 operations, identified by eventName in the audit log.
| eventName | Description |
|---|---|
| _catch_all | Catch-all entry for AWS-kms rules that match the service but not a specific eventName. |
| Decrypt | Decrypts ciphertext that was encrypted by an AWS KMS key. |
| DeleteImportedKeyMaterial | Deletes key material that was previously imported into a customer-managed KMS key, rendering the key unusable until new material is imported. |
| DisableKey | Sets the status of a KMS key to disabled, preventing its use in cryptographic operations until it is re-enabled. |
| ImportKeyMaterial | Imports cryptographic key material into a KMS key that was created with no key material, enabling the caller to supply their own key material. |
| ListAliases | Returns a paginated list of KMS key aliases in the account and region, including system-defined and user-defined aliases. |
| ListKeys | Returns a paginated list of KMS key IDs and ARNs for all customer-managed and AWS-managed keys in the current account and region. |
| PutKeyPolicy | Attaches a key policy to a KMS key, replacing any existing policy and controlling who can use or manage the key. |
| ScheduleKeyDeletion | Schedules a KMS key for deletion after a waiting period of 7 to 30 days, after which the key and its material are permanently deleted. |
_catch_all: AWS-kms (catch-all)
#Description
Catch-all entry for AWS-kms rules that match the service but not a specific eventName.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
Decrypt
#Description
Decrypts ciphertext that was encrypted by an AWS KMS key.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
DeleteImportedKeyMaterial
#Description
Deletes key material that was previously imported into a customer-managed KMS key, rendering the key unusable until new material is imported.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
Detection Rules #
View all rules referencing this event →Sigma #
DisableKey
#Description
Sets the status of a KMS key to disabled, preventing its use in cryptographic operations until it is re-enabled.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | kms.amazonaws.com | 1 rule | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
YARA-L #
ImportKeyMaterial
#Description
Imports cryptographic key material into a KMS key that was created with no key material, enabling the caller to supply their own key material.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
Detection Rules #
View all rules referencing this event →Sigma #
ListAliases
#Description
Returns a paginated list of KMS key aliases in the account and region, including system-defined and user-defined aliases.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
ListKeys
#Description
Returns a paginated list of KMS key IDs and ARNs for all customer-managed and AWS-managed keys in the current account and region.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
PutKeyPolicy
#Description
Attaches a key policy to a KMS key, replacing any existing policy and controlling who can use or manage the key.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | kms.amazonaws.com | 1 rule | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
ScheduleKeyDeletion
#Description
Schedules a KMS key for deletion after a waiting period of 7 to 30 days, after which the key and its material are permanently deleted.
Fields #
| Name | Description |
|---|---|
eventName | The name of the API action that was called. |
eventSource | The AWS service endpoint that received the request (e.g. iam.amazonaws.com). |
eventType | CloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents. |
userIdentity | The IAM entity that made the request (type, principalId, arn, accountId, sessionContext). |
sourceIPAddress | IP address of the caller, or the AWS service principal for service-initiated calls. |
awsRegion | AWS Region the request was made to. |
requestParameters | Parameters sent with the request. Shape is action-specific; null when none. |
responseElements | Response elements. Shape is action-specific; null for reads or when absent. |
errorCode | AWS service error code when the request failed. Absent on success. |
errorMessage | Description of the error when errorCode is present. |
Common Indicators #
Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.
| Field | Kind | Value | Rules | Vendors |
|---|---|---|---|---|
Provider_Name | eq | kms.amazonaws.com | 1 rule | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
YARA-L #