Attacks and Exploits

From a Linux host, a tester holds local administrator credentials for an in-scope Windows server. The client's EDR flags new service installs, so the tester wants remote command execution that creates no service. Which Impacket tool fits best?

Show the answer

Correct answerA. wmiexec.py

AWhy this is right: wmiexec.py executes commands through WMI, so no service is created on the target.

BWhy not this: psexec.py uploads an executable and creates a service, which is exactly what the EDR flags.

CWhy not this: ntlmrelayx.py relays captured authentication to other hosts; it does not use known admin credentials for a shell.

DWhy not this: secretsdump.py extracts hashes and secrets; it is not a command-execution tool.

wmiexec.py runs commands through WMI, giving a semi-interactive shell without installing a service. psexec.py uploads a service binary and creates a service, which is the activity the EDR flags.