{"id":"db014773-7375-4f4e-b83b-133337c0ffee","title":"AWS IAM S3Browser Templated S3 Bucket Policy Creation","description":"Detects S3 browser utility creating Inline IAM policy containing default S3 bucket name placeholder value of \"<YOUR-BUCKET-NAME>\".","author":"daniel.bohannon@permiso.io (@danielhbohannon)","status":"test","level":"high","date":"2023-05-17","modified":"","tags":["attack.execution","attack.stealth","attack.t1059.009","attack.persistence","attack.initial-access","attack.privilege-escalation","attack.t1078.004"],"technique_ids":["T1059.009","T1078.004"],"logsource":{"product":"aws","service":"cloudtrail"},"falsepositives":["Valid usage of S3 browser with accidental creation of default Inline IAM policy without changing default S3 bucket name placeholder value"],"references":["https://permiso.io/blog/s/unmasking-guivil-new-cloud-threat-actor"],"source_path":"rules/cloud/aws/cloudtrail/aws_iam_s3browser_templated_s3_bucket_policy_creation.yml","source_sha256":"f2a68159a3037c9511c3c74d3d027fc367dc9c4662df6c6f03723554aa92d245","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/cloud/aws/cloudtrail/aws_iam_s3browser_templated_s3_bucket_policy_creation.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: AWS IAM S3Browser Templated S3 Bucket Policy Creation\nid: db014773-7375-4f4e-b83b-133337c0ffee\nstatus: test\ndescription: Detects S3 browser utility creating Inline IAM policy containing default S3 bucket name placeholder value of \"<YOUR-BUCKET-NAME>\".\nreferences:\n    - https://permiso.io/blog/s/unmasking-guivil-new-cloud-threat-actor\nauthor: daniel.bohannon@permiso.io (@danielhbohannon)\ndate: 2023-05-17\ntags:\n    - attack.execution\n    - attack.stealth\n    - attack.t1059.009\n    - attack.persistence\n    - attack.initial-access\n    - attack.privilege-escalation\n    - attack.t1078.004\nlogsource:\n    product: aws\n    service: cloudtrail\ndetection:\n    selection:\n        eventSource: iam.amazonaws.com\n        eventName: PutUserPolicy\n        userAgent|contains: 'S3 Browser'\n        requestParameters|contains|all:\n            - '\"arn:aws:s3:::<YOUR-BUCKET-NAME>/*\"'\n            - '\"s3:GetObject\"'\n            - '\"Allow\"'\n    condition: selection\nfalsepositives:\n    - Valid usage of S3 browser with accidental creation of default Inline IAM policy without changing default S3 bucket name placeholder value\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059.009","id":"T1059.009","name":"Cloud API","page":"techniques/enterprise/T1059.009/"},{"key":"enterprise/T1078.004","id":"T1078.004","name":"Cloud Accounts","page":"techniques/enterprise/T1078.004/"}],"data_path":"data/detection-rules/db014773-7375-4f4e-b83b-133337c0ffee.json","kind":"sigma"}
