4312d8c958
* initial commit * addressing flake errors * added apm to _get_packagted_integrations logic * addressed flake errors * adjusted integration schema and updated rules to be a list * updated several rules and removed a unit test * updated rules with logs-* only index patterns * Update tests/test_all_rules.py Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com> * addressed flake errors * integration is none is windows, endpoint or apm * adding rules with accepted incoming changes from main * fixed tag and tactic alignment errors from unit testing * adjusted unit testing logic for integration tags; added more exclusion rules * adjusted test_integration logic to be rule resistent and skip if -8.3 * adjusted comments for unit test skip * fixed merge conflicts from main * changing test_integration_tag to remove logic for rule version comparisons * added integration tag to new rule * adjusted rules updated_date value * ignore guided onboarding rule in unit tests * added integration tag to new rule Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com>
54 lines
1.9 KiB
TOML
54 lines
1.9 KiB
TOML
[metadata]
|
|
creation_date = "2022/01/10"
|
|
integration = ["o365"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2022/12/14"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies the occurence of files uploaded to SharePoint being detected as Malware by the file scanning engine.
|
|
Attackers can use File Sharing and Organization Repositories to spread laterally within the company and amplify their
|
|
access. Users can inadvertently share these files without knowing their maliciousness, giving adversaries opportunities
|
|
to gain initial access to other endpoints in the environment.
|
|
"""
|
|
false_positives = ["Benign files can trigger signatures in the built-in virus protection"]
|
|
from = "now-30m"
|
|
index = ["filebeat-*", "logs-o365*"]
|
|
language = "kuery"
|
|
license = "Elastic License v2"
|
|
name = "SharePoint Malware File Upload"
|
|
note = """## Setup
|
|
|
|
The Office 365 Logs Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
|
|
references = [
|
|
"https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/virus-detection-in-spo?view=o365-worldwide",
|
|
]
|
|
risk_score = 73
|
|
rule_id = "0e52157a-8e96-4a95-a6e3-5faae5081a74"
|
|
severity = "high"
|
|
tags = ["Elastic", "Cloud", "Microsoft 365", "Continuous Monitoring", "SecOps", "Lateral Movement"]
|
|
timestamp_override = "event.ingested"
|
|
type = "query"
|
|
|
|
query = '''
|
|
event.dataset:o365.audit and event.provider:SharePoint and event.code:SharePointFileOperation and event.action:FileMalwareDetected
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1080"
|
|
name = "Taint Shared Content"
|
|
reference = "https://attack.mitre.org/techniques/T1080/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0008"
|
|
name = "Lateral Movement"
|
|
reference = "https://attack.mitre.org/tactics/TA0008/"
|
|
|