f0rb1dd3n / Reptile

LKM Linux rootkit
2.54k stars 571 forks source link

headers problem #55

Closed confo10 closed 5 years ago

confo10 commented 5 years ago

hi, any idea how to fix this problem?

root@test2:/opt/Reptile # ./setup.sh install

############################################################################ ############################ REPTILE INSTALLER ############################# ############################################################################ written by: F0rb1dd3n

SELinux config found on system! Checking SELinux status... clear

Hide name (will be used to hide dirs/files) (default: reptile): Auth token to magic packets (default: hax0r): Backdoor password (default: s3cr3t): Tag name that hide file contents (default: reptile): Source port of magic packets (default: 666): Would you like to config reverse shell each X time? (y/n) (default: n):

Token: hax0r Backdoor password: s3cr3t SRC port: 666

TAGs to hide file contents:

content to be hidden

Configuring... DONE! Compiling... mkdir -p bin cd sbin && make reverse cmd make[1]: Entering directory '/opt/Reptile/sbin' make[1]: 'reverse' is up to date. make[1]: 'cmd' is up to date. make[1]: Leaving directory '/opt/Reptile/sbin' make -C /lib/modules/4.11.5-200.fc25.x86_64/build M=$PWD make[1]: /lib/modules/4.11.5-200.fc25.x86_64/build: No such file or directory. Stop. Makefile:2: recipe for target 'all' failed make: [all] Error 2 ERROR!

root@test2:/opt/Reptile # yum install kernel-devel Redirecting to '/usr/bin/dnf install kernel-devel' (see 'man yum2dnf')

Last metadata expiration check: 2:48:28 ago on Thu Dec 6 15:20:15 2018. Package kernel-devel-4.13.16-100.fc25.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! root@test2:/opt/Reptile # ls -al /lib/modules/4.11.5-200.fc25.x86_64/ total 14380 drwxr-xr-x. 5 root root 4096 Jun 20 2017 . drwxr-xr-x. 5 root root 4096 Dec 6 18:04 .. lrwxrwxrwx. 1 root root 39 Jun 14 2017 build -> /usr/src/kernels/4.11.5-200.fc25.x86_64 -rw-r--r--. 1 root root 185270 Jun 14 2017 config drwxr-xr-x. 13 root root 4096 Jun 20 2017 kernel -rw-r--r--. 1 root root 974994 Jun 20 2017 modules.alias -rw-r--r--. 1 root root 955399 Jun 20 2017 modules.alias.bin -rw-r--r--. 1 root root 1804 Jun 14 2017 modules.block -rw-r--r--. 1 root root 7554 Jun 14 2017 modules.builtin -rw-r--r--. 1 root root 9974 Jun 20 2017 modules.builtin.bin -rw-r--r--. 1 root root 334323 Jun 20 2017 modules.dep -rw-r--r--. 1 root root 472573 Jun 20 2017 modules.dep.bin -rw-r--r--. 1 root root 331 Jun 20 2017 modules.devname -rw-r--r--. 1 root root 153 Jun 14 2017 modules.drm -rw-r--r--. 1 root root 110 Jun 14 2017 modules.modesetting -rw-r--r--. 1 root root 2701 Jun 14 2017 modules.networking -rw-r--r--. 1 root root 126788 Jun 14 2017 modules.order -rw-r--r--. 1 root root 486 Jun 20 2017 modules.softdep -rw-r--r--. 1 root root 403343 Jun 20 2017 modules.symbols -rw-r--r--. 1 root root 493901 Jun 20 2017 modules.symbols.bin lrwxrwxrwx. 1 root root 5 Jun 14 2017 source -> build -rw-------. 1 root root 3550927 Jun 14 2017 System.map drwxr-xr-x. 2 root root 4096 Jun 14 2017 updates drwxr-xr-x. 2 root root 4096 Jun 20 2017 vdso -rwxr-xr-x. 1 root root 7137256 Jun 14 2017 vmlinuz -rw-r--r--. 1 root root 167 Jun 14 2017 .vmlinuz.hmac root@test2:/opt/Reptile # uname -a Linux test2 4.11.5-200.fc25.x86_64 #1 SMP Wed Jun 14 17:17:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux root@test2:/opt/Reptile # cat /proc/version Linux version 4.11.5-200.fc25.x86_64 (mockbuild@bkernel02.phx2.fedoraproject.org) (gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC) ) #1 SMP Wed Jun 14 17:17:29 UTC 2017 root@test2:/opt/Reptile # cat /etc/fedora-release Fedora release 25 (Twenty Five)

confo10 commented 5 years ago

ok. had to remove headers and reinstall them. reboot after that is mandatory! this solved my problem. so you can mark it as closed.

MRchen532 commented 5 years ago

What system are you using?

f0rb1dd3n commented 5 years ago

@confo10,

so I will close this issue. I am glad you figured it out. Reboot after header installation is really mandatory.