#KQL query to detect UAC bypass technique. #ThreatHunting it will be useful for Threat hunters
DeviceProcessEvents
| where ActionType =~ "ProcessCreated"
| where InitiatingProcessFileName =~ "eventvwr.exe" and ProcessIntegrityLevel =="High"
| where FileName !="mmc.exe"