exam questions

Exam PT1-002 All Questions

View all questions & answers for the PT1-002 exam

Exam PT1-002 topic 1 question 16 discussion

Actual exam question from CompTIA's PT1-002
Question #: 16
Topic #: 1
[All PT1-002 Questions]

A security professional wants to test an IoT device by sending an invalid packet to a proprietary service listening on TCP port 3011. Which of the following would allow the security professional to easily and programmatically manipulate the TCP header length and checksum using arbitrary numbers and to observe how the proprietary service responds?

  • A. Nmap
  • B. tcpdump
  • C. Scapy
  • D. hping3
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
BinarySoldier
Highly Voted 3 years, 8 months ago
Scapy is the tool used to craft tcp packets. https://0xbharath.github.io/art-of-packet-crafting-with-scapy/scapy/creating_packets/index.html NMAP is not use to craft packets. The Answer should be C
upvoted 5 times
...
MeisAdriano
Most Recent 1 year ago
Selected Answer: C
Nmap: an open source tool for network scanning tcpdump: catch the packets and show the network traffic hping3: like a ping, can analize a network, but with more functionality. Can manipulate de TCP header, but not so flexible and powerful like Scapy for the programmatic packet manipulation the solution is Scapy: a powerful tool for manipulize packets and decode/create/send network packet.
upvoted 1 times
...
bieecop
2 years, 1 month ago
Selected Answer: C
Scapy is a powerful Python-based interactive packet manipulation program and library. It allows security professionals to create, send, and receive network packets at different layers of the network stack, including the ability to manipulate TCP header fields and payload. With Scapy, the security professional can construct custom packets with arbitrary values for fields such as TCP header length and checksum. They can then send these crafted packets to the IoT device's proprietary service on TCP port 3011 and observe the response.
upvoted 1 times
...
lifehacker0777
2 years, 4 months ago
Selected Answer: C
hping3 is scriptable using the Tcl language. but, Scapy is a powerful interactive packet manipulation tool, packet generator, network scanner, network discovery, packet sniffer, etc. It can for the moment replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tethereal, p0f, …. In scapy you define a set of packets, then it sends them, receives answers, matches requests with answers and returns a list of packet couples (request, answer) and a list of unmatched packets. This has the big advantage over tools like nmap or hping that an answer is not reduced to (open/closed/filtered), but is the whole packet.
upvoted 1 times
...
bieecop
2 years, 8 months ago
Selected Answer: C
c correct
upvoted 3 times
...
willsy
3 years, 2 months ago
NOT NMAP, not for changing packets.
upvoted 1 times
...
tokhs
3 years, 4 months ago
Selected Answer: C
correct answer
upvoted 3 times
...
BinarySoldier
3 years, 6 months ago
Scapy will do the task better.
upvoted 3 times
...
Davar39
3 years, 7 months ago
C- Scapy https://scapy.readthedocs.io/en/latest/introduction.html#about-scapy
upvoted 4 times
...
tokhs
3 years, 8 months ago
Selected Answer: C
C is correct
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...