{"id":9175,"date":"2025-08-24T11:18:15","date_gmt":"2025-08-24T11:18:15","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=9175"},"modified":"2025-08-24T11:18:16","modified_gmt":"2025-08-24T11:18:16","slug":"track-files-deleted-with-defender-advanced-hunting","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/track-files-deleted-with-defender-advanced-hunting","title":{"rendered":"Track Files Deleted with Defender Advanced Hunting"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code class=\"\">DeviceFileEvents\n| where ActionType == \"FileDeleted\"\n| where FolderPath startswith @\"C:\\Users\"\n| join kind=inner (\nDeviceInfo\n| summarize arg_max(Timestamp, *) by DeviceId\n) on DeviceId\n| where DeviceType == \"Server\"\n| project Timestamp, DeviceName, ReportId, InitiatingProcessAccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FolderPath, FileName, SHA256\n| order by Timestamp desc<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9175","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=9175"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9175\/revisions"}],"predecessor-version":[{"id":9176,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9175\/revisions\/9176"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=9175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=9175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=9175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}