A library loaded into every program
A host’s ps and ls look normal, but /etc/ld.so.preload names a library that every dynamically linked program loads first. Read it, read its strings, and see what it hides.
- Terminal mission
- Advanced
- 4 questions
- 0 of 4 solved
Your goal
Your goalShow that a preloaded library is hiding files from every program on the host.
app-12 is sending traffic nobody can match to a process. ps, ls, and ss all look clean.
Every path in /etc/ld.so.preload is loaded into every dynamically linked program before its own libraries. A library there can replace readdir() and fopen() and hide files, processes, and sockets from every tool that uses them.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
app-12 · Persistence hunting
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Persistence hunting
The whole walkthrough
Every step in order: 295 words, about 2 min. It gives away every answer, so try the steps first.