alert tcp $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Base64 Encoded Windows Command Prompt (Outbound)";
flow:established,to_server;
content:"TWljcm9zb2Z0IFdpbmRvd3MgW1ZlcnNpb24"; fast_pattern;
pcre:"/(?:TWljcm9zb2Z0IENvcnBvcmF0aW9uL|1pY3Jvc29mdCBDb3Jwb3JhdGlvbi|NaWNyb3NvZnQgQ29ycG9yYXRpb24u)[a-zA-Z0-9\x2f\x2b]{25,35}(?:Cg0KQzpc|oNCkM6XD|KDQpDOlw\x2b)/R";
reference:url,twitter.com/RedDrip7/status/1537389704374431744;
reference:md5,29b6b195cf0671901b75b7d2ac6814f6;
classtype:command-and-control;
sid:2037018; rev:1;
metadata:attack_target Client_Endpoint, created_at 2022_06_16, deployment Perimeter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_06_16;
)