More Info:

Determines if UDP port 445 for CIFS is open to the public

Risk Level

Medium

Address

Security

Compliance Standards

HITRUST, GDPR, SOC2, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

To remediate the CIFS Port Should Not Be Open misconfiguration for GCP using GCP console, follow these steps:

  1. Log in to the GCP console.
  2. Navigate to the Compute Engine section.
  3. Select the VM instance that has the CIFS port open.
  4. Click on the Edit button at the top of the page.
  5. Scroll down to the Firewall section.
  6. Find the rule that allows traffic on port 445 (CIFS).
  7. Click on the trash can icon to delete the rule.
  8. Click on the Save button at the bottom of the page.

Once you have completed these steps, the CIFS port will no longer be open on the VM instance, and the misconfiguration will be remediated.

Additional Reading: