Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

41 detections

Detects users accessing, downloading, or copying a high volume of document files (>100 unique files) across multiple SharePoint sites (>1) within a single hour, excluding legitimate OneDrive sync client activity. The rule targets file types commonly associated with sensitive business data — Office documents, PDFs, archives, databases, email exports (PST/OST/MSG), and OneNote notebooks — and aggregates by user and hour to surface bulk collection patterns consistent with insider data theft, account compromise, or pre-exfiltration staging by ransomware affiliates
avatar
Collin Lairamore@Bollinmore
avatar
Detections.ai Community
6 months ago
100192
This rule detects instances where a SharePoint or OneDrive file/folder is shared with a guest user whose email address is identified as a threat intelligence indicator. This could indicate an attempt to exfiltrate data to a known malicious entity or an account compromise being used for data staging.
avatar
Bartosz Turek@turekbar
avatar
Detections.ai Community
9 months ago
190118
This rule detects attempts to exploit CVE-2024-30043, a vulnerability in Microsoft SharePoint's SPXmlDataSource. The detection is based on the presence of specific content in HTTP response bodies, including '<!DOCTYPE', '<SharePoint:SPXmlDataSource', and 'DataFile="', combined with a PCRE regex matching file or SMB paths, indicating an attempt to fetch data via XML External Entity (XXE) injection.
avatar
Tim Peck@timpeck
avatar
Proofpoint Emerging Threats Rules
1 year ago
0018
This rule detects suspicious bulk file downloads from SharePoint by correlating successful sign-in events with subsequent file download activities. It specifically looks for sign-ins that are not from registered devices, followed by multiple file downloads (at least 3) within a short time window (up to 10 minutes) from the same IP address. The rule flags scenarios where a user downloads a significant number of unique files (at least 2) or has a high download count (5 or more), or a combination of moderate downloads (3 or more) within a very short duration (1 minute). This pattern can indicate data exfiltration attempts.
avatar
Dylan Evans@decksy
Dexter's Laboratory
1 year ago
7913461
This rule detects the execution of common command and scripting interpreters (cmd.exe, cscript.exe, powershell.exe, pwsh.exe, powershell_ise.exe, wmic.exe, wscript.exe) when their parent process is either w3wp.exe or svchost.exe, and the command arguments contain keywords related to SharePoint. This behavior can indicate suspicious activity within a SharePoint environment, potentially related to web shell execution, privilege escalation, or data exfiltration.
avatar
R W@shiftyroot
avatar
Detections.ai Community
1 year ago
1260
This rule detects the creation of a suspicious file named 'spinstall0.aspx' or similar in a specific SharePoint template directory, which is indicative of a potential compromise related to CVE-2025-49704, CVE-2025-49706, or CVE-2025-53770. Additionally, it identifies network connections to known malicious IP addresses associated with these vulnerabilities.
avatar
Frederico Canhoto@nullwhire
avatar
Detections.ai Community
1 year ago
7560
This rule detects the creation of specific files named 'spinstall0' within the SharePoint Web Server Extensions template layouts directory. This activity could indicate an attempt to install or modify SharePoint components, potentially for malicious purposes or unauthorized changes.
avatar
Jason Nelson@Jason
avatar
Detections.ai Community
1 year ago
2143
KQL Query from file: Hunting Malicious Copilot Agent
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
141118
KQL Query from file: Hunting VEILDrive C2
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
4030
This query visualises the amount of total Malware detections of files located on SharePoint, OneDrive and Teams, summarizing by the workload in which they are stored
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1028
This query visualises total files located on SharePoint, OneDrive and Teams with Malware detections over time summarizing the data daily.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0028
This query visualises total Malware detections of files located on SharePoint, OneDrive and Teams over time summarizing the data by the various Malware families detected focusing on Defender for Office 365 detections (detonations)
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1028
This query visualises total Malware detections of files located on SharePoint, OneDrive and Teams over time summarizing the data by the various Malware families detected focusing on built-in SharePoint AV detections
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0025
This query looks for users sharing access to files with external users.
This applies to SharePoint and OneDrive users.
Audit event and Cloud application identifier references.
Reference - https://learn.microsoft.com/microsoft-365/compliance/audit-log-sharing?view=o365-worldwide
Reference - https://learn.microsoft.com/azure/sentinel/entities-reference#cloud-application-identifiers
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
81126
This query helps hunting for BEC - File sharing tactics - OneDrive or SharePoint
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
4085
This query looks for users performing file deletion activities. Spikes in file deletion observed from risky sign-in sessions are flagged here.
This applies to SharePoint and OneDrive users.
Audit event and Cloud application identifier references.
Reference - https://learn.microsoft.com/microsoft-365/compliance/audit-log-activities?view=o365-worldwide
Reference - https://learn.microsoft.com/azure/sentinel/entities-reference#cloud-application-identifiers
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0046
This query helps hunting for Automated email notifications and suspicious sign-in activity
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2034
This analytic identifies when Office 365 users search for suspicious keywords or have an excessive number of queries to a SharePoint site within a limited timeframe. This behavior may indicate that a malicious actor has gained control of a user account and is conducting discovery or enumeration activities.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
1061
This rule detects API requests to the Microsoft Graph search/query endpoint. This endpoint can be used by adversaries to enumerate items such as SharePoint site URLs, which is a common technique used by tools like GraphRunner's Get-SharePointSiteURLs function. The detection specifically looks for successful POST requests to 'https://graph.microsoft.com/v1.0/search/query'.
avatar
Google SecOps@GoogleSecOps
avatar
Google SecOps Detection Rules
2 years ago
0045
Detects when Microsoft Cloud App Security reports that an OAuth application has downloaded multiple files from Microsoft SharePoint or Microsoft OneDrive in a manner that is unusual for the user. This activity could indicate unauthorized data exfiltration by a compromised or malicious OAuth app.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0053
Page 2 of 2