3c503f7c95
* [Security Content] Add Investigation Guides - 4
* Apply suggestions from code review
Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
* Update rules/windows/initial_access_script_executing_powershell.toml
Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
* lint
* Update persistence_user_account_creation.toml
* Apply suggestions from code review
Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: benironside <91905639+benironside@users.noreply.github.com>
Co-authored-by: Joe Peeples <joe.peeples@elastic.co>
Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
* .
* Fixes and lint
* .
* .
* revert modifications
* Apply suggestions from code review
Co-authored-by: Joe Peeples <joe.peeples@elastic.co>
Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com>
* Update impact_stop_process_service_threshold.toml
Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
Co-authored-by: benironside <91905639+benironside@users.noreply.github.com>
Co-authored-by: Joe Peeples <joe.peeples@elastic.co>
Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com>
Co-authored-by: Colson Wilhoit <48036388+DefSecSentinel@users.noreply.github.com>
Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com>
(cherry picked from commit 290763d9bb)
79 lines
2.8 KiB
TOML
79 lines
2.8 KiB
TOML
[metadata]
|
|
creation_date = "2020/12/03"
|
|
maturity = "production"
|
|
updated_date = "2022/03/23"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
This rule identifies a high number (10) of process terminations (stop, delete, or suspend) from the same host within a
|
|
short time period.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
|
|
language = "kuery"
|
|
license = "Elastic License v2"
|
|
name = "High Number of Process and/or Service Terminations"
|
|
note = """## Triage and analysis
|
|
|
|
### Investigating High Number of Process and/or Service Terminations
|
|
|
|
Attackers can stop services and kill processes for a variety of purposes. For example, they can stop services associated
|
|
with business applications and databases to release the lock on files used by these applications so they may be encrypted,
|
|
or stop security and backup solutions, etc.
|
|
|
|
This rule identifies a high number (10) of service and/or process terminations (stop, delete, or suspend) from the same
|
|
host within a short time period.
|
|
|
|
#### Possible investigation steps
|
|
|
|
- Investigate the script execution chain (parent process tree).
|
|
- Identify the user account that performed the action and whether it should perform this kind of action.
|
|
- Confirm whether the account owner is aware of the operation, and why it was performed.
|
|
- Investigate other alerts related to the user/host in the last 48 hours.
|
|
- Check for similar behavior in other hosts in the environment.
|
|
- Check if any files on the host machine have been encrypted.
|
|
|
|
### False positive analysis
|
|
|
|
- This activity is unlikely to happen legitimately. Benign true positives (B-TPs) can be added as exceptions if necessary.
|
|
|
|
### Response and remediation
|
|
|
|
- Initiate the incident response process based on the outcome of the triage.
|
|
- Isolate the involved host to prevent further destructive behavior, which is commonly associated with this activity.
|
|
- Reset the password of the involved accounts.
|
|
- Reimage the host operating system or restore it to the operational state.
|
|
- If any other destructive action was identified on the host, it is recommended to prioritize the investigation and look
|
|
for ransomware preparation and execution activities.
|
|
"""
|
|
risk_score = 47
|
|
rule_id = "035889c4-2686-4583-a7df-67f89c292f2c"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Impact"]
|
|
type = "threshold"
|
|
|
|
query = '''
|
|
event.category:process and event.type:start and process.name:(net.exe or sc.exe or taskkill.exe) and
|
|
process.args:(stop or pause or delete or "/PID" or "/IM" or "/T" or "/F" or "/t" or "/f" or "/im" or "/pid")
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1489"
|
|
name = "Service Stop"
|
|
reference = "https://attack.mitre.org/techniques/T1489/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0040"
|
|
name = "Impact"
|
|
reference = "https://attack.mitre.org/tactics/TA0040/"
|
|
|
|
[rule.threshold]
|
|
field = ["host.id"]
|
|
value = 10
|
|
|