Network traffic · 02 Step-by-step procedure

Network traffic: step-by-step procedure

How traffic is acquired and analysed: check the legal grounds, choose the capture point, limit the scope, synchronise the clock, capture, compute the hash, preserve the originals, analyse, report.

  1. 01
    Check the legal grounds

    One’s own or a company network with rules known to staff, or an order from the judicial authorities.

  2. 02
    Choose the point

    A switch mirror port, an inline device or capture on the computer itself.

  3. 03
    Limit the scope

    Filters on the relevant devices, addresses and ports, so as not to collect more than necessary.

  4. 04
    Synchronise the clock

    Capture system time checked against a reference source and recorded.

  5. 05
    Capture

    Rotating PCAP or PCAPNG files, on storage with enough space.

  6. 06
    Compute the hash

    SHA-256 of each file when it is closed, with date and time in the report.

  7. 07
    Preserve the originals

    Working copies for analysis, originals sealed.

  8. 08
    Analyse

    Sessions, DNS, TLS, volumes and clear-text protocols, with the filters recorded.

  9. 09
    Report

    Method, filters, commands and extracts, so that the analysis can be repeated.

Continue with
03 Tools

Network traffic: tools

Tools for network traffic: Wireshark, tshark, tcpdump, Zeek, Suricata, NetworkMiner, capinfos and sha256sum, with an example run on a test capture.

↑