AWS CloudTrail AWS-cloudtrail
8 operations, identified by eventName in the audit log.
| eventName | Description |
|---|---|
| _catch_all | Catch-all entry for AWS-cloudtrail rules that match the service but not a specific eventName. |
| CreateTrail | Creates a CloudTrail trail that delivers log files recording API activity in the account to the specified Amazon S3 bucket. |
| DeleteTrail | Deletes a CloudTrail trail, permanently stopping the delivery of log files for that trail to its configured S3 bucket. |
| DescribeTrails | Returns metadata about one or more CloudTrail trails in the current region, including their ARNs, S3 destinations, and configuration settings. |
| LookupEvents | Searches CloudTrail management event records in the current region for events matching specified attribute filters such as event name, resource type, or username. |
| StopLogging | Suspends CloudTrail logging for a trail, halting the delivery of new log files while preserving the trail configuration. |
| UpdateTrail | Updates the settings of an existing CloudTrail trail, such as its S3 bucket, SNS topic, or log file validation configuration. |
| PutEventSelectors | Configures event selectors for a trail to specify which management and data events CloudTrail logs. |
_catch_all: AWS-cloudtrail (catch-all)
#Description
Catch-all entry for AWS-cloudtrail 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. |
CreateTrail
#Description
Creates a CloudTrail trail that delivers log files recording API activity in the account to the specified Amazon S3 bucket.
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 | cloudtrail.amazonaws.com | 1 rule | elastic |
Detection Rules #
View all rules referencing this event →Elastic #
DeleteTrail
#Description
Deletes a CloudTrail trail, permanently stopping the delivery of log files for that trail to its configured S3 bucket.
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 |
|---|---|---|---|---|
aws::eventName | eq | DeleteTrail | 4 rules | sigma, splunk |
aws::eventName | eq | StopLogging | 1 rule | sigma, splunk |
aws::eventName | eq | UpdateTrail | 1 rule | kusto, sigma, splunk |
aws::eventSource | eq | cloudtrail.amazonaws.com | 4 rules | sigma, splunk |
Provider_Name | eq | cloudtrail.amazonaws.com | 1 rule | elastic |
aws::errorCode | eq | AccessDenied | 1 rule | elastic, panther, sigma, splunk |
aws::errorCode | eq | success | 1 rule | splunk |
userAgent | ne | console.amazonaws.com | 1 rule | splunk |
Detection Rules #
View all rules referencing this event →Sigma #
Elastic #
Splunk #
DeleteTrail events within CloudTrail logs. This detection leverages CloudTrail data to monitor for successful DeleteTrail actions, excluding those…YARA-L #
DescribeTrails
#Description
Returns metadata about one or more CloudTrail trails in the current region, including their ARNs, S3 destinations, and configuration settings.
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. |
LookupEvents
#Description
Searches CloudTrail management event records in the current region for events matching specified attribute filters such as event name, resource type, or username.
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. |
StopLogging
#Description
Suspends CloudTrail logging for a trail, halting the delivery of new log files while preserving the trail configuration.
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 |
|---|---|---|---|---|
aws::eventName | eq | StopLogging | 4 rules | sigma, splunk |
aws::eventName | eq | DeleteTrail | 1 rule | sigma, splunk |
aws::eventName | eq | UpdateTrail | 1 rule | kusto, sigma, splunk |
aws::eventSource | eq | cloudtrail.amazonaws.com | 4 rules | sigma, splunk |
Provider_Name | eq | cloudtrail.amazonaws.com | 1 rule | elastic |
aws::errorCode | eq | AccessDenied | 1 rule | elastic, panther, sigma, splunk |
aws::errorCode | eq | success | 1 rule | splunk |
userAgent | ne | console.amazonaws.com | 1 rule | splunk |
Detection Rules #
View all rules referencing this event →Sigma #
Elastic #
Splunk #
StopLogging events in AWS CloudTrail logs. It leverages CloudTrail event data to identify when logging is intentionally stopped, excluding console-based actions and focusing on successful attempts. This…YARA-L #
UpdateTrail
#Description
Updates the settings of an existing CloudTrail trail, such as its S3 bucket, SNS topic, or log file validation configuration.
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 |
|---|---|---|---|---|
aws::eventName | eq | UpdateTrail | 4 rules | kusto, sigma, splunk |
aws::eventName | eq | DeleteTrail | 1 rule | sigma, splunk |
aws::eventName | eq | StopLogging | 1 rule | sigma, splunk |
aws::eventSource | eq | cloudtrail.amazonaws.com | 4 rules | sigma, splunk |
Provider_Name | eq | cloudtrail.amazonaws.com | 1 rule | elastic |
aws::errorCode | eq | AccessDenied | 1 rule | elastic, panther, sigma, splunk |
aws::errorCode | eq | success | 1 rule | splunk |
userAgent | ne | console.amazonaws.com | 1 rule | splunk |
Detection Rules #
View all rules referencing this event →Sigma #
update-trail command to disable multi-region logging, so their attacks do not get logged to the other regions. Ex: aws cloudtrail update-trail --name [my-trail] --no-is-multi-region-trail --no-include-global-service-events The attacker may also modify the settings so that the logs get encrypted with a key the attacker only has to prevent reading of the logs. The attacker may also redirect the logs to a S3 bucket they control.update-trail command to disable multi-region logging, so their attacks do not get logged to the other regions. Ex: aws cloudtrail update-trail --name [my-trail] --no-is-multi-region-trail --no-include-global-service-events The attacker may also modify the settings so that the logs get encrypted with a key the attacker only has to prevent reading of the logs. The attacker may also redirect the logs to a S3 bucket they control.Elastic #
Splunk #
UpdateTrail events in AWS CloudTrail logs. It identifies attempts to modify CloudTrail settings, potentially to evade logging. The detection leverages CloudTrail logs, focusing on UpdateTrail events where…YARA-L #
PutEventSelectors
#Description
Configures event selectors for a trail to specify which management and data events CloudTrail logs.
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 →YARA-L #