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 e0ae4be1fafe8164b3b644eeed15c76c39866a3e
parent f9fc2c00a534e6f30a6c12b7de78cf46d2a019ef
Author: Tizian Leonhardt <tizianleonhardt@web.de>
Date:   Sun, 29 Nov 2020 23:23:53 +0100

Add comment regarding msleep

Diffstat:
Msrc/backdoor.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/backdoor.c b/src/backdoor.c @@ -65,6 +65,8 @@ unbackdoor(void) int cur; + //Sleeping here is very important, as without it + //we would stall the CPU.. while ((cur = atomic_read(&read_count)) > 0) { DEBUG_INFO("Waiting for %d tasks", cur); msleep(250);