Detections

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

57 detections

Detects the execution of the 'aa-exec' process with specific command-line arguments ('trinity', 'chrome', or 'flatpak') that are often associated with malicious tools, persistence, or bypass techniques.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
002
Detects the execution of 'docker pull' or 'docker run' commands, excluding common base images like Microsoft, Ubuntu, Debian, and Alpine. This rule aims to identify potentially unauthorized container deployments or image pulls that could indicate malicious activity within a containerized environment.
avatar
nomit vyas@xoxo
avatar
Detections.ai Community
4 months ago
005
Detects kubectl exec and port-forward operations via the Kubernetes API server. 'Exec' provides interactive shell access to a running container, while 'Port-forward' allows tunneling into the pod network, potentially bypassing network policies. This rule also detects 'attach' operations.
avatar
nomit vyas@xoxo
avatar
Detections.ai Community
4 months ago
104
This rule detects the creation of user namespaces on Linux systems by unprivileged users. The 'unshare' command with '--user' or '-U' flags allows a process to move into a new user namespace, which can be abused for privilege escalation or container escape. The rule specifically excludes common container runtimes and processes running as 'root' to reduce false positives.
avatar
Ankit Mehta@Secvyn
Bharat Cyber Guardians
4 months ago
001
Detects pulling of potentially malicious container images from registries
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
105
Detects shell execution inside Docker containers
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
004
Detects pulling of potentially malicious container images from registries
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
003
Detects enumeration of Docker containers and images
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
103
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 kubectl exec and port-forward operations via the Kubernetes API server. 'Exec' provides interactive shell access to a running container, while 'Port-forward' tunnels into the pod network, potentially bypassing network policies. This rule also detects 'attach' operations.
avatar
Lacey Cochrane@NullVectorX
avatar
XQL Threat Forge
5 months ago
608
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 attempts to execute commands within a Kubernetes pod using `kubectl exec`. It specifically looks for HTTP requests to port 8080 (often used by Kubernetes API servers or proxies) with URIs containing both '/exec' and 'pods', indicating an interactive command execution session within a pod.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
004
Detects interactive shell execution within a container in a production, using 'exec'. The execution of `cat`, followed by network connections. This could be communicating with a service that runs arbitrary commands.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
5 months ago
004
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 potential Kubernetes enumeration or attack activity via the audit log.
This includes the execution of common shells, utilities, or specialized tools like 'Rakkess' (access_matrix) and 'TruffleHog' via Kubernetes API requests.
Attackers use these methods to perform reconnaissance (enumeration), secret harvesting, or execute code (exec) within a cluster.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
002
Detects interactive shell execution within a container in a production, using 'exec'. The execution of `cat`, followed by network connections. This would be communicating with a service that runs arbitrary commands.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
7 months ago
2056
Detects interactive shell execution within a container in a production Kubernetes namespace, using the 'exec' command.

Running this command in a pod allows a user to establish a temporary shell session and execute any process/commands in the pod.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
8 months ago
2154
The following detects interactive shell execution within a container in a production K8s namespace.
This could be indicative of an attacker with a compromised user account attempting to control a container.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
8 months ago
1035
Detects deleting of K8s log events. Indicating Defense Evasion tactics, and covering of tracks.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
8 months ago
1030
Page 2 of 3