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: rules/cross-platform/credential_access_cookies_chromium_browsers_debugging.toml
+36-38Lines changed: 36 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
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"
6
4
maturity = "production"
7
-
updated_date = "2025/02/21"
5
+
updated_date = "2025/03/20"
8
6
9
7
[rule]
10
8
author = ["Elastic"]
@@ -27,6 +25,41 @@ language = "eql"
27
25
license = "Elastic License v2"
28
26
max_signals = 33
29
27
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."""
@@ -66,41 +99,6 @@ process where event.type in ("start", "process_started", "info") and
66
99
"--remote-debugging-pipe=*") and
67
100
process.args : "--user-data-dir=*" and not process.args:"--remote-debugging-port=0"
68
101
'''
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."""
0 commit comments