109e8a85a5
* [Rule Tuning] BBR Rule Tuning 1 - Tighten Indexes Edition * Apply suggestions from code review Co-authored-by: Samirbous <64742097+Samirbous@users.noreply.github.com> * Update defense_evasion_msdt_suspicious_diagcab.toml * Update defense_evasion_suspicious_msiexec_execution.toml * Update discovery_security_software_wmic.toml * Update rules_building_block/discovery_security_software_wmic.toml Co-authored-by: Samirbous <64742097+Samirbous@users.noreply.github.com> * Endgame tag --------- Co-authored-by: Samirbous <64742097+Samirbous@users.noreply.github.com>
59 lines
1.8 KiB
TOML
59 lines
1.8 KiB
TOML
[metadata]
|
|
creation_date = "2023/07/13"
|
|
integration = ["endpoint"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2024/04/05"
|
|
bypass_bbr_timing = true
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
building_block_type = "default"
|
|
description = """
|
|
This rule identifies the execution of commands that can be used to enumerate running processes. Adversaries may
|
|
enumerate processes to identify installed applications and security solutions.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.process-*", "logs-system.security*", "winlogbeat-*", "logs-windows.*", "endgame-*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Process Discovery Using Built-in Tools"
|
|
risk_score = 21
|
|
rule_id = "4982ac3e-d0ee-4818-b95d-d9522d689259"
|
|
severity = "low"
|
|
tags = ["Domain: Endpoint",
|
|
"OS: Windows",
|
|
"Use Case: Threat Detection",
|
|
"Tactic: Discovery",
|
|
"Rule Type: BBR",
|
|
"Data Source: Elastic Defend",
|
|
"Data Source: Elastic Endgame"
|
|
]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
process where host.os.type == "windows" and event.type == "start" and
|
|
(
|
|
process.name :("PsList.exe", "qprocess.exe") or
|
|
(process.name : "powershell.exe" and process.args : ("*get-process*", "*Win32_Process*")) or
|
|
(process.name : "wmic.exe" and process.args : ("process", "*Win32_Process*")) or
|
|
(process.name : "tasklist.exe" and not process.args : ("pid eq*")) or
|
|
(process.name : "query.exe" and process.args : "process")
|
|
) and not user.id : "S-1-5-18"
|
|
'''
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
|
|
[[rule.threat.technique]]
|
|
id = "T1057"
|
|
name = "Process Discovery"
|
|
reference = "https://attack.mitre.org/techniques/T1057/"
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0007"
|
|
name = "Discovery"
|
|
reference = "https://attack.mitre.org/tactics/TA0007/"
|