You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[project]
2
2
name = "detection_rules"
3
-
version = "1.0.2"
3
+
version = "1.0.3"
4
4
description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine."
Copy file name to clipboardExpand all lines: rules/cross-platform/credential_access_cookies_chromium_browsers_debugging.toml
+38-42Lines changed: 38 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
[metadata]
2
2
creation_date = "2020/12/21"
3
3
integration = ["endpoint", "windows", "system"]
4
+
min_stack_comments = "Breaking change at 8.14.0 for the Windows Integration."
5
+
min_stack_version = "8.14.0"
4
6
maturity = "production"
5
-
updated_date = "2025/03/24"
7
+
updated_date = "2025/02/21"
6
8
7
9
[rule]
8
10
author = ["Elastic"]
@@ -25,41 +27,6 @@ language = "eql"
25
27
license = "Elastic License v2"
26
28
max_signals = 33
27
29
name = "Potential Cookies Theft via Browser Debugging"
28
-
note = """## Triage and analysis
29
-
30
-
> **Disclaimer**:
31
-
> This investigation guide was created using generative AI technology and has been reviewed to improve its accuracy and relevance. While every effort has been made to ensure its quality, we recommend validating the content and adapting it to suit your specific environment and operational needs.
32
-
33
-
### Investigating Potential Cookies Theft via Browser Debugging
34
-
35
-
Chromium-based browsers support debugging features that allow developers to inspect and modify web applications. Adversaries can exploit these features to access session cookies, enabling unauthorized access to web services. The detection rule identifies suspicious browser processes using debugging arguments, which may indicate cookie theft attempts, by monitoring specific process names and arguments across different operating systems.
36
-
37
-
### Possible investigation steps
38
-
39
-
- Review the process details to confirm the presence of suspicious debugging arguments such as "--remote-debugging-port=*", "--remote-debugging-targets=*", or "--remote-debugging-pipe=*". Check if these arguments were used in conjunction with "--user-data-dir=*" and ensure "--remote-debugging-port=0" is not present.
40
-
- Identify the user account associated with the suspicious browser process to determine if it aligns with expected behavior or if it might be compromised.
41
-
- Investigate the source IP address and network activity associated with the process to identify any unusual or unauthorized access patterns.
42
-
- Check for any recent changes or anomalies in the user's account activity, such as unexpected logins or access to sensitive applications.
43
-
- Correlate the event with other security alerts or logs to identify if this activity is part of a broader attack pattern or campaign.
44
-
- If possible, capture and analyze the network traffic associated with the process to detect any data exfiltration attempts or communication with known malicious IP addresses.
45
-
46
-
### False positive analysis
47
-
48
-
- Development and testing activities may trigger the rule when developers use debugging features for legitimate purposes. To manage this, create exceptions for known developer machines or user accounts frequently involved in web application development.
49
-
- Automated testing frameworks that utilize browser debugging for testing web applications can also cause false positives. Identify and exclude processes initiated by these frameworks by specifying their unique process names or user accounts.
50
-
- Browser extensions or tools that rely on debugging ports for functionality might be flagged. Review and whitelist these extensions or tools if they are verified as safe and necessary for business operations.
51
-
- Remote support or troubleshooting sessions using debugging features can be mistaken for suspicious activity. Implement a policy to log and review such sessions, allowing exceptions for recognized support tools or personnel.
52
-
- Continuous integration/continuous deployment (CI/CD) pipelines that involve browser automation may inadvertently match the rule criteria. Exclude these processes by identifying and filtering based on the CI/CD system's user accounts or process identifiers.
53
-
54
-
### Response and remediation
55
-
56
-
- Immediately isolate the affected system from the network to prevent further unauthorized access or data exfiltration.
57
-
- Terminate any suspicious browser processes identified with debugging arguments to stop potential cookie theft in progress.
58
-
- Conduct a thorough review of access logs for the affected web applications or services to identify any unauthorized access attempts using stolen cookies.
59
-
- Invalidate all active sessions for the affected user accounts and force a re-authentication to ensure that any stolen session cookies are rendered useless.
60
-
- Implement stricter browser security policies, such as disabling remote debugging features in production environments, to prevent similar exploitation in the future.
61
-
- Escalate the incident to the security operations team for further investigation and to determine if additional systems or data have been compromised.
62
-
- Enhance monitoring and alerting for similar suspicious browser activities by refining detection rules and incorporating additional threat intelligence."""
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
76
-
"""
77
38
severity = "medium"
78
39
tags = [
79
40
"Domain: Endpoint",
@@ -105,6 +66,41 @@ process where event.type in ("start", "process_started", "info") and
105
66
"--remote-debugging-pipe=*") and
106
67
process.args : "--user-data-dir=*" and not process.args:"--remote-debugging-port=0"
107
68
'''
69
+
note = """## Triage and analysis
70
+
71
+
> **Disclaimer**:
72
+
> This investigation guide was created using generative AI technology and has been reviewed to improve its accuracy and relevance. While every effort has been made to ensure its quality, we recommend validating the content and adapting it to suit your specific environment and operational needs.
73
+
74
+
### Investigating Potential Cookies Theft via Browser Debugging
75
+
76
+
Chromium-based browsers support debugging features that allow developers to inspect and modify web applications. Adversaries can exploit these features to access session cookies, enabling unauthorized access to web services. The detection rule identifies suspicious browser processes using debugging arguments, which may indicate cookie theft attempts, by monitoring specific process names and arguments across different operating systems.
77
+
78
+
### Possible investigation steps
79
+
80
+
- Review the process details to confirm the presence of suspicious debugging arguments such as "--remote-debugging-port=*", "--remote-debugging-targets=*", or "--remote-debugging-pipe=*". Check if these arguments were used in conjunction with "--user-data-dir=*" and ensure "--remote-debugging-port=0" is not present.
81
+
- Identify the user account associated with the suspicious browser process to determine if it aligns with expected behavior or if it might be compromised.
82
+
- Investigate the source IP address and network activity associated with the process to identify any unusual or unauthorized access patterns.
83
+
- Check for any recent changes or anomalies in the user's account activity, such as unexpected logins or access to sensitive applications.
84
+
- Correlate the event with other security alerts or logs to identify if this activity is part of a broader attack pattern or campaign.
85
+
- If possible, capture and analyze the network traffic associated with the process to detect any data exfiltration attempts or communication with known malicious IP addresses.
86
+
87
+
### False positive analysis
88
+
89
+
- Development and testing activities may trigger the rule when developers use debugging features for legitimate purposes. To manage this, create exceptions for known developer machines or user accounts frequently involved in web application development.
90
+
- Automated testing frameworks that utilize browser debugging for testing web applications can also cause false positives. Identify and exclude processes initiated by these frameworks by specifying their unique process names or user accounts.
91
+
- Browser extensions or tools that rely on debugging ports for functionality might be flagged. Review and whitelist these extensions or tools if they are verified as safe and necessary for business operations.
92
+
- Remote support or troubleshooting sessions using debugging features can be mistaken for suspicious activity. Implement a policy to log and review such sessions, allowing exceptions for recognized support tools or personnel.
93
+
- Continuous integration/continuous deployment (CI/CD) pipelines that involve browser automation may inadvertently match the rule criteria. Exclude these processes by identifying and filtering based on the CI/CD system's user accounts or process identifiers.
94
+
95
+
### Response and remediation
96
+
97
+
- Immediately isolate the affected system from the network to prevent further unauthorized access or data exfiltration.
98
+
- Terminate any suspicious browser processes identified with debugging arguments to stop potential cookie theft in progress.
99
+
- Conduct a thorough review of access logs for the affected web applications or services to identify any unauthorized access attempts using stolen cookies.
100
+
- Invalidate all active sessions for the affected user accounts and force a re-authentication to ensure that any stolen session cookies are rendered useless.
101
+
- Implement stricter browser security policies, such as disabling remote debugging features in production environments, to prevent similar exploitation in the future.
102
+
- Escalate the incident to the security operations team for further investigation and to determine if additional systems or data have been compromised.
103
+
- Enhance monitoring and alerting for similar suspicious browser activities by refining detection rules and incorporating additional threat intelligence."""
Copy file name to clipboardExpand all lines: rules/cross-platform/defense_evasion_timestomp_touch.toml
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
creation_date = "2020/11/03"
3
3
integration = ["endpoint"]
4
4
maturity = "production"
5
-
updated_date = "2025/03/24"
5
+
updated_date = "2025/01/15"
6
6
7
7
[rule]
8
8
author = ["Elastic"]
@@ -25,10 +25,6 @@ events will not define `event.ingested` and default fallback for EQL rules was n
25
25
Hence for this rule to work effectively, users will need to add a custom ingest pipeline to populate
26
26
`event.ingested` to @timestamp.
27
27
For more details on adding a custom ingest pipeline refer - https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html
28
-
29
-
### Additional notes
30
-
31
-
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
Copy file name to clipboardExpand all lines: rules/linux/credential_access_potential_linux_ssh_bruteforce_external.toml
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
creation_date = "2022/09/14"
3
3
integration = ["system"]
4
4
maturity = "production"
5
-
updated_date = "2025/03/24"
5
+
updated_date = "2025/01/15"
6
6
7
7
[rule]
8
8
author = ["Elastic"]
@@ -75,10 +75,6 @@ Filebeat is a lightweight shipper for forwarding and centralizing log data. Inst
75
75
- This rule requires the “Filebeat System Module” to be enabled.
76
76
- The system module collects and parses logs created by the system logging service of common Unix/Linux based distributions.
77
77
- To run the system module of Filebeat on Linux follow the setup instructions in the [helper guide](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-system.html).
78
-
79
-
### Additional notes
80
-
81
-
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
Copy file name to clipboardExpand all lines: rules/linux/credential_access_potential_linux_ssh_bruteforce_internal.toml
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
creation_date = "2023/02/21"
3
3
integration = ["system"]
4
4
maturity = "production"
5
-
updated_date = "2025/03/24"
5
+
updated_date = "2025/01/15"
6
6
7
7
[rule]
8
8
author = ["Elastic"]
@@ -71,10 +71,6 @@ Filebeat is a lightweight shipper for forwarding and centralizing log data. Inst
71
71
- This rule requires the “Filebeat System Module” to be enabled.
72
72
- The system module collects and parses logs created by the system logging service of common Unix/Linux based distributions.
73
73
- To run the system module of Filebeat on Linux follow the setup instructions in the [helper guide](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-system.html).
74
-
75
-
### Additional notes
76
-
77
-
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
@@ -93,10 +93,6 @@ Auditbeat is a lightweight shipper that you can install on your servers to audit
93
93
94
94
#### Custom Ingest Pipeline
95
95
For versions <8.2, you need to add a custom ingest pipeline to populate `event.ingested` with @timestamp for non-elastic-agent indexes, like auditbeats/filebeat/winlogbeat etc. For more details to add a custom ingest pipeline refer to the [guide](https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html).
96
-
97
-
### Additional notes
98
-
99
-
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
Copy file name to clipboardExpand all lines: rules/linux/defense_evasion_hidden_file_dir_tmp.toml
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
creation_date = "2020/04/29"
3
3
integration = ["endpoint"]
4
4
maturity = "production"
5
-
updated_date = "2025/03/24"
5
+
updated_date = "2025/02/04"
6
6
7
7
[rule]
8
8
author = ["Elastic"]
@@ -64,10 +64,6 @@ Auditbeat is a lightweight shipper that you can install on your servers to audit
64
64
65
65
#### Custom Ingest Pipeline
66
66
For versions <8.2, you need to add a custom ingest pipeline to populate `event.ingested` with @timestamp for non-elastic-agent indexes, like auditbeats/filebeat/winlogbeat etc. For more details to add a custom ingest pipeline refer to the [guide](https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html).
67
-
68
-
### Additional notes
69
-
70
-
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
@@ -92,10 +92,6 @@ Auditbeat is a lightweight shipper that you can install on your servers to audit
92
92
93
93
#### Custom Ingest Pipeline
94
94
For versions <8.2, you need to add a custom ingest pipeline to populate `event.ingested` with @timestamp for non-elastic-agent indexes, like auditbeats/filebeat/winlogbeat etc. For more details to add a custom ingest pipeline refer to the [guide](https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html).
95
-
96
-
### Additional notes
97
-
98
-
For information about troubleshooting maximum alerts warning please refer to this [guide](https://www.elastic.co/guide/en/security/current/alerts-ui-monitor.html#troubleshoot-max-alerts).
0 commit comments