2023-06-22 15:15:48 +02:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2023/02/13"
|
|
|
|
|
integration = ["system"]
|
|
|
|
|
maturity = "production"
|
|
|
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
|
|
|
min_stack_version = "8.3.0"
|
|
|
|
|
updated_date = "2023/06/22"
|
|
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
description = """
|
|
|
|
|
Identifies attempts to create a new group. Attackers may create new groups to establish persistence on a system.
|
|
|
|
|
"""
|
|
|
|
|
from = "now-9m"
|
|
|
|
|
index = ["logs-system.auth-*"]
|
|
|
|
|
language = "eql"
|
|
|
|
|
license = "Elastic License v2"
|
|
|
|
|
name = "Linux Group Creation"
|
|
|
|
|
risk_score = 21
|
|
|
|
|
rule_id = "a1c2589e-0c8c-4ca8-9eb6-f83c4bbdbe8f"
|
|
|
|
|
severity = "low"
|
2023-06-22 18:38:56 -03:00
|
|
|
tags = ["Domain: Endpoint", "OS: Linux", "Use Case: Threat Detection", "Tactic: Persistence"]
|
2023-06-22 15:15:48 +02:00
|
|
|
timestamp_override = "event.ingested"
|
|
|
|
|
type = "eql"
|
|
|
|
|
query = '''
|
|
|
|
|
iam where host.os.type == "linux" and (event.type == "group" and event.type == "creation") and
|
|
|
|
|
process.name in ("groupadd", "addgroup") and group.name != null
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1136"
|
|
|
|
|
name = "Create Account"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1136/"
|
|
|
|
|
|
|
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
|
|
|
id = "T1136.001"
|
|
|
|
|
name = "Local Account"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1136/001/"
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0003"
|
|
|
|
|
name = "Persistence"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0003/"
|