π Google GCE Instance is launched without Shielded VM enabled π’
- Contextual name: π Instance is launched without Shielded VM enabled π’
- ID:
/ce/ca/google/compute-engine/instance-shielded-vm
- Located in: π Google GCE
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
To defend against advanced threats and ensure that the boot loader and firmware on your VMs are signed and untampered, it is recommended that Compute instances are launched with Shielded VM enabled.
Rationaleβ
Shielded VMs are virtual machines (VMs) on Google Cloud Platform hardened by a set of security controls that help defend against rootkits and bootkits.
Shielded VM offers verifiable integrity of your Compute Engine VM instances, so you can be confident your instances haven't been compromised by boot- or kernel-level malware or rootkits. Shielded VM's verifiable integrity is achieved through the use of Secure Boot, virtual trusted platform module (vTPM)-enabled Measured Boot, and integrity monitoring.
Shielded VM instances run firmware which is signed and verified using Google's Certificate Authority, ensuring that the instance's firmware is unmodified and establishing the root of trust for Secure Boot.
Integrity monitoring helps you understand and make decisions about the state of your VM instances and the Shielded VM vTPM enables Measured Boot by performing the measurements needed to create a known good boot baseline, called the integrity policy baseline. The integrity policy baseline is used for comparison with measurements from subsequent VM boots to determine if anything has changed.
... see more
Remediationβ
Remediationβ
To be able turn on
Shielded VM
on an instance, your instance must use an image with Shielded VM support.From Google Cloud Consoleβ
- Go to the
VM instances
page by visiting: https://console.cloud.google.com/compute/instances.- Click on the instance name to see its
VM instance details
page.- Click
STOP
to stop the instance.- When the instance has stopped, click
EDIT
.- In the Shielded VM section, select
Turn on vTPM
andTurn on Integrity Monitoring
.- Optionally, if you do not use any custom or unsigned drivers on the instance, also select
Turn on Secure Boot
.- Click the
Save
button to modify the instance and then clickSTART
to restart it.From Google Cloud CLIβ
You can only enable Shielded VM options on instances that have Shielded VM support. For a list of Shielded VM public images, run the gcloud compute images list command with the following flags:
gcloud compute images list --project gce-uefi-images --no-standard-images
Stop the instance:
gcloud compute instances stop <INSTANCE_NAME>
... see more
policy.yamlβ
Linked Framework Sectionsβ
Section | Sub Sections | Internal Rules | Policies | Flags |
---|---|---|---|---|
πΌ CIS GCP v3.0.0 β πΌ 4.8 Ensure Compute Instances Are Launched With Shielded VM Enabled - Level 2 (Automated) | 1 | |||
πΌ Cloudaware Framework β πΌ Threat Protection | 25 |