adplus-dvertising
frame-decoration

Question

How can a penetration tester enable remote PowerShell command execution on Windows systems?

a.

Use the PowerShell command enable-RemotePS -allow.

b.

Execute the command enable-RemotePowerShell.

c.

Run the command enable-PSRemoting -force in PowerShell as an administrator.

d.

Set the registry key HKEY_LOCAL_MACHINE\EnableRemotePS to 1.

Answer: (c).Run the command enable-PSRemoting -force in PowerShell as an administrator. Explanation:A penetration tester can enable remote PowerShell command execution on Windows systems by running the command enable-PSRemoting -force in PowerShell as an administrator.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How can a penetration tester enable remote PowerShell command execution on Windows systems?

Similar Questions

Discover Related MCQs

Q. What setting must be configured if remote systems are not part of the same domain in order to enable PowerShell remoting?

Q. What does WMI stand for, and what capabilities does it offer for penetration testers?

Q. What is the purpose of fileless malware in penetration testing?

Q. What is the concept of "living off the land" in penetration testing?

Q. How can a scheduled task be created to run the calculator application once a day at 8:00 a.m. on a Windows system using the command line?

Q. How does cron work on Linux or Unix systems for scheduling tasks?

Q. What is the purpose of using a "call home" script in scheduled tasks?

Q. What is the primary function of Responder in the context of SMB services?

Q. What protocol is used by SMB for file-sharing, authentication, authorization, and print services?

Q. What is the primary purpose of SecureAuth’s Impacket toolset?

Q. Which Impacket tool replicates the functionality of PsExec in Python?

Q. What is the objective of pass-the-hash attacks in penetration testing?

Q. How can mitm6 be used in a DNS attack?

Q. What does LSASS.exe stand for in the context of pass-the-hash attacks?

Q. Which port is commonly associated with Windows Remote Desktop Protocol (RDP)?

Q. In the context of Apple's Remote Desktop (ARD), how do penetration testers often use ARD?

Q. What is the primary advantage of VNC as a remote desktop tool in penetration testing?

Q. How does DNS attack tool mitm6 exploit a Windows DNS server?

Q. What is a potential disadvantage of using fileless malware in penetration testing?

Q. How can a penetration tester schedule a task on a Windows system using the command line?