Persistence (TA0003)(external, opens in a new tab or window)
text code block:data_stream.dataset:"azure.auditlogs" and ( ( event.action:"Add device" and azure.auditlogs.properties.target_resources.0.modified_properties.3.new_value:*10.0.19041.928* and azure.auditlogs.properties.target_resources.0.modified_properties.4.new_value:*DESKTOP-* ) or ( event.action: "Add Windows Hello for Business credential" and azure.auditlogs.properties.userAgent: "Dsreg/10.0 (Windows 10.0.19044.1826)" ) )
Install detection rules in Elastic Security
Detect Entra ID Device Registration with ROADtools Default OS Build in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).