CYBER LIBRARY
Explore the bootcamp
Detection & responseIntermediate

Build Image on Host

Building an image on a host creates a workload artifact locally rather than retrieving the completed image from a registry.

3 min readUpdated 12 Oct 20267 connections
Markdown

A workload can be assembled locally

Building an image on a host creates a container workload artifact from a build definition and its inputs. Development and deployment pipelines do this routinely. In an intrusion, an actor may use local building to introduce unwanted content without retrieving an already assembled malicious image from a registry.

This matters because monitoring only registry pulls can miss important parts of the workload's origin. A familiar base image does not establish the trustworthiness of later layers, files, commands, or build inputs added on the host.

Follow the build rather than the label

In a fictional container environment, a host creates a new image outside the normal pipeline and then starts a workload from it. The analyst examines the build request, initiating identity, build definition, input sources, resulting image identifier, and deployment activity.

A developer might have performed approved troubleshooting. The team checks the service owner's explanation and whether the build was permitted on that host. A harmless base image and a plausible tag are insufficient evidence because tags can be reused and the resulting content can differ.

Where available, preserve the build context and resulting image metadata through controlled handling. Do not execute an unfamiliar image on a production host simply to inspect it. Analysis should use an authorized isolated process appropriate to the potential risk.

Connect the artifact to execution

Building an image establishes creation, not necessarily execution. Deployment records and runtime telemetry can show whether a container used the resulting image, which configuration it received, and what it did. Record those stages separately.

Review permissions available to the builder and deployed workload. Access to a build service or container-management interface can be powerful, but the actual effects depend on configuration and granted authority. Avoid assuming that all local image builds imply host compromise.

Deploy Container describes workload introduction, while Container Administration Command addresses commands through management interfaces. Together, the notes help distinguish related but different actions.

Address the unauthorized path

Restrict the affected build or deployment authority as justified, preserve relevant records, and review workloads derived from the image. Removing an image tag may not remove already running containers or other references to the same artifact.

For practice, compare an approved pipeline build with a fictional interactive build on a production node. Identify the provenance, identity, and runtime records needed to determine whether the second action was authorized. Explain why an image name alone cannot establish its contents. Logs and telemetry supports the evidence review, and Incident response coordinates changes affecting running services.

GO TO THE SOURCE

References & further reading

Original explanations, with primary references for deeper study.

MITRE ATT&CK T1612: Build Image on Host
EXPLORE THIS IDEA’S CONNECTIONS

A small part of a bigger picture.

7 notes · 17 connections
100%
Build Image on Host · depth 1
Drag to pan · Pinch or use +/− to zoom · Click to preview · Double-click to read
Browse notes as a list (7)
FOLLOW ANOTHER THREADExplore the rest of the library
Start with a concept. Follow its connections.
Detection & responseAbuse Elevation Control MechanismElevation-control abuse bypasses or misuses mechanisms governing privileged execution.Making change happenAcceptance criteriaDefine observable conditions for a deliverable to be accepted.Security essentialsAccess controlUnderstand subjects, resources, permissions, and enforcement through a shared-drive example, including how access changes over time.Detection & responseAccess Token ManipulationAccess token manipulation changes or adopts operating-system security contexts.Risk & resilienceAccount Access RemovalAccount access removal disrupts legitimate users by changing, deleting, or restricting their identities.Evidence & investigationAccount DiscoveryAccount discovery enumerates identities available in a system or environment.Detection & responseAccount ManipulationAccount manipulation changes identity settings to preserve or expand access.Adversarial thinkingAcquire InfrastructureInfrastructure acquisition obtains domains, servers, or other resources used to support operations.Adversarial thinkingActive ScanningActive scanning probes target infrastructure to learn reachable services or weaknesses.Security essentialsAdversary in the middleAn intermediary may observe or alter a communication path.Security essentialsAESA symmetric block cipher whose safe use depends on its mode and implementation.Making change happenAgile deliveryUse short feedback cycles to adapt toward a useful outcome.