2024-03-25 18:08:50 +00:00
|
|
|
id: privatebin-detect
|
|
|
|
|
2024-06-07 10:04:29 +00:00
|
|
|
info:
|
|
|
|
name: PrivateBin - Detect
|
|
|
|
author: righettod
|
|
|
|
severity: info
|
|
|
|
description: |
|
|
|
|
PrivateBin was detected.
|
|
|
|
reference:
|
|
|
|
- https://privatebin.info/
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
shodan-query: title:"PrivateBin"
|
|
|
|
tags: tech,privatebin,detect
|
|
|
|
|
2024-03-25 18:08:50 +00:00
|
|
|
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-06-08 16:02:17 +00:00
|
|
|
# digest: 4a0a0047304502206afe74cfd32d8f24ae65b6232ad1278899f3f308f065a2fd78a03bb76982df7002210093eaac25218e55f799167bb6ae960574486e989ce9616189b9c26f0e98481fe8:922c64590222798bb761d5b6d8e72950
|