Differential Scan

A full scan of a large disk can take hours or days. A device scanned often (e.g. several times a week) was re-scanned from scratch each time, though most files had not changed.

Solution

Differential Scan writes every scanned file's hash into a database on the device. A later scan with the same settings (Workflow, Full Scan or Custom Scan) sends only new, changed or expired files to the engines.

  • No baseline or Workflow needed: the lookup uses the hashes of every previous scan with matching settings.

  • A Workflow is just an easy way to reuse the same settings.

Benchmark

Example: a laptop (Dell Latitude 5420, Kali, 1,908,762 files / 887.20 GB), same Full Scan settings:

Scan

Duration

Process

First scan:

53:23:54

Every file is analyzed and hashed

Second scan:

02:14:17

Only new or changed files are scanned

Nearly 24× faster, with no loss of coverage.

Set Up Instructions

The Scan Settings dialog with Enable Differential Scan selected and a Baseline Hash Valid Period (in days) of 3
  1. Navigate to Settings → Preferences → Scan Settings and tick the Enable Differential Scan and set Baseline Hash Valid Period (in days) (e.g. 30), then click Confirm.

  2. Run a Full or Custom Scan. This first run takes the full time and fills the hash database.

  3. Run it again: any later scan with matching settings is a differential scan.

  4. Open the report. Its Differential Scan section shows:

    • files taken from previous results (hash DB lookup);

    • files scanned by engines;

    • the time of the previous results used. Each file shows its Result Source: Previous scan (hash DB lookup) or Scanned in this run.

Optional Step

Manage Scans As Workflows

Workflows saves a named scan configuration and pins a report as a comparison reference. Useful when several operators share the device, or for a labeled history of repeat visits.

  1. From a finished report, click Save as workflow (or use the auto-created workflow from your Full Scan).

  2. On the Workflows screen, expand the workflow and click Set as baseline on the report you want to use as the reference. It will be labeled as a baseline.

  3. For the next scan, click Run on the workflow.

Workflows: a report marked as baseline
The Differential Scan doesn't use Workflows' baslines

The baseline is only a comparison reference for the UI and OCM, not used by Differential Scan. Changing or removing it keeps the cached hashes.

How the skip decision works

A file skips the engines only when all three are true:

  1. Same scan settings as the cached entry (engines, archive options, scan paths, etc.).

  2. Hash found is in the database. The DB is cumulative across every previous Differential Scan run with matching settings, not tied to a single baseline or workflow.

  3. The entry is within the Valid Period you set.

Otherwise it is scanned normally and the new result is stored.

Things worth knowing

  • A Workflow is a convenience, not a requirement: a plain Full or Custom Scan with the same settings uses the cache too.

  • Hashes older than the Baseline Hash Valid Period are deleted. The longest period depends on the device:

    • 1 TB builds (MetaDefender Drive 2, Digital Display, Smart Touch): up to 365 days.

    • 64 GB MetaDefender Drive: up to 3 days, and only the hashes of the last 3 scans are kept.

    • A longer period, typed in or sent from Central Management, is lowered to the device's maximum.

  • Un-ticking Enable Differential Scan wipes the hash database (after a warning).

  • Deleting reports (by hand or via Central Management auto-delete) does not delete their hashes.

  • The seed scan and every differential scan sync to My OPSWAT Central Management, with the evidence kept per report. The report summary says it was a differential scan; each file shows whether its result came from the hash lookup, with its last-scan information.

  • Differential Scan compares with previous scans. An identical file within the same scan is a separate feature: see Perform Bare Metal (Boot) Scans.