SANS SEC504: Hacker Tools, Techniques and Incident Handling — Question 21
Which of the following statements are true about netcat?
Each correct answer represents a complete solution. Choose all that apply.
Answer options
- A. It provides special tunneling, such as UDP to TCP, with the possibility of specifying all network parameters.
- B. It can be used as a file transfer solution.
- C. It provides outbound and inbound connections for TCP and UDP ports.
- D. The nc -z command can be used to redirect stdin/stdout from a program.
Correct answer: A, B, C
Explanation
Answer A is correct as netcat does provide tunneling capabilities between UDP and TCP with configurable parameters. Answer B is also correct because netcat can indeed be used to transfer files between systems. Answer C is right as it highlights netcat's ability to handle both outbound and inbound connections for various port types. Answer D is incorrect because the nc -z command is used for scanning ports, not for redirecting stdin/stdout.