Ptrace
Event generated when a ptrace
syscall is issued. .data.mode
reflects the ptrace
mode as defined in Linux Kernel headers
caution
So far this events fires only when mode
contains PTRACE_MODE_ATTACH
flag
{
"data": {
"ancestors": "/usr/lib/systemd/systemd|/usr/bin/login|/usr/bin/zsh|/usr/bin/bash|/usr/bin/xinit|/usr/bin/i3|/usr/bin/bash|/usr/bin/urxvt|/usr/bin/zsh|/usr/bin/bash",
"command_line": "gdb -p 935306",
"exe": {
"path": "/usr/bin/gdb"
},
"mode": "0xa",
"target": {
"command_line": "sleep 10",
"exe": {
"path": "/usr/bin/sleep"
},
"task": {
"name": "sleep",
"pid": 935306,
"tgid": 935306,
"guuid": "8c91a438-a93f-0200-2f3d-83cf8a450e00",
"uid": 1000,
"gid": 1000,
"namespaces": {
"mnt": 4026531841
},
"flags": "0x400000"
}
}
},
"info": {
"host": "...",
"event": {
"source": "kunai",
"id": 9,
"name": "ptrace",
"uuid": "d6a3fb85-c7cd-1966-be39-f05efc29372a",
"batch": 578
},
"task": "...",
"parent_task": "...",
"utc_time": "2024-11-04T15:10:20.061897435Z"
}
}