ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 105 - CS0-003 discussion

Report
Export

A security analyst is trying to detect connections to a suspicious IP address by collecting the packet captures from the gateway. Which of the following commands should the security analyst consider running?

A.
tcpdump -n -r packets.pcap host [IP address]
Answers
A.
tcpdump -n -r packets.pcap host [IP address]
B.
strings packets.pcap | grep [IP Address]
Answers
B.
strings packets.pcap | grep [IP Address]
C.
grep [IP address] packets.pcap
Answers
C.
grep [IP address] packets.pcap
D.
cat packets.pcap | grep [IP Address]
Answers
D.
cat packets.pcap | grep [IP Address]
Suggested answer: A

Explanation:

tcpdump is a command-line tool that can capture and analyze network packets from a given interface or file. The -n option prevents tcpdump from resolving hostnames, which can speed up the analysis. The -r option reads packets from a file, in this case packets.pcap. The host [IP address] filter specifies that tcpdump should only display packets that have the given IP address as either the source or the destination. This command can help the security analyst detect connections to a suspicious IP address by collecting the packet captures from the gateway. Official

Reference:

https://partners.comptia.org/docs/default-source/resources/comptia-cysa-cs0-002-exam-objectives

https://www.techtarget.com/searchsecurity/quiz/Sample-CompTIA-CySA-test-questions-with-answers

https://www.reddit.com/r/CompTIA/comments/tmxx84/passed_cysa_heres_my_experience_and_how_i_studied/

asked 02/10/2024
brandon landaal
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first