2020-04-29 10:23:17 +00:00
|
|
|
id: azure-takeover-detection
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Azure takeover detection
|
2021-04-06 07:25:57 +00:00
|
|
|
author: pdteam
|
2020-04-29 10:23:17 +00:00
|
|
|
severity: high
|
2021-09-29 12:44:28 +00:00
|
|
|
tags: dns,takeover,azure
|
|
|
|
reference: https://godiego.co/posts/STO/
|
2020-04-29 10:23:17 +00:00
|
|
|
|
|
|
|
dns:
|
2020-05-25 07:54:40 +00:00
|
|
|
- name: "{{FQDN}}"
|
|
|
|
type: A
|
2021-12-09 13:05:44 +00:00
|
|
|
|
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
|
|
|
|
2021-09-14 23:53:58 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- "IN\tCNAME\t(.+)"
|