Collecting file signals

Collecting file signals with Microsoft Defender and Sentinel

If your organization already runs Microsoft Defender for Endpoint and Microsoft Sentinel, you can start sending media file signals for File Analysis using the tools you already run. This article outlines the idea at a high level and points you toward the relevant Microsoft documentation for the details.

The setup

Microsoft Defender for Endpoint can be configured to collect file activity, such as files being created, modified, renamed or deleted, through a feature called Custom Data Collection. That data lands in your Microsoft Sentinel workspace, from where the hashes can be submitted to the NetClean File Analysis API and analyzed and enriched against NetClean's file risk indicators.

Defender (Custom Data Collection rule) → Sentinel → NetClean File Analysis API → match/no match → your Sentinel workflows

What this gives you

This approach surfaces file movement: files landing on, changing on or leaving a device. It does not show that a file was opened or viewed, which is the layer Workstation Event Screening in ProActive is built to see. It is a standalone route for organizations that want to put NetClean's risk intelligence to work against data they are already collecting in Sentinel.

What setting this up generally involves

  1. Confirm your Defender tenant meets the Plan 2 and Sentinel prerequisites below.
  2. Connect (or designate) a Sentinel workspace as the destination for the collection rule.
  3. Set up dynamic device tags in Asset Rule Management to define which devices the rule applies to.
  4. Create a Custom Data Collection rule against DeviceFileEvents, choosing which folder paths and action types to include.
  5. Build the downstream piece: a query or Logic App that filters relevant file types in Sentinel and submits the hashes to the NetClean File Analysis API. See "Choosing what to analyze: files" for filtering guidance, and "Integrating Microsoft Sentinel with the File Analysis API" for how the integration can be built.
  6. Define what happens on a match, for example a Sentinel analytics rule or playbook that turns a match into an incident, alert or notification in your existing workflows.

Each of these steps has its own configuration options and trade-offs (particularly folder scope, covered below), which is why we point to Microsoft's documentation rather than prescribing exact settings.

Details

At a glance

  • Collection method: native collection (Defender Custom Data Collection)
  • Collection mode: event-driven
  • Delivery path: via SIEM (Microsoft Sentinel)
  • Visible signal: file movement
  • OS coverage: Windows 10/11 and Windows Server 2019 or later
  • Hash algorithms: SHA-1
  • Where credentials live: in your Sentinel integration (for example a Logic App with credentials in Azure Key Vault), never on endpoints

Requirements

  • Defender for Endpoint Plan 2
  • A connected Sentinel workspace. It is mandatory, but can serve purely as a transit zone to your own systems.
  • Dynamic device tags (Asset Rule Management)
  • A way to submit hashes from Sentinel to the File Analysis API, built as described in "Integrating Microsoft Sentinel with the File Analysis API"

Limitations

  • OS: only Windows 10/11 and Windows Server 2019 or later. No macOS or Linux support yet, although Defender otherwise covers both.
  • Event types: only four action types are available: FileCreated, FileModified, FileRenamed and FileDeleted.
  • There is no "file opened" or "file read" event, so the route shows file movement, not confirmed consumption.
  • File extension can't be used as a condition in the rule itself (FileName isn't available as a condition), so file type filtering has to happen downstream in Sentinel, for example in KQL or a Logic App.

Volume & limits

  • FolderPath is the main lever for controlling volume and cost in the collection rule. See "Choosing what to analyze: files" for suggested starting folders.
  • Cap: 75,000 events per device per 24 hours per rule.
Start with a narrow folder scope and widen it once you know the volume. A broader path gives a higher chance of relevant hits, but also higher cost.

Responding to a match

Don't automate deletion of matching files. Preserving the file and device state matters for any follow-up.

Further reading

Microsoft's own documentation covers the current setup flow and prerequisites for Custom Data Collection: