2024-03-25 18:08:50 +00:00
|
|
|
id: privatebin-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: PrivateBin - Detect
|
|
|
|
author: righettod
|
|
|
|
severity: info
|
|
|
|
description: |
|
|
|
|
PrivateBin was detected.
|
|
|
|
reference:
|
|
|
|
- https://privatebin.info/
|
|
|
|
metadata:
|
|
|
|
max-request: 1
|
|
|
|
verified: true
|
2024-03-26 04:43:29 +00:00
|
|
|
shodan-query: title:"PrivateBin"
|
2024-03-25 18:08:50 +00:00
|
|
|
tags: tech,privatebin,detect
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
redirects: true
|
|
|
|
max-redirects: 2
|
2024-03-25 18:12:38 +00:00
|
|
|
|
2024-03-25 18:08:50 +00:00
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code == 200'
|
2024-03-26 04:43:29 +00:00
|
|
|
- 'contains_any(to_lower(body), "privatebin.js", "privatebin</title>", "content=\"privatebin")'
|
2024-03-25 18:08:50 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
2024-03-25 18:12:38 +00:00
|
|
|
- 'privatebin\.[a-z]{2,3}\?([0-9.]+)'
|
2024-03-26 08:08:40 +00:00
|
|
|
# digest: 4a0a0047304502207e7f69b925de97e067c23975a23bafc7e6ffa4d3a65f17c35dde4e941929a3c1022100c55e9d8562cff5a99fb2b8e406a8ee4ab9f89612fd201fe069b5c3282683e805:922c64590222798bb761d5b6d8e72950
|