module

Docker Privileged Container Kernel Escape

Disclosed
2014-05-01
Created
2024-05-06

Description

This module performs a container escape onto the host as the daemon
user. It takes advantage of the SYS_MODULE capability. If that
exists and the linux headers are available to compile on the target,
then we can escape onto the host.

Authors

Nick Cottrell Rad10Logic
Eran Ayalon
Ilan Sokol

Platform

Linux,Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/local/docker_privileged_container_kernel_escape
msf exploit(docker_privileged_container_kernel_escape) > show targets
...targets...
msf exploit(docker_privileged_container_kernel_escape) > set TARGET < target-id >
msf exploit(docker_privileged_container_kernel_escape) > show options
...show and set options...
msf exploit(docker_privileged_container_kernel_escape) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.