Spike in Number of Processes in an RDP Session

A machine learning job has detected unusually high number of processes started in a single RDP session. Executing a large number of processes remotely on other machines can be an indicator of lateral movement activity.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2023/10/12"
 3integration = ["lmd", "endpoint"]
 4maturity = "production"
 5updated_date = "2024/05/21"
 6
 7[rule]
 8anomaly_threshold = 70
 9author = ["Elastic"]
10description = """
11A machine learning job has detected unusually high number of processes started in a single RDP session. Executing a
12large number of processes remotely on other machines can be an indicator of lateral movement activity.
13"""
14from = "now-12h"
15interval = "15m"
16license = "Elastic License v2"
17machine_learning_job_id = "lmd_high_sum_rdp_number_of_processes"
18name = "Spike in Number of Processes in an RDP Session"
19references = [
20    "https://www.elastic.co/guide/en/security/current/prebuilt-ml-jobs.html",
21    "https://docs.elastic.co/en/integrations/lmd",
22    "https://www.elastic.co/blog/detecting-lateral-movement-activity-a-new-kibana-integration",
23    "https://www.elastic.co/blog/remote-desktop-protocol-connections-elastic-security",
24]
25risk_score = 21
26rule_id = "19e9daf3-f5c5-4bc2-a9af-6b1e97098f03"
27setup = """## Setup
28
29The 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.  
30
31### Lateral Movement Detection Setup
32The 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.
33
34#### Prerequisite Requirements:
35- Fleet is required for Lateral Movement Detection.
36- To configure Fleet Server refer to the [documentation](https://www.elastic.co/guide/en/fleet/current/fleet-server.html).
37- Windows RDP process events collected by the [Elastic Defend](https://docs.elastic.co/en/integrations/endpoint) integration.
38- To install Elastic Defend, refer to the [documentation](https://www.elastic.co/guide/en/security/current/install-endpoint.html).
39
40#### The following steps should be executed to install assets associated with the Lateral Movement Detection integration:
41- Go to the Kibana homepage. Under Management, click Integrations.
42- In the query bar, search for Lateral Movement Detection and select the integration to see more details about it.
43- Follow the instructions under the **Installation** section.
44- For this rule to work, complete the instructions through **Add preconfigured anomaly detection jobs**.
45"""
46severity = "low"
47tags = [
48    "Use Case: Lateral Movement Detection",
49    "Rule Type: ML",
50    "Rule Type: Machine Learning",
51    "Tactic: Lateral Movement",
52]
53type = "machine_learning"
54[[rule.threat]]
55framework = "MITRE ATT&CK"
56[[rule.threat.technique]]
57id = "T1210"
58name = "Exploitation of Remote Services"
59reference = "https://attack.mitre.org/techniques/T1210/"
60
61
62[rule.threat.tactic]
63id = "TA0008"
64name = "Lateral Movement"
65reference = "https://attack.mitre.org/tactics/TA0008/"

References

Related rules

to-top