Unusual Remote File Extension

An anomaly detection job has detected a remote file transfer with a rare extension, which could indicate potential lateral movement activity on the host.

Elastic rule (View on GitHub)

 2creation_date = "2023/10/12"
 3integration = ["lmd", "endpoint"]
 4maturity = "production"
 5min_stack_comments = "LMD package job ID and rule removal updates"
 6min_stack_version = "8.9.0"
 7updated_date = "2023/12/12"
10anomaly_threshold = 70
11author = ["Elastic"]
12description = """
13An anomaly detection job has detected a remote file transfer with a rare extension, which could indicate potential
14lateral movement activity on the host.
16from = "now-90m"
17interval = "15m"
18license = "Elastic License v2"
19machine_learning_job_id = "lmd_rare_file_extension_remote_transfer"
20name = "Unusual Remote File Extension"
21setup = """## Setup
23The rule requires the Lateral Movement Detection integration assets to be installed, as well as file and Windows RDP process events collected by the Elastic Defend integration.  
25### Lateral Movement Detection Setup
26The Lateral Movement Detection integration detects lateral movement activity by identifying abnormalities in file and Windows RDP events. Anomalies are detected using Elastic's Anomaly Detection feature.
28#### Prerequisite Requirements:
29- Fleet is required for Lateral Movement Detection.
30- To configure Fleet Server refer to the [documentation](https://www.elastic.co/guide/en/fleet/current/fleet-server.html).
31- File events collected by the [Elastic Defend](https://docs.elastic.co/en/integrations/endpoint) integration.
32- To install Elastic Defend, refer to the [documentation](https://www.elastic.co/guide/en/security/current/install-endpoint.html).
34#### The following steps should be executed to install assets associated with the Lateral Movement Detection integration:
35- Go to the Kibana homepage. Under Management, click Integrations.
36- In the query bar, search for Lateral Movement Detection and select the integration to see more details about it.
37- Under Settings, click Install Lateral Movement Detection assets and follow the prompts to install the assets.
39#### Anomaly Detection Setup
40Before you can enable rules for Lateral Movement Detection, you'll need to enable the corresponding Anomaly Detection jobs.
41- Go to the Kibana homepage. Under Analytics, click Machine Learning.
42- 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.
43- If the selected Data View contains events that match the query in [this](https://github.com/elastic/integrations/blob/main/packages/lmd/kibana/ml_module/lmd-ml.json) configuration file, you will see a card for Lateral Movement Detection under "Use preconfigured jobs".
44- Keep the default settings and click "Create jobs" to start the anomaly detection jobs and datafeeds.
46references = [
47    "https://www.elastic.co/guide/en/security/current/prebuilt-ml-jobs.html",
48    "https://docs.elastic.co/en/integrations/lmd",
49    "https://www.elastic.co/blog/detecting-lateral-movement-activity-a-new-kibana-integration",
50    "https://www.elastic.co/blog/remote-desktop-protocol-connections-elastic-security",
52risk_score = 21
53rule_id = "814d96c7-2068-42aa-ba8e-fe0ddd565e2e"
54severity = "low"
55tags = [
56    "Use Case: Lateral Movement Detection",
57    "Rule Type: ML",
58    "Rule Type: Machine Learning",
59    "Tactic: Lateral Movement",
61type = "machine_learning"
63framework = "MITRE ATT&CK"
65id = "T1210"
66name = "Exploitation of Remote Services"
67reference = "https://attack.mitre.org/techniques/T1210/"
71id = "TA0008"
72name = "Lateral Movement"
73reference = "https://attack.mitre.org/tactics/TA0008/"


Related rules