nuclei-templates/dns/azure-takeover-detection.yaml

56 lines
1.6 KiB
YAML
Raw Normal View History

2020-04-29 10:23:17 +00:00
id: azure-takeover-detection
info:
name: Microsoft Azure Takeover Detection
2021-04-06 07:25:57 +00:00
author: pdteam
2020-04-29 10:23:17 +00:00
severity: high
description: Microsoft Azure is vulnerable to subdomain takeover attacks. Subdomain takeovers are a common, high-severity threat for organizations that regularly create and delete many resources. A subdomain takeover can occur when a DNS record points to a deprovisioned Azure resource.
reference:
- https://godiego.co/posts/STO/
- https://docs.microsoft.com/en-us/azure/security/fundamentals/subdomain-takeover
- https://cystack.net/research/subdomain-takeover-chapter-two-azure-services/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-404
tags: dns,takeover,azure
2020-04-29 10:23:17 +00:00
dns:
2020-05-25 07:54:40 +00:00
- name: "{{FQDN}}"
type: A
2020-05-25 07:54:40 +00:00
matchers-condition: and
matchers:
2020-04-29 10:23:17 +00:00
- type: word
2020-05-25 07:54:40 +00:00
words:
2020-04-29 10:23:17 +00:00
- "azure-api.net"
- "azure-mobile.net"
- "azurecontainer.io"
- "azurecr.io"
- "azuredatalakestore.net"
- "azureedge.net"
- "azurefd.net"
- "azurehdinsight.net"
- "azurewebsites.net"
- "azurewebsites.windows.net"
- "blob.core.windows.net"
- "cloudapp.azure.com"
- "cloudapp.net"
- "database.windows.net"
- "redis.cache.windows.net"
- "search.windows.net"
- "servicebus.windows.net"
- "visualstudio.com"
2021-09-29 12:44:28 +00:00
2020-04-29 10:23:17 +00:00
- type: word
words:
- "NXDOMAIN"
2021-09-16 09:39:33 +00:00
extractors:
- type: regex
group: 1
regex:
- "IN\tCNAME\t(.+)"
# Enhanced by mp on 2022/03/13