Potential Data Exfiltration Activity to an Unusual IP Address

A machine learning job has detected data exfiltration to a particular geo-location (by IP address). Data transfers to geo-locations that are outside the normal traffic patterns of an organization could indicate exfiltration over command and control channels.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2023/09/22"
 3integration = ["ded", "endpoint", "network_traffic"]
 4maturity = "production"
 5updated_date = "2024/05/21"
 6
 7[rule]
 8anomaly_threshold = 75
 9author = ["Elastic"]
10description = """
11A machine learning job has detected data exfiltration to a particular geo-location (by IP address). Data transfers to
12geo-locations that are outside the normal traffic patterns of an organization could indicate exfiltration over command
13and control channels.
14"""
15from = "now-6h"
16interval = "15m"
17license = "Elastic License v2"
18machine_learning_job_id = "ded_high_sent_bytes_destination_ip"
19name = "Potential Data Exfiltration Activity to an Unusual IP Address"
20references = [
21    "https://www.elastic.co/guide/en/security/current/prebuilt-ml-jobs.html",
22    "https://docs.elastic.co/en/integrations/ded",
23    "https://www.elastic.co/blog/detect-data-exfiltration-activity-with-kibanas-new-integration",
24]
25risk_score = 21
26rule_id = "cc653d77-ddd2-45b1-9197-c75ad19df66c"
27setup = """## Setup
28
29The rule requires the Data Exfiltration Detection integration assets to be installed, as well as network and file events collected by integrations such as Elastic Defend and Network Packet Capture (for network events only).  
30
31### Data Exfiltration Detection Setup
32The Data Exfiltration Detection integration detects data exfiltration activity by identifying abnormalities in network and file events. Anomalies are detected using Elastic's Anomaly Detection feature. 
33
34#### Prerequisite Requirements:
35- Fleet is required for Data Exfiltration Detection.
36- To configure Fleet Server refer to the [documentation](https://www.elastic.co/guide/en/fleet/current/fleet-server.html).
37- Network events collected by the [Elastic Defend](https://docs.elastic.co/en/integrations/endpoint) or [Network Packet Capture](https://docs.elastic.co/integrations/network_traffic) integration.
38- To install Elastic Defend, refer to the [documentation](https://www.elastic.co/guide/en/security/current/install-endpoint.html).
39- To add the Network Packet Capture integration to an Elastic Agent policy, refer to [this](https://www.elastic.co/guide/en/fleet/current/add-integration-to-policy.html) guide.
40
41#### The following steps should be executed to install assets associated with the Data Exfiltration Detection integration:
42- Go to the Kibana homepage. Under Management, click Integrations.
43- In the query bar, search for Data Exfiltration Detection and select the integration to see more details about it.
44- Follow the instructions under the **Installation** section.
45- For this rule to work, complete the instructions through **Add preconfigured anomaly detection jobs**.
46"""
47severity = "low"
48tags = [
49    "Use Case: Data Exfiltration Detection",
50    "Rule Type: ML",
51    "Rule Type: Machine Learning",
52    "Tactic: Exfiltration",
53]
54type = "machine_learning"
55[[rule.threat]]
56framework = "MITRE ATT&CK"
57[[rule.threat.technique]]
58id = "T1041"
59name = "Exfiltration Over C2 Channel"
60reference = "https://attack.mitre.org/techniques/T1041/"
61
62
63[rule.threat.tactic]
64id = "TA0010"
65name = "Exfiltration"
66reference = "https://attack.mitre.org/tactics/TA0010/"

References

Related rules

to-top