GIAC Certified Incident Handler (GCIH) — Question 144

Which of the following packets saved in the file pingout.pcap would be returned with the following Berkley Packet Filters? tcpdump -nn -r pingout.pcap `˜icmp and (dst host 8.8.8.8)'

Answer options

Correct answer: A

Explanation

The correct answer is A, which is a UDP packet and does not match the ICMP filter. Options B and D are ICMP packets, but B is an ICMP echo reply and D is an ICMP echo request, both of which do not meet the criteria of being 'returned' as per the filter. Option C is a TCP packet and also does not match the filter criteria.