# It should be excuted in root
cargo install bpf-linker
# Maybe you will encounter that the cc is missing
# Just install it
apt update
apt install build-essential
cargo xtask build
To perform a release build you can use the --release
flag.
You may also change the target architecture with the --target
flag.
RUST_LOG=info cargo xtask run -- --pid 123456
It will also help you open the LOG functions.
cat /sys/kernel/debug/tracing/events/syscalls/sys_enter_getdents64/format
cat /sys/kernel/debug/tracing/events/syscalls/sys_exit_getdents64/format
It can hide the pid of our rootkits. Although it is just a toy now.
Aya Discord members, I couldn't finish this job without your selfness help and patient answers.
ChatGpt, Thanks for your company, Thanks for you help resolving terrbile problems with me.
Doc.ChongHaoRen, Thanks for your scientific methodology view, which makes me overcome some narrow viewpoints, makes me solve problems more flexibly.