Post-exploitation and Lateral Movement

A tester has local administrator rights on a Windows server. The implant must start at boot before anyone logs on, run as SYSTEM, and restart automatically if the process is killed. Which action BEST meets all three needs?

Show the answer

Correct answerD. Create an auto-start service under SYSTEM with recovery set to restart on failure

AWhy not this: An HKCU Run value runs only when that user logs on, with that user's rights, and has no restart handling.

BWhy not this: A logon trigger waits for a user session and runs as that user, so it misses the boot and SYSTEM needs.

CWhy not this: A new account gives login access but does not start or restart the implant at boot as SYSTEM.

DWhy this is right: An auto-start service starts at boot, runs as SYSTEM, and its recovery options restart the process.

An auto-start Windows service is launched by the service control manager at boot, can run as SYSTEM, and can have recovery actions that restart it after a failure. A logon-triggered task or HKCU Run value waits for a user session and runs with that user's rights.