add deploy-stack skill; falco: fix hook-tamper condition, add three more post-incident rules

git-hook-tamper.yaml's condition used proc.exepath, which resolves to the
script interpreter's path (e.g. /bin/busybox) for shebang scripts, not the
script's own path - switched to proc.cmdline, which retains the originally
invoked path. Confirmed via live-testing both ways.

ssh-persistence/cloud-metadata-probe/db-spawned-process round out the
post-incident hardening pass with a few more incubating-ruleset adaptations.
This commit is contained in:
2026-08-16 14:33:56 +00:00
parent 9bf72f8e19
commit 2ed0565486
6 changed files with 172 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
condition: >
spawned_process
and container.name = "gitea"
and proc.exepath contains "/hooks/"
and proc.cmdline contains "/hooks/"
and not proc.name in (gitea_managed_hook_names)
output: >
Unexpected git hook executed