62298d92f4
* Convert config header to setup in note field
* Parse note field into separate setup and note field with marko gfm
* only validate and parse note on elastic authored rules and add CLI description for new DR_BYPASS_NOTE_VALIDATION_AND_PARSE environment variable
Co-authored-by: brokensound77 <brokensound77@users.noreply.github.com>
Removed changes from:
- rules/cross-platform/impact_hosts_file_modified.toml
- rules/integrations/google_workspace/application_added_to_google_workspace_domain.toml
- rules/integrations/google_workspace/domain_added_to_google_workspace_trusted_domains.toml
- rules/integrations/google_workspace/google_workspace_admin_role_deletion.toml
- rules/integrations/google_workspace/google_workspace_mfa_enforcement_disabled.toml
- rules/integrations/google_workspace/google_workspace_policy_modified.toml
- rules/integrations/google_workspace/mfa_disabled_for_google_workspace_organization.toml
- rules/integrations/google_workspace/persistence_google_workspace_admin_role_assigned_to_user.toml
- rules/integrations/google_workspace/persistence_google_workspace_api_access_granted_via_domain_wide_delegation_of_authority.toml
- rules/integrations/google_workspace/persistence_google_workspace_custom_admin_role_created.toml
- rules/integrations/google_workspace/persistence_google_workspace_role_modified.toml
- rules/integrations/kubernetes/execution_user_exec_to_pod.toml
- rules/windows/credential_access_lsass_memdump_file_created.toml
- rules/windows/defense_evasion_adding_the_hidden_file_attribute_with_via_attribexe.toml
- rules/windows/defense_evasion_execution_lolbas_wuauclt.toml
- rules/windows/defense_evasion_suspicious_certutil_commands.toml
- rules/windows/execution_command_shell_started_by_svchost.toml
(selectively cherry picked from commit a52751494e)
54 lines
1.9 KiB
TOML
54 lines
1.9 KiB
TOML
[metadata]
|
|
creation_date = "2020/08/11"
|
|
maturity = "production"
|
|
updated_date = "2021/05/10"
|
|
|
|
[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 = ["auditbeat-*", "filebeat-*", "packetbeat-*", "logs-endpoint.events.*"]
|
|
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 = ["Elastic", "Network", "Threat Detection", "Initial Access", "Host"]
|
|
timestamp_override = "event.ingested"
|
|
type = "query"
|
|
|
|
query = '''
|
|
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]]
|
|
reference = "https://attack.mitre.org/techniques/T1190/"
|
|
name = "Exploit Public-Facing Application"
|
|
id = "T1190"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
reference = "https://attack.mitre.org/tactics/TA0001/"
|
|
name = "Initial Access"
|
|
id = "TA0001"
|