Skip to content
?
Cyber Interview Questions
?
Questions
Quiz
Interview
Guides
Search
Home
Quiz
Penetration Tester
Quiz for
Penetration Tester
1 / 12
30s · 0 pts
You set LD_PRELOAD to your own library and run a setuid-root binary. Does your library load?
1
No — in secure-execution mode the linker ignores preload paths with slashes, so a library in your own directory is not loaded.
2
No — setuid binaries are always statically linked, so there is no dynamic linker to read the variable.
3
Yes — LD_PRELOAD is honored for every ELF binary, so your library loads first and runs with root privileges.
4
Yes — but only if the library is owned by root, in which case it runs with the binary's elevated privileges.
Tip: press 1–4 to answer, Enter for next.