update zip-backup-files (#6816)

patch-1
QAQ 2023-03-02 14:40:18 +08:00 committed by GitHub
parent 6f6b9aa61c
commit 753cf69312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 6 deletions

View File

@ -2,7 +2,7 @@ id: zip-backup-files
info:
name: Compressed Backup File - Detect
author: toufik-airane,dwisiswant0,ffffffff0x
author: toufik-airane,dwisiswant0,ffffffff0x,pwnhxl
severity: medium
description: Multiple compressed backup files were detected.
classification:
@ -14,13 +14,36 @@ info:
requests:
- method: GET
path:
- "{{BaseURL}}/{{FQDN}}.{{EXT}}" # www.example.com
- "{{BaseURL}}/{{RDN}}.{{EXT}}" # example.com
- "{{BaseURL}}/{{DN}}.{{EXT}}" # example
- "{{BaseURL}}/{{SD}}.{{EXT}}" # www
- "{{BaseURL}}/{{FILENAME}}.{{EXT}}"
attack: pitchfork
attack: clusterbomb
payloads:
FILENAME:
- "{{FQDN}}" # www.example.com
- "{{RDN}}" # example.com
- "{{DN}}" # example
- "{{SD}}" # www
- "{{date_time('%Y')}}" #2023
- "ROOT" #tomcat
- "wwwroot"
- "htdocs"
- "www"
- "html"
- "web"
- "webapps"
- "public"
- "public_html"
- "uploads"
- "website"
- "api"
- "test"
- "app"
- "backup"
- "bin"
- "bak"
- "old"
- "Release"
EXT:
- "7z"
- "bz2"
@ -46,6 +69,7 @@ requests:
- "sql.zip"
- "sql.z"
- "sql.tar.z"
- "war"
max-size: 500 # Size in bytes - Max Size to read from server response
matchers-condition: and