Machine Learning Detected a Suspicious Windows Event with a High Malicious Probability Score

A supervised machine learning model (ProblemChild) has identified a suspicious Windows process event with high probability of it being malicious activity. Alternatively, the model's blocklist identified the event as being malicious.

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]
10author = ["Elastic"]
11description = """
12A supervised machine learning model (ProblemChild) has identified a suspicious Windows process event with high
13probability of it being malicious activity. Alternatively, the model's blocklist identified the event as being
14malicious.
15"""
16from = "now-10m"
17index = ["endgame-*", "logs-endpoint.events.process-*", "winlogbeat-*"]
18language = "eql"
19license = "Elastic License v2"
20name = "Machine Learning Detected a Suspicious Windows Event with a High Malicious Probability Score"
21references = [
22    "https://www.elastic.co/guide/en/security/current/prebuilt-ml-jobs.html",
23    "https://docs.elastic.co/en/integrations/problemchild",
24    "https://www.elastic.co/security-labs/detecting-living-off-the-land-attacks-with-new-elastic-integration",
25]
26risk_score = 73
27rule_id = "994e40aa-8c85-43de-825e-15f665375ee8"
28setup = """## Setup
29
30The 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.  
31
32### LotL Attack Detection Setup
33The LotL Attack Detection integration detects living-off-the-land activity in Windows process events.
34
35#### Prerequisite Requirements:
36- Fleet is required for LotL Attack Detection.
37- To configure Fleet Server refer to the [documentation](https://www.elastic.co/guide/en/fleet/current/fleet-server.html).
38- 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).
39- To install Elastic Defend, refer to the [documentation](https://www.elastic.co/guide/en/security/current/install-endpoint.html).
40- To set up and run Winlogbeat, follow [this](https://www.elastic.co/guide/en/beats/winlogbeat/current/winlogbeat-installation-configuration.html) guide.
41
42#### The following steps should be executed to install assets associated with the LotL Attack Detection integration:
43- Go to the Kibana homepage. Under Management, click Integrations.
44- In the query bar, search for Living off the Land Attack Detection and select the integration to see more details about it.
45- Follow the instructions under the **Installation** section.
46- For this rule to work, complete the instructions through **Configure the ingest pipeline**.
47"""
48severity = "high"
49tags = [
50    "OS: Windows",
51    "Data Source: Elastic Endgame",
52    "Use Case: Living off the Land Attack Detection",
53    "Rule Type: ML",
54    "Rule Type: Machine Learning",
55    "Tactic: Defense Evasion",
56    "Data Source: Elastic Defend",
57]
58timestamp_override = "event.ingested"
59type = "eql"
60
61query = '''
62process where ((problemchild.prediction == 1 and problemchild.prediction_probability > 0.98) or
63blocklist_label == 1) and not process.args : ("*C:\\WINDOWS\\temp\\nessus_*.txt*", "*C:\\WINDOWS\\temp\\nessus_*.tmp*")
64'''
65
66
67[[rule.threat]]
68framework = "MITRE ATT&CK"
69[[rule.threat.technique]]
70id = "T1036"
71name = "Masquerading"
72reference = "https://attack.mitre.org/techniques/T1036/"
73[[rule.threat.technique.subtechnique]]
74id = "T1036.004"
75name = "Masquerade Task or Service"
76reference = "https://attack.mitre.org/techniques/T1036/004/"
77
78
79
80[rule.threat.tactic]
81id = "TA0005"
82name = "Defense Evasion"
83reference = "https://attack.mitre.org/tactics/TA0005/"

References

Related rules

to-top