Sophos Community
Site
User
Site
Search
User
Community & Product Forums
Intercept X Endpoint
Sophos Firewall
Sophos Central
Sophos Factory
Sophos Switch
Sophos Mobile
Sophos Wireless
Sophos Email
UTM Firewall
Community Chat
Community Blogs & Events
Sophos Community Blog
Community Security Blog
Product Documentation Blog
Application Control
Getting Started
Sophos Partners
Sophos Partners Group
Member Recognition
Community Leaderboards
Sophos Techvids
Product Documentation
Visit docs.sophos.com
Support Portal
Sophos.com
More
Cancel
Intercept X Endpoint
Threat Hunting
Release Notes & News
Discussions
Recommended Reads
Threat Hunting Academy
Early Access Programs
Live Discover & Response Query Forum
More
Cancel
New
Overview
Live Discover allows you to check the devices that Sophos Central is managing, look for signs of a threat, or assess compliance.
New to Live Discover & Response queries? See
Getting Started In Live Discover - From Beginner to Advanced Query Creation
Make sure to also check out
Best Practices On Using Live Discover & Response Query Forum
and
Sophos EDR Threat Hunting Framework
.
Note:
For more information on Live Discover, please check out our
Product Documentation
.
Navigate to a category below to browse and submit a query
Browse Live Response and Discover Queries by Category
Uncategorized
Anomalies
ATT&CK
Compliance
Device
Email
Events
Files
Live Response
Network
Other queries
Processes
Query Tips
Registry
Threat Hunting
User
Data Lake
Browse Ideas in Category
By highest score
By date
By recent status change
Descending
Ascending
All ideas
Ideas you submitted
Ideas you voted on
With any status
With any open status
With any closed status
With held votes
Currently 'Completed (Brand-new content)'
Currently 'Completed (Content Update)'
Currently 'Completed (Minor Issue)'
Currently 'Approved'
Currently 'Under Review'
Currently 'Coming Soon'
Currently 'Not Planned'
Currently 'Complete'
Query if CVE-2021-40444 MSHTML Mitigations Are Applied
JeramyKopacko
Under Review on
8 Sep 2021
0 Comments
The current vulnerability CVE-2021-40444 MSHTML is a zero-day and is awaiting a patch. You should consider the Microsoft guidance in their Security Update Guide: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444 This query will...
8 Sep 2021 6:54 PM
Query for MD5 hashes
Abdullah Lababidi
Under Review on
23 Mar 2022
2 Comments
Hello, I would like suggestions regarding how to put together a query to find MD5 hashes. There is a built-in query called Processes matching SHA-256 hashes in the last 30 days (below), but I would like to search for MD5 hashes not SHA-256, since...
23 Mar 2022 10:02 PM
Threat Hunting - Discovery of Password Policies
AndyM
Under Review on
1 Mar 2021
0 Comments
A simple query to look for executions of net.exe that make use of the account switch. These are sometimes used by adversaries to discover the local and domain password policies that are in enforced. -- Account Discovery: Password Policies -- T1201...
1 Mar 2021 4:03 PM
Checking For Print Spooler Vulnerabilities
JeramyKopacko
Under Review on
21 Jul 2021
0 Comments
This query will search your endpoints for the following CVEs and their currently released patches: 2021-1675, 2021-34527, and 2021-34481. As of writing this, CVE-2021-34481 is considered still vulnerable and the recommended fix is to disable the print...
21 Jul 2021 6:18 PM
PrintNightMare Registry Fix Check
Jainidh Rajpal
Approved on
7 Jul 2021
0 Comments
-- Check Print Server Registry Fix SELECT DISTINCT 'Check Registry Fix' Test, CAST(GROUP_CONCAT(name, ' '||CHAR(10)) AS TEXT) Result, CASE WHEN name = 'RestrictDriverInstallationToAdministrators' THEN 'Fix...
7 Jul 2021 1:18 PM
PrintNightmare PrintSpooler Service Check
Jainidhya
Under Review on
1 Jul 2021
0 Comments
--PrintNightMare Print Spooler Service Check SELECT display_name, status, start_type, user_account, CASE WHEN status = 'RUNNING' THEN ' Exposed to unpatched vulnerabilities inc. PrintNightmare' WHEN status ='STOPPED' THEN ' NOT exposed to unpatched...
1 Jul 2021 9:07 AM
Yara rules not returning results
Chris Smith4
Under Review on
19 Apr 2022
0 Comments
Cannot get results back from online rules (based on this https://community.sophos.com/intercept-x-endpoint/b/blog/posts/yara-scanning-rules-with-sophos-xdr ) so tried the simplest osquery I could think of: SELECT * FROM yara WHERE path = 'c:\windows...
19 Apr 2022 10:16 PM
CVE-2021-40444 MSHTML and other potential malicious processes originating from MS products (Data Lake)
reg1nleifr
Under Review on
9 Sep 2021
1 Comment
Query we've used for looking for possible MSHTML related activity. You can add additional programs to the where clause and filter out false positives using the having clause. The rule is mainly based on the idea of this sigma rule: https://github.com...
9 Sep 2021 11:41 AM
Query for emerging threat - Check your Pulse
Karl_Ackerman
Approved on
26 Apr 2022
0 Comments
REVIEWED by Sophos Yesterday I got one of those alerts that I suspect many of you also receive, another security advisory. This one was for folks who have the Pulse Secure VPN and mentioned that even after applying the patch the adversary could be...
17 Apr 2020 2:30 PM
Top threat indicators on Windows devices with exclusion list
AitorBF
Under Review on
7 Feb 2022
0 Comments
Hello World! I think is a great idea modify the default query "Top threat indicators on Windows devices" with a exclusion list of paths. I tried to add a pastebin link with the list of exceptions but it does not work for me. WHERE query_name...
7 Feb 2022 8:32 AM
Query for CVE-2021-40444 MSHTML Process Event
JeramyKopacko
Under Review on
8 Sep 2021
0 Comments
This query will look for a process event that has been associated with this attack. WinWord.exe has launched a child process called "control.exe" and has been seen in the wild with this vulnerability. This does NOT guarantee you've been breached but...
8 Sep 2021 8:57 PM
Printnightmare Hunting Query (Live Discovery/Windows)
reg1nleifr
Under Review on
13 Jul 2021
0 Comments
Similar to the Data Lake Query (which seems to be having issues since it's not detecting all dll files in all folders) we've also created a Live-Discovery Query for Windows Systems on the Printnightmare Vulnerability. The Query could be scheduled via...
13 Jul 2021 10:37 AM
Receiving ACL for SAM file not working
Dennis Barnekow
Under Review on
30 Jul 2021
0 Comments
Hi, I created this query to check which of our systems are effected by serious SAM vulnerability. When I fire the query I not receive any data back. Does someone know what I did wrong? SELECT * FROM ntfs_acl_permissions WHERE path like 'C:...
30 Jul 2021 9:26 AM
Threat Hunting - Account Discovery
AndyM
Under Review on
1 Mar 2021
0 Comments
Here is a simple query that can be used to look for any executions of the net.exe command. These are often used by threat actors and malware alike to discover the username and group memberships of local as well as domain accounts. -- Account Discovery...
1 Mar 2021 4:00 PM
Detecting Kingminer IOCs
Karl_Ackerman
Under Review on
10 Jun 2020
2 Comments
REVIEWED by Sophos See the story from Sophos Labs Uncut on KingMiner: https://news.sophos.com/en-us/2020/06/09/kingminer-report/ The article is both educational and enlightening. One of the aspects of KingMiner that is common with other attacks...
10 Jun 2020 2:41 PM
List all NIX processes during a boot session
Karl_Ackerman
Approved on
16 Nov 2021
0 Comments
Given a time we want to list all processes that ran during the boot session. -- This will take a few steps. First lets narrow down the time range ---------------------- -- DETERMINE THE LOWER AND UPPER TIME LIMITS FOR THE SOPHOS_PID ------...
16 Nov 2021 9:25 PM
FORCEDENTRY Safari Check (CATALINA & MOJAVE)
Jainidhya Rajpal
Under Review on
14 Sep 2021
0 Comments
SELECT CASE WHEN bundle_short_version = '14.1.2' THEN 'PATCHED' ELSE 'Vulnerable to FORCEDENTRY' END AS VulnCheck FROM apps WHERE name = 'Safari.app'
14 Sep 2021 7:31 PM
Live Discover Query - That nasty Microsoft DNS bug - SigRED a.k.a CVE-2020-1350
AzRoN
Under Review on
22 Jul 2020
1 Comment
REVIEWED by Sophos As the title says, Microsoft recently advised a of a nasty bug within MS DNS servers. NakedSecurity has a great write up with suggested actions, PATCH NOW. Or implement a work around. https://nakedsecurity.sophos.com/2020/07...
22 Jul 2020 6:31 AM
NIX TTP Detector (MITRE ATT&CK)
Karl_Ackerman
Approved on
16 Nov 2021
0 Comments
Below is a query to classify activity to MITRE for NIX machines (LINUX and MAC). It runs against the data lake The detection risk level has not been tuned, so you will need to edit the query in your environment. /******************************...
16 Nov 2021 8:49 PM
Query - IOC´s From GitHub list
Rafael Moura
Under Review on
24 Aug 2021
2 Comments
/* Desc: Number of Hours of activity to search / TYPE: String / SQLVAR: $$Number of Hours of activity to search$$ Desc: RAW IOC List location from a URL / TYPE: String / SQLVAR: $$RAW IOC List location from a URL$$ / Value: ... Desc: Start Search From...
24 Aug 2021 8:56 PM
<
>