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?
Correct
The -n flag ensures that numeric IP addresses are not resolved to hostnames, and the -r flag specifies the input pcap file. The host [IP address] expression filters packets that involve the specified IP address, helping the security analyst detect connections to the suspicious IP address.
The command tcpdump -n -r packets.pcap host [IP address] is used to read packets from a packet capture file (packets.pcap) and display only those packets that involve the specified IP address.
Here's a breakdown of the command options:
tcpdump: The command itself, which is used to capture and analyze network traffic.
-n: This option instructs tcpdump to display IP addresses numerically (in dotted-decimal notation) rather than resolving them to hostnames.
-r packets.pcap: Specifies the input file (packets.pcap) from which to read packets.
host [IP address]: Specifies a filter expression to display packets involving the specified IP address.
C. tcpdump -n -r packets.pcap host [IP address]: This command uses tcpdump to read from the packets.pcap file (-r packets.pcap) and filters traffic to and from the specified host (host [IP address]). The -n flag prevents DNS name resolution, making the output easier to read. This is the most suitable option for this specific task.
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.CS0-003 Exam Questions
Log in to ExamTopics
Sign in:
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.
kmordalv
Highly Voted 1 year, 3 months agoglenndexter
Highly Voted 8 months ago[Removed]
Most Recent 1 year, 1 month agochaddman
1 year, 1 month ago