-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TC program compilation __stack_chk_fail not supported #41
Comments
@yasindce1998 can you check the distro and version you are using?
The rootkit has only been tested in Ubuntu 21.04, if you are using this version already, which clang version are you on?
|
@h3xduck Apologies for the late response and Thank you for reviewing it. ➜ ~ lsb_release -a
LSB Version: n/a
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
➜ ~ clang -v
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/12.1.0
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/12.1.0
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/12.1.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
➜ ~ Extra informations
|
Yeah we didn't test the rootkit on Arch, you will have to use Ubuntu 21.04 if you want to compile it. For the record, these are issues with using TripleCross in a different distro and version that I can think of:
We may extend it to other versions in the future, but for now you may need to patch it yourself or switch to the supported system. |
@h3xduck Thank you! I can switch to Ubuntu 21.04. Thank you for the clarification! |
1. use `-fno-stack-protector` to remove `__stack_chk_fail` symbol 2. use `-L` to specify libbpf library paths Signed-off-by: void0red <void0red@gmail.com>
Originally posted by @yasindce1998 in #39 (comment)
The text was updated successfully, but these errors were encountered: