Skip to content

First custom template - failed to load #5192

Answered by rxerium
HachimanSec asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @HachimanSec, give this a try:

id: mta-sts-detection

info:
  name: MTA-STS Detection
  author: tom
  severity: info
  description: Detects the presence of MTA-STS configuration
  tags: email,security

dns:
  - name: "{{FQDN}}"
    type: TXT

    matchers:
      - type: word
        words:
          - "v=spf1"

    extractors:
      - type: regex
        regex:
          - "v=mta-sts(.+)"

http:
  - method: GET
    path:
      - "{{BaseURL}}/.well-known/mta-sts.txt"
      - "https://mta-sts.{{Hostname}}"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "version: STSv1"
          - "mode:"
   …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@HachimanSec
Comment options

@HachimanSec
Comment options

@rxerium
Comment options

@HachimanSec
Comment options

Answer selected by HachimanSec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants