nerdexam
GIAC

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.

Exploitation & Post-Exploitation Techniques

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)
  • A
    73% (33)
  • D
    27% (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.

AFirewall testingCorrect

Netcat can test firewall rules by attempting TCP/UDP connections to specific ports and observing whether they are allowed, blocked, or filtered.

BCreating a BackdoorCorrect

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.

CPort scanning and service identificationCorrect

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.

DChecking file integrity

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

#netcat#backdoor creation#port scanning#firewall testing

Community Discussion

No community discussion yet for this question.

Full GPEN Practice