Getting Started

Choosing what to analyze: files

This article applies to File Analysis, whether you use the File Analysis API or File Analysis On-demand. It's for anyone building a query, filter or forwarding rule in their SIEM, log aggregator or EDR platform, and deciding which file data is worth submitting for analysis and how to tune volume before it becomes a cost or noise problem.

What NetClean's file risk intelligence covers

NetClean's file risk indicators are built around media file formats: file types capable of carrying visual content. Submitting hashes for other file types (executables, scripts, configuration files, generic text or data files) will never produce a match and only adds unnecessary volume and cost to your pipeline, whichever collection method you use. The formats worth filtering for are:

  • Images: JPEG, PNG, GIF, BMP, TIFF, WebP, ICO, HEIF, AVIF, JPEG 2000, JPEG XL, PSD
  • Video: MP4, MOV, AVI, MKV, ASF, FLV, MPEG, RealMedia, OGG

A practical starting point is to filter your source data on file extension or, where your platform can inspect it, MIME or content type matching this list, before generating a hash for submission.

A note on filtering by extension vs. verified content

Most log sources (SIEM ingestion, EDR file events) identify file type by extension or filename, not by inspecting the file's actual content. That's a reasonable and practical filter, but it has a limit: a renamed file (for example a non-media file given a media extension) passes an extension-based filter without being a media file, and a genuine media file with a missing or incorrect extension is filtered out. Workstation Event Screening in ProActive works differently, verifying file type by reading the file's magic bytes rather than trusting the extension. If your platform or collection method can inspect content type, that gives a more accurate signal than extension matching alone, usually at the cost of more processing on the device.

Tuning volume: folder scope

Where you collect from is often the strongest lever on volume and cost. A broader scope gives a higher chance of relevant hits, but also more data to process. Rather than scoping to an entire drive, a practical starting point is the locations where media files commonly land on Windows devices:

  • Downloads
  • Desktop
  • Pictures
  • Documents
  • Videos
  • Temp folders (AppData\Local\Temp, Windows\Temp)
  • Removable media (non-system drive letters)

Not every collection method can cover every location. Some platforms exclude removable drives, for example, and some methods start with a single folder by default. Check the guide for your signal source or collection method, and adjust the scope based on what is typical in your own environment.

Tuning volume: file size

Filtering by file size is one of the simplest ways to reduce unnecessary submissions without losing meaningful coverage:

  • Minimum size: filtering out very small files (as a starting point, below roughly 10 KB) removes icons, placeholders and fragments unlikely to be meaningful content
  • Maximum size: filtering out very large files (as a starting point, above roughly 100 MB) removes outliers that fall outside typical media file sizes for this use case

These aren't hard technical limits of the Analysis Services. They're sensible defaults based on where NetClean's own screening draws the line, and you should adjust them based on what's typical in your own environment.

Tuning volume: deduplication

If your source data can generate repeated events for the same file (for example a file being touched several times in quick succession, or the same hash appearing across multiple log entries), consider deduplicating on file hash within a short time window before submitting it for analysis. This avoids asking the same question several times for what is, from the analysis perspective, an identical file.


Keep the window short rather than permanent. NetClean adds new risk indicators over time, so a hash with no match today can be worth analyzing again later.

Putting it together

A reasonable query or filter, independent of platform and of which Analysis Service you use, combines four conditions: files are collected from a sensible set of folders, file extension (or content type) matches the supported media list above, file size falls within a sensible range for your environment, and the resulting hash hasn't been submitted recently. What counts as "recently", which folders to include and where exactly to set your size thresholds depend on your own data volume and cost tolerance. There's no universal right answer, but these four levers are the ones worth tuning first.