ET HUNTING Kubernetes Ingress NGINX Controller Annotation Injection


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.content_type;
content:"application/json";
http.request_body;
content:"|22|admission.k8s.io/v1|22 2c|";
content:"|22|nginx.ingress.kubernetes.io/"; fast_pattern;
pcre:"/^[a-z-]+\x22\x3a\s*?\x22[^\x22]*?(?:\x23|\x3b\x7d)/R";
target:dest_ip;
Raw source ET HUNTING Kubernetes Ingress NGINX Controller Annotation Injection · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"ET HUNTING Kubernetes Ingress NGINX Controller Annotation Injection";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.content_type;
    content:"application/json";
    http.request_body;
    content:"|22|admission.k8s.io/v1|22 2c|";
    content:"|22|nginx.ingress.kubernetes.io/"; fast_pattern;
    pcre:"/^[a-z-]+\x22\x3a\s*?\x22[^\x22]*?(?:\x23|\x3b\x7d)/R";
    classtype:web-application-attack;
    sid:2061122; rev:1;
    metadata:affected_product Kubernetes, attack_target Server, tls_state TLSDecrypt, created_at 2025_03_27, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence Medium, signature_severity Major, tag Exploit, updated_at 2025_03_27, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
    target:dest_ip;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.