AWSCloudTrail in Content Hub rules
113 rules read AWSCloudTrail.
Filtered columns
EventNamePutGroupPolicy12PutUserPolicy12PutRolePolicy11ConsoleLogin8CreateAccessKey5GetObject5 +97 moreEventSourcests.amazonaws.com5s3.1iam.amazonaws.com1identitystore.amazonaws.com1lambda.amazonaws.com1workdocs.amazonaws.com1 +2 moreSourceIpAddressec2.amazonaws.com3glue.amazonaws.com1lambda.amazonaws.com1 +2 moreUserAgentaws-cli2Amazon ECS Agent1kubernetes1 +3 moreUserIdentityAccountIdANONYMOUS_PRINCIPAL3 +1 moreUserIdentityTypeIAMUser2AssumedRole1ErrorMessageAccessDenied2Access Denied1SessionIssuerUserNameErrorCodeClient.UnauthorizedOperation1RequestParametersuserData1ResourcesaccountId1UserIdentityPrincipalidAnonymous1
Joined with
itself- a computed table
SecurityAlertIdentityInfoSigninLogsOfficeActivityThreatIntelIndicatorsThreatIntelligenceIndicatorW3CIISLog
Parsing
split on UserIdentityArn91
1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 99 106 107
parse_json on RequestParameters68
7 9 10 11 12 13 14 15 16 17 18 19 20 22 24 25 26 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 57 63 65 68 72 77 78 79 85 86 87 88 89 90 91 92 93 94 95 96 97 98 102 103 108
parse_json on Resources56
1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 61 62 63
parse_json on AdditionalEventData4
split on UserIdentityPrincipalid3
split on EventSource1
split on UserAgent1
split on UserIdentityUserName1
todynamic on Resources1
Entity mappings
IP.Address ← SourceIpAddress102
1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 102 105 106 107 108 109 112 113
Account.CloudAppAccountId ← RecipientAccountId56
1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 61 62 63
Account.Name ← AccountName56
1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 61 62 63
Account.UPNSuffix ← AccountUPNSuffix56
1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 61 62 63
Account.FullName ← UserIdentityUserName36
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 102
Account.Name ← Name6
- AWSCloudTrail - EC2 Startup Shell Script Changed
- AWSCloudTrail - S3 Object Exfiltration from Anonymous User
- AWSCloudTrail - Unauthorized EC2 Instance Setup Attempt
- AWSCloudTrail - Creation of Access Key for IAM User
- AWSCloudTrail - User IAM Enumeration
- Suspicious access of BEC related documents in AWS S3 buckets
Account.UPNSuffix ← UpnSuffix5
Account.ObjectGuid ← UserIdentityUserName2
Account.FullName ← UserIdentityInvokedBy1
Account.UPNSuffix ← UPNSuffix1
CloudApplication.Name ← BucketName1
File.Name ← FilePath1
IP.Address ← set_SourceIpAddress1
ATT&CK techniques of these rules
T1098.003 28T1484 13T1078 9T1071 6T1098 6T1098.001 6T1562.007 6T1078.004 5T1110 5T1528 5T1537 5T1550.001 5T1087.004 3T1189 3T1203 3T1204 3T1485 3T1486 3T1562.001 3T1580 3T1059 2T1110.001 2T1134 2T1136.003 2T1204.003 2T1484.001 2T1526 2T1530 2T1562.008 2T1053.007 1T1059.004 1T1069.002 1T1069.003 1T1078.002 1T1083 1T1087.002 1T1087.003 1T1098.004 1T1110.004 1T1190 1T1484.002 1T1489 1T1496 1T1498 1T1525 1T1535 1T1556 1T1562 1T1562.004 1T1565.001 1T1578.005 1T1583 1T1589.002 1T1589.003 1T1590 1T1591 1T1592.004 1T1595 1T1596 1T1619 1T1651 1
Severity
Medium 66High 25Low 18
Schedules (analytic rules)
every 1d over 1d 54every 1h over 1h 10every 1d over 14d 3every 10m over 10m 2every 15m over 15m 2every 1h over 14d 2every 5m over 5m 1
Look-back windows in ago()
1d 20d 114d 17d 1
Every rule that reads it
- Failed AzureAD logons but success logon to AWS Console
- Failed AWS Console logons but success logon to AzureAD
- Malformed user agent
- AWSCloudTrail - Successful API executed from a Tor exit node
- AWSCloudTrail - Changes to internet facing AWS RDS Database instances
- AWSCloudTrail - Changes to Amazon VPC settings
- AWSCloudTrail - Failed Attempts to Change AWS CloudTrail Logs
- AWSCloudTrail - Login to AWS Management Console without MFA
- AWSCloudTrail - Creation of CRUD DynamoDB policy and then privilege escalation
- AWSCloudTrail - Creation of new CRUD IAM policy and then privilege escalation
- AWSCloudTrail - Creation of CRUD KMS policy and then privilege escalation
- AWSCloudTrail - Creation of CRUD Lambda policy and then privilege escalation
- AWSCloudTrail - Created CRUD S3 policy and then privilege escalation
- AWSCloudTrail - CloudFormation policy created then used for privilege escalation
- AWSCloudTrail - Creation of DataPipeline policy and then privilege escalation
- AWSCloudTrail - Creation of EC2 policy and then privilege escalation
- AWSCloudTrail - Creation of Glue policy and then privilege escalation
- AWSCloudTrail - Creation of Lambda policy and then privilege escalation
- AWSCloudTrail - Creation of SSM policy and then privilege escalation
- AWSCloudTrail - Creating keys with encrypt policy without MFA
- AWSCloudTrail - Monitor AWS Credential abuse or hijacking
- AWSCloudTrail - EC2 Startup Shell Script Changed
- AWSCloudTrail - ECR image scan findings high or critical
- AWSCloudTrail - Amazon ECR image scanning disabled
- AWSCloudTrail - Full Admin policy created and then attached to Roles, Users or Groups
- AWSCloudTrail - AWS GuardDuty detector disabled or suspended
- AWSCloudTrail - Changes to AWS Security Group ingress and egress settings
- AWSCloudTrail - Changes to AWS Elastic Load Balancer security groups
- AWSCloudTrail - Successful Tampering with AWS CloudTrail Logs
- AWSCloudTrail - Network ACL with all the open ports to a specified CIDR
- AWSCloudTrail - Suspicious overly permissive KMS key policy created
- AWSCloudTrail - Privilege escalation with admin managed policy
- AWSCloudTrail - Privilege escalation with AdministratorAccess managed policy
- AWSCloudTrail - Privilege escalation with FullAccess managed policy
- AWSCloudTrail - Privilege escalation via CRUD IAM policy
- AWSCloudTrail - Privilege escalation via CRUD KMS policy
- AWSCloudTrail - Privilege escalation via CRUD Lambda policy
- AWSCloudTrail - Privilege escalation via CRUD S3 policy
- AWSCloudTrail - Privilege escalation via CloudFormation policy
- AWSCloudTrail - Privilege escalation via DataPipeline policy
- AWSCloudTrail - Privilege escalation via EC2 policy
- AWSCloudTrail - Privilege escalation via Glue policy
- AWSCloudTrail - Privilege escalation via Lambda policy
- AWSCloudTrail - Privilege escalation via SSM policy
- AWSCloudTrail - Privilege escalation via CRUD DynamoDB policy
- AWSCloudTrail - RDS instance publicly exposed
- AWSCloudTrail - Successful brute force attack on S3 Bucket
- AWSCloudTrail - S3 bucket access point publicly exposed
- AWSCloudTrail - S3 bucket exposed via ACL
- AWSCloudTrail - S3 bucket exposed via policy
- AWSCloudTrail - S3 Object Exfiltration from Anonymous User
- AWSCloudTrail - S3 object publicly exposed
- AWSCloudTrail - S3 bucket suspicious ransomware activity
- AWSCloudTrail - SAML update identity provider
- AWSCloudTrail - SSM document is publicly exposed
- AWSCloudTrail - Policy version set to default
- AWSCloudTrail - Suspicious command sent to EC2
- AWSCloudTrail - Unauthorized EC2 Instance Setup Attempt
- AWSCloudTrail - Creation of Access Key for IAM User
- AWSCloudTrail - User IAM Enumeration
- AWSCloudTrail - NRT Login to AWS Management Console without MFA
- AWSCloudTrail - Suspicious AWS CLI Command Execution
- AWSCloudTrail - Suspicious AWS EC2 Compute Resource Deployments
- AWSCloudTrail - IAM Assume Role Brute Force
- AWSCloudTrail - S3 Bucket Versioning Suspended
- AWSCloudTrail - IAM New Access Key Created for User
- AWSCloudTrail - IAM CreateLoginProfile Activity
- AWSCloudTrail - EC2 Instance Launched Without Key Pair
- AWSCloudTrail - ECR Container Image Low Severity Findings
- AWSCloudTrail - ECR Container Image Medium Severity Findings
- AWSCloudTrail - High Volume of Enumeration Events
- AWSCloudTrail - Failed Brute Force on S3 Bucket
- AWSCloudTrail - Multiple Failed Login Attempts Without MFA
- AWSCloudTrail - IAM AccessDenied discovery events
- AWSCloudTrail - IAM user and group object changes
- AWSCloudTrail - IAM Policy Change Activity
- AWSCloudTrail - IAM Privilege Escalation by Instance Profile Attachment
- AWSCloudTrail - Lambda function throttled
- AWSCloudTrail - Lambda layer imported from external account
- AWSCloudTrail - Lambda function code updated
- AWSCloudTrail - IAM login profile updated
- AWSCloudTrail - Route table attribute modifications
- AWSCloudTrail - Subnet attribute modifications
- AWSCloudTrail - VPC attribute modifications
- AWSCloudTrail - Network ACL entry deleted
- AWSCloudTrail - Root User New Access Key Created
- AWSCloudTrail - IAM Policy with Excessive Wildcard Permissions
- AWSCloudTrail - IAM Privileged Role Attached to Instance
- AWSCloudTrail - RDS Master Password Changed
- AWSCloudTrail - IAM Risky Role Name Created
- AWSCloudTrail - S3 Bucket Deleted
- AWSCloudTrail - S3 Bucket Encryption Configuration Modified
- AWSCloudTrail - AWS STS token suspicious activity from EC2
- AWSCloudTrail - STS token suspicious activity from ECS
- AWSCloudTrail - STS token suspicious activity from Glue
- AWSCloudTrail - STS Token Suspicious Activity from Kubernetes Worker Node
- AWSCloudTrail - STS Token Suspicious Activity from Lambda
- AWSCloudTrail - IAM suspicious STS AssumeRole from unseen identity
- AWSCloudTrail - Activity in unused or unsupported cloud regions
- Log4j vulnerability exploit aka Log4Shell IP IOC
- User agent search for log4j exploitation attempt
- Suspicious access of BEC related documents in AWS S3 buckets
- Multi-Factor Authentication Disabled for a User
- AWS Identity and Access Management (IAM) Discovery
- Cross-Cloud Password Spray detection
- Successful AWS Console Login from IP Address Observed Conducting Password Spray
- Suspicious AWS console logins by credential access alerts
- User impersonation by Identity Protection alerts
- High-Risk Cross-Cloud User Impersonation
- New UserAgent observed in last 24 hours
- Exploit and Pentest Framework User Agent
- TI Map IP entity to AWSCloudTrail
- TI map IP entity to AWSCloudTrail
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.