b8ae2218f8
* add beats compatability to NPC rules * added filebeat compatibility to 'Accepted Default Telnet Port Connection' * added filebeat compatibility to 'Cobalt Strike Command and Control Beacon' * added filebeat compatibility to 'Default Cobalt Strike Team Server Certificate' * added filebeat compatibility to 'Roshal Archive (RAR) or PowerShell File Downloaded from the Internet' * added filebeat compatibility to 'Possible FIN7 DGA Command and Control Behavior' * added filebeat compatibility to 'Halfbaked Command and Control Beacon' * added filebeat compatibility to 'IPSEC NAT Traversal Port Activity' * added filebeat compatibility to 'SMTP on Port 26/TCP' * added filebeat compatibility to 'RDP (Remote Desktop Protocol) from the Internet' * added filebeat compatibility to 'VNC (Virtual Network Computing) from the Internet' * added filebeat compatibility to 'VNC (Virtual Network Computing) to the Internet' * added filebeat compatibility to 'RPC (Remote Procedure Call) from the Internet' * added filebeat compatibility to 'RPC (Remote Procedure Call) to the Internet' * added filebeat compatibility to 'SMB (Windows File Sharing) Activity to the Internet' * removed extra space in query * added filebeat compatibility to 'Inbound Connection to an Unsecure Elasticsearch Node' * added filebeat compatibility to 'Abnormally Large DNS Response' * fixed missing ending parenthesis * added auditbeat to compatible rules * addressed feedback * removed filebeat and auditbeat due to incompatibility * Update rules/network/command_and_control_cobalt_strike_beacon.toml * Update rules/network/command_and_control_accepted_default_telnet_port_connection.toml Co-authored-by: Justin Ibarra <16747370+brokensound77@users.noreply.github.com> --------- Co-authored-by: Colson Wilhoit <48036388+DefSecSentinel@users.noreply.github.com> Co-authored-by: Justin Ibarra <16747370+brokensound77@users.noreply.github.com>
60 lines
2.1 KiB
TOML
60 lines
2.1 KiB
TOML
[metadata]
|
|
creation_date = "2020/08/11"
|
|
integration = ["network_traffic"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2023/08/01"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies Elasticsearch nodes that do not have Transport Layer Security (TLS), and/or lack authentication, and are
|
|
accepting inbound network connections over the default Elasticsearch port.
|
|
"""
|
|
false_positives = [
|
|
"""
|
|
If you have front-facing proxies that provide authentication and TLS, this rule would need to be tuned to eliminate
|
|
the source IP address of your reverse-proxy.
|
|
""",
|
|
]
|
|
from = "now-9m"
|
|
index = ["packetbeat-*", "logs-network_traffic.*"]
|
|
language = "lucene"
|
|
license = "Elastic License v2"
|
|
name = "Inbound Connection to an Unsecure Elasticsearch Node"
|
|
note = """## Setup
|
|
|
|
This rule requires the addition of port `9200` and `send_all_headers` to the `HTTP` protocol configuration in `packetbeat.yml`. See the References section for additional configuration documentation."""
|
|
references = [
|
|
"https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-security.html",
|
|
"https://www.elastic.co/guide/en/beats/packetbeat/current/packetbeat-http-options.html#_send_all_headers",
|
|
]
|
|
risk_score = 47
|
|
rule_id = "31295df3-277b-4c56-a1fb-84e31b4222a9"
|
|
severity = "medium"
|
|
tags = ["Use Case: Threat Detection", "Tactic: Initial Access", "Domain: Endpoint"]
|
|
timestamp_override = "event.ingested"
|
|
type = "query"
|
|
|
|
query = '''
|
|
(event.dataset: network_traffic.http or (event.category: network_traffic and network.protocol: http)) and
|
|
status:OK and destination.port:9200 and network.direction:inbound and NOT http.response.headers.content-type:"image/x-icon" and not
|
|
_exists_:http.request.headers.authorization
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1190"
|
|
name = "Exploit Public-Facing Application"
|
|
reference = "https://attack.mitre.org/techniques/T1190/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0001"
|
|
name = "Initial Access"
|
|
reference = "https://attack.mitre.org/tactics/TA0001/"
|
|
|