Skip to content

EPP On-Demand Scan

On a Windows device with the SenseOn Universal Sensor, you can scan for malware from the command line. You can scan a full drive, a folder or a network share. The scan uses the same detection engine and the same definitions as the real-time protection of Endpoint Protection (EPP).

Real-time protection scans each file when a process creates, opens or runs it. Thus most customers do not need an on-demand scan. Use an on-demand scan in these cases:

  • After an incident, for example after you remove malware or a potentially unwanted program from a device.
  • When a security playbook or an audit asks for a manual scan.
  • When you want to examine a folder or a share that no process opened recently. An example is an archive folder or a file server path.
  • When you want to examine the contents of archives and installers. Real-time protection scans these contents only when a process extracts or runs them.

Before you start

Make sure that the device meets these requirements:

Requirement Detail
Operating system Windows. The scan tool is not available on macOS or Linux.
Universal Sensor version 7.0.50 or later. Earlier versions contain the tool, but they cannot scan a network path.
Endpoint Protection mode Automated response, Alert only or Run alongside another AV in the Device Segment of the device. If Endpoint Protection is off, the scan tool stops with an error.
Access A Command Prompt window on the device. Open it as an administrator.
Time A full disk scan can take some hours on a large or busy device. The scan runs in the background. You can close the window and get the status later.

To examine or change the Endpoint Protection mode, go to Settings > Device Configuration. Then select the Device Segment that contains the device. For the steps, refer to Endpoint Protection (EPP).

Run a scan

The sensor installs the scan tool at this path:

C:\Program Files\senseon-see\senseon-epp\senseon-epp-ondemand-cli.exe
  1. On the device, open Command Prompt as an administrator.
  2. Run the scan tool with the scan command and the path that you want to scan.
  3. Keep the window open to follow the progress. As an alternative, write down the scan ID and get the status later.

💡 PowerShell: The examples on this page are for Command Prompt. In PowerShell, put the call operator & before the quoted path. For example: & "C:\Program Files\senseon-see\senseon-epp\senseon-epp-ondemand-cli.exe" scan C:\

Scan the full system drive

"C:\Program Files\senseon-see\senseon-epp\senseon-epp-ondemand-cli.exe" scan C:\ --timeout 0

Scan one folder

"C:\Program Files\senseon-see\senseon-epp\senseon-epp-ondemand-cli.exe" scan "C:\Users\Public\Downloads"

Scan a network share

"C:\Program Files\senseon-see\senseon-epp\senseon-epp-ondemand-cli.exe" scan "\\fileserver\shared\finance"

Options

Option Function
--deep Scans the contents of archives, installers and packed files also. The scan is slower but more thorough. Use it after an incident.
--timeout <seconds> Stops the scan after this number of seconds. The default is 14400 seconds (4 hours). Use 0 to remove the limit for a full disk scan.
--verbose Shows more detail while the scan runs. Use it if the tool reports a connection problem.

The tool shows a scan ID when the scan starts. Then it updates the count of scanned files and the count of threats on one line until the scan completes.

Get the scan status or cancel the scan

The scan continues on the device after you close the window. Use the scan ID that the tool showed when the scan started.

Get the status or the results

"C:\Program Files\senseon-see\senseon-epp\senseon-epp-ondemand-cli.exe" status <scan ID>

Cancel a scan

"C:\Program Files\senseon-see\senseon-epp\senseon-epp-ondemand-cli.exe" cancel <scan ID>

Ctrl+C in the window that started the scan also cancels the scan. The results stay available for a short time after the scan completes. If you closed the window, get the status soon after the scan completes.

Understand the results

When the scan completes, the tool shows the number of scanned files and the number of threats. It also shows a table with the path, the threat name and the action for each detection.

The action on a detected file depends on the Endpoint Protection mode of the Device Segment:

Endpoint Protection mode Action on a detection
Automated response Endpoint Protection quarantines the file and blocks access to it. The action column shows quarantined.
Alert only Endpoint Protection reports the file and does not change it. The action column shows none.
Run alongside another AV Endpoint Protection reports the file and does not change it, so that your other antivirus product can act on it. The action column shows none.
Off The scan does not run. The tool reports that Endpoint Protection must be on, with Run alongside another AV as the minimum mode.

Quarantined files are in the quarantine of the device. If a detection is a false positive, you can restore the file. Contact SenseOn support before you restore a file. For the steps, refer to Managing quarantined files.

âš  Make sure that Endpoint Protection is on before you run a scan. If the tool shows an error and not a result, the detection engine was not available. Make sure that Endpoint Protection is on for the Device Segment and that the sensor runs. Then run the scan again.

Limitations

  • Windows only. The macOS and Linux sensor packages do not contain the scan tool.
  • Local to the device. The SenseOn platform has no control to start or schedule a scan on one or more devices. Run the tool on the device, or with your own remote management tool.
  • Exclusions. If an on-demand scan must obey the Endpoint Protection exclusions of the Device Segment, contact SenseOn support first.
  • Lower counts are normal. The detection engine keeps a record of the files that it examined. The scan can skip a file that it examined before with the same content. Thus the count of scanned files can be lower than the number of files on the disk.
  • Performance. A full disk scan reads each file. Expect higher CPU and disk activity while the scan runs. On a server, run a full scan outside busy hours.
  • Archives. Real-time protection does not examine the contents of archives and installers. It scans the contents when a process extracts or runs them. Add --deep to an on-demand scan to examine the contents.

Get help

If a scan finds a threat that you did not expect, contact SenseOn support through the chat in the SenseOn platform. You can also ask SenseOn support to examine a result. Give the device name, the path, the scan ID and the output of the status command. SenseOn then examines the file and the related activity in your telemetry.