gianlucaborello / libprocesshider

Hide a process under Linux using the ld preloader (https://sysdig.com/blog/hiding-linux-processes-for-fun-and-profit/)
1.03k stars 321 forks source link

Raspberry Pi 4 (Buster) 32bit from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. #13

Open gaamaaresosa opened 2 years ago

gaamaaresosa commented 2 years ago

Your solution seems working partially, but with fails in many conditions.

I tried -marm for Raspberry Pi 4 and still same issue gcc -Wall -marm -fPIC -shared -o libprocesshider.so processhider.c -ldl

My ld.so.preload file lines: (First line is the default for all Rasp Pi) /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so /usr/$LIB/libprocesshider.so

I placed the libprocesshider.so at /usr/lib/ and /usr/local/lib/ also, still same issue

First of all after these steps, my Pycharm does run at all and showing below error ' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/usr/$LIB/libprocesshider.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. Process finished with exit code 129

Please help me !

Paper-Dragon commented 5 months ago

also