alert tcp [$HOME_NET,$HTTP_SERVERS] any -> $EXTERNAL_NET any (
msg:"ET INFO Onion/TOR Proxy Client Request";
flow:established,to_server;
content:"|05 01 00|"; startswith;
content:".onion"; distance:0; fast_pattern;
isdataat:!3,relative;
flowbits:set,ET.zhtrap1;
reference:url,blog.netlab.360.com/new_threat_zhtrap_botnet_en/;
classtype:bad-unknown;
sid:2032083; rev:2;
metadata:attack_target Client_and_Server, created_at 2021_03_16, deployment Perimeter, confidence High, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_12_08;
target:src_ip;
)