|
|
|
|
|
by psacawa
1465 days ago
|
|
I don't know what the correct thing to do, but you can easily detect processes that have the LD_PRELOAD environment variable defined. This is a rare enough use case for manual inspection. Something like ```
for f in /proc/*/environ ; do sudo strings $f | >/dev/null grep LD_PRELOAD && echo $f; done
``` |
|
2. I'd suggest against using `strings` (let alone with sudo) on attacker controlled inputs