Detecting "Evil" Exchange Mail Rule Logic
This query parses the complex JSON parameters of the New-TransportRule and Set-TransportRule commands to find instances where email is being secretly copied externally or security is being lowered.
Microsoft Sentinel (KQL)

