41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
id: privatebin-detect
|
|
|
|
info:
|
|
name: PrivateBin - Detect
|
|
author: righettod
|
|
severity: info
|
|
description: |
|
|
PrivateBin was detected.
|
|
reference:
|
|
- https://privatebin.info/
|
|
classification:
|
|
cpe: cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: privatebin
|
|
product: privatebin
|
|
shodan-query: title:"PrivateBin"
|
|
tags: tech,privatebin,detect
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
redirects: true
|
|
max-redirects: 2
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains_any(to_lower(body), "privatebin.js", "privatebin</title>", "content=\"privatebin")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- 'privatebin\.[a-z]{2,3}\?([0-9.]+)'
|
|
# digest: 4a0a00473045022048adc3bd82a5e5147240889364961fc4954099cefae30d7aefe8fb161722ae86022100ddf32429e7d216a58d054d14712b293d4762cedf081c991f130b1af8e07cff68:922c64590222798bb761d5b6d8e72950 |