Skip to content

Commit 544e2e8

Browse files
committed
fix: block /usr/local/share/clawedr (policy, monitor) — agent was reading rule files
Made-with: Cursor
1 parent 2be9793 commit 544e2e8

File tree

4 files changed

+189
-160
lines changed

4 files changed

+189
-160
lines changed

builder/master_rules.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ rule_metadata:
5959
PATH-LIN-011: { description: "User kubeconfig; enables Kubernetes cluster takeover", severity: critical }
6060
PATH-LIN-012: { description: "Docker socket; enables container escape and host takeover", severity: critical }
6161
PATH-LIN-013: { description: "ClawEDR config; contains exemptions and custom rules — prevents policy tampering", severity: critical }
62+
PATH-LIN-017: { description: "ClawEDR install dir; compiled policy, monitor, rules — prevents policy tampering", severity: critical }
6263

6364
PATH-MAC-020: { description: "ClawEDR config; contains exemptions and custom rules — prevents policy tampering", severity: critical }
65+
PATH-MAC-023: { description: "ClawEDR install dir; compiled policy and rules — prevents policy tampering", severity: critical }
6466

6567
# Blocked domains
6668
DOM-001: { description: "Monero mining pool; cryptojacking and resource theft", severity: high }
@@ -221,6 +223,7 @@ blocked_paths:
221223
# System
222224
PATH-MAC-019: "/Library/Preferences/SystemConfiguration"
223225
PATH-MAC-020: "/etc/clawedr"
226+
PATH-MAC-023: "/usr/local/share/clawedr"
224227
linux:
225228
PATH-LIN-001: "/root/.ssh"
226229
PATH-LIN-002: "/etc/shadow"
@@ -237,6 +240,7 @@ blocked_paths:
237240
PATH-LIN-011: "/home/*/.kube/config"
238241
PATH-LIN-012: "/var/run/docker.sock"
239242
PATH-LIN-013: "/etc/clawedr"
243+
PATH-LIN-017: "/usr/local/share/clawedr"
240244

241245
# ── Blocked domains ───────────────────────────────────────────────────────
242246
# Known mining pools and C2 infrastructure. The threat feed adds more.

0 commit comments

Comments
 (0)