Anti-forensic command-history and log clearing co-occurring with suspicious activity

Detects command-history clearing and log-deletion events (history -c, PowerShell history wipe, Clear-EventLog, wevtutil cl) co-occurring with another suspicious indicator (credential access or lateral movement) on the same host within a 1-hour window, excluding scheduled group-policy retention jobs.

Microsoft Sentinel (KQL)