29 lines
530 B
YAML
29 lines
530 B
YAML
|
id: defaced-website-detect
|
||
|
|
||
|
info:
|
||
|
name: Defaced Website - Detection
|
||
|
author: ggranjus
|
||
|
severity: info
|
||
|
description: The detected website is defaced.
|
||
|
metadata:
|
||
|
verified: 'true'
|
||
|
shodan-query: http.title:"Hacked By"
|
||
|
max-request: 1
|
||
|
tags: defacement,misc
|
||
|
|
||
|
http:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}"
|
||
|
|
||
|
matchers:
|
||
|
- type: regex
|
||
|
part: body
|
||
|
regex:
|
||
|
- '(?i)<title>.*Hacked( By .+)?<\/title>'
|
||
|
|
||
|
extractors:
|
||
|
- type: xpath
|
||
|
xpath:
|
||
|
- '/html/head/title'
|