alert tcp $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT Ghostscript invalidcheck escape attempt";
flow:to_client,established;
file_data;
content:"legal";
content:"restore"; distance:0;
content:"currentdevice";
content:"putdeviceprops";
pcre:"/legal[^x7B]*\x7B[^\x7D]*restore/smi";
reference:url,seclists.org/oss-sec/2018/q3/142;
classtype:attempted-user;
sid:2026085; rev:1;
metadata:attack_target Client_Endpoint, created_at 2018_09_05, deployment Datacenter, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_07_26;
)