Post-exploitation and Lateral Movement

A tester has a shell as an unprivileged service account on a Linux server with no root access. The implant must relaunch every five minutes if killed and after a reboot. What should the tester use?

Show the answer

Correct answerA. Add a scheduled entry to the account's own crontab

AWhy this is right: A per-user crontab needs no root and can run the implant every five minutes and at boot.

BWhy not this: Registry Run keys are a Windows mechanism and do not exist on a Linux server.

CWhy not this: System service units live in root-owned directories, so an unprivileged account cannot create one.

DWhy not this: Loading a kernel module requires root and is a rootkit technique, not a relaunch scheduler.

Every user can have a crontab, and it supports both a periodic schedule and a run-at-boot entry, so no root is needed. A system-level systemd service looks similar but requires root to write to the system unit directory.