DeviceProcessEvents
| where Timestamp > ago(1d)
| where (FileName =~ "nltest.exe" and ProcessCommandLine has_any ("/domain_trusts", "/dclist", "/dsgetdc"))
or (FileName =~ "dsquery.exe" and ProcessCommandLine has "trustedDomain")
or (ProcessCommandLine has "Get-ADTrust")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName
| sort by Timestamp desc