Initial construction of a virtual machine image within a cloud environment. Virtual machine images are templates containing an operating system and installed applications, which can be deployed to create new virtual machines. Monitoring the creation of these images is important because adversaries may create custom images to include malicious software or misconfigurations for later exploitation. Examples:
az image create --resource-group MyResourceGroup --name MyImage --source MyVMaws ec2 create-image --instance-id i-1234567890abcdef0 --name "MyAMI" --description "An AMI for my app"gcloud compute images create my-custom-image --source-disk my-disk --source-disk-zone us-central1-aThis data component can be collected through the following measures:
Enable Cloud Platform Logging
Microsoft.Compute/images.CreateImage API calls.compute.googleapis.com/images.API Monitoring
CreateImage.Cloud SIEM Integration
| Name | Channel |
|---|---|
| AWS:CloudTrail | RegisterImage |
| containerd:events | Image pull from untrusted registry (name NOT IN allowlist) or new digest never seen before |
| docker:daemon | docker build or docker commit commands followed by docker push to internal registry |
| docker:daemon | docker build or POST /build API request |
| kubernetes:apiserver | Pod spec triggering build or custom controller activity invoking image builds |
| kubernetes:audit | create |