6dc78c4703
* [New Rule] Remote File Download via Scripting * Update rules/windows/command_and_control_remote_file_copy_scripts.toml Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> * Update rules/windows/command_and_control_remote_file_copy_scripts.toml Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> * eql syntax * ecs_version * Update rules/windows/command_and_control_remote_file_copy_scripts.toml Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> * relinted * deleted ecs_version Co-authored-by: Brent Murphy <56412096+bm11100@users.noreply.github.com> Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com>
45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
[metadata]
|
|
creation_date = "2020/11/29"
|
|
maturity = "production"
|
|
updated_date = "2020/11/29"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies built-in Windows script interpreters (cscript.exe or wscript.exe) being used to download an executable file
|
|
from a remote destination.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["winlogbeat-*", "logs-endpoint.events.*"]
|
|
language = "eql"
|
|
license = "Elastic License"
|
|
name = "Remote File Download via Script Interpreter"
|
|
risk_score = 43
|
|
rule_id = "1d276579-3380-4095-ad38-e596a01bc64f"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Command and Control"]
|
|
type = "eql"
|
|
|
|
query = '''
|
|
sequence by host.id, process.entity_id
|
|
[network where process.name : ("wscript.exe", "cscript.exe") and network.protocol != "dns" and
|
|
network.direction == "outgoing" and network.type == "ipv4" and destination.ip != "127.0.0.1"
|
|
]
|
|
[file where event.type == "creation" and file.extension : ("exe", "dll")]
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1105"
|
|
name = "Ingress Tool Transfer"
|
|
reference = "https://attack.mitre.org/techniques/T1105/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0011"
|
|
name = "Command and Control"
|
|
reference = "https://attack.mitre.org/tactics/TA0011/"
|
|
|