Attacks and Exploits

A tester without administrator rights cannot run a .ps1 file on a compromised workstation because the execution policy is Restricted. What is the BEST way forward?

Show the answer

Correct answerD. Start a new PowerShell process with the policy bypassed for that session only

AWhy not this: Editing the machine-wide setting in HKLM needs administrator rights, which the tester lacks.

BWhy not this: ISE applies the same execution policy as the console, so the script is still blocked.

CWhy not this: PsExec only starts a process; powershell.exe launched through it still enforces the policy.

DWhy this is right: A per-process override of the policy needs no admin rights and leaves the system configuration unchanged.

Execution policy is a safety setting, not a security boundary. A new PowerShell process can be started with the policy overridden for that process alone, and this needs no administrator rights. ISE is tempting, but it enforces the same policy.