GPEN · Question #326
Which of the following tasks can be performed by using netcat utility? Each correct answer represents a complete solution. Choose all that apply.
The correct answer is A. Firewall testing B. Creating a Backdoor C. Port scanning and service identification. Netcat is a versatile networking utility that can perform firewall testing, create backdoors, and scan ports, but it cannot perform file integrity checking.
Question
Which of the following tasks can be performed by using netcat utility? Each correct answer represents a complete solution. Choose all that apply.
Options
- AFirewall testing
- BCreating a Backdoor
- CPort scanning and service identification
- DChecking file integrity
How the community answered
(45 responses)- A73% (33)
- D27% (12)
Why each option
Netcat is a versatile networking utility that can perform firewall testing, create backdoors, and scan ports, but it cannot perform file integrity checking.
Netcat can test firewall rules by attempting TCP/UDP connections to specific ports and observing whether they are allowed, blocked, or filtered.
Netcat can create a backdoor by binding a system shell (e.g., /bin/sh or cmd.exe) to a listening port, enabling remote command execution on a compromised host.
Netcat can perform basic port scanning and service banner grabbing by connecting to target ports and displaying any service response, allowing identification of running services.
File integrity checking requires cryptographic hash tools such as md5sum, sha256sum, or dedicated integrity solutions like Tripwire - netcat is a raw network I/O tool with no file hashing capability.
Concept tested: Netcat utility capabilities - backdoor, port scan, firewall testing
Source: https://nmap.org/ncat/guide/index.html
Topics
Community Discussion
No community discussion yet for this question.