Bitzu

CPSA ยท Network device management and Layer 2/3 protocols

Local traffic analysis and PCAP files

Capture filters, display filters and spotting credentials, protocols and anomalies in captures.

Key points

  • A packet capture (PCAP) records frames seen on an interface.
  • Capture filters: BPF syntax (tcp port 23), decide what is saved; dropped traffic is lost.
  • Display filters: Wireshark syntax (tcp.port == 23, ip.addr == 10.0.0.5), only hide packets.
  • Look for: clear-text credentials (Telnet, FTP, HTTP forms, POP3), management protocols, unexpected hosts, ARP or DHCP oddities, many SYNs with no replies.

Source: https://www.wireshark.org/docs/wsug_html_chunked/ChWorkBuildDisplayFilterSection.html

Practice questions

Single choice

Which kind of filter uses BPF syntax and decides what is written to the capture file?

  1. Display filter
  2. Capture filter
  3. Colouring rule
  4. Name resolution filter
Show answer

Answer: B. Capture filter

Capture filters are BPF and act before saving. Display filters only hide packets that are already stored.

Select all that apply

Which protocols commonly expose credentials in clear text in a capture?

  1. Telnet
  2. SSH
  3. FTP
  4. HTTPS
  5. SFTP
Show answer

Answer: A. Telnet, C. FTP

Telnet and FTP send logins unencrypted. SSH and HTTPS encrypt the session, so a capture shows only ciphertext.

True or false

A Wireshark display filter decides which packets are saved to the capture file.

Show answer

Answer: False

False. Display filters only change what is shown. Packets excluded by a capture filter are never saved.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CPSA topics in this module