Query Details
**Non-supported Agent version required for the Contain User action by Attack Disruption** **Description:** The following query checks if the devices have the minimum sense agent version(v10.8470) required for the Contain User action triggered by Microsoft DefenderXDR Attack disruption. ``` DeviceRegistryEvents | where Timestamp > ago(30d) | where RegistryKey contains "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows Advanced Threat Protection" | extend version_s = replace(@"[.]", "", InitiatingProcessVersionInfoProductVersion) | extend FirstFiveChars = substring(version_s, 0, 6) | extend FirstFiveChars = toint(FirstFiveChars) | where FirstFiveChars < 108470 | summarize by DeviceId, DeviceName, InitiatingProcessFileName, InitiatingProcessVersionInfoProductVersion ```
This query checks if devices have an outdated version of the Microsoft Defender ATP agent that is below the required version (v10.8470) for the "Contain User" action in Microsoft DefenderXDR's Attack Disruption feature. Here's a breakdown of what the query does:
DeviceRegistryEvents table.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Advanced Threat Protection.DeviceId, DeviceName, InitiatingProcessFileName, and InitiatingProcessVersionInfoProductVersion.In simple terms, this query identifies devices that are running an older version of the Microsoft Defender ATP agent that does not support the "Contain User" action, by checking their version numbers against the required minimum version.

Sergio Albea
Released: September 3, 2024
Tables
Keywords
Operators