More Info:

Determines if TCP port 135 for RPC is open to the public.

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, GDPR, ISO27001, HIPAA, HITRUST, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

Here are the step-by-step instructions to remediate the “RPC Port Should Not Be Open” misconfiguration in GCP using the GCP console:

  1. Log in to the GCP console (console.cloud.google.com).
  2. Navigate to the GCP project that has the misconfiguration.
  3. In the left-hand menu, click on the “Compute Engine” option.
  4. Click on the “VM instances” option to see a list of all the virtual machines in the project.
  5. Identify the virtual machine that has the open RPC port.
  6. Click on the name of the virtual machine to open its details page.
  7. Click on the “Edit” button at the top of the page to edit the VM instance settings.
  8. Scroll down to the “Firewall” section and click on “Network interfaces”.
  9. Under “Firewall rules”, click on “default-allow-rpc”.
  10. Click the “Delete” button to remove the rule.
  11. Click the “Save” button to save the changes.

This will remove the RPC port from being open on the virtual machine and remediate the misconfiguration.

Additional Reading: