QuestionQ29

VerifiedIncident Response and Management

A security analyst uses a full pcap solution to extract all traffic from the last two days associated with the 10.213.4.27 file server. This file server is under investigation due to concerns about potential data exfiltration using Domain Name System (DNS) traffic.

Which of the following commands should the analyst use to extract any potentially leaked data from the suspicious.pcap file?

Explanation

DNS-based data exfiltration typically involves encoding stolen data within DNS query or response fields (such as subdomains) and sending it to an attacker-controlled DNS server, so investigators must isolate DNS traffic (which uses port 53) associated with the suspected host. The tcpdump command tcpdump -r suspicious.pcap port 53 and host 10.213.4.27 reads the previously captured pcap file and filters it down to only the DNS traffic involving the file server in question, allowing the analyst to inspect those packets for anomalous or encoded data indicative of exfiltration. The other options either fail to properly parse or filter DNS-specific traffic (grep on raw strings), reference an incorrect log filename for the tool used (Zeek produces dns.log, not file.log), or misuse a tool intended primarily for intrusion detection rather than direct pcap data extraction (Snort, with syntax errors referencing Suricata's eve.log).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!