Skip to content

Commit 7c0e600

Browse files
committed
[Rule Tuning] Credential Access via TruffleHog Execution
1 parent 18d249a commit 7c0e600

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

rules/cross-platform/credential_access_trufflehog_execution.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2025/09/18"
33
integration = ["endpoint"]
44
maturity = "production"
5-
updated_date = "2025/10/06"
5+
updated_date = "2025/11/25"
66

77
[rule]
88
author = ["Elastic"]
@@ -54,7 +54,10 @@ This rule flags TruffleHog executed to scan the local filesystem with verified J
5454
- Escalate to full incident response if trufflehog ran under a service account, on a build server/CI runner, or if any discovered secret was used to authenticate to external git remotes (e.g., github.com), cloud APIs, or private registries in the same session.
5555
- Harden by blocking unapproved trufflehog execution via application control, moving approved secret scanning to a locked-down pipeline, enforcing short-lived PATs and key rotation, enabling egress filtering from developer hosts/runners, and deploying fleet-wide detections for "trufflehog --results=verified --json filesystem".
5656
"""
57-
references = ["https://www.elastic.co/blog/shai-hulud-worm-npm-supply-chain-compromise"]
57+
references = [
58+
"https://www.elastic.co/blog/shai-hulud-worm-npm-supply-chain-compromise",
59+
"https://socket.dev/blog/shai-hulud-strikes-again-v2",
60+
]
5861
risk_score = 21
5962
rule_id = "47595dea-452b-4d37-b82d-6dd691325139"
6063
severity = "low"
@@ -72,7 +75,7 @@ timestamp_override = "event.ingested"
7275
type = "eql"
7376
query = '''
7477
process where event.type == "start" and process.name : ("trufflehog.exe", "trufflehog") and
75-
process.args == "--results=verified" and process.args == "--json" and process.args == "filesystem"
78+
process.args == "--json" and process.args == "filesystem"
7679
'''
7780

7881
[[rule.threat]]

0 commit comments

Comments
 (0)