alert http $EXTERNAL_NET any -> $HOME_NET [2375,2376] (
msg:"ET INFO External Host Sending Docker Swarm Join Command";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/swarm/join"; endswith;
http.request_body;
content:"|7b 22|ListenAddr|22 3a 22|"; startswith;
content:"|22|RemoteAddrs|22 3a 5b 22|";
content:"|2c 22|JoinToken|22 3a 22|";
http.header_names;
content:!"Referer";
reference:url,github.com/Caprico1/Docker-Botnets/commit/bbfd65fce31d74bfa798e00a2c918022a45d211a;
classtype:misc-activity;
sid:2031587; rev:3;
metadata:attack_target Server, created_at 2021_01_28, deployment Perimeter, performance_impact Low, confidence High, signature_severity Informational, tag Docker, updated_at 2023_06_23;
)