59da2da474
* add unit tests to ensure host type and platform are included * add host.os.name 'linux' to all linux rules * add host.os.name macos to mac rules * add host.os.name to windows rules; fix linux dates * update from host.os.name to host.os.type Co-authored-by: brokensound77 <brokensound77@users.noreply.github.com> Co-authored-by: Jonhnathan <26856693+w0rk3r@users.noreply.github.com>
54 lines
1.6 KiB
TOML
54 lines
1.6 KiB
TOML
[metadata]
|
|
creation_date = "2021/01/15"
|
|
integration = ["endpoint"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2023/02/22"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies changes to the SoftwareUpdate preferences using the built-in defaults command. Adversaries may abuse this in
|
|
an attempt to disable security updates.
|
|
"""
|
|
false_positives = ["Authorized SoftwareUpdate Settings Changes"]
|
|
from = "now-9m"
|
|
index = ["auditbeat-*", "logs-endpoint.events.*"]
|
|
language = "kuery"
|
|
license = "Elastic License v2"
|
|
name = "SoftwareUpdate Preferences Modification"
|
|
references = ["https://blog.checkpoint.com/2017/07/13/osxdok-refuses-go-away-money/"]
|
|
risk_score = 47
|
|
rule_id = "f683dcdf-a018-4801-b066-193d4ae6c8e5"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "macOS", "Threat Detection", "Defense Evasion"]
|
|
timestamp_override = "event.ingested"
|
|
type = "query"
|
|
|
|
query = '''
|
|
event.category:process and host.os.type:macos and event.type:(start or process_started) and
|
|
process.name:defaults and
|
|
process.args:(write and "-bool" and (com.apple.SoftwareUpdate or /Library/Preferences/com.apple.SoftwareUpdate.plist) and not (TRUE or true))
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1562"
|
|
name = "Impair Defenses"
|
|
reference = "https://attack.mitre.org/techniques/T1562/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1562.001"
|
|
name = "Disable or Modify Tools"
|
|
reference = "https://attack.mitre.org/techniques/T1562/001/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0005"
|
|
name = "Defense Evasion"
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
|
|