Skip to content

Live Discover

Live Discover allows you to check the devices managed by Sophos Fusion, look for signs of a threat, or assess compliance.

Prerequisites

Live Discover is available to customers with an active Sophos EDR, XDR, or MDR license.

To query data from the following products in the Data Lake, you must have these licenses:

  • Sophos Email: Sophos XDR or MDR
  • Sophos AP6 access points: Sophos XDR
  • Sophos Switch: Sophos XDR

Live Discover queries

You can use Live Discover queries to search devices for signs of threats that haven’t been detected by other Sophos features. For example:

  • Unusual changes to the registry.
  • Failed authentications.
  • A process running that is very rarely run.

You can also search devices for signs of a suspected or known threat if Sophos Fusion has found the threat elsewhere, or if a user reports suspicious behavior on their device.

You can also check the compliance of each device. For example, you can search for out-of-date software or browsers with insecure settings.

This page tells you how to use Live Discover. For more information, see Sophos XDR Training.

To share or fine-tune queries, see Live Discover Query Forum.

You can get support in the following ways:

How queries work

We provide a range of queries for you to use to check your devices. You can use them as they are, or edit them (you'll need to be familiar with osquery or SQL). You can also create queries.

You can run queries to get information from different sources:

  • Endpoint queries get the latest information from devices that are currently connected.
  • Data Lake queries get information from a Data Lake that devices upload their data to regularly.

Before you run queries, make sure you can get data from the resources you want to query. Follow the instructions below to get data from devices.

Get data from devices

If you want to use Data Lake queries, make sure your devices can upload data to the Data Lake.

By default, Data Lake uploads are turned on for devices running Endpoint Protection or Server Protection. To check this setting, do as follows:

  1. Go to My Products > Endpoint > Policies.

    For servers, go to My Products > Server > Policies.

  2. Click the Data Collection and Investigation policy.

  3. Make sure Upload to the Data Lake is turned on.

You can upload data from Sophos Mobile. See Turn on uploads from Sophos Mobile.

You can also upload data from other Sophos products or from third-party security products. To do this, integrate them with Sophos Fusion. For a list of products you can integrate, see Products.

Select query

To select a pre-prepared query, do as follows:

  1. Go to Threat Analysis Center and click Live Discover.
  2. In Live Discover, go to the Query section.

    Designer Mode lets you edit or create queries. You don't need to turn it on if you're using our pre-prepared queries.

    "Query" section.

  3. By default, you see the All Queries tab. If you prefer, select the tab for the type of query you want.

    • Endpoint Queries. These queries get the latest data from connected endpoints.
    • Data Lake Queries. These queries get data from a Data Lake that endpoints upload their data to regularly.

    You see the Categories that are available.

    Queries categories.

  4. Select the category that you want to use. This shows you a list of the queries in that category.

    System Impact indicates the effect the query has on device performance based on recent usage.

    List of queries.

  5. Filter or search the queries if you want to shorten the list.

  6. Click the query that you want to run. This displays the query details, including supported operating systems and performance data.
  7. (Optional) If you selected a Data Lake query, click the arrow to open Select a Time Period and select a period to query. The default is the past 7 days.

    This option isn't a schedule. It specifies how much past data the query runs on, not how often it runs. You can use this option to avoid generating too much data.

    Note

    Queries can only run on a time period of 30 days or less. To query a longer period, create multiple queries. For example, for 90 days, create queries for the last 0-30 days, 31-60 days, and 61-90 days.

    Some queries, including endpoint queries, also let you specify a time period in their variables. For example, queries run on event journals.

    Time period selector.

If you selected an endpoint query, select the devices to query.

If you selected a Data Lake query, you're ready to run or schedule the query. See "Run a query".

Select devices to query

If you selected an endpoint query, select the devices that you want to query.

If you selected a Data Lake query, all devices are always included. Skip this section.

  1. In Live Discover, open Device selector.

    Available devices shows all the computers and servers that are managed by Sophos Fusion.

    Device selector.

  2. Under Available devices, filter the devices that are shown. For example, you might want to query devices with a particular operating system. Click Apply.

    You don't have to enter an exact match and the filters aren't case sensitive.

    Filters.

  3. Select the devices that you want to query and click Update selected devices list.

    This adds the devices to a list on the Selected devices tab, where you can manage them easily.

    Selected devices.

  4. (Optional) To refine the list further, click Selected devices and do as follows:

    • Click Show filters. Filter the selected devices.
    • Deselect devices and click Update selected devices list.

Run query

When you've finished setting up a query, you can run it.

You can run up to four queries on devices at the same time.

Note

You can change the selected devices or edit the query while it is running.

To run a query, do as follows.

  1. At the bottom of the Live Discover page, click Run Query.

    Run query button.

  2. If you haven't run the query before, a message recommends that you run it on one device to test it. Go back to edit your selected devices or click Run Query to go ahead.

    Untested query warning.

  3. When the query stops running, you see the query results panel. This shows:

    • Items found for each device.
    • New queries or actions you can base on items in the results. Click an ellipsis icon Ellipsis icon. to see the options.
    • Device telemetry (beneath the results). This is information about the query's speed and how much data it generates. See “Live Discover telemetry”.

    Query results.

    You’ll see a Sophos PID for processes. This is a unique process ID. We never reuse it, so queries based on it don’t get unwanted results on older processes.

You can schedule some queries to run at set times (Data Lake queries only). See Scheduled queries.

To do further analysis, you can run queries based on the results. See “Use pivot queries, enrichments and actions.”

Use pivot queries, enrichments, and actions

You can use your query results as a basis for additional queries that home in on potential threats.

In the results table, you’ll see an ellipsis icon next to some items. Ellipsis icon.

Click the icon to see actions that are available:

  • Queries. These "pivot queries" let you quickly run a new query based on the item selected. For an example of how to use them, see “Pivot queries”.
  • Enrichments. These open websites like VirusTotal to look up a potential threat you've found. They can also open SophosLabs Intelix reports if those are available. See Intelix reports.
  • Actions. These offer further detection or remediation. For example, you can raise a threat graph to get in-depth analysis of an incident, or start Live Response to access and investigate a computer.

You can customize some pivot settings. See Enrichments.