Post-exploitation and Lateral Movement

A tester has a foothold on a user's workstation and wants to log keystrokes and alter page content in an internal web app each time the user browses. Which persistence method fits BEST?

Show the answer

Correct answerD. A malicious browser extension with content scripts

AWhy not this: A web shell gives server command execution but has no view of keystrokes typed in the user's browser.

BWhy not this: A bind shell offers remote command access but does not hook into the browser or its pages.

CWhy not this: A cron job schedules commands, which does not interact with browser page content.

DWhy this is right: Content scripts run in the loaded pages, capturing input and changing content on every browser launch.

A browser extension can declare content scripts that run inside pages the user opens, so it can capture input and modify content every time the browser starts. A web shell sits on the server and cannot see the user's local keystrokes.