Skip to content
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e749279
[New] Suricata and Elastic Defend - Command and Control Correlation
Samirbous Dec 10, 2025
e5eee69
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
3c718b5
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
a56443f
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
34dbd8f
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
1d2d7ed
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
f33a879
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
a4ae0de
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
ca8d32d
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
141b543
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
87a0ff1
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
b14c1b8
Update rules/cross-platform/command_and_control_suricata_elastic_defe…
w0rk3r Dec 10, 2025
e7a1ab8
Update rules/cross-platform/command_and_control_suricata_elastic_defe…
Samirbous Dec 10, 2025
a14651d
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
a2a6786
Update command_and_control_suricata_elastic_defend_c2.toml
Samirbous Dec 10, 2025
7a316a2
add suricata to schemas
Mikaayenson Dec 17, 2025
1217a23
Merge branch 'main' into ET_SURIC
Mikaayenson Dec 17, 2025
692799a
merge from main
Mikaayenson Dec 17, 2025
5198627
reset schemas
Mikaayenson Dec 17, 2025
e0c0fe3
Update rules/cross-platform/command_and_control_suricata_elastic_defe…
Samirbous Dec 18, 2025
726681b
Merge branch 'main' into ET_SURIC
Samirbous Dec 18, 2025
a8354e5
Merge branch 'main' into ET_SURIC
Samirbous Dec 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[metadata]
creation_date = "2025/12/10"
integration = ["endpoint", "suricata"]
maturity = "production"
updated_date = "2025/12/10"

[rule]
author = ["Elastic"]
description = """
This detection correlates Suricata alerts with Elastic Defend network events to identify the source process performing
the network activity.
"""
from = "now-9m"
index = ["logs-endpoint.events.network-*", "filebeat-*", "logs-suricata.*"]
language = "eql"
license = "Elastic License v2"
name = "Suricata and Elastic Defend Network Correlation"
references = [
"https://attack.mitre.org/tactics/TA0011/",
"https://www.elastic.co/docs/reference/integrations/suricata",
"https://www.elastic.co/docs/reference/integrations/endpoint"
]
risk_score = 47
rule_id = "9edd000e-cbd1-4d6a-be72-2197b5625a05"
severity = "medium"
tags = [
"Domain: Endpoint",
"Domain: Network",
"OS: Linux",
"OS: Windows",
"OS: macOS",
"Use Case: Threat Detection",
"Tactic: Command and Control",
"Data Source: Elastic Defend",
"Data Source: Suricata",
"Resources: Investigation Guide",
]
type = "eql"
query = '''
sequence by source.port, source.ip, destination.ip with maxspan=1m
[network where event.dataset == "suricata.eve" and event.kind == "alert" and event.severity != 3 and source.ip != null and destination.ip != null]
[network where event.module == "endpoint" and event.action in ("disconnect_received", "connection_attempted")]
'''
note = """## Triage and analysis

### Investigating Suricata and Elastic Defend Network Correlation

### Possible investigation steps

- Investigate in the Timeline feature the two events matching this correlation (Suricata and Elastic Defend).
- Review the process details like command_line, privileges, global relevance and reputation.
- Assess the destination.ip reputation and global relevance.
- Review the parent process execution details like command_line, global relevance and reputation.
- Examine all network connection details performed by the process during last 48h.
- Correlate the alert with other security events or logs to identify any patterns or additional indicators of compromise related to the same process or network activity.

### False positive analysis

- Trusted system or third party processes performing network activity that looks like beaconing.

### Response and remediation

- Immediately isolate the affected system from the network to prevent further unauthorized access or data exfiltration.
- Terminate the suspicious processes and all associated children and parents.
- Implement network-level controls to block traffic to the destination.ip.
- Conduct a thorough review of the system's configuration files to identify unauthorized changes.
- Reset credentials for any accounts associated with the source machine.
- Escalate the incident to the security operations center (SOC) or incident response team for further investigation and to determine if additional systems are affected.
"""

[[rule.threat]]
framework = "MITRE ATT&CK"

[rule.threat.tactic]
id = "TA0011"
name = "Command and Control"
reference = "https://attack.mitre.org/tactics/TA0011/"