Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cyberstrikeus/T1612_build-image-on-host
Adversaries may build a container image directly on a host to bypass defenses that monitor for the retrieval of malicious images from a public registry.
Passed 14 of 22 test cases with the skill, and 9 of 22 without it.
and 6 more in the full report
5 fixed9 passed either way8 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which specific Docker Engine REST API operation endpoint corresponds to building an image on a host daemon?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies the Docker API endpoint operation as ImageBuild. | Missed | Passed |
The instructions your model reads when the skill loads.
Adversaries may build a container image directly on a host to bypass defenses that monitor for the retrieval of malicious images from a public registry. A remote build request may be sent to the Docker API that includes a Dockerfile that pulls a vanilla base image, such as alpine, from a public or local registry and then builds a custom image upon it.
An adversary may take advantage of that build API to build a custom image on the host that includes malware downloaded from their C2 server, and then they may utilize Deploy Container using that custom image. If the base image is pulled from a public registry, defenses will likely not detect the image as malicious since it’s a vanilla image. If the base image already resides in a local registry, the pull may be considered even less suspicious since the image is already in the environment.
Platforms: Containers
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Adversaries may build a container image directly on a host to bypass defenses that monitor for the retrieval of malicious images from a public registry. An adversary may take advantage of that build API to build a custom image on the host that includes malware downloaded from their C2 server, and then they then may utilize Deploy Container using that custom image.
Supported Platforms: containers
docker build -t t1612 $PathtoAtomicsFolder/T1612/src/
docker run --name t1612_container --rm -d -t t1612
docker exec t1612_container ./test.sh
Dependencies:
test cases passed, vs 9 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.