Files
mandiant-capa-rules/nursery/create-container.yml
Yacine Elhamer 5b73ddcd24 manual pass
2023-08-22 09:40:13 +02:00

26 lines
811 B
YAML

rule:
meta:
name: create container
namespace: host-interaction/container/docker
authors:
- william.ballenthin@mandiant.com
scopes:
static: function
dynamic: process
att&ck:
- Execution::Deploy Container [T1610]
references:
- https://docs.docker.com/engine/api/v1.24/
features:
- or:
- string: /^docker(\.exe)? create/
- string: /^docker(\.exe)? start/
- and:
- match: send HTTP request
- string: /\/v1\.[0-9]{1,2}\/containers\/create/
description: docker API endpoint, e.g., /v1.24/containers/create
- and:
- match: send HTTP request
- string: /\/v1\.[0-9]{1,2}\/containers\/[0-9a-fA-F]+\/start/
description: docker API endpoint, e.g., /v1.24/containers/e90e34656806/start