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>
52 lines
1.5 KiB
TOML
52 lines
1.5 KiB
TOML
[metadata]
|
|
creation_date = "2020/09/02"
|
|
integration = ["endpoint", "windows"]
|
|
maturity = "development"
|
|
updated_date = "2023/02/22"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies MsBuild.exe making outbound network connections. This may indicate adversarial activity as MsBuild is often
|
|
leveraged by adversaries to execute code and evade detection.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.*", "winlogbeat-*", "logs-windows.*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "MsBuild Network Connection Sequence"
|
|
risk_score = 47
|
|
rule_id = "9dc6ed5d-62a9-4feb-a903-fafa1d33b8e9"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Defense Evasion"]
|
|
type = "eql"
|
|
|
|
query = '''
|
|
/* duplicate of MsBuild Making Network Connections - 0e79980b-4250-4a50-a509-69294c14e84b */
|
|
|
|
sequence by process.entity_id
|
|
[process where host.os.type == "windows" and event.type == "start" and process.name : "MSBuild.exe"]
|
|
[network where host.os.type == "windows" and process.name : "MSBuild.exe" and
|
|
not (destination.ip == "127.0.0.1" and source.ip == "127.0.0.1")]
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1127"
|
|
name = "Trusted Developer Utilities Proxy Execution"
|
|
reference = "https://attack.mitre.org/techniques/T1127/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1127.001"
|
|
name = "MSBuild"
|
|
reference = "https://attack.mitre.org/techniques/T1127/001/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0005"
|
|
name = "Defense Evasion"
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
|
|