Closed
Description
Description
Looking at this code block here, it doesn't seem like binary_sha256
of the binary in question is being computed, even if the binary_info
optional field is set:
gvisor/pkg/sentry/kernel/task_exec.go
Lines 312 to 343 in d949e71
We were hoping to make use of it for threat detection.
Steps to reproduce
This was the /etc/falco/pod-init.json
we were trying.
{
"trace_session": {
...
"points": [
...
{
"context_fields": [
"cwd",
"credentials",
"container_id",
"thread_id",
"task_start_time",
"time",
],
"optional_fields": [
"binary_info"
],
"name": "sentry/execve"
}
],
}
}
runsc version
runsc version release-20250203.0
spec: 1.1.0-rc.1
docker version (if using docker)
uname
Linux ip-10-1-5-221.ec2.internal 5.15.0-302.167.6.1.el9uek.x86_64 #2 SMP Thu Nov 21 21:48:29 PST 2024 x86_64 x86_64 x86_64 GNU/Linux
kubectl (if using Kubernetes)
repo state (if built from source)
No response