feat(R1016): add Signed Profile Tampered rule (metadata-only)#40
feat(R1016): add Signed Profile Tampered rule (metadata-only)#40matthyx wants to merge 1 commit into
Conversation
|
Warning Review limit reached
More reviews will be available in 27 minutes and 35 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
R1016 "Signed profile tampered" is emitted by node-agent's tamper-detection code path (pkg/objectcache/containerprofilecache/tamper_alert.go) when a cryptographically signed user-managed ApplicationProfile or NetworkNeighborhood is loaded and its signature is present but no longer valid. It is code-emitted, not eBPF/CEL-driven, so the entry carries no eventType and an empty ruleExpression — the engine registers its metadata (name, severity 10, MITRE TA0005/T1562, tags) but never CEL-evaluates it. Adding it here keeps rulelibrary the single source of truth; node-agent's bundled default-rules.yaml is synced from the regenerated rules-crd.yaml. Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
6b184b0 to
fb46ba0
Compare
Adds R1016 "Signed profile tampered" to the rule library as the single source of truth, so it flows into node-agent's bundled
default-rules.yamlvia the normalrules-crd.yamlsync.Why metadata-only
R1016 is code-emitted by node-agent's tamper-detection path (
pkg/objectcache/containerprofilecache/tamper_alert.go) when a cryptographically signed user-managedApplicationProfile/NetworkNeighborhoodis loaded and its signature is present but no longer valid. It is not triggered by an eBPF event, so — unlike every other rule here — it carries noeventTypeand an emptyruleExpression. node-agent's engine (rulecreator.CreateRulesByEventType) iteratesruleExpression[].eventType, so an empty list means the rule's metadata is registered but it is never CEL-evaluated (no spurious firing).Contents
pkg/rules/r1016-signed-profile-tampered/signed-profile-tampered.yaml— name, id, description, severity 10 (Critical), MITRE Defense Evasion / Impair Defenses (TA0005 / T1562), tags,isTriggerAlert: true, emptyruleExpression.pkg/rules/r1016-signed-profile-tampered/README.mdrules-crd.yaml(R1016 inserted between R1015 and R1030; 30 rules total).Companion to node-agent #808 (signing & tamper detection); node-agent's
default-rules.yamlwill be synced from this.🤖 Generated with Claude Code