Post-exploitation and Lateral Movement

During service discovery a tester maps TCP 8443 to PID 3120 on a Windows host. Two hours later PID 3120 belongs to notepad.exe, yet port 8443 still answers. What is the BEST conclusion?

Show the answer

Correct answerC. The service restarted under a new PID, so the port needs mapping again

AWhy not this: PID reuse is normal operating system behavior, not spoofing, and PIDs remain useful when rechecked.

BWhy not this: PIDs are assigned at process start and are not tied to a service name across restarts.

CWhy this is right: PIDs are reused after a process ends, so the listener got a new PID and must be re-mapped.

DWhy not this: Processes do not take over another process's listener just because it reuses a PID number.

A PID identifies a process only while it runs, and the operating system can reuse the number after the process exits. The listener restarted under a new PID, so the tester must map the port to its current PID before targeting it. Trusting the old PID risks acting on the wrong process.