{"id":9510,"date":"2026-03-26T06:59:49","date_gmt":"2026-03-26T06:59:49","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=9510"},"modified":"2026-03-26T07:25:23","modified_gmt":"2026-03-26T07:25:23","slug":"auditing-usb-read-and-write-access-before-disabling-access","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/auditing-usb-read-and-write-access-before-disabling-access","title":{"rendered":"Auditing USB Read and Write Access before disabling Access"},"content":{"rendered":"\n<p>Intune Policy<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/03\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"769\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/03\/image-1.png\" alt=\"\" class=\"wp-image-9511 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/03\/image-1.png 853w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/03\/image-1-300x270.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/03\/image-1-768x692.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><\/figure>\n\n\n\n<p>KQL or via Device Reports in Defender<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">DeviceEvents\n| where ActionType == \"RemovableStoragePolicyTriggered\"\n| extend parsed = parse_json(AdditionalFields)\n| extend RemovableStorageAccess = tostring(parsed.RemovableStorageAccess)\n| extend PolicyVerdict = tostring(parsed.RemovableStoragePolicyVerdict)\n| extend MediaBusType = tostring(parsed.BusType)\n| extend MediaClassName = tostring(parsed.ClassName)\n| extend MediaDeviceId = tostring(parsed.DeviceId)\n| extend MediaInstanceId = tostring(parsed.DeviceInstanceId)\n| extend MediaSerialNumber = tostring(parsed.SerialNumber)\n| project Timestamp, DeviceName, AccountName, RemovableStorageAccess,\n          PolicyVerdict, MediaClassName, MediaDeviceId, MediaSerialNumber\n| order by Timestamp desc<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Intune Policy KQL or via Device Reports in Defender<\/p>\n","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-9510","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9510","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=9510"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9510\/revisions"}],"predecessor-version":[{"id":9513,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9510\/revisions\/9513"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=9510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=9510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=9510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}