用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-azure-foundations-7-3命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-azure-foundations-7.3 |
| description | Ensure UDP access from the Internet is evaluated and restricted |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","networking","nsg"] |
| cis_id | 7.3 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | ["cis-azure-foundations-7.1","cis-azure-foundations-7.2","cis-azure-foundations-7.4","cis-azure-foundations-7.11"] |
| prerequisites | [] |
| severity_boost | {} |
Network security groups should be periodically evaluated for port misconfigurations. Where UDP is not explicitly required and narrowly configured for resources attached to a network security group, Internet-level access to Azure resources should be restricted or eliminated.
The potential security problem with broadly exposing UDP services over the Internet is that attackers can use DDoS amplification techniques to reflect spoofed UDP traffic from Azure Virtual Machines. The most common types of these attacks exploit exposed DNS, NTP, SSDP, SNMP, CLDAP, and other UDP-based services as amplification sources to disrupt services on other machines within the Azure Virtual Network, or even attack networked devices outside of Azure.
None documented. Restricting UDP access from the Internet is a security best practice with no negative functional impact when properly configured.
Network security groups.Settings, click Inbound security rules.53, 123, 161, 389, or 1900, or range including 53, 123, 161, 389, or 1900, or other vulnerable UDP-based servicesUDP or Any0.0.0.0/0, Internet, or AnyAllowResource Graph Explorer.New query.resources | where type =~ "microsoft.network/networksecuritygroups" | project id, name, securityRule = properties.securityRules | mv-expand securityRule | extend access = securityRule.properties.access, direction = securityRule.properties.direction, protocol = securityRule.properties.protocol, destinationPort = case(isempty(securityRule.properties.destinationPortRange), securityRule.properties.destinationPortRanges, securityRule.properties.destinationPortRange), sourceAddress = case(isempty(securityRule.properties.sourceAddressPrefix), securityRule.properties.sourceAddressPrefixes, securityRule.properties.sourceAddressPrefix) | where access =~ "Allow" and direction =~ "Inbound" and protocol in~ ("udp", "*") | mv-expand destinationPort | mv-expand sourceAddress | extend destinationPortMin = toint(split(destinationPort, "-")[0]), destinationPortMax = toint(split(destinationPort, "-")[-1]) | where (destinationPortMin <= 53 and destinationPortMax >= 53) or (destinationPortMin <= 123 and destinationPortMax >= 123) or (destinationPortMin <= 161 and destinationPortMax >= 161) or (destinationPortMin <= 389 and destinationPortMax >= 389) or (destinationPortMin <= 1900 and destinationPortMax >= 1900) or destinationPort == "" | where sourceAddress in~ ("*", "0.0.0.0", "internet", "any") or sourceAddress endswith "/0"
Run query.List network security groups with non-default security rules:
az network nsg list --query [*].[name,securityRules]
Ensure that no network security group has an inbound security rule that matches the following:
"access" : "Allow"
"destinationPortRange" : "53", "123", "161", "389", "1900", "*" or "<range-including-53-123-161-389-1900-or-other-vulnerable-udp-based-services>"
"direction" : "Inbound"
"protocol" : "UDP" or "*"
"sourceAddressPrefix" : "0.0.0.0/0", "Internet", or "*"
No inbound security rules should allow unrestricted UDP access from the Internet for vulnerable services (DNS/53, NTP/123, SNMP/161, LDAP/389, SSDP/1900). The Azure Resource Graph query should return zero results.
Network security groups.Settings, click Inbound security rules.53, 123, 161, 389, or 1900, or range including 53, 123, 161, 389, or 1900, or other vulnerable UDP-based servicesUDP or Any0.0.0.0/0, Internet, or AnyAllowDelete.Yes.For each network security group rule requiring remediation, run the following command to delete the rule:
az network nsg rule delete --resource-group <resource-group> --nsg-name <network-security-group> --name <rule>
By default, UDP access from internet is not enabled.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 13.4 Perform Traffic Filtering Between Network Segments | x | x | |
| v7 | 9.2 Ensure Only Approved Ports, Protocols and Services Are Running | x | x |
| Techniques / Sub-techniques | Tactics | Mitigations |
|---|---|---|
| T1095 | TA0011 | M1037 |
Level 1 | Automated