ET HUNTING GitHub Authentication via client_id in HTTP POST


Query · suricata

flow:established,to_server;
urilen:18;
http.method;
content:"POST";
http.uri;
content:"/login/device/code"; fast_pattern;
http.accept;
content:"application/json";
http.host;
content:"github.com";
http.request_body;
content:"client_id="; startswith;
target:src_ip;
Raw source ET HUNTING GitHub Authentication via client_id in HTTP POST · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"ET HUNTING GitHub Authentication via client_id in HTTP POST";
    flow:established,to_server;
    urilen:18;
    http.method;
    content:"POST";
    http.uri;
    content:"/login/device/code"; fast_pattern;
    http.accept;
    content:"application/json";
    http.host;
    content:"github.com";
    http.request_body;
    content:"client_id="; startswith;
    classtype:misc-activity;
    sid:2064186; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Mac_OSX, affected_product Linux, attack_target Client_Endpoint, tls_state TLSDecrypt, created_at 2025_08_27, deployment Perimeter, deployment SSLDecrypt, confidence High, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_08_27;
    target:src_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.