Detections

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

276 detections

Detects the creation or modification of Kubernetes ClusterRoles, ClusterRoleBindings, and RoleBindings, which can be used for privilege escalation within a Kubernetes cluster. The rule specifically flags activities related to 'cluster-admin' roles as critical and other administrative roles as high severity.
avatar
Lacey Cochrane@NullVectorX
avatar
XQL Threat Forge
5 months ago
304
This rule detects attempts to enumerate Kubernetes namespaces by looking for HTTP requests to the '/api/v1/namespaces' endpoint on port 8080. This activity could indicate an attacker attempting to discover available namespaces within a Kubernetes cluster.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
202
Detects activity where one K8s client accesses many secrets in a short span.
This could be indicative of Credential access, working towards Privilege Escalation.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
5 months ago
1022
This rule detects the creation of a cluster role binding in a Kubernetes environment, specifically looking for HTTP POST requests to the Kubernetes API server's rbac.authorization.k8s.io endpoint for 'rolebindings'. This activity can indicate an attempt to establish persistence within the cluster by granting specific permissions to an identity.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
001
Detects ServiceAccount-based enumeration of sensitive Kubernetes resources. This rule identifies when a Kubernetes ServiceAccount performs a high volume of 'get', 'list', or 'watch' operations on sensitive resources such as secrets, pods, nodes, namespaces, or other role-related resources. It specifically flags activity with 'secrets' as high severity.
avatar
Daniel Jeremiah@daniyyell
avatar
Detections.ai Community
5 months ago
4010
Detects deletion of Kubernetes events in audit logs when the request completes successfully.
Adversaries may delete events to impair defenses and cover tracks (defense evasion).
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
5 months ago
107
Detects suspicious Kubernetes Role-Based Access Control (RBAC) changes that grant elevated privileges, such as 'cluster-admin' roles, wildcard permissions for verbs, resources, or API groups, or direct access to secrets or service accounts. This rule monitors 'create', 'update', and 'patch' operations on roles, clusterroles, rolebindings, and clusterrolebindings within Kubernetes audit logs.
avatar
Daniel Jeremiah@daniyyell
avatar
Detections.ai Community
5 months ago
408
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
Identifies the use of curl to send POST requests to the Kubernetes API targeting the creation of pods. This can indicate an attacker using a stolen ServiceAccount token to deploy malicious or privileged containers.
avatar
Brandon Rodriguez@BMRodriguez
avatar
Federal Signal Detections
5 months ago
306
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
Detects workloads created with privileged mode, host namespace sharing, dangerous Linux capabilities, Docker socket, containerd socket, or sensitive hostPath mounts. These configurations can be abused by adversaries to escape containers and gain access to the underlying host.
avatar
Daniel Jeremiah@daniyyell
avatar
Detections.ai Community
5 months ago
105
Correlation rule that counts the events produced by Kubernetes Audit Event Deletion base rule
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
5 months ago
102
Detects Mini Shai-Hulud supply-chain malware (router_init.js / router_runtime.js / tanstack_runner.js)
avatar
Leonardo Gasparini@Leonardo.Gasparini
avatar
Detections.ai Community
6 months ago
1431,824
This suite of rules detects various activities associated with the Mini Shai-Hulud npm worm, including the execution of its payload via bun, network connections to its exfiltration domain, attempts by Node.js or Bun processes to access AWS IMDS for credential theft, access to local HashiCorp Vault instances, identification of known malicious script file hashes, and the installation of its specific malicious GitHub dependency.
avatar
Chris Parczyk@W4tch70w3r
avatar
Detections.ai Community
6 months ago
190738
Detects Mini Shai-Hulud supply-chain malware (router_init.js / router_runtime.js / tanstack_runner.js)
avatar
Leonardo Gasparini@Leonardo.Gasparini
avatar
Detections.ai Community
6 months ago
81301
Detects non-legitimate processes attempting to read Kubernetes service account tokens or related sensitive files (ca.crt, namespace) from the standard service account path within containers. This rule filters out common and legitimate Kubernetes system processes to reduce false positives.
avatar
Lacey Cochrane@NullVectorX
avatar
XQL Threat Forge
6 months ago
50314
Detects the creation of DaemonSets in a Kubernetes cluster using the `kubectl` command-line tool. DaemonSets are designed to run a copy of a Pod on all (or some) nodes in the cluster, making them a powerful mechanism for persistence and cluster-wide credential harvesting by attackers. This rule specifically looks for `kubectl` commands that include 'daemonset' and either 'create' or 'apply' operations.
avatar
Lacey Cochrane@NullVectorX
avatar
XQL Threat Forge
6 months ago
20253
This rule detects the creation, patching, or updating of Kubernetes ClusterRoleBindings, RoleBindings, or Roles within the 'prod', 'production', or 'default' namespaces. It specifically excludes actions performed by the 'system:clusterrole-aggregation-controller' to reduce noise from legitimate system operations. This activity can indicate an attempt to manipulate access controls within the Kubernetes cluster, potentially for privilege escalation or persistence.
avatar
Danny Y@zendannyy
avatar
Detections.ai Community
6 months ago
20196
This rule detects the creation, patching, or updating of Kubernetes 'clusterrolebindings', 'rolebindings', or 'roles' within 'prod', 'production', or 'default' namespaces. It specifically excludes actions performed by the 'system:clusterrole-aggregation-controller' to reduce false positives related to legitimate system operations. This activity could indicate an attempt to escalate privileges or establish persistence within critical Kubernetes environments.
avatar
nomit vyas@xoxo
avatar
Detections.ai Community
6 months ago
0047
Detects when events are deleted in Kubernetes.
An adversary may delete Kubernetes events in an attempt to evade detection.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
003
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
Page 8 of 14