Attacks and Exploits
A tester must build TCP segments with an invalid flag combination and a custom TTL, send them from a Python script, and parse each reply. Which tool fits?
Show the answer
Correct answerD. Scapy
AWhy not this: It captures and filters packets from the command line but cannot craft or send custom segments.
BWhy not this: It forwards existing TCP connections between ports; it does not craft packets.
CWhy not this: It dissects captured traffic in a GUI; it is not a packet-crafting tool for scripts.
DWhy this is right: It builds packets with any field values, sends them from Python and handles the replies.
Scapy is a Python packet-manipulation library that crafts packets with arbitrary header fields, sends them and dissects replies. tcpdump and Wireshark only capture and display traffic, so they cannot build malformed segments.