Sponsored by Hudson Rock – Use Hudson Rock's free cybercrime intelligence tools to learn how Infostealer infections are leading to ransomware attacks
DeviceFileEventsDeviceFileEvents
| where ActionType == "FileRenamed"
| extend OldExt = tostring(split(PreviousFileName, ".")[-1]), NewExt = tostring(split(FileName, ".")[-1])
| where OldExt != NewExt
| summarize RenameCount = count(), Extensions = make_set(NewExt) by DeviceName, bin(Timestamp, 5m)
| where RenameCount > 50
Hunting queries are starting points for threat hunting & detection engineering — validate table/column names against your own workspace schema and tune thresholds before turning any of these into a production alert rule.