alert udp $EXTERNAL_NET any -> $HOME_NET 50001 (
msg:"ET EXPLOIT AnyDesk UDP Discovery Format String (CVE-2020-13160)";
isdataat:16;
content:"|3e d1|"; depth:2;
byte_test:4,>,16,11,relative,big;
pcre:"/^.{11}([\xC0-\xC1]|[\xF5-\xFF]|\xE0[\x80-\x9F]|\xF0[\x80-\x8F]|[\xC2-\xDF](?![\x80-\xBF])|[\xE0-\xEF](?![\x80-\xBF]{2})|[\xF0-\xF4](?![\x80-\xBF]{3})|(?<=[\x00-\x7F\xF5-\xFF])[\x80-\xBF]|(?<![\xC2-\xDF]|[\xE0-\xEF]|[\xE0-\xEF][\x80-\xBF]|[\xF0-\xF4]|[\xF0-\xF4][\x80-\xBF]|[\xF0-\xF4][\x80-\xBF]{2})[\x80-\xBF]|(?<=[\xE0-\xEF])[\x80-\xBF](?![\x80-\xBF])|(?<=[\xF0-\xF4])[\x80-\xBF](?![\x80-\xBF]{2})|(?<=[\xF0-\xF4][\x80-\xBF])[\x80-\xBF](?![\x80-\xBF]))/R";
reference:url,devel0pment.de/?p=1881;
reference:cve,2020-13160;
classtype:attempted-user;
sid:2030348; rev:2;
metadata:affected_product Any, attack_target Client_Endpoint, created_at 2020_06_16, cve CVE_2020_13160, deployment Perimeter, performance_impact Significant, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_06_16;
)