Courseiva
Security Operations →hardMultiple Choice

CAS-004 Security Operations Practice Question

A security analyst is investigating a potential data exfiltration incident. The analyst has a packet capture (PCAP) file from the network segment where the suspected exfiltration occurred. The analyst wants to extract files that were transferred over HTTP and analyze their contents. Which of the following tools should the analyst use to achieve this?

⚠ Common exam trap

A common mix-up: candidates confuse packet capture tools like tcpdump with analysis tools like Wireshark, assuming tcpdump can extract files.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Wireshark

The analyst needs to extract files from a PCAP, specifically from HTTP transfers. Wireshark's 'Export Objects' feature can reassemble and save files from HTTP, SMB, and other protocols. tcpdump is limited to packet capture and display without file extraction. Nmap and Metasploit are not designed for PCAP analysis. Thus, Wireshark is the correct tool.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    tcpdump

    Why it's wrong here

    tcpdump is a command-line packet analyzer that can capture and display packet headers, but it does not reassemble TCP streams or extract files from HTTP sessions by default. While it can write packets to a file, it lacks built-in functionality to carve files from HTTP traffic. Therefore, it is not the appropriate tool for extracting files from a PCAP.

  • ✓

    Wireshark

    Why this is correct

    Wireshark can open PCAP files, reassemble TCP streams, and export objects from HTTP, SMB, and other protocols. Its 'Export Objects' feature allows the analyst to extract files transferred over HTTP, which can then be analyzed. This directly meets the requirement of extracting files from the PCAP for further inspection.

  • ✗

    Nmap

    Why it's wrong here

    Nmap is a network scanning tool used for host discovery, port scanning, and service enumeration. It does not process PCAP files or extract files from network traffic. Using Nmap would not help the analyst recover files from the captured HTTP sessions. Thus, it is irrelevant to the task.

  • ✗

    Metasploit

    Why it's wrong here

    Metasploit is a penetration testing framework used for exploitation and post-exploitation activities. It does not provide functionality to analyze PCAP files or extract files from HTTP traffic. While it can be used for exfiltration in an attack, it is not a forensic analysis tool for extracting files from captures. Therefore, it is not suitable here.

About these practice questions

Courseiva writes every CAS-005 question from scratch — 973 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

This CAS-005 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CAS-005 exam.