alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE TA430/Andariel APT Related DLRAT Activity (POST)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php"; endswith;
http.user_agent;
content:"dlang-requests"; bsize:14; fast_pattern;
http.content_type;
content:"multipart/form-data|3b 20|boundary="; startswith;
pcre:"/^[0-9a-f]{8}(?:(-[0-9a-f]{4}){3})-[0-9a-f]{12}$/R";
http.header_names;
content:!"Referer";
http.request_body;
content:"form-data|3b 20|name=|22|type|22 3b|";
content:"form-data|3b 20|name=|22|session|22 3b|"; distance:0;
reference:md5,9846e2e45000984719804ec2236405bd;
reference:url,blog.talosintelligence.com/lazarus_new_rats_dlang_and_telegram/;
classtype:trojan-activity;
sid:2049656; rev:1;
metadata:attack_target Client_Endpoint, created_at 2023_12_12, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, updated_at 2023_12_12;
target:src_ip;
)