Check ID:
Provider: GCP
Service:
Severity: MEDIUM
Categories:
Resource type:
compute_instance_serial_ports_in_useProvider: GCP
Service:
computeSeverity: MEDIUM
Categories:
identity-accessResource type:
compute.googleapis.com/InstanceWhat this check verifies
Compute Engine VM instance with the interactive serial console enabled via metadataserial-port-enable (1/true). Instances with this flag disabled do not allow interactive serial console connections.
Risk
Enabling the serial console creates out-of-band access that can bypass network controls. Abuse can grant low-level OS interaction, expose sensitive boot logs, alter configuration, or disrupt services, degrading confidentiality, integrity, and availability.Recommendation
Disable the interactive serial console on production VMs (serial-port-enable=false). Use it only for break-glass cases. Enforce least privilege for console roles, prefer controlled access paths (IAP/SSH or session tools), and monitor access. Apply defense in depth to reduce alternate entry points.
Remediation
- CLI
- Terraform
- Dashboard steps
References
- https://cloud.google.com/compute
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/gcp/ComputeEngine/disable-interactive-serial-console-support.html
Where this check fires
This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable byCheck ID = compute_instance_serial_ports_in_use. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to GCP checks