Spike in Bytes Sent to an External Device via Airdrop

A machine learning job has detected high bytes of data written to an external device via Airdrop. In a typical operational setting, there is usually a predictable pattern or a certain range of data that is written to external devices. An unusually large amount of data being written is anomalous and can signal illicit data copying or transfer activities.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2023/09/22"
 3integration = ["ded", "endpoint"]
 4maturity = "production"
 5min_stack_comments = "New rule"
 6min_stack_version = "8.9.0"
 7updated_date = "2023/12/12"
 8
 9[rule]
10anomaly_threshold = 75
11author = ["Elastic"]
12description = """
13A machine learning job has detected high bytes of data written to an external device via Airdrop. In a typical
14operational setting, there is usually a predictable pattern or a certain range of data that is written to external
15devices. An unusually large amount of data being written is anomalous and can signal illicit data copying or transfer
16activities.
17"""
18from = "now-2h"
19interval = "15m"
20license = "Elastic License v2"
21machine_learning_job_id = "ded_high_bytes_written_to_external_device_airdrop"
22name = "Spike in Bytes Sent to an External Device via Airdrop"
23setup = """
24The 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).  
25
26### Data Exfiltration Detection Setup
27The 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. 
28
29#### Prerequisite Requirements:
30- Fleet is required for Data Exfiltration Detection.
31- To configure Fleet Server refer to the [documentation](https://www.elastic.co/guide/en/fleet/current/fleet-server.html).
32- File events collected by the Elastic Defend integration.
33- To install Elastic Defend, refer to the [documentation](https://www.elastic.co/guide/en/security/current/install-endpoint.html).
34
35#### The following steps should be executed to install assets associated with the Data Exfiltration Detection integration:
36- Go to the Kibana homepage. Under Management, click Integrations.
37- In the query bar, search for Data Exfiltration Detection and select the integration to see more details about it.
38- Under Settings, click Install Data Exfiltration Detection assets and follow the prompts to install the assets.
39
40#### Anomaly Detection Setup
41Before you can enable rules for Data Exfiltration Detection, you'll need to enable the corresponding Anomaly Detection jobs. 
42- Go to the Kibana homepage. Under Analytics, click Machine Learning.
43- Under Anomaly Detection, click Jobs, and then click "Create job". Select the Data View containing your file events. For example, this would be `logs-endpoint.events.*` if you used Elastic Defend to collect events.
44- If the selected Data View contains events that match the query in [this](https://github.com/elastic/integrations/blob/main/packages/ded/kibana/ml_module/ded-ml.json) configuration file, you will see a card for Data Exfiltration Detection under "Use preconfigured jobs".
45- Keep the default settings and click "Create jobs" to start the anomaly detection jobs and datafeeds.
46"""
47references = [
48    "https://www.elastic.co/guide/en/security/current/prebuilt-ml-jobs.html",
49    "https://docs.elastic.co/en/integrations/ded",
50    "https://www.elastic.co/blog/detect-data-exfiltration-activity-with-kibanas-new-integration",
51]
52risk_score = 21
53rule_id = "e92c99b6-c547-4bb6-b244-2f27394bc849"
54severity = "low"
55tags = [
56    "Use Case: Data Exfiltration Detection",
57    "Rule Type: ML",
58    "Rule Type: Machine Learning",
59    "Tactic: Exfiltration",
60]
61type = "machine_learning"
62[[rule.threat]]
63framework = "MITRE ATT&CK"
64[[rule.threat.technique]]
65id = "T1011"
66name = "Exfiltration Over Other Network Medium"
67reference = "https://attack.mitre.org/techniques/T1011/"
68
69
70[rule.threat.tactic]
71id = "TA0010"
72name = "Exfiltration"
73reference = "https://attack.mitre.org/tactics/TA0010/"

References

Related rules

to-top