Unusual Process Spawned by a User

A machine learning job has detected a suspicious Windows process. This process has been classified as malicious in two ways. It was predicted to be malicious by the ProblemChild supervised ML model, and it was found to be suspicious given that its user context is unusual and does not commonly manifest malicious activity,by an unsupervised ML model. Such a process may be an instance of suspicious or malicious activity, possibly involving LOLbins, that may be resistant to detection using conventional search rules.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2023/10/16"
 3integration = ["problemchild", "endpoint", "windows"]
 4maturity = "production"
 5updated_date = "2024/10/28"
 6min_stack_version = "8.14.0"
 7min_stack_comments = "Breaking change at 8.14.0 for the Windows Integration."
 8
 9[rule]
10anomaly_threshold = 75
11author = ["Elastic"]
12description = """
13A machine learning job has detected a suspicious Windows process. This process has been classified as malicious in two
14ways. It was predicted to be malicious by the ProblemChild supervised ML model, and it was found to be suspicious given
15that its user context is unusual and does not commonly manifest malicious activity,by an unsupervised ML model. Such a
16process may be an instance of suspicious or malicious activity, possibly involving LOLbins, that may be resistant to
17detection using conventional search rules.
18"""
19from = "now-45m"
20interval = "15m"
21license = "Elastic License v2"
22machine_learning_job_id = "problem_child_rare_process_by_user"
23name = "Unusual Process Spawned by a User"
24references = [
25    "https://www.elastic.co/guide/en/security/current/prebuilt-ml-jobs.html",
26    "https://docs.elastic.co/en/integrations/problemchild",
27    "https://www.elastic.co/security-labs/detecting-living-off-the-land-attacks-with-new-elastic-integration",
28]
29risk_score = 21
30rule_id = "40155ee4-1e6a-4e4d-a63b-e8ba16980cfb"
31setup = """## Setup
32
33The rule requires the Living off the Land (LotL) Attack Detection integration assets to be installed, as well as Windows process events collected by integrations such as Elastic Defend or Winlogbeat.  
34
35### LotL Attack Detection Setup
36The LotL Attack Detection integration detects living-off-the-land activity in Windows process events.
37
38#### Prerequisite Requirements:
39- Fleet is required for LotL Attack Detection.
40- To configure Fleet Server refer to the [documentation](https://www.elastic.co/guide/en/fleet/current/fleet-server.html).
41- Windows process events collected by the [Elastic Defend](https://docs.elastic.co/en/integrations/endpoint) integration or Winlogbeat(https://www.elastic.co/guide/en/beats/winlogbeat/current/_winlogbeat_overview.html).
42- To install Elastic Defend, refer to the [documentation](https://www.elastic.co/guide/en/security/current/install-endpoint.html).
43- To set up and run Winlogbeat, follow [this](https://www.elastic.co/guide/en/beats/winlogbeat/current/winlogbeat-installation-configuration.html) guide.
44
45#### The following steps should be executed to install assets associated with the LotL Attack Detection integration:
46- Go to the Kibana homepage. Under Management, click Integrations.
47- In the query bar, search for Living off the Land Attack Detection and select the integration to see more details about it.
48- Follow the instructions under the **Installation** section.
49- For this rule to work, complete the instructions through **Add preconfigured anomaly detection jobs**.
50"""
51severity = "low"
52tags = [
53    "Domain: Endpoint",
54    "OS: Windows",
55    "Use Case: Living off the Land Attack Detection",
56    "Rule Type: ML",
57    "Rule Type: Machine Learning",
58    "Tactic: Defense Evasion",
59]
60type = "machine_learning"
61[[rule.threat]]
62framework = "MITRE ATT&CK"
63[[rule.threat.technique]]
64id = "T1036"
65name = "Masquerading"
66reference = "https://attack.mitre.org/techniques/T1036/"
67
68
69[rule.threat.tactic]
70id = "TA0005"
71name = "Defense Evasion"
72reference = "https://attack.mitre.org/tactics/TA0005/"

References

Related rules

to-top