alert http any any -> $HOME_NET any (
msg:"ET EXPLOIT Shenzhen TVT DVR/NVR/IPC Stack Overflow in Base64 Authorization Mechanism M2";
flow:established,to_server;
http.method;
content:"POST";
http.cookie;
content:"auInfo|3d|YWRtaW46"; fast_pattern;
content:!"|3b|"; within:500;
http.request_body;
content:"|3c 3f|xml|20|"; startswith;
content:"clientType|3d 22|WEB|22|"; distance:0;
reference:url,github.com/mcw0/PoC/blob/master/TVT_and_OEM_IPC_NVR_DVR_RCE_Backdoor_and_Information_Disclosure.txt;
classtype:attempted-admin;
sid:2036256; rev:1;
metadata:affected_product DVR, attack_target Networking_Equipment, created_at 2022_04_19, deployment Perimeter, deployment Internal, performance_impact Low, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_04_19;
)