For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data exfiltration via docker.sock

Synopsis

Field
Value

Activation Period

14 Days

Training Period

30 Days

Test Period

10 Minutes

Deduplication Period

1 Day

Required Data

XDR Agent

Detector Tags

Containers

ATT&CK Tactic

Collection (TA0009), Exfiltration (TA0010)

ATT&CK Technique

Data from Local System (T1005), Exfiltration Over C2 Channel (T1041)

Severity

Low

Description

A process inside a container issued data-export Docker Engine API requests over the docker.sock which could lead to data exfiltration.

Attacker's Goals

Exfiltrate data from inside a container via the Docker Engine API by exporting container filesystems, extracting arbitrary files, saving image layers that may contain secrets, credentials, source code, or sensitive data.

Investigative actions

  • Verify whether the process and container legitimately require access to docker.sock.

  • Inspect the container's mounts to confirm docker.sock is exposed.

  • Identify what was exported (container filesystem, image layers, specific file paths) and where it was sent.

  • Review the full command-line history of the actor process for follow-on staging or network transfer attempts.

  • Look for other containers/hosts executing similar docker.sock data-export commands.

Variations

Data exfiltration via docker.sock targeting sensitive paths

Synopsis

Field
Value

ATT&CK Tactic

Collection (TA0009), Credential Access (TA0006), Exfiltration (TA0010)

ATT&CK Technique

Data from Local System (T1005), Exfiltration Over C2 Channel (T1041), Unsecured Credentials: Container API (T1552.007)

Severity

Medium

Description

A process inside a container used the docker.sock Docker Engine API to extract a sensitive path (credentials, secrets, SSH or cloud configuration) from a container filesystem.

Attacker's Goals

Exfiltrate data from inside a container via the Docker Engine API by exporting container filesystems, extracting arbitrary files, saving image layers that may contain secrets, credentials, source code, or sensitive data.

Investigative actions

  • Verify whether the process and container legitimately require access to docker.sock.

  • Inspect the container's mounts to confirm docker.sock is exposed.

  • Identify what was exported (container filesystem, image layers, specific file paths) and where it was sent.

  • Review the full command-line history of the actor process for follow-on staging or network transfer attempts.

  • Look for other containers/hosts executing similar docker.sock data-export commands.

Data exfiltration via docker.sock of another container's data

Synopsis

Field
Value

ATT&CK Tactic

Collection (TA0009), Exfiltration (TA0010)

ATT&CK Technique

Data from Local System (T1005), Exfiltration Over C2 Channel (T1041)

Severity

Low

Description

A process inside a container used the docker.sock Docker Engine API to export another container's filesystem, files or memory checkpoint, which could lead to data exfiltration.

Attacker's Goals

Exfiltrate data from inside a container via the Docker Engine API by exporting container filesystems, extracting arbitrary files, saving image layers that may contain secrets, credentials, source code, or sensitive data.

Investigative actions

  • Verify whether the process and container legitimately require access to docker.sock.

  • Inspect the container's mounts to confirm docker.sock is exposed.

  • Identify what was exported (container filesystem, image layers, specific file paths) and where it was sent.

  • Review the full command-line history of the actor process for follow-on staging or network transfer attempts.

  • Look for other containers/hosts executing similar docker.sock data-export commands.

Data exfiltration via docker.sock from a first-seen container process

Synopsis

Field
Value

ATT&CK Tactic

Collection (TA0009), Exfiltration (TA0010)

ATT&CK Technique

Data from Local System (T1005), Exfiltration Over C2 Channel (T1041)

Severity

Low

Description

A process inside a container issued data-export Docker Engine API requests over the docker.sock which could lead to data exfiltration.

Attacker's Goals

Exfiltrate data from inside a container via the Docker Engine API by exporting container filesystems, extracting arbitrary files, saving image layers that may contain secrets, credentials, source code, or sensitive data.

Investigative actions

  • Verify whether the process and container legitimately require access to docker.sock.

  • Inspect the container's mounts to confirm docker.sock is exposed.

  • Identify what was exported (container filesystem, image layers, specific file paths) and where it was sent.

  • Review the full command-line history of the actor process for follow-on staging or network transfer attempts.

  • Look for other containers/hosts executing similar docker.sock data-export commands.

Was this helpful?