40 lines
875 B
YAML
40 lines
875 B
YAML
id: ghost-takeover
|
|
|
|
info:
|
|
name: ghost takeover detection
|
|
author: pdteam
|
|
severity: high
|
|
description: ghost takeover was detected.
|
|
reference:
|
|
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/89
|
|
metadata:
|
|
max-request: 1
|
|
tags: takeover,ghost
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- Host != ip
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'error.ghost.org'
|
|
- 'offline.ghost.org'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 302
|
|
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- cname
|
|
# digest: 4a0a00473045022100e6b14cd181facf1c0aba1842e068d1d51866155487fff9659c1f88c3c6c35975022039d00f6759d82ba24ea18af1822d439c0754836d3761a4c79034bc1127455551:922c64590222798bb761d5b6d8e72950 |