Files
sigma-rules/rules_building_block/defense_evasion_cmd_copy_binary_contents.toml
T

79 lines
2.0 KiB
TOML
Raw Normal View History

2023-09-12 21:49:22 -03:00
[metadata]
creation_date = "2023/08/23"
integration = ["endpoint", "windows", "system"]
2023-09-12 21:49:22 -03:00
maturity = "production"
2025-03-26 20:34:14 +05:30
updated_date = "2025/03/20"
2023-09-12 21:49:22 -03:00
[rule]
author = ["Elastic"]
2024-05-23 00:45:10 +05:30
building_block_type = "default"
description = "Attackers may abuse cmd.exe commands to reassemble binary fragments into a malicious payload.\n"
2023-09-12 21:49:22 -03:00
from = "now-119m"
index = [
"endgame-*",
"logs-endpoint.events.process-*",
"logs-system.security*",
"logs-windows.sysmon_operational-*",
"winlogbeat-*",
]
2024-05-23 00:45:10 +05:30
interval = "60m"
2023-09-12 21:49:22 -03:00
language = "eql"
license = "Elastic License v2"
name = "Binary Content Copy via Cmd.exe"
risk_score = 21
rule_id = "53dedd83-1be7-430f-8026-363256395c8b"
severity = "low"
2024-05-23 00:45:10 +05:30
tags = [
"Domain: Endpoint",
"OS: Windows",
"Use Case: Threat Detection",
"Tactic: Defense Evasion",
"Tactic: Execution",
"Data Source: Elastic Defend",
"Rule Type: BBR",
"Data Source: Sysmon",
2024-08-09 11:14:33 -03:00
"Data Source: Elastic Endgame",
"Data Source: Windows Security Event Logs",
2024-05-23 00:45:10 +05:30
]
2023-09-12 21:49:22 -03:00
timestamp_override = "event.ingested"
type = "eql"
query = '''
process where host.os.type == "windows" and event.type == "start" and
process.name : "cmd.exe" and (
(process.args : "type" and process.args : (">", ">>")) or
(process.args : "copy" and process.args : "/b"))
'''
2024-05-23 00:45:10 +05:30
2023-09-12 21:49:22 -03:00
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1140"
name = "Deobfuscate/Decode Files or Information"
reference = "https://attack.mitre.org/techniques/T1140/"
[rule.threat.tactic]
id = "TA0005"
name = "Defense Evasion"
reference = "https://attack.mitre.org/tactics/TA0005/"
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1059"
name = "Command and Scripting Interpreter"
reference = "https://attack.mitre.org/techniques/T1059/"
[[rule.threat.technique.subtechnique]]
id = "T1059.003"
name = "Windows Command Shell"
reference = "https://attack.mitre.org/techniques/T1059/003/"
2024-05-23 00:45:10 +05:30
[rule.threat.tactic]
id = "TA0002"
name = "Execution"
reference = "https://attack.mitre.org/tactics/TA0002/"