[default] dispatch.earliest_time = -30d dispatch.latest_time = now [RDP Connection Allowed Via Netsh.EXE] description = Detects usage of the netsh command to open and allow connections to port 3389 (RDP). As seen used by Sarwent Malware search = (Image="*\\netsh.exe" OR OriginalFileName="netsh.exe") CommandLine="*firewall *" CommandLine="*add *" CommandLine="*tcp *" CommandLine="*3389*" (CommandLine IN ("*portopening*", "*allow*"))