Publicly accessible Google Compute instance uses a privileged service account

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

A publicly accessible VM instance has a Service Account with a privileged or administrative IAM policy. If an attacker retrieves the VM instance credentials through a vulnerability or other misconfiguration, they can compromise the victim’s Google Cloud project resources.

Remediation

  1. Identify the service account assigned to the VM instance.
  2. Identify effective permissions using Policy Analyzer.
  3. Scope the policy to grant only the permissions that are required based on Google Cloud Role recommendations.
PREVIEWING: may/add-individual-processors