Techniques
Sample rules
Entra ID Device Registration with Default Hostname Pattern
- source: elastic
- technicques:
- T1098
Description
Detects a successful Microsoft Entra ID audit event for Register device where the registered device carries a default
Windows or kit-style hostname (DESKTOP-, Device-, or Work Pc*). Adversary-in-the-middle and device-code phishing kits, along with tooling such as
ROADtools, register a device with the token broker to obtain a device-bound Primary Refresh Token (PRT) and rarely set a
custom device name, so the registered object keeps the default DESKTOP-
Detection logic
data_stream.dataset:"azure.auditlogs" and event.action:"Register device" and
event.outcome:(success or Success) and
azure.auditlogs.properties.initiated_by.user.id:* and
azure.auditlogs.properties.target_resources.0.display_name:(DESKTOP-* or Device-* or Work*Pc*)