You need to enable JavaScript to run this app. Azure收到Dangling DNS告警为误报?附PowerShell检测结果咨询
优惠活动
大模型
产品
解决方案
定价
更多

Azure收到Dangling DNS告警为误报?附PowerShell检测结果咨询

Azure悬垂DNS告警误报求证
  • 今日本人收到两封微软发送的安全告警邮件,逐次核实后确认两封均为误报。
  • 特向其他使用Azure的用户求证:是否也收到过包含以下摘录内容的告警?如果有过同类收件经历,这类告警是提供了有效的风险提示,还是同样属于误报?

告警邮件原文摘录:

  • 本邮件通知已发送至Azure Active Directory租户的所有全局管理员和/或技术联系人。
  • Dangling Domain(s):{'aspnet4you.com'}
  • 我方安全团队识别到贵组织Azure Active Directory租户所属的特定域名系统(DNS)子域已处于悬垂状态(未映射至活跃Azure资源)。请注意,悬垂DNS条目可能存在安全风险。

个人核实动作与疑惑

  • 微软官方配套提供了识别悬垂DNS记录的操作指引,附带有可本地运行的PowerShell检测脚本
  • 本人严格按照指引流程运行完脚本后,未发现任何缺失关联的CNAME悬垂记录
  • 目前的疑惑点:在本地脚本未检测到风险的前提下,微软自身在发送这类告警前,是通过什么检测逻辑判定组织内存在悬垂域名的?

脚本运行输出示例

PS C:\Users\xxx\OneDrive\Azure\dangling-domains> .\Get-DanglingDnsRecords.ps1 -InputFileDnsRecords .\CNameToDNSMap.csv -FileAndAzureSubscription
WARNING: Run parallel is unsupported in the current version of powershell: 5.1.18362.752, running in serial mode

Fetched 18 Azure resources: Total time took in milliseconds: 3099
WARNING: Please standby - processing 2 subscriptions
WARNING: Please standby - processing 0 DnsZones and 0 DnsRecordSets
Completed Azure DNS records fetch workflows: Total time took in milliseconds: 7715
No CName records missing Azure DNS records found
Fetched 18 Azure resources; Saved the file as: C:\Users\xxx\OneDrive\Azure\dangling-domains\AzureResources.csv
WARNING: No Azure DNS CName records fetched
Processed 9 CName records from input file: .\CNameToDNSMap.csv
Found 9 CName records matching in Azure resources;  saved the file as: C:\Users\xxx\OneDrive\Azure\dangling-domains\AzureCNameMatchingResources.csv
Id                                   Directory
--                                   ---------
61xx6xxx-0429-xxa3-xxxx-4bcbxxxx5aef                   

NameOfProcessSection            : Time in Milliseconds
InputFileProcessingTime         : 9
AzureLibrariesLoadTime          : 7
AzureResourcesFetchTime         : 3099
AzureDnsRecordsFetchTime        : 7715
InputDnsCNameListProcessingTime : 7
AzureCNameListProcessingTime     : 1
SummarizeTime                   : 12
ScriptExectionTime              : 11536


TypeOfRecords               : Details
ProcessedType               : Serial
AzureSubscriptions          : 2
AzureResources              : 18
AzureDnsZones               : 0
AzureDnsRecordSets          : 0
InputDnsCNameList           : 9
AzureDnsCNameRecordSets     : 0
AzureCNameMatchingResources : 9
AzureCNameMissingResources  : 0



AzureResourceProviderName AzureResourceCount AzureCNameMatchingResources AzureCNameMissingResources
------------------------- ------------------ --------------------------- --------------------------
Azure API Management                       0                           0                          0
Azure Container Instance                   0                           0                          0
Azure CDN                                  0                           0                          0
Azure Front Door                           0                           0                          0
Azure App Service                          9                           8                          0
Azure Blob Storage                         8                           0                          0
Azure Public IP addresses                  0                           0                          0
Azure Classic Cloud                        1                           1                          0
Azure Traffic Manager                      0                           0                          0
  • 其他有同类场景的用户,可直接从微软公开渠道下载运行该PowerShell检测脚本,欢迎分享实际运行的体验与结果。

内容的提问来源于stack exchange,提问作者Prodip

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.11.15 00:54:03