f0rb1dd3n / Reptile

LKM Linux rootkit
2.53k stars 571 forks source link

Error on running make #104

Open dutta-alankar opened 3 years ago

dutta-alankar commented 3 years ago

make fails on CentOS with the following error. Please help.

make[1]: Entering directory `/root/comp_test/new/Reptile/userland'
  CC      /root/comp_test/new/Reptile/output/shell
  CC      /root/comp_test/new/Reptile/output/cmd
make[1]: Leaving directory `/root/comp_test/new/Reptile/userland'
  CC      /root/comp_test/new/Reptile/output/encrypt
make[1]: Entering directory `/usr/src/kernels/3.10.0-1160.15.2.el7.x86_64'
  LD      /root/comp_test/new/Reptile/output/built-in.o
  CC [M]  /root/comp_test/new/Reptile/output/main.o
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_arch_lde_get_length()+0x1b: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_exit_creds()+0xb: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_find_task_by_vpid()+0x7: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_sm_init_hooks()+0x128: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_sm_cleanup_hooks()+0x44: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_unmap()+0xb6: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_vfs_statx()+0x19: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_sys_kill()+0x28: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook___x64_sys_kill()+0x21: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_fillonedir()+0x26: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_filldir()+0x26: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_filldir64()+0x26: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_compat_fillonedir()+0x26: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_compat_filldir()+0x26: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_compat_filldir64()+0x26: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook___d_lookup()+0x13: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_vfs_read()+0x16: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_copy_creds()+0xb: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_tcp4_seq_show()+0x47: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_udp4_seq_show()+0x47: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_ip_rcv()+0x12: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_load_elf_binary()+0xc: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_map()+0x14e: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_audit_alloc()+0xe: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_inet_ioctl()+0x65: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_init()+0x21: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: khook_cleanup()+0x0: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: reptile_init()+0xf: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/main.o: warning: objtool: reptile_exit()+0x11: call without frame pointer save/setup
  CC [M]  /root/comp_test/new/Reptile/output/string_helpers.o
/root/comp_test/new/Reptile/output/string_helpers.o: warning: objtool: string_escape_mem()+0xd6: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/string_helpers.o: warning: objtool: kstrdup_quotable()+0x2d: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/string_helpers.o: warning: objtool: kstrdup_quotable_cmdline()+0x1a: call without frame pointer save/setup
  CC [M]  /root/comp_test/new/Reptile/output/util.o
/root/comp_test/new/Reptile/output/util.o: warning: objtool: util_init()+0x1f: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/util.o: warning: objtool: get_cmdline()+0x19: call without frame pointer save/setup
  CC [M]  /root/comp_test/new/Reptile/output/backdoor.o
/root/comp_test/new/Reptile/output/backdoor.o: warning: objtool: shell_execer()+0x71: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/backdoor.o: warning: objtool: shell_exec_queue()+0x1f: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/backdoor.o: warning: objtool: magic_packet_parse()+0xfc: call without frame pointer save/setup
  CC [M]  /root/comp_test/new/Reptile/output/proc.o
/root/comp_test/new/Reptile/output/proc.o: warning: objtool: flag_tasks()+0x4: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/proc.o: warning: objtool: is_proc_invisible.part.0()+0x4: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/proc.o: warning: objtool: is_proc_invisible()+0x10: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/proc.o: warning: objtool: is_proc_invisible_2()+0x24: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/proc.o: warning: objtool: hide_proc()+0x18: call without frame pointer save/setup
  CC [M]  /root/comp_test/new/Reptile/output/dir.o
/root/comp_test/new/Reptile/output/dir.o: warning: objtool: is_name_invisible()+0x16: call without frame pointer save/setup
  CC [M]  /root/comp_test/new/Reptile/output/file.o
/root/comp_test/new/Reptile/output/file.o: warning: objtool: file_check()+0x1f: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/file.o: warning: objtool: hide_content()+0x16: call without frame pointer save/setup
  CC [M]  /root/comp_test/new/Reptile/output/network.o
  CC [M]  /root/comp_test/new/Reptile/output/module.o
/root/comp_test/new/Reptile/output/module.o: warning: objtool: hide()+0x11: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/module.o: warning: objtool: show()+0x11: call without frame pointer save/setup
/root/comp_test/new/Reptile/output/module.o: warning: objtool: hide_module()+0x18: call without frame pointer save/setup
  LD [M]  /root/comp_test/new/Reptile/output/reptile_module.o
  Building modules, stage 2.
  MODPOST 0 modules
make[1]: Leaving directory `/usr/src/kernels/3.10.0-1160.15.2.el7.x86_64'
Can't open /root/comp_test/new/Reptile/output/reptile_module.ko for reading
make: *** [kmatryoshka] Error 255