Skip to main content

๐Ÿ›ก๏ธ Azure Network Subnet without Network Security Group๐ŸŸข

  • Contextual name: ๐Ÿ›ก๏ธ Network Subnet without Network Security Group๐ŸŸข
  • ID: /ce/ca/azure/virtual-network/subnet-without-security-group
  • Tags:
  • Policy Type: COMPLIANCE_POLICY
  • Policy Categories: SECURITY

Statsโ€‹

not available

Logicโ€‹

Similar Policiesโ€‹

  • Internal: dec-x-3653594a

Similar Internal Rulesโ€‹

RulePoliciesFlags
โœ‰๏ธ dec-x-3653594a1

Descriptionโ€‹

Open File

Descriptionโ€‹

This policy identifies Azure Network Subnets that do not have any associated network security groups. Protect subnet resources by ensuring subnets are associated with NSGs, which can filter inbound and outbound traffic using security rules.

Rationaleโ€‹

Unprotected subnets can expose resources to unauthorized access.

Impactโ€‹

Minor administrative effort is required to ensure subnets are associated with network security groups. There is no cost to create or use network security groups.

Auditโ€‹

This policy flags an Azure Network Subnet as INCOMPLIANT if it has no associated Network Security Group.

Default Valueโ€‹

By default, a subnet is not associated with a network security group.

Referencesโ€‹

  1. https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
  2. https://learn.microsoft.com/en-us/cli/azure/network/vnet

Remediationโ€‹

Open File

Remediationโ€‹

From Azure Portalโ€‹

  1. Go to Virtual networks.
  2. Click the name of a virtual network.
  3. Under Settings, click Subnets.
  4. Click the name of a subnet.
  5. Under Security, next to Network security group, click None to display the drop-down menu.
  6. Select a network security group.
  7. Click Save.
  8. Repeat steps 1-7 for each virtual network and subnet requiring remediation.

From Azure CLIโ€‹

For each subnet requiring remediation, run the following command to associate it with a network security group:

az network vnet subnet update \
--resource-group {{resource-group-name}} \
--vnet-name {{virtual-network-name}} \
--name {{subnet-name}} \
--network-security-group {{network-security-group-name}}

policy.yamlโ€‹

Open File

Linked Framework Sectionsโ€‹

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
๐Ÿ’ผ APRA CPG 234 โ†’ ๐Ÿ’ผ 16d secure design, architecture and consultation;22no data
๐Ÿ’ผ APRA CPG 234 โ†’ ๐Ÿ’ผ 45 An understanding of plausible worst case scenarios can help regulated entities identify and implement additional controls to prevent or reduce the impact of such scenarios. One example is malware that infects computers and encrypts data, both on the infected computer and any connected storage, including (corporate) networks and cloud storage. Such attacks reinforce the importance of protecting the backup environment in the event that the production environment is compromised. Common techniques to achieve this include network segmentation, highly restricted and segregated access controls and network traffic flow restrictions.83115no data
๐Ÿ’ผ CIS Azure v5.0.0 โ†’ ๐Ÿ’ผ 7.11 Ensure subnets are associated with network security groups (Automated)1no data
๐Ÿ’ผ CIS Azure v6.0.0 โ†’ ๐Ÿ’ผ 7.11 Ensure Subnets Are Associated with Network Security Groups (Automated)1no data
๐Ÿ’ผ Cloudaware Framework โ†’ ๐Ÿ’ผ Network Exposure137no data
๐Ÿ’ผ FedRAMP High Security Controls โ†’ ๐Ÿ’ผ AC-4 Information Flow Enforcement (M)(H)248188no data
๐Ÿ’ผ FedRAMP Moderate Security Controls โ†’ ๐Ÿ’ผ AC-4 Information Flow Enforcement (M)(H)1169no data
๐Ÿ’ผ NIST CSF v2.0 โ†’ ๐Ÿ’ผ DE.CM-09: Computing hardware and software, runtime environments, and their data are monitored to find potentially adverse events185no data
๐Ÿ’ผ NIST CSF v2.0 โ†’ ๐Ÿ’ผ ID.AM-03: Representations of the organization's authorized network communication and internal and external network data flows are maintained128no data
๐Ÿ’ผ NIST CSF v2.0 โ†’ ๐Ÿ’ผ PR.DS-10: The confidentiality, integrity, and availability of data-in-use are protected249no data
๐Ÿ’ผ NIST CSF v2.0 โ†’ ๐Ÿ’ผ PR.IR-01: Networks and environments are protected from unauthorized logical access and usage165no data
๐Ÿ’ผ NIST SP 800-53 Revision 5 โ†’ ๐Ÿ’ผ AC-4 Information Flow Enforcement32120207no data
๐Ÿ’ผ NIST SP 800-53 Revision 5 โ†’ ๐Ÿ’ผ AC-4(2) Information Flow Enforcement _ Processing Domains3638no data
๐Ÿ’ผ NIST SP 800-53 Revision 5 โ†’ ๐Ÿ’ผ AC-4(15) Information Flow Enforcement _ Detection of Unsanctioned Information1011no data