A service that restarts itself
An unfamiliar service on build-03 keeps reconnecting to an outside address. Use systemctl to find the unit, read the unit file, and identify the binary it starts.
- Terminal mission
- Intermediate
- 3 questions
- 0 of 3 solved
Your goal
Your goalFind the service that keeps reconnecting outside, the program it starts, and where it calls.
Egress logs show build-03 opening a connection to the same outside address roughly every thirty seconds whenever the previous one drops.
A service with Restart=always would behave like that. Units that administrators add live in /etc/systemd/system; packaged units live in /lib/systemd/system.
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.
build-03 · 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.
More in Persistence hunting
The whole walkthrough
Every step in order: 299 words, about 2 min. It gives away every answer, so try the steps first.