30 lines
671 B
YAML
30 lines
671 B
YAML
id: txt-fingerprint
|
|
|
|
info:
|
|
name: DNS TXT Record Detected
|
|
author: pdteam
|
|
severity: info
|
|
description: A DNS TXT record was detected. The TXT record lets a domain admin leave notes on a DNS server.
|
|
reference:
|
|
- https://www.netspi.com/blog/technical/network-penetration-testing/analyzing-dns-txt-records-to-fingerprint-service-providers/
|
|
classification:
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 1
|
|
tags: dns,txt
|
|
|
|
dns:
|
|
- name: "{{FQDN}}"
|
|
type: TXT
|
|
matchers:
|
|
- type: regex
|
|
part: answer
|
|
regex:
|
|
- "IN\tTXT\\t(.+)$"
|
|
|
|
extractors:
|
|
- type: regex
|
|
group: 1
|
|
regex:
|
|
- "IN\tTXT\t(.+)"
|