alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Linux DarkRadiation Ransomware Telegram Activity M2";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/sendMessage?chat_id=";
content:"&"; endswith;
http.user_agent;
content:"curl/"; startswith;
http.request_body;
content:"text="; startswith;
content:"%3A+encrypt+"; distance:0; fast_pattern;
pcre:"/^(?:PASS|HOME|DATABASE|SSH KEYS|grep)\+files\+(?:started|Done\.\+Delete\+files)\.$/R";
threshold:type limit, count 1, seconds 120, track by_src;
reference:md5,219202aa2355b68ee4ea61056fb13b37;
reference:url,www.trendmicro.com/en_us/research/21/f/bash-ransomware-darkradiation-targets-red-hat--and-debian-based-linux-distributions.html;
classtype:trojan-activity;
sid:2044616; rev:1;
metadata:attack_target Client_Endpoint, created_at 2023_03_14, deployment Perimeter, confidence High, signature_severity Major, tag Ransomware, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_03_14, mitre_tactic_id TA0040, mitre_tactic_name Impact, mitre_technique_id T1486, mitre_technique_name Data_Encrypted_for_Impact;
)