alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT_KIT Balada JavaScript Inject";
flow:established,to_client;
content:"|3c|script|20|id|3d 22|sgpb|2d|custom|2d|script|2d|";
content:"sgAddEvent|28|window|2c 22|sgpbWillOpen|22 2c|function|28|"; distance:0; fast_pattern;
content:"sgAddEvent|28|window|2c 22|sgpbDidOpen|22 2c|function|28|"; distance:0;
reference:url,blog.sucuri.net/2024/01/thousands-of-sites-with-popup-builder-compromised-by-balada-injector.html;
classtype:exploit-kit;
sid:2050138; rev:1;
metadata:attack_target Client_Endpoint, created_at 2024_01_17, deployment Perimeter, deployment SSLDecrypt, malware_family BALADA, performance_impact Low, confidence High, signature_severity Minor, tag compromised_website, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_01_17, reviewed_at 2024_12_24;
)