Attacks and Exploits

A tester has an interactive desktop session on a compromised Windows workstation. Using only built-in software, the tester wants to write and debug a multi-line script with syntax highlighting and breakpoints. What should the tester use?

Show the answer

Correct answerB. PowerShell ISE

AWhy not this: It is a compiled enumeration tool that has to be brought to the host and does not edit scripts.

BWhy this is right: It is installed with Windows and offers a script editor, syntax highlighting and breakpoint debugging.

CWhy not this: It launches processes on remote systems and offers no editing or debugging features.

DWhy not this: It is a remote WinRM shell run from an attack host, not an editor or debugger on the workstation.

PowerShell ISE is the built-in graphical host with a script editor, syntax colouring and a debugger with breakpoints. Evil-WinRM gives a remote shell from an attack host, but it has no editor or debugger and is not installed on the target.