Prepare for the Ethical Hacking Essentials Test. Dive into flashcards and multiple choice questions, with hints and explanations for each one. Ace your exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which command-line tool is known for packet crafting and network scanning on TCP/IP protocol?

  1. Nbtstat

  2. hping3

  3. netstat

  4. bettercap

The correct answer is: hping3

The command-line tool known for packet crafting and network scanning on the TCP/IP protocol is hping3. This tool allows users to create and send custom TCP/IP packets, which can be used for various purposes including testing network security, performing denial-of-service attacks, and operating as a flexible network scanner. hping3 can manipulate different types of packets (TCP, UDP, ICMP), adjust parameters like packet size and timeout, and even craft specific flags to assess firewall rules and identify open ports on a network. The other tools, while useful in their own right, do not serve the same purpose. Nbtstat is primarily used for troubleshooting NetBIOS over TCP/IP. Netstat provides network statistics and shows active connections but does not offer packet crafting capabilities, making it unsuitable for the task at hand. Bettercap is focused on network attacks and man-in-the-middle attacks but doesn't specialize in packet crafting as effectively as hping3 does. Therefore, hping3 stands out for its range of features that enable both packet crafting and network scanning specifically within the context of TCP/IP.