Added google-bucket-service detection

patch-1
sandeep 2021-04-07 15:52:58 +05:30
parent 2292a7a038
commit 0e097263ca
3 changed files with 36 additions and 3 deletions

View File

@ -4,7 +4,7 @@ info:
name: Dockerrun AWS Configuration Exposure
author: pdteam
severity: medium
tags: config,exposure
tags: config,exposure,aws
requests:
- method: GET

View File

@ -1,15 +1,17 @@
id: aws-bucket-service
info:
name: Detect websites using AWS Bucket storage
name: Detect websites using AWS bucket storage
author: pdteam
severity: info
tags: aws,tech
requests:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: dsl
dsl:
@ -18,4 +20,10 @@ requests:
- contains(tolower(all_headers), 'x-amz-id')
- contains(tolower(all_headers), 'AmazonS3')
part: header
condition: or
condition: or
- type: dsl
dsl:
- contains(tolower(all_headers), 'x-guploader-uploadid')
part: header
negative: true

View File

@ -0,0 +1,25 @@
id: google-bucket-service
info:
name: Detect websites using Google bucket storage
author: pdteam
severity: info
tags: google,tech
requests:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
dsl:
- contains(tolower(all_headers), 'x-goog-component-count')
- contains(tolower(all_headers), 'x-goog-expiration')
- contains(tolower(all_headers), 'x-goog-generation')
- contains(tolower(all_headers), 'x-goog-metageneration')
- contains(tolower(all_headers), 'x-goog-stored-content-encoding')
- contains(tolower(all_headers), 'x-goog-stored-content-length')
- contains(tolower(all_headers), 'x-guploader-uploadid')
part: header
condition: or