Skip to content

SPF Record - Detection

ID: spf-record-detect

Severity: info

Author: rxerium

Tags: dns,spf

An SPF TXT record was detected

id: spf-record-detect
info:
name: SPF Record - Detection
author: rxerium
severity: info
description: |
An SPF TXT record was detected
reference:
- https://www.mimecast.com/content/how-to-create-an-spf-txt-record
metadata:
max-request: 1
tags: dns,spf
dns:
- name: "{{FQDN}}"
type: TXT
matchers:
- type: word
words:
- "v=spf1"
extractors:
- type: regex
regex:
- "v=spf1(.+)"
# digest: 490a0046304402204a3baabdfa61964fc1f3b7ab31a08465b6beab834ce5468691cb1f7801c898d30220677676627ee5debf4c253acbe9d3224b9707d3f247cfe3b81d31a305f4aba4e8:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "dns/spf-record-detect.yaml"

View on Github