Post-exploitation and Lateral Movement
Policy blocks PowerShell on a compromised legacy host. A tester must repeat the same net use and copy commands against a list of in-scope servers. What is the best way to automate this?
Show the answer
Correct answerB. A batch file run by cmd.exe
AWhy not this: Netcat listens for or opens connections; it does not automate a series of commands.
BWhy this is right: A .bat or .cmd file chains cmd.exe commands and loops over a list, with no PowerShell needed.
CWhy not this: A saved mmc.exe console stores snap-in layouts, not repeatable command sequences.
DWhy not this: ISE scripts need the PowerShell engine, which is blocked on this host.
A batch file is a text file of cmd.exe commands. A loop over a server list can repeat net use and copy without PowerShell. A PowerShell ISE script depends on the PowerShell engine, which policy blocks on this host.