alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE TA402/Molerats Payload Downloaded";
flow:established,to_client;
http.stat_code;
content:"200";
file.data;
content:"import base64|0a|from datetime import date"; startswith; fast_pattern;
content:"timestamp = date.today|28 29 2e|strftime|28 22 25|m|25|d|25|Y|22 29|"; distance:0;
content:"base64.b64encode(bytes(timestamp"; distance:0;
content:"print|28 22|http";
content:"|2f 25 73 25 73 22 20 25 20 28 22 52 22 2c 20 75 72 69 29 29|"; distance:0;
classtype:trojan-activity;
sid:2035113; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2021_12_27, deployment Perimeter, malware_family Molerats, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_02_07;
)