Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

258 detections

This rule detects attempts to spawn a shell inside a container via the Docker API. Specifically, it looks for HTTP traffic directed to port 2375 (commonly used for the Docker API) containing the string "/bin/sh" in the client body, indicating a command to execute a shell.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
006
Detects malicious Docker image builds on compromised hosts for persistence
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
002
This rule detects HTTP requests to a Docker daemon's API endpoint (port 2375) specifically targeting the '/networks' URI. This indicates an attempt to enumerate Docker network resources, which could be part of a reconnaissance phase by an attacker to understand the containerized environment.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
004
This rule detects the deployment of a new privileged container via the Docker API. It specifically looks for HTTP requests to the '/containers/create' endpoint with 'Privileged' in the client body, indicating an attempt to create a container with elevated privileges. This activity can be indicative of an attacker attempting to gain higher access or persistence within a compromised system by deploying a malicious container.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
005
This rule detects when a 'docker exec' command is run against a running container. It specifically looks for HTTP POST requests to the '/exec' endpoint, which is used by the Docker API to create and start an exec instance inside a container. This activity could indicate an attacker gaining interactive access to a compromised container.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
005
Detects unauthenticated access to Docker daemon API for container escape
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
002
This rule detects multiple attempts to pull container image manifests from public Docker registries (registry.hub.docker.com or ghcr.io). A threshold of 10 pulls within 60 seconds from the same source IP is set to identify potentially malicious or excessive activity, possibly indicating an attempt to enumerate or download numerous container images.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
004
This rule detects attempts to deploy a container with host network mode enabled. It specifically looks for HTTP requests to the '/containers/create' endpoint, which is commonly used by container orchestration systems like Docker, and checks for the presence of 'host' within the HTTP client body, indicating the host network mode configuration. This can be a security concern as it allows the container to have direct access to the host's network interfaces, potentially bypassing network segmentation and security controls.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
004
This rule detects HTTP requests to the Docker API endpoint '/containers/*/json' which could indicate an attempt to query container environment secrets. The rule specifically looks for requests to the '/containers/' path followed by '/json' in the HTTP URI.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
002
This rule detects attempts to execute commands via an unauthenticated Docker API. Specifically, it looks for HTTP POST requests to the '/exec' endpoint on TCP port 2375, which is commonly used for unauthenticated Docker daemon access. This could indicate an attacker attempting to gain control or execute arbitrary commands within Docker containers or the host system.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
003
This rule detects attempts to push potentially malicious container images to an internal registry. It specifically looks for HTTP POST requests to '/v2/' and '/blobs/uploads/' URIs, indicating an image layer upload, with a data size greater than 100KB. This behavior could be indicative of an attacker attempting to establish persistence or introduce malicious code into the container environment.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
002
This rule detects attempts to enumerate Docker containers via the Docker API. Specifically, it looks for HTTP requests to the '/containers/json' endpoint on TCP port 2375, which is commonly used for unauthenticated Docker API access. This activity is indicative of an adversary trying to discover running containers on a compromised host.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
002
This rule detects attempts to enumerate Docker containers via the Docker API by looking for HTTP requests containing the URI '/containers/json'. This activity could indicate an attacker performing reconnaissance on a compromised host to understand the running container environment.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
001
This rule detects the creation of a Docker container via the Docker API (port 2375) where the container body content includes the string "cron" (case-insensitive). This could indicate an attempt to establish persistence or schedule malicious tasks within a Docker environment.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
001
Identifies instances where curl is used to interact with a mounted Docker Unix socket. This technique is used to issue API commands directly to the Docker daemon, often to deploy new privileged containers for host escape.
avatar
Brandon Rodriguez@BMRodriguez
avatar
Federal Signal Detections
5 months ago
3011
Detects the use of the `nsenter` utility targeting PID 1 to spawn a shell. This is a common container escape technique used to break out of a privileged container and execute commands on the underlying host.
avatar
Tim Peck@timpeck
avatar
Detections.ai Community
5 months ago
3011
Identifies the use of the nsenter utility targeting PID 1 to spawn a shell. This is a common container escape technique used to break out of a privileged container and execute commands on the underlying host.
avatar
Brandon Rodriguez@BMRodriguez
avatar
Federal Signal Detections
5 months ago
106
This rule detects the execution of a Docker command with the '--privileged' flag on a Linux system, combined with the execution of specific system information gathering commands. This combination is often indicative of an attempt to escape a container or gain elevated privileges within a containerized environment, potentially leading to host compromise. The '--privileged' flag grants a container nearly all capabilities of the host machine, making it a critical security concern when used maliciously.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
5 months ago
71388
Detects the loading of kernel modules using insmod. Executing this from within a container or unexpected context often indicates abuse of CAP_SYS_MODULE to load malicious rootkits or reverse shells for privilege escalation or container escape.
avatar
Brandon Rodriguez@BMRodriguez
avatar
Federal Signal Detections
5 months ago
103
This rule detects the execution of common system enumeration commands (lsblk, hostname, mount, uname) within a Docker container, when the container is run with privileged access. This activity could indicate an adversary attempting to glean information about the container environment.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
6 months ago
30231
Detects scripts designed for container escape and host persistence
avatar
Danny Y@zendannyy
avatar
YARA
8 months ago
2028
Page 12 of 13