-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Procmon for linux #1427
Procmon for linux #1427
Conversation
Can one of the admins verify this patch? |
@drakvuf-jenkins Test this please |
Fantastic addition, thanks for sending the PR. |
Sorry, my bad, i fixed problems🙈 |
@drakvuf-jenkins Test this please |
After researching the error for which the pipeline does not pass, I came to the following conclusion:
// Ubuntu 20.04
"do_execveat_common.isra.0": {
"type": {
"kind": "base",
"name": "void"
},
"address": 281472849310624
}
// Debian 11
"do_execveat_common": {
"type": {
"kind": "base",
"name": "void"
},
"address": 281472848932752
}, As you can see the name is different.
As addition, debian 11 can't just be installed in xen, like ubuntu, for example (more information, Tested Debian version:
|
The plugin should just print a debug message that an old unsupported kernel is detected and exit out gracefully instead of erroring. |
@drakvuf-jenkins Test this please |
LGTM |
|
Hi, I have added support for linux systems for the procmon plugin.
The plugin was tested on the following system:
Linux ubuntu 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal
I note that this plugin will not work on kernel versions below 5.9, because the plugin is based on
do_execveat_common
to which allsys_execve
calls come in newer version.I also upgrade the
linux_get_process_name
function, which can now output the full name of the process, and therefore also improves thefiletracer
plugin. Now, instead of the shortcomm
name, the full name of the process is printed.As an example, the output of the plugin: