You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The following analytic identifies when the O365 SharePoint users search for suspicious keywords or have an excessive number of queries within a limited timeframe. This behavior may indicate malicious actor enumeration of SharePoint based data within O365.
| stats values(object_name) as object_name values(command) as command, values(src) as src, dc(command) as count, min(-time) as firstTime, max(-time) as lastTime by user,signature,_time
16
+
| where count > 20 OR match(command, "(?i)password|credential|passwd|shadow|active directory|account|username|network|computer|access|MFA|bank|deposit|payroll|EFT|Electonic Funds|routing")
how_to_implement: You must install the Splunk Microsoft Office 365 Add-on and ingest Office 365 management activity events. The thresholds and match terms set within the analytic are initial guidelines and should be customized based on the organization's user behavior and risk profile. Security teams are encouraged to adjust these thresholds to optimize the balance between detecting genuine threats and minimizing false positives, ensuring the detection is tailored to their specific environment.
21
+
known_false_positives: Users searching excessively or possible false positives related to matching conditions.
search: '%original_detection_search% | search user = "$user$"'
28
+
earliest_offset: $info_min_time$
29
+
latest_offset: $info_max_time$
30
+
- name: View risk events for the last 7 days for - "$user$"
31
+
search: '| from datamodel Risk.All_Risk | search normalized_risk_object IN ("$user$") starthoursago=168 | stats count min(_time) as firstTime max(_time) as lastTime values(search_name) as "Search Name" values(risk_message) as "Risk Message" values(analyticstories) as "Analytic Stories" values(annotations._all) as "Annotations" values(annotations.mitre_attack.mitre_tactic) as "ATT&CK Tactics" by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`'
32
+
earliest_offset: $info_min_time$
33
+
latest_offset: $info_max_time$
34
+
- name: Investigate search behavior by $user$
35
+
search: '`o365_management_activity` Workload=SharePoint Operation="SearchQueryPerformed" SearchQueryText=* EventData=*search* AND UserId = $user|s$'
36
+
earliest_offset: $info_min_time$
37
+
latest_offset: $info_max_time$
38
+
tags:
39
+
analytic_story:
40
+
- Azure Active Directory Persistence
41
+
- Office 365 Account Takeover
42
+
- CISA AA22-320A
43
+
asset_type: O365 Tenant
44
+
confidence: 50
45
+
impact: 50
46
+
message: The SharePoint Online was searched suspiciously by $user$
0 commit comments