alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE PSRansom File Exfiltration (POST)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:41;
content:"/files/"; startswith;
pcre:"/[a-zA-Z0-9]{34}$/R";
http.user_agent;
content:"WindowsPowerShell/"; fast_pattern;
http.header_names;
content:"|0d 0a|User-Agent|0d 0a|Content-Type|0d 0a|Host|0d 0a|Content-Length|0d 0a|Connection|0d 0a 0d 0a|";
http.request_body; bsize:43;
pcre:"/^[a-zA-Z0-9_+]{43}$/";
reference:url,github.com/JoelGMSec/PSRansom;
classtype:trojan-activity;
sid:2042769; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2022_12_13, deployment Perimeter, deployment SSLDecrypt, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_12_13, reviewed_at 2025_10_24;
)