AZURE BL 2-0 Ports Allowed as * or 0-65535 are restricted

Jamie Kandola
Jamie Kandola
  • Updated

About

This article explains how to fix a failing Azure check about open ports. ControlMap checks your Azure connection against its Azure Baseline Controls. One of these checks looks for inbound network rules that allow traffic on every port (* or 0-65535).

Allowing access to all ports over the internet lets attackers or malicious users try brute force techniques to gain access to servers, data and information systems.

Find the failing check in ControlMap

  1. Go to Monitor › Compliance Checks.
  2. Find the Azure check with the status Failing. To narrow the list, use the filters at the top of the table.
  3. Open the Compliance check actions menu on the check's row and select View Evidence, then open the Scan results tab to see the result.

Restrict the allowed ports in Azure

Do these steps in the Azure portal. Repeat them for each network security group, one at a time.

  1. Sign in to the Azure portal.
  2. Under resources, select Network Security Groups.
  3. Select a network security group.
  4. Under Settings, select Inbound security rules.
  5. In the right-hand pane, review the list of security rules.
  6. Remove or update any inbound rule that allows incoming traffic from port * or 0-65535.

Run the scan again

  1. Go to Monitor › Integrations and open your Azure connection from its card.
  2. Select Run Once. A message says the scan is scheduled to start in the next few minutes.
  3. When the scan finishes, go back to Monitor › Compliance Checks to see the updated status.

Connections also scan on their weekly schedule, so the status updates on its own if you don't run it manually.

More information

For more on how network security groups work, see Microsoft's network security groups overview.

Was this article helpful?

Yes! No