Last updated:

Features

PacketSnitch Feature List

PacketSnitch is a desktop packet capture analysis tool with a Python backend for deep protocol parsing and an Electron frontend for interactive browsing, filtering, and forensic investigation. The backend acts as a PCAP file analyzer desktop app — extracting credentials from PCAPs, pulling threat intelligence from network captures, and adding GeoIP enrichment to every packet — while the frontend surfaces those results as workspaces for network forensics software workflows. It also supports optional LLM-powered network analysis via the built-in Local inference engine, Ollama, or OpenRouter, making it a capable broad spectrum protocol analysis application. This document lists all available features.

Table of Contents

This list mirrors the application. Every main tab is a top-level entry, and every sub-tab inside that workspace is nested underneath it, each with its own explanation of the tools it contains. The groups below follow the same order as the sections further down the page: Workspaces are the tabs of the app, Cross-cutting behaviour covers machinery shared by several workspaces, Feature subsystems are the engines behind them, and Backend & distribution covers the parser, service and packaging.

Workspaces

Cross-cutting behaviour

Feature subsystems

Backend & distribution


Analysis Tab

The landing workspace after a capture finishes loading (configurable — see Settings → Frontend). It has no sub-tabs of its own: it is a single scrolling document assembled from the summary pipeline, so everything below belongs directly to this tab.

  • Analysis Summary: the running analysis document for the active session, rebuilt from decoded packet data and any LLM work already performed.
  • Executive summary: a plain-language overview of what the capture shows, written for someone who is not going to read every packet.
  • Technical findings: structured, reference-backed findings that point at the packets, artifacts, notes, lookups or comparisons that produced them.
  • Notes roll-up: notes marked concrete/verified are appended under Verified Notes (from Notes); unmarked notes go under Inferred Data (from Notes), so analyst hypotheses are never presented as observed fact.
  • Stream-context follow-ups: while navigating packets, background summaries append new findings to the open summary instead of replacing what is already there.
  • Summary deduping and persistence: stream keys already summarised are tracked to avoid repeat LLM calls, and the current summary is saved with and restored from the session file.
  • Save as HTML / Save as PDF: export the rendered summary as a standalone document.
  • Major Events Report: condense the whole summary into a short report (Executive Summary / Major Events / Peripheral Events / Conclusion) without modifying the summary tab, then open it in the browser.
  • Freshness-checked restructure: every open compares the report on screen against what the last pass produced and recompacts in the foreground when it is stale, dimming the report behind a “catching up” overlay rather than replacing it with a spinner. A background tidy-up still runs every few visits.
  • Fact-level deduplication: the restructure deletes a sentence whose facts are already asserted anywhere earlier instead of paraphrasing it, counts the same fact from a different angle once, and keeps the detail when a summary sentence and its underlying detail say the same thing.
  • Assistant formatting: the report renders the model’s Markdown (bold, italic, underline, sub/superscript, code spans, fenced blocks, tables, blockquotes) through the same policy module as chat and Notes. Emoji are stripped; code spans and fences are never altered.
  • The tab is gated behind the Analysis entitlement and requires analysable session data — a session holding only file entities still opens it, because data analysis is useful on its own.

Host Data Tab

The packet-level workspace. It has no sub-tabs; it is a single screen split into three panes that stay synchronised with the selected packet, plus Prev / Next navigation (see Packet Navigation).

Packet Info Pane

  • IP-to-IP Routing: source → destination address display for quick flow identification.
  • Network Information: source/destination port, IANA service name, and ICANN port description.
  • Data Type List: detected MIME type, character set, content encoding, and magic-identified type (hidden by default for ARP/RARP/IGMP with an inline reveal toggle).
  • Active Recon section (when backend was run with -a):
    • Identified application-layer protocols.
    • Payload compression method.
    • SSL/TLS version and cipher suite.
    • Fetched website title.
    • Reverse DNS hostnames.
  • Protocols Used panel with deduped, layered protocol entries (Link / Network / Transport / Application / Encryption / Decoded).
  • TCP stream arrival status labels: In-order, Out-of-order arrival, Retransmission, Retransmission (out-of-order arrival).
  • IPv6 addresses render in compressed notation; when a port is present the endpoint is bracketed per RFC 3986 ([2001:db8::10]:443).

Packet Payload Pane

  • ASCII View: consecutive runs of printable characters extracted from raw payload bytes.
  • Hex Grid: interactive hex dump of the full raw payload with click-to-highlight cells; clicking a byte highlights it and shows the printable ASCII sequence starting at that offset.
  • Split ratio: the divider between the Host Data pane and this payload pane is draggable and persisted (general.hostDataPayloadSplitPercent, default 60/40).
  • Datagram Frame: protocol-specific lower-layer field tables (DNS, HTTP, SNMP, DHCP, NTP, SIP, checksums, etc.) that update per packet.
  • Location Panel: GeoIP table showing country, city, postal code, and time zone for source and destination IPs; Localnet label for private addresses.
  • Payload Entropy: Shannon entropy value with graphical indicator (Low / Medium / High labels).
  • Conv insights: decoder commentary for the payload currently loaded from Conv, hidden until Conv has something to show.

Conv Tab — Data Conversion Workspace

The workbench for arbitrary bytes — packet payloads, carved files, extracted archive members, hex pastes, or anything a decoder should look at. Its seven sub-tabs share one input buffer, so a conversion, hash, decode, subnet lookup or threat-intel query all run against the same bytes without re-pasting them.

Conversions Sub-tab

  • Input formats: Base64, Binary, Hex, ASCII/UTF-8, Decimal bytes.
  • Simultaneous output in: Hex, Binary, Decimal bytes, Decimal integer (big-endian), ASCII, Base64.
  • Convert renders every output format at once from the current input.
  • Input history dropdown for the current session.
  • Clear empties the buffer; Reset input restores the last committed packet/stream bytes.
  • Manual file import into Conv from the Import file to Conv tab context-menu action, with a size warning threshold and a configurable maximum size (general.manualConvImportMaxBytes).
  • Data Insights: byte length, MIME type (magic detection), detected text language, up to three ranked data-type guesses (JWT, bcrypt hash, Base64, etc.) with High/Medium/Low confidence, Shannon entropy with Low/Medium/High label.
  • Filename Guess in Data Insights, including carved/loaded filename context when available.
  • Entropy range: 0.0–8.0 bits/byte; Low < 4.5, Medium 4.5–6.8, High > 6.8.
  • Toolbar hand-offs: Send to Decodes, Save this data, Hash this data (propagates the bytes to the Hashes sub-tab), Get threat intel (hashes and jumps to Threat Intel).

Hashes Sub-tab

  • Hash-as-you-type from any input text.
  • Algorithms: MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, RIPEMD-160, Whirlpool.
  • Supports escape sequences (\n, \r, \t, \\, \xNN) for exact byte hashing without raw binary paste.
  • Convert in the Conversions sub-tab automatically propagates input bytes to the Hashed Input field.
  • Cross Reference Hash button sends the focused or selected hash (defaulting to SHA-256) to the Threat Intel sub-tab for a VirusTotal lookup.
  • The same digests are mirrored on the Crypt → Hashes sub-tab, which reads this sub-tab’s input rather than keeping a second buffer.

Extraction Sub-tab

  • Magic-first detection of the current Conv input: every archive and compression format is identified by signature bytes before any extension is consulted, so a .dat blob that is really a ZIP still routes correctly.
  • Decompress for single-stream containers (gzip, brotli, bzip2, xz/lzma, lzo, zstd) with hex and text preview of the output.
  • Browse Archive renders a browsable file tree for container formats (ZIP, tar, CAB, 7-Zip, RAR), showing names, sizes and nesting.
  • Extract All registers every safe file member in the Artifact Store at once; individual members can be extracted on their own from the tree.
  • Per-member actions: Load into Conv, Save to File, Hash this file, Get Threat Intel.
  • Password-protected ZIPs can be handed to Crypt → Archives for decryption.
  • Archive and compression formats covered:
FormatDetectionListingSingle-entry extractionImplementation
ZIP (PKZIP, .zip)Magic bytes 50 4B 03 04✓✓Node unzipper
Tar (POSIX / GNU, .tar)ustar header at offset 257✓✓Node tar
Gzip (.gz)Magic bytes 1F 8B—✓ (single stream)Node zlib
Brotli (.br)Magic bytes 28 B5 2F FD / 29 B5 2F FD—✓ (single stream)Node zlib
Bzip2 (.bz2)Magic bytes 42 5A 68—✓ (single stream)System bzip2 -dc
XZ / LZMA (.xz, .lzma)Magic bytes FD 37 7A 58 5A 00 / 5D 00—✓ (single stream)Native lzma / system xz -dc
LZO (.lzo)Magic bytes 4C 5A 4F—✓ (single stream)System lzop -dc
Zstandard (.zstd)Magic bytes 28 B5 2F FD—✓ (single stream)Node zlib / system zstd -dc
Microsoft Cabinet (.cab)Magic bytes MSCF✓✓Bundled snitch_extract + cabarchive
7-Zip (.7z)Magic bytes 37 7A BC AF 27 1C✓✓Bundled snitch_extract + py7zr
RAR (.rar, both RAR 1.5–4.x and RAR 5.0)Magic bytes Rar!\x1a\x07\x00 (RAR3) or Rar!\x1a\x07\x01\x00 (RAR5)✓✓ for non-solid RAR3; clean “install unrar” diagnostic for solid RAR3 + RAR5Bundled snitch_extract + rarfile
  • Bundled Python archive helper (snitch_extract) — CAB, 7-Zip, and RAR all delegate to a small PyInstaller-bundled helper invoked by the Electron main process. The helper exposes a stable JSON CLI (detect / list / extract <entry-path>) and emits a single JSON object on stdout, so the Node wrapper can apply safety limits (max input size, max output size, per-archive timeout) without coupling to the underlying libraries.
  • RAR diagnostic — solid RAR3 archives and all RAR5 archives require a system unrar (or unar) binary because rarfile ships no pure-Python RAR5 decompressor. The bundled helper surfaces a clean install 'unrar' (or 'unar') on PATH error instead of a RarCannotExec stack trace so analysts know exactly what to do.
  • ZIP / RAR password prompt — a password-protected archive is offered to the Archives sub-tab of the Crypt workspace, which decrypts it into a plaintext ZIP for browsing.
  • Sample fixtures — samples/rar/sample.rar ships for a one-click smoke test, and the helper’s RAR extraction output is verified byte-for-byte against the system unrar oracle in the backend test suite.
  • Path-safety — every archive entry path is normalized and checked against traversal / absolute-path patterns before extraction; unsafe paths return a path: …, safePath: …, isSafe: false, unsafeReason: "Path contains traversal or absolute components" block instead of writing outside the user-chosen destination.

Decodes Sub-tab

  • Protocol decoder with auto-detect and manual protocol selection.
  • The Modular Decoder Reference covers the decoder registry, drop-in locations, DECODER_SPEC contract, and authoring workflow.
  • Supported protocols: HTTP, FTP, SMB/Samba, Telnet, SSH/OpenSSH, POP3, IMAP, SMTP, DNS, SNMP, DHCP, DHCPv6, EPMAP, LLMNR, NBNS, NBDGM (NetBIOS Datagram Service), JSON (generic), XML (generic), YAML (generic), Protobuf (generic), MessagePack, BSON, ASN.1 BER, ASN.1 DER, LDAP, SIP, SMPP, Soulseek, BitTorrent, Kerberos (krb5), Diameter, IPX, RTP, RTCP, Syslog, TACACS+, JPEG, PNG, GIF, WebP.
  • Auto-detect identifies the likely protocol from byte patterns (SIP detected via INVITE/ACK/SIP/2.0 regex, etc.) and from per-protocol port hints (DNS=53, SNMP=161/162, DHCP=67/68, DHCPv6=546/547, EPMAP=135, LLMNR=5355, NBNS=137, NBDGM=138, LDAP=389/636).
  • DNS decoder splits TCP-framed DNS into 2-byte length-prefixed messages, walks each header (id, QR/Opcode/AA/TC/RD/RA/AD/CD, rcode), parses question + answer/authority/additional sections, and renders per-RR resource records with typed rdata (A, AAAA, CNAME, MX, NS, TXT, SOA, PTR, SRV, HINFO). Supports RFC 1035 §4.1.4 label-sequence decoding with compression-pointer dereferencing across message boundaries.
  • SNMP decoder consumes BER-encoded SNMPv1/v2c/v3 PDUs and surfaces the version, community string, request-id, error-status (with named values), error-index, and a flattened VarBind tree with OID, named-MIB lookup (1.3.6.1.2.1.1.1.0 → sysDescr.0, etc.), and a hex-or-textual value preview.
  • DHCP decoder walks the RFC 2131 BOOTP/DHCP header (op, htype/hlen, hops, xid, secs, flags BROADCAST, ciaddr/yiaddr/siaddr/giaddr, chaddr, sname, file, magic cookie) and then streams the DHCP option list in declaration order, decoding every option from the registry (subnet-mask, router, host-name, message-type → DHCPDISCOVER/DHCPOFFER/DHCPREQUEST/DHCPDECLINE/DHCPACK/DHCPNAK/DHCPRELEASE/DHCPINFORM, server-id, parameter-request-list, …) and surfacing the parsed fields as a tree.
  • DHCPv6 decoder parses the 1-byte msg-type (SOLICIT/ADVERTISE/REQUEST/…) + 3-byte transaction-id header, then walks the TLV option stream (client-id, server-id, IA-NA, IA-TA, IAADDR, ORO, preference, rapid-commit, status-code, vendor-class, dns-servers, domain-search-list, …) with proper 16-bit option-length handling and recursive nested IA / relay-message options. Status-code sub-options are decoded into Success / UnspecFail / NoAddrsAvail / NoBinding / NotOnLink / UseMulticast / NoPrefixAvail / etc.
  • EPMAP decoder walks the DCE/RPC endpoint mapper (EPM) request/response shape and surfaces the tower/UUID/vers/rhs/flags fields plus the inquiry/insert/delete/replace lookup types.
  • LLMNR decoder disassembles LLMNR (RFC 4795) queries and responses, including the QR/Opcode/C/TC/T/Z/RCODE bits, question/answer/authority/additional sections with typed rdata preview (A/AAAA/PTR/CNAME/HINFO).
  • NBNS decoder parses NetBIOS name-encoding (32-byte half-ASCII label) and the RR-type fields (NB, NBSTAT, GENERAL-NAME-SERVICE, …), surfacing each entry as a flat list with name/type/class.
  • NBDGM decoder walks the NetBIOS datagram service (RFC 1002 §6) 8-byte header (msg-type, datagram-id, datagram-length, packet-offset, source-name, destination-name) and surfaces both broadcast and unicast datagram types.
  • Kerberos (krb5) decoder disassembles AS-REQ/AS-REP/TGS-REQ/TGS-REP/AP-REQ/AP-REP/KRB-ERROR/KRB-PRIV/KRB-CRED messages, showing pvno, msg-type, realm, cname/sname, KDC options (with the RFC 4120 bit-numbered flags), till, nonce, etype list, ticket (tkt-vno/realm), and an EncryptedData etype + cipher preview. Auto-detect and the protocol/port hints (krb5, kerberos, ports 88/464/750) route matching traffic to it.
  • LDAP decoder parses search/filters/entries/attribute rendering; entry attributes are surfaced as a typed tree (DN, objectClass, cn, sn, etc.) with raw bytes for opaque values.
  • SMB / Samba decoder has a dedicated follow-stream mode that walks SMB2 read/write transactions and renders a per-message tree of headers, file content, and offsets. Single-block streams are fed through the decoder pipeline correctly, and the inline decoder switch in the Host Data view honours the same selection.
  • Stream-payload hand-off: a decoder that encapsulates more bytes (HTTP body, FTP data, IMAP literal, SMTP message, …) offers a one-click Reload in Conv so the encapsulated payload can be re-decoded as its own input.
  • Follow stream to Conv: assembles a full bidirectional TCP stream into Conv with async chunked scanning and a loading overlay to prevent UI freezes on large streams.
  • Decoder permissiveness (Settings → Frontend) decides how strictly a decoder result that reports parse errors is rejected; the JUNK / MISMATCH badges flag a sticky junk-data tripwire and a per-selection signal mismatch respectively.

Analyze Subnet Sub-tab

  • Analyze Subnet for IPv4/IPv6 host/subnet math and enrichment lookups.
  • Supports manual IP/CIDR/netmask input plus quick-fill from the current packet’s source/destination IP.
  • Shows summary, range, binary, WHOIS, GeoIP, Shodan, and reputation cards.
  • Uses backend HTTP lookup endpoints (/geoip, /whois, /ipsum, /tor, /shodan).
  • Includes capture-derived internet target listing and optional Nmap -sV service enumeration.
  • Nmap enumeration is controlled by general.nmapServiceScanEnabled and is disabled by default.
  • Use analyzed IP seeds the Threat Intel query from the address on this sub-tab.

Threat Intel Sub-tab

  • Session Threat Score card at the top of the sub-tab summarizes the analyzed capture as a 0-100 score with a banded pill (Clean / Low / Medium / High / Critical), a color-graded weight breakdown of every contributing indicator (IPSum hits, Tor exit nodes, VirusTotal malicious / suspicious verdicts, high-entropy cleartext, portscan / brute-force / baseline outliers from the Stats → Anomalies sub-tab, public-IP / domain / URL / hash counts, and the current Conv input entropy), and a Capture Footprint summary with public IPs / unique domains / URLs / registered hashes / reputation lookups / protocol anomalies. Three actions live on the card:
    • Recompute — re-derive the deterministic score.
    • Get LLM Assessment — asks the active LLM to summarize the breakdown into a short analyst narrative plus up to 5 concrete next actions.
    • Send to Notes — appends the breakdown to the active Notes tab as a structured note.
  • Every per-target lookup in the sub-tab feeds the next recompute, so the score evolves as the analyst does more lookups.
  • Query type selector for auto, ip, url, or hash lookups.
  • IP reputation lookup via the IPSum blocklist (backend endpoint /ipsum).
  • Tor exit-node lookup using the local Tor dataset (backend endpoint /tor).
  • VirusTotal IP, URL, and hash reputation lookups via backend endpoint /virustotal.
  • Cross Reference Hash on the Hashes sub-tab sends the current SHA-256 (or focused hash output) here and runs a hash lookup.
  • VirusTotal lookups require a VirusTotal API key stored in backend.virusTotalApiKey under Settings → API Keys.
  • Backend threat-intel response cache — VirusTotal and Shodan InternetDB lookups are cached on the backend (<userData>/cache/threat-intel/threat-intel-cache.json, 24-hour TTL). Repeat lookups against the same key hit the cache instead of the upstream rate-limit budget; the cache survives backend restarts. Private / loopback / link-local / multicast / reserved / unspecified addresses short-circuit to a clean supported: false, skippedReason: "private-network" payload via buildNonPublicIpResponse so RFC1918 hosts never reach the public reputation API. Network errors and unauthorized responses are deliberately not cached — a transient 503 will retry next call.
  • Threat-intel enrichment is part of the Professional and Enterprise tiers; the store lists the current licenses and what each unlocks.

Packet JSON Sub-tab

  • Packet JSON Viewer renders the full decoded JSON record for the current Host Data packet, pretty-printed with general.convJsonIndentSpaces.
  • Header line reports the packet index the JSON belongs to, so the viewer always states which packet it is describing.
  • Syntax-highlighted line-by-line rendering (keys, strings, numbers, booleans, nulls, braces/brackets) rather than a single flat text blob.
  • This is the same record the LLM context-menu actions and the AI router see, which makes it the place to check what the model is actually being given.

Compare Workspace

The cross-capture and packet-level comparison home. It owns the whole window: the Host Data / Payload / Right Sidebar panes and every other workspace are hidden while it is open, and the shared comparison shortcuts route back here. It has four sub-tabs — Captures, Sources, Compare Packets and Charts — and which one is useful depends on how many capture sources are loaded. The AI-driven Compare API and the keyboard/navigation notes below describe the same sub-tabs rather than adding new ones.

Captures Sub-tab

  • Capture Baseline surface for capture-to-baseline and network-typology comparison.
  • Profile learning is scaffolded here and will land in a future release; the panel states that plainly instead of showing an empty table.
  • Traffic baseline engine learns normal capture behaviour and detects deviations in packet counts, packet lengths, and traffic patterns.
  • Capture-to-baseline comparison identifies behaviour that differs from the learned baseline.

Sources Sub-tab

Appears whenever two or more capture sources are merged into the active session. It compares two sources (or “Whole Session” vs. one source) side-by-side, surfacing the deltas across every Stat category:

  • Source pickers — two dropdowns (#compare-sources-left / #compare-sources-right) let the analyst pick any combination of loaded sources or the whole-session roll-up. Switching a picker re-renders both the Statistics Comparison and the Statistics Detail Comparison below.
  • Statistics Comparison — a four-column table (#compare-sources-stats-table rendering buildStatsComparison in src/ui/panels/stats-panel.js) shows the left value, the right value, and the signed delta for every Capture Overview metric: total packets, unique hosts, encrypted vs. unencrypted, unique protocols, unique GeoIP locations, MAC vendors, MIME types, data types, and total traffic bytes. Rows where left and right diverge are colored so deltas are visible at a glance.
  • Statistics Detail Comparison — a checkbox grid selects which of the eleven detailed buckets to compare side-by-side: Application Protocols, Network/Transport Protocols, Link Protocols, Decoded Protocols, Hosts, Hostnames, Locations, Ports Seen, MAC Vendors, MIME Types, and Data Types. Each selected bucket renders a card per source with the full ranked list so the analyst can spot which protocols, hosts, or types appear in only one source.
  • Whole-session roll-up — picking __whole_session__ for a source aggregates every capture into the comparison so an analyst can contrast one specific source against the merged total.
  • Source visibility — each source can be hidden from List and Stats from here; that flag is the same one the Artifacts → Entities mask control edits, so the two views cannot disagree.

Compare Packets Sub-tab

Compares the current Host Data packet (Packet A) with a candidate packet from the active filtered set (Packet B). It is the second surface that consumes the packet-compare helpers in src/ui/panels/packet-compare.js.

  • Same protocol only — when on, candidate rows are filtered to packets whose transport / application protocol matches Packet A so the byte-level comparison isn’t dominated by irrelevant protocols.
  • Candidate search — a substring search over the candidate list matches the visible label (protocol · packet index · payload bytes · endpoint) plus the packet key. Useful when the active filter still leaves hundreds of candidates.
  • Selection persistence — clicking a candidate toggles a .selected class (with a “Packet B” tag) and scrolls the new selection into view only if it isn’t already visible, so the user’s scroll position is preserved. Up to 200 candidates render before the list paginates.
  • Bytes dropdown — switch between comparing payload bytes and full packet frames (L2/L3/L4 headers and all). Useful when the analyst wants to see whether two flows also differ at the IP or transport layer.
  • Decoded scope dropdown — switch between payload fields only and headers + payload fields. The header-inclusive scope walks the decoded protocol tree so changes in DNS transaction ID, HTTP User-Agent, or TLS SNI show up alongside payload changes.
  • Decoder A / Decoder B — independent decoder pickers (one per side) so the analyst can decode Packet A and Packet B with different protocols and compare the decoded result. Both pickers default to Auto-detect and surface every entry the modular decoder registry publishes (see the Decoder Reference).
  • Byte-level comparison
    • Byte lengths of left and right.
    • Changed byte count and the changed ranges (collapsed into up to MAX_DIFF_RANGES contiguous blocks via buildByteDiff in src/ui/panels/packet-compare.js).
    • Similarity as 1 - (changedBytes / maxLength).
    • SSDEEP-style similarity (compareFuzzyBytes) for near-duplicate detection across large payloads.
  • Hash metrics — MD5 and SHA-256 of each selected packet’s bytes, surfaced per side so identical hashes make byte equality obvious at a glance.
  • Decoded-field comparison — when both decoders succeed, the decoded trees are walked field-by-field via compareDecodedResults and any field whose value differs is rendered with a “changed” highlight in the result grid. Missing bytes, incompatible protocols, and unavailable decoder results are reported explicitly instead of being treated as equal.
  • Field-aware comparison — changed-value highlighting and a side-by-side layout make differences visible at a glance rather than requiring the analyst to diff two hexdumps by eye.
  • Protocol misuse detection is partially implemented: protocol content checks and transport-level anomaly signals are available while broader misuse rules continue to expand.

Charts Sub-tab

A distribution view of the active capture: one donut per break-down dimension — application protocol, transport, link layer, talkers, listeners, destination ports, destination countries, MIME types, encryption.

  • Clicking a wedge filters. A wedge (or its legend row, which is the keyboard-accessible control) selects the slice and re-runs the ordinary filter in place, so a chart is an entry point into the packet list. A chart-applied filter does not navigate; Show matching packets is the only control that leaves the workspace.
  • The colour palette follows the theme. Wedge 0 is the theme accent and the rest walk a fixed lightness ladder with a hue drift, so a monochrome theme still produces distinguishable slices; the panel re-renders when theme variables change.
  • One value per packet. A pie only reads correctly when its wedges sum to 100 %, so a multi-valued fact is reduced to its primary value or left out and the card footer reports how many packets were unclassified, rather than inventing an “Unknown” wedge.
  • A slice only filters when the grammar can carry its value. Values containing ||, &&, parentheses or ! still select and show details but never silently apply a query that matches the wrong packets, and the Encryption break-down is deliberately queryless (“Encrypted” is the absence of a readable payload, not a key).
  • Three across, at most. The grid raises each track’s minimum to a third of the available row, so a wide window renders three readable cards instead of five squeezed legends, and a narrow one collapses to two or one without overflowing.
  • The Charts button in the Stats subtab row jumps here; it is a jump, not a fourth Stats subtab, and it is disabled with a tooltip until a network capture is loaded.

AI-driven Compare API

The Compare workspace also exposes a programmatic API the AI researcher calls through the action registry (compare.set-left-packet, compare.set-right-packet, compare.run):

  • compare.set-left-packet <packetKey> / compare.set-right-packet <packetKey> — resolves a packet by compare-identity key, raw __packetKey, or the host app’s computed key form and assigns it to the left or right slot. Throws a structured error (with a “capture is empty” suffix when relevant) when the key does not match any captured packet so the AI plan can recover.
  • compare.run { byteMode, decodedScope, decoderLeft, decoderRight } — runs the byte/decoded comparison against the current left/right slots and returns a structured result (no DOM). The AI gets exactly the numbers the on-screen table shows, so an investigation that ends with compare.run is reproducible by clicking Compare selected packets in the UI.

Keyboard & Navigation

  • The Compare workspace hides prev-btn / next-btn, the packet info pane, the packet payload pane, the right sidebar, and every standard workspace (summary_box, stats_box, data_tools_box, crypt_box, keystore_box, list_box, notes_box, settings_box) so the workspace owns the full window.
  • The shared Compare shortcut routes to the workspace; the AI action registry can drive the same endpoints without manual UI interaction.
  • Compare is a capture-dependent tab: it is disabled (with an explanatory tooltip) until a packet sequence exists, and it is never chosen as a landing tab for a session that holds only file entities.

Crypt Tab — Encryption Workspace

Where encrypted material in the capture is identified, keyed, and decrypted. Seven sub-tabs cover TLS, PGP, SSH, Wi-Fi, password-protected archives and tunnelled traffic, plus a hash view that mirrors the Conv workbench.

Hashes Sub-tab

  • Read-only mirror of the digests computed on Conv → Hashes: the input box lives on the Conv tab (where the user enters or pastes bytes) and this panel renders the results so the analyst does not have to flip workspaces to inspect digests.
  • Algorithms: MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, RIPEMD-160, Whirlpool.
  • The mirror refreshes when the subtab is opened (the two panels stay loosely coupled, with no cross-workspace event subscriptions).
  • Hash Reverse — paste a hash and Reverse Hash posts it to the hashes.com API and renders any plaintext matches; Identify Hash Types lists the candidate algorithms for an unrecognised digest. Uses the hashes.com API key from Settings → API Keys, and cost is deducted from that account.
  • Session-keystore entries can be pushed straight here with Send to Hashes.

SSL Sub-tab

  • Encountered SSL/TLS: list of all distinct TLS sessions detected in the capture.
  • Per-session details: SSL version, cipher suite, certificate text.
  • Filter packets: one-click filter to show only packets from the selected TLS session.
  • Load cert text: use the certificate found in the capture; Pull current cert connects to the endpoint now and may return a certificate that was not presented in this capture — the panel says so explicitly.
  • Only TLS handshakes with a captured certificate checkbox narrows the list.
  • Certificate Loader: load a PEM certificate from file or paste PEM text; parsed preview displayed.
  • Private Key Loader: load a PEM private key from file or paste PEM text; parsed preview displayed.
  • TLS Key Log Loader: load or paste NSS key-log lines (CLIENT_RANDOM <client_random> <master_secret>).
  • TLS/SSL Decrypt: RSA decryption of the selected session’s payload using the loaded private key; decrypted hex and ASCII preview; Send to Conv button.

PGP Sub-tab

  • PGP Messages In Capture: scans loaded packet payloads for ASCII-armored OpenPGP blocks and lists them by packet.
  • Refresh re-scans the current capture; Load selected copies the chosen block into the PGP input area.
  • PGP Input accepts either ASCII armor or binary hex and can:
    • Analyze detected structure (message, signature, public key, private key, cleartext signed message)
    • Convert To ASCII armor
    • Convert To binary hex
  • Key Material inputs:
    • Optional private key input for decryption
    • Optional public key input for signature verification
    • Passphrase input plus auto-discovered passphrase candidates recovered from packet text and metadata
  • Decrypt / Verify handles encrypted messages and cleartext signed messages using openpgp in the renderer.
  • Successful decrypt/verify output can be Sent to Conv, and validated private key/passphrase material can be promoted into the session keystore.

OpenSSH Sub-tab

  • Reserved workspace for OpenSSH key and session tooling; the Conv decoder can already parse SSH/OpenSSH text structures today.
  • Keystroke analysis: Markov-based shell-command recovery reconstructs plausible commands from SSH keystroke timing and slotless templates.
  • Tuning lives under Settings → Frontend → OpenSSH Keystroke Analysis: Minimum command length (default 2 — set to 1 to allow single-character commands like : or w) and the Short command bonus multiplier that lets slotless commands (ls, pwd, cd) compete with placeholder-bearing templates.

Wireless Sub-tab

  • Encountered 802.11 transmissions: list of every distinct 802.11 frame detected in the capture, with SSID, BSSID, channel, frame type/subtype, cipher, and crypto metadata.
  • Filter by SSID / BSSID: substring filters narrow the list to transmissions matching a specific network or client.
  • Decryptable with my keys filter: shows only frames that the keystore’s wifi keys can actually decrypt.
  • Wi-Fi Keys (Keystore): per-session key list pulled from the keystore. Key types supported are wifi-wep (hex WEP key, 5/13/16 bytes for WEP-40 / WEP-104 / WEP-128), wifi-wpa-psk (WPA2 passphrase), and wifi-pmk (pre-computed PMK). Key entries can be added, edited, and removed directly from this panel.
  • Send keys to backend: pushes the current wifi keys to the backend via the setBackendWifiKeys IPC, which stages them on disk and triggers an automatic background rerun so the decrypted data flows through the rest of the workspace without a manual reload.
  • WPA2 / AES-CCMP payload decrypt: when a WPA2 4-way handshake is present in the capture, the backend derives the per-session PTK (PBKDF2-HMAC-SHA1 PMK → PRF-384 PTK per IEEE 802.11i §8.5.1) and uses the TK portion to decrypt CCMP data frames. Pre-computed PMK entries (wifi-pmk) and a 5-/13-/16-byte WEP key in the same keystore both reach the same decryptWifiPayload plumbing. Decrypted hex and ASCII preview plus a Send to Conv button.
  • WEP (Wired Equivalent Privacy) payload decrypt: 802.11 frames whose protected bit is set on a Dot11WEP layer (or whose FC field is protected when the WEP layer is not parsed) are RC4-decrypted with the matching wifi-wep keystore entry. The decoder uses the proper WEP body layout (3-byte IV + 1-byte KeyID + ciphertext + 4-byte ICV) and runs the standard CRC-32 ICV check leniently (real WEP captures in the wild often have a corrupt or zeroed ICV), then gates the “ok” verdict on a structural sanity check — the plaintext must start with the 802.2 LLC / SNAP header (DSAP=0xAA SSAP=0xAA Control=0x03) and contain an IANA-assigned EtherType, or fail with a raw Ethernet-II header. The wrong key therefore never produces a false positive. The decryptor pulls ARC4 from cryptography.hazmat.decrepit.ciphers.algorithms (with a fallback to the legacy cryptography.hazmat.primitives.ciphers.algorithms path) so the path keeps working on both cryptography >= 43 and older installs. A bundled samples/pcaps/wep-A4-81-53-B4-CF.pcap (BSSID c0:4a:00:80:76:e4, WEP-40 key A4:81:53:B4:CF) is shipped with the release for a one-click smoke test.
  • Link-layer protocol is never confused for the app protocol — when a decrypted 802.11 frame is spliced back into the packet loop in src/backend/snitch.py, only the inner transport / application-layer protocol names flow into packet.decoded_protocols. Link-layer identity is conveyed via link.proto = "IEEE 802.11" instead. The List panel’s App Protocol column additionally ignores link-layer protocol names (WIFI, IEEE 802.11, ETHERNET, LINUX COOKED, FRAME, …) when picking an application-layer label, so a decrypted TCP frame correctly surfaces HTTP / SSH / DNS rather than WIFI.
  • Saved sessions round-trip the wifi keystore entries; on session restore the bridge re-sends them to the backend so re-opening a wifi capture still decrypts 802.11 frames without manual re-entry.

Archives Sub-tab

  • ZIP / RAR archive decryption for password-protected archives, driven by an explicit password entry — nothing is brute-forced.
  • A password-protected ZIP from Conv → Extraction is sent here automatically when extraction requires a password.
  • Decrypt archive produces a plaintext ZIP that can be browsed in Conv → Extraction or saved directly.
  • Send plaintext ZIP to Conv loads the decrypted container back into the workbench.
  • Clear drops the staged archive without touching the original bytes.
  • RAR decryption requires 7-Zip on PATH; the panel reports that requirement instead of failing silently.

Tunnels Sub-tab

  • Tunnel decapsulation scans captured frames for GRE and VXLAN encapsulation.
  • Inner packets are added alongside the originals with source-packet provenance, so a tunnelled conversation can be analysed as ordinary packets.
  • Maximum derived packets caps how many inner packets one scan may create (default 5000, max 50000).
  • Scan / rebuild derived packets re-runs the scan and replaces the derived set; Remove derived packets deletes them without changing the original capture.
  • The status readout reports what the last scan found, so an empty result is distinguishable from a scan that has not run.

Artifacts Tab — Artifact Store

The session’s memory of everything that is not a raw packet: secrets, credentials, certificates, cookies, URLs, extracted files, and every data object brought into the session. Two sub-tabs split that in two — Artifacts is one list of values, Entities is one grid of objects. The auto-population list at the end describes what feeds the Artifacts sub-tab; it is not a third sub-tab.

Artifacts Sub-tab

  • Unified Artifact Store for session and persistent secrets, extracted files, URLs, certificates, credentials, and other investigation values.
  • Artifact categories: All, Secrets, Items, Files, and Misc, with category filtering and text search.
  • Session artifacts are auto-populated from packet data and extraction workflows; persistent artifacts can be retained locally across sessions.
  • File artifacts preserve extracted bytes, filename, protocol, source details, and byte length for later review.
  • Show non-printable entries toggle for entries whose content is binary.
  • First-use password setup dialog; subsequent launches prompt for unlock passphrase.
  • Reset keychain password: wipes persistent entries and sets new encryption password (confirmation required).
  • Entry types: password/secret, private key, certificate, session cookie, URL.
  • Open link button: open URL-type entries directly in the system browser.
  • Send to persistent: promote a session entry to the encrypted persistent keychain.
  • Send to Hashes: push an entry’s bytes to the Crypt → Hashes sub-tab.
  • Delete selected: permanently remove a persistent entry.
  • Details preview pane: type, label, source, creation timestamp, content summary.
  • Artifact filter bar: search artifacts by type, label, and content, and narrow the view by category.
  • Wipe persistent store: remove persistent artifacts from the local store.
  • Rescan for Artifacts: scan extracted and carved files for credentials, tokens, keys, connection strings, and other recognizable secrets.
  • Keystore export: session or persistent keychain entries can be exported as CSV, JSON, or XML (see Session Keystore Export).

Entities Sub-tab

The session’s single grid of every data object that has been brought in — no separate import flow. Carved files, downloaded files, and Conv extractions/decompressions are adopted into it automatically (keyed by store id, so nothing double-imports), and every capture source in the session appears as a CAPTURE entity too.

  • Bring in… (in the left sidebar under Sessions Library, or drag-and-drop onto the left rail) imports any file — a pcap, a saved session, a document, an image, an archive, a database dump, an executable. Files are routed by magic bytes: pcap/pcapng and saved sessions are parsed and merged as an additional capture source; anything else is hashed, run through the decoder registry, and registered as a file entity.
  • Entity cards: one card per object showing its kind, size, SHA-256 hash, and decoder verdict (STRUCTURED · http vs BLOB), plus its mask state.
  • Card previews: image entities render a thumbnail, documents render a facsimile of their first page, audio renders embedded album art (ID3v2, FLAC, Ogg, RIFF/AIFF, MP4/M4A), and everything else keeps its type glyph. Masked entities render no preview and no preview is computed for them. Toggle: Settings → Dev → Entity card previews.
  • Toolbar: ↑ Up (back out of a container), Bring in…, Open, Mask / unmask, Pin, Export entity, Remove, and the Masking profile selector; Compare left / Compare right pick the two sides of a comparison, then Compare diffs them (byte-level diff, byte metrics, SSDEEP-style similarity, and a decoded-field diff).
  • Go inside: double-click a card (or use the context menu’s Entity… section) to drill into it — a decoded blob opens in Host Data, raw bytes open in Conv → Decodes, and a capture entity opens the List filtered to its source. Archives, compressed streams, and nested captures are unwrapped recursively (bounded at 4 levels deep, 50 members per container, 400 objects per import, 64 MiB per member, 512 MiB total; oversized members are still catalogued by name and size, and the activity log records which bound was hit).
  • Masking profiles — none, metadata (IPs, MACs, hostnames, credentials), or full (adds ports, URLs, file names, raw bytes) — govern what an entity’s data shows everywhere and what Save Session / Export Session writes. Per-field policy is deterministic (stable HMAC token, so the same address correlates across entities), pseudonym (host-01, reversible only via an explicit mapping), or irreversible; redacted tokens keep their shape (an IP still parses as an IP, a MAC keeps six groups, an IPv6 keeps its ::). The mask is the same per-source visibility flag that Compare → Sources and Stats → Capture Sources edit, so the views cannot disagree, and export fails closed if the redaction transform ever errors.
  • Works everywhere packets do: every entity is wrapped in a synthetic packet record, so entities appear in List (filterable with aliases like entity-type: image, entity-kind: derived, entity-file: report.pdf, depth: 2, extracted-from: <id>, extraction-kind: archive-member), Stats, Host Data, Compare, Hashes, search, and LLM context.
  • Licensing: importing, opening, decoding, hashing, and listing entities is free. Masking profiles, entity comparison, and batch analysis require a Professional or Enterprise license.

Auto-population from Packet Data

Automatically extracts and adds artifacts to the Session store when a capture is loaded:

  • HTTP Basic Auth: username and password from Authorization: Basic headers.
  • HTTP form credentials: username/password fields extracted from POST bodies.
  • HTTP cookies: Cookie and Set-Cookie header values; structured cookie.* metadata fields.
  • HTTP request targets: raw URI and constructed full URL (with Host header or fallback to packet IP).
  • FTP credentials: USER/PASS commands (validated to port 21).
  • SMTP credentials: AUTH login (validated to ports 25/465/587).
  • IMAP credentials: LOGIN command (validated to ports 143/993).
  • RDP credentials: user:/pass: fields (validated to port 3389).
  • SIP credentials: Digest auth response (labeled as hashed), Basic auth username/password, email addresses from From/To headers (validated to ports 5060/5061).
  • Hostnames, IPv4 addresses, emails, and URLs extracted from packet text payloads.
  • Auto-population runs in the background via requestIdleCallback to avoid blocking the UI.
  • Stub packets are hydrated on demand via captureapi.getPacket during keychain rebuild.
  • Keychain rebuild re-triggers after backend progressive loading completes.

Stats Tab

Aggregate statistics over the entire loaded capture, presented as clickable tag clouds and maps. The tab is split into three sub-tabs: Statistics, Map, and Anomalies.

Statistics Sub-tab

  • Capture Overview: total packets, unique hosts, encrypted vs. unencrypted counts, unique protocol count, unique GeoIP location count.
  • Capture Overview also includes Total Traffic (sum of payload bytes) and Credentials Found (current active keychain entry count).
  • Top Talkers: top IPs by packet participation (source + destination); clicking an entry applies an IP src/dst filter.
  • Application Protocols: all distinct application-layer protocols.
  • Transport Protocols: TCP, UDP, ICMP, SCTP breakdown.
  • All Hosts Addressed: unique source and destination IP addresses.
  • Hostnames (DNS): resolved hostnames from DNS or reverse lookup.
  • Physical Locations: city/country pairs with occurrence counts (sorted by frequency).
  • Ports Seen: all source and destination port numbers observed.
  • MAC Vendors: Ethernet OUI vendor strings.
  • MIME Types: all distinct payload MIME types.
  • Data Types: all distinct magic-identified type strings.
  • Carvable Files: discovered carve candidates across HTTP/FTP/NFS/SMB streams; clicking a candidate loads the carved bytes directly into Conv.
  • ARP/RARP Operations: ARP/RARP operation type counts.
  • IGMP Message Types: IGMP type distribution.
  • Capture Sources: per-source visibility and per-source metric inspection for merged sessions — the same flag the Entities mask control edits.
  • Clicking any tag (except location) pre-fills the filter bar with the corresponding filter expression.
  • A Charts button at the end of the subtab row jumps to Compare → Charts — a distribution view of the same capture (see Charts Sub-tab).

Map Sub-tab

  • Worldmap-style Internet Heatmap based on public GeoIP coordinates for source and destination addresses.
  • Basemap is rendered from a bundled SVG world map and themed at runtime to match the current UI colors.
  • Aggregate By toggle: whole capture vs. currently filtered packet set.
  • Intensity By toggle: packet hits vs. payload bytes.
  • Interactive controls for map zoom, intensity, point size, tightness, and blur.
  • Clickable location dots highlight individual geolocated points; selection zoom helps inspect dense regions.
  • Heatmap summary text reports geolocated host count and current metric total for the active scope.
  • Private/local addresses are excluded; only routable addresses with GeoIP coordinates are plotted.
  • Timeline playback: a progress animation over the capture’s timeline with play / pause / reset, a position slider, per-machine source filtering, and 0.25×–8× speed control; the clock readout shows the simulated capture time.
  • Playback requires timestamped packets; a capture without them reports no-events rather than failing.
  • The map can also be driven from chat — stats.timeline-control and stats.focus-location are AI-callable actions.
  • Map and data panes are resizable, and the projection calibration knobs live under Settings → Dev.
  • Hosts and Locations under the map is the address-level inventory: every address in the capture, including LAN addresses with no GeoIP record, with where it resolved and its weight under the current metric. Clicking a row zooms to it; an unanchored LAN row offers to pin its subnet.
  • Place search: a city, state, country or continent with no host in the capture still zooms the basemap to it and says no captured host is there.
  • Plot prompt instead of a silent corner pile: a capture containing hosts with no map position asks once per capture shape whether to open Controls → Networks, and explains a blank basemap when nothing could be placed automatically.
  • Pins persist with the session: per-/24 placements and the capture-machine anchor survive leaving the subtab, saving and restoring the session, and a reprocess or entity import.
  • Notables carousel: a themed column over the heatmap describes the host in focus — images, document first pages, executables, album art, threat-intel verdicts and protocols, each with a written briefing — and switches to a capture-wide session view (led by one card distilled from the Analysis tab) when zoomed out with nothing pinned.
  • The map pane is the first row and flush with the top of the workspace, the subtab row no longer scrolls away, and the map no longer shrinks itself each time the Controls panel opens.
  • Geolocation and timeline playback are unlocked with a Professional or Enterprise license; the store lists the tiers and what each includes.

Anomalies Sub-tab

One section per detector family, in a fixed order, with click-to-filter cards that pre-fill the filter bar. A family with nothing to report still renders and says “Checked and clean”, because “nothing here” and “this detector did not run” are different answers.

  • Periodic callbacks (“phone home”) — is this endpoint called on a timer? Jitter is measured against a fitted beat grid rather than gap-to-gap (an implant that randomises its sleep by ±7 s otherwise looks like a 23 % gap difference), the period is fitted from candidate harmonics and refined by least squares, requests/responses/ACKs collapse into one call, and a hostname served from several CDN edges is one identity rather than several addresses. Findings list the fitted period, beat count, jitter, span and addresses; endpoints that nearly qualified report their reason. Tunable: minimum beats, jitter %, period range, minimum duration, a PCAP-number-or-date analysis window that scopes only this detector, and per-endpoint overrides.
  • DNS anomalies — six shapes: encoded-label tunneling (many distinct long, high-entropy, low-vowel labels under one parent), a concentration of non-standard record types (TXT/NULL/MX/SRV/ANY), an NXDOMAIN surge, a query burst, subdomain fan-out under one registrable domain, and a pointer to the periodic-callback finding. The backend now records the query type and response code (dns.qry.type, dns.flags.rcode); captures saved before 4.0.4 are decoded from their wire bytes where possible and the residue is reported instead of a false “clean”.
  • Brute force — requires failed-login evidence, not just a burst. Cleartext protocols must show the server’s own rejection (FTP 530/532, SMTP 535/534/538, IMAP NO/BAD, POP3 -ERR, HTTP 401/407, Kerberos KRB-ERROR); opaque protocols (SSH/Telnet, TLS-wrapped mail) require a short stream the server ended, because the credential result is encrypted and a normal login-and-quit closes the same way. Attempts must be concentrated in short streams, so a mailbox fetch or file download cannot trip it. Every threshold is configurable.
  • Portscans — a single source sweeping many destination ports in a short window, listing the source, the targeted port count and the port list.
  • Packet-shape outliers — rolling per-minute packet-count and average-length baselines, flagging minutes that drift more than the configured deviation from the mean.
  • High-entropy cleartext payloads — outbound payloads that are both unencrypted and above an entropy threshold (potential covert channels).
  • AI “Unclassified” review — the model receives an aggregate-only digest (counts, never payload bytes) plus the findings the rules already produced, and reports what falls outside them. A finding without evidence is dropped, dismissals are remembered by label, and the section is omitted when there is nothing to show and no way to ask.
  • Dispositions — mark any finding as false positive (not real) or known minor (real but routine). Dismissed rows move to a collapsed, reversible Dismissed section, leave every count, are not offered to the AI planner or an investigator rat, and are removed from the Session Threat Score, which reports how many points your review suppressed. Marking a host covers the findings aimed at it and the threat-intel indicators naming it.
  • The detectors share an engine with the Threat Intel sub-tab’s Session Threat Score so the two views never disagree; every finding’s query is verified to actually select packets.
  • Detector work is sinkholed for sessions that hold only synthetic entity packets: packetSequenceAvailable: false is reported so “no anomalies found” and “nothing to analyse” stay distinguishable.

List Tab

The capture-wide table. It has no sub-tabs; the whole workspace is the table plus its controls.

  • Searchable, sortable table of all packets across all hosts.
  • Real-time text filter by host, IP, port, or protocol name.
  • Group by stream toggle: groups rows by bidirectional stream (canonical 5-tuple) before sorting.
  • Sortable columns: index, bookmark, stream group, host, source IP, destination IP, source port, destination port, transport, application protocol.
  • Click any row to navigate directly to that packet in the Host Data view.
  • Bookmark indicator column (★) with visual fill for bookmarked packets.
  • Per-source color tints for merged sessions when Enable source color coding is on (Settings → Merge).
  • The App Protocol column ignores link-layer protocol names, so a decrypted 802.11 frame shows its real application protocol rather than WIFI.
  • Entity records appear here too (see Entities) and are filterable with the entity-*, depth and extracted-from aliases.
  • Very large ungrouped lists can be virtualised (Settings → Dev → Debug Options).

Notes Tab — Session Notes

The analyst’s notebook. It has no sub-tabs; the note list and the editor sit side by side.

  • Create freeform text notes tied to the current session.
  • Color-tag notes with a color picker (visual coding per note).
  • Full-width editable text area; edits reflect immediately in the notes list preview.
  • Mark as verified data (concrete) checkbox per note routes the note to the Verified Notes (from Notes) heading on the Analysis tab; the default inferred state routes it to the Inferred Data (from Notes) heading.
  • The concrete/inferred flag is persisted in the saved session and restored on load.
  • Sanitized live Markdown preview in the editor (including GitHub-style pipe tables).
  • Remove individual notes.
  • Export all notes to a plain-text file with --- dividers.
  • Notes are saved as part of the session file.
  • Send to Notes context menu submenu: send selected/context text, List row visible data, Conv output, or Conv hashes to a new note. Context-menu-generated notes are always inferred; analysts can toggle the flag in the editor afterwards.
  • Attach to note… context menu submenu: attach the datapoint you right-clicked (a Stats anomaly finding, a packet, an artifact, a decoded field) to an existing note as an evidence reference. Re-attaching the same item reports that the note already references it rather than duplicating it.
  • One formatting policy: the live preview renders the same Markdown as the Analysis report and the chat, treats a note as a document (a single newline is not a paragraph break), and strips emoji from AI-authored notes only — a note you typed, or one carrying captured data, is stored verbatim.
  • The Notes tab is part of case management: notes are evidence, and AI findings can reference them (see Investigation & Case Management).

Settings Tab

The Settings workspace owns every persisted preference. It is organised as one sub-tab per concern, and the list below follows the on-screen order. Settings are persisted to userData/config/settings.json via main-process IPC (settings-get, settings-save, settings-update); Save settings writes normalized values to disk and Restore defaults resets to app defaults.

The Storefront Sub-tab

  • Browse the theme catalogue, preview each theme, then Buy to open the secure Paddle checkout in the default browser.
  • Check License re-queries the catalogue after payment and unlocks the theme for this install.
  • Refresh Catalog re-fetches the catalogue listing.
  • Install UUID — the stable identifier for this install (read-only, copyable). Licences and theme purchases are bound to it, so it is the value to quote to support.
  • Manage your subscription link and Email me a sign-in link for cancelling, changing card details, or switching plans.
  • A catalogue status line and a sandbox banner report where the catalogue response came from.
  • This sub-tab is always present; what it can unlock depends on the license tier reported by the catalogue.

Frontend Sub-tab

  • PCAP filename — read-only display of the capture currently loaded.
  • Conv JSON indent spaces (general.convJsonIndentSpaces) for packet JSON pretty-print formatting, used by Conv → Packet JSON.
  • Status reset delay (seconds) (general.statusResetSeconds) controlling status message timeout.
  • Stream warning threshold (packets) (general.streamContextWarnPacketThreshold) for follow-stream Conv/Crypt warnings, defaulting to 20 with a minimum accepted value of 5.
  • Manual Conv import limit (MB) (general.manualConvImportMaxBytes) for file-to-Conv hard limits and warning thresholds; imports warn above a quarter of the limit and are refused above it.
  • Decoder permissiveness (settings-data-tools-decoder-permissiveness, 0–100, default 50) — lower is stricter (rejects decoders that report parse errors), higher accepts best-effort results with warnings. Only affects decoders that publish an errors / errorCount field.
  • Enable Conv Subnet internet-host Nmap service scans (general.nmapServiceScanEnabled) to allow Analyze Subnet service enumeration.
  • Check for new releases on startup (general.checkForNewReleasesOnStartup) for startup update checks; About opens automatically when a newer release exists.
  • Open after capture load (general.defaultTab) — picks the workspace that opens after a fresh capture finishes loading: Host Data, Stats (default), or List. The setting only takes effect when no saved session tab exists to restore; an existing saved session keeps its remembered tab across preference changes.
  • OpenSSH Keystroke Analysis — Minimum command length (settings-keystroke-markov-min-command-length, default 2; set to 1 to allow :, !, w) and Short command bonus multiplier (settings-keystroke-conciseness-bonus-multiplier, default 1.0) for the Markov command recovery in Crypt → OpenSSH.

Backend Sub-tab

  • Default backend packet chunk size (general.backendPacketChunkSize) with allowed values 25, 100, 250, 500, 2000, 8000.
  • Backend worker threads (general.backendWorkerThreads) with a default of 2 x CPU cores.
  • TCP host (backend.tcpHost) and TCP port (backend.tcpPort) for the bridge HTTP service.
  • Force legacy backend spawn mode (backend.forceLegacySpawn) to disable service mode and launch the backend per run.
  • Enable backend HTTP data mode (debug.backendHttpDataModeEnabled) for in-memory incremental snapshots over HTTP payloads.
  • These are the controls that decide whether the bridge uses the long-lived service described in Backend HTTP Service / Bridge.

LLM Sub-tab

LLM Defaults

  • Provider (llm.provider) — local, ollama, or openrouter. Fresh installs choose Local during first-run setup; upgrades retain their provider.
  • Built-in Local inference — bundled CPU llama-server runtime, with local model files downloaded and hash-verified during setup. Optional Vulkan and CUDA runtime packs are downloaded separately; an unusable pack falls back to CPU. No Ollama installation is required for the Local provider.
  • Local model setup — choose compatible models from the live catalog. The setup can continue in the background, be cancelled, or be declined with AI disabled. The local server binds to loopback with a per-process API key.
  • Ollama model (llm.ollamaModel). Default minimax-m3:cloud.
  • OpenRouter model (llm.openrouterModel). Default openai/gpt-4o-mini; five OpenRouter defaults ship in config/models.json.
  • Model roles — Decision models must support SystemOne; Custom models are used for request routing, tool use and investigation; Summary models must support generation and summarization; Fast-route is the verbatim single-action router (empty follows the Custom model). PacketSnitch Local Analyst 1500h and Fast Router 500h are the recommended 4.1-compatible choices. SmolLM3 3B is the recommended summarizer; Dust 360M (not recommended), Qwen3 0.6B, and Gemma 4 E2B remain optional alternatives.
  • Per-provider request timeouts (llm.ollamaRequestTimeoutSeconds, llm.openrouterRequestTimeoutSeconds).
  • LLM trigger delay (seconds) (llm.triggerDelaySeconds) for stream-summary idle scheduling.
  • Max tokens for stream summary (llm.maxSummaryTokens) applied to Ollama num_predict and the OpenRouter max_tokens parameter.
  • LLM retries (llm.retryCount) for automatic retry attempts after failed calls.
  • Minimum wait between LLM queries (seconds) (llm.queryRateLimitSeconds) — a 429 increases this up to 4× the configured value.
  • Max concurrent LLM requests (llm.maxConcurrentLlmRequests) — 0 = Auto, derived from CPU cores, RAM and CUDA VRAM; enter 1–64 to override. The inter-request delay and 429 backoff still apply.
  • Ask PacketSnitch routing retries (llm.actionRouterRetryCount) for malformed or empty routing responses (0–5).
  • Context window (tokens) (llm.contextWindowTokens) — conservative default (94 000) used when the live ollama show probe is unavailable (offline, cloud models, OpenRouter).
  • Multi-step planning (llm.multiStepPlanningEnabled) and confidence threshold (llm.multiStepConfidenceThreshold, default 0.8) — the complexity assessment is computed from the request text and a single-step route is rejected when it says a plan is required; two or more detected goals always require one.
  • Adaptive step reflection (llm.planStepReflectEnabled) — reflect between plan steps and adjust the next one, or run the pre-planned list as-is.
  • Follow-through completion check (llm.followThroughEnabled) — after the plan (or a dead end), one pass asks whether every goal was satisfied and may fold in one corrective plan.
  • Learned techniques: llm.learningEnabled plus the reinforcement gain, failure decay and disuse half-life described under AI Investigation & Research.
  • Flock screen context (llm.flockScreenContextEnabled) — sends investigators a bounded, shape-only description of the current workspace: no payloads, decrypted content, key material or filter text.
  • Requests stream, so the request timeout is the longest silence between chunks rather than a cap on total generation; a transport failure names the endpoint, the model and the setting to change.

Rat Flocking

  • Flock burst size, Investigation angles, and Max total calls bound how many rats run and how much work one investigation may spend.
  • Chat summary every N events throttles flock event summaries (orthogonal to the chat noise level).
  • Chat verbosity (llm.chatVerbosity, 0–3) — 0 quiet, 1 normal, 2 progress, 3 diagnostic. Levels are strict supersets, and the final answer is always shown.
  • Ask PacketSnitch chat — renders assistant Markdown as bold, italics, underline, sub/superscript, code, blockquotes, lists, tables and headings. The header shows provider and model roles; each assistant response shows its end-to-end round-trip time.

AI Research Controls

  • Research confirmation template shapes the approval prompt an autonomous run shows before spending money.
  • Maximum paid spend, Maximum requests per provider, Maximum quota calls per provider, and Maximum repeated lookups per value cap autonomous research.
  • Maximum autonomous steps and Maximum autonomous runtime (seconds) bound a single run.
  • Analysis compaction threshold (blubs) (llm.analysisCompactionThresholdBlubs) controls when long analyses are compacted.

Ask PacketSnitch Pacing

  • Minimum visible time per bubble (ms) and Reading pace extra hold per bubble (ms) control how long chat lines stay on screen.

API Keys Sub-tab

LLM API Keys

  • Ollama API key (llm.ollamaApiKey) for cloud (ollama.com) calls.
  • OpenRouter API key for that provider.

Threat Intel API Keys

  • VirusTotal API key (backend.virusTotalApiKey) — required for the VirusTotal lookups in Conv → Threat Intel.
  • Hashes.com API key — required by Reverse Hash and Identify Hash Types in Crypt → Hashes.

Metrics Endpoint

  • Metrics install UUID — read-only identifier reported with anonymous usage events.
  • The endpoint URL, flush interval and queue size live on the Dev sub-tab’s advanced metrics section, while the master consent switch stays on Privacy.

Dev Sub-tab

Hidden unless the catalogue reports the developer tier. It exists so the tiered experiences can be exercised without a second machine or a hand-edited settings file.

Developer Tools

  • Licensed tier to simulate — Developer (the real licence), Free (every paid feature and theme locked), or Demo (a fresh seven-day trial window, including the trial prompts, demo warning dialog and DEMO badge).
  • A status line states which tier is currently being simulated.
  • Nothing here changes what the catalogue reported; switching back to Developer restores full access.
  • The sub-tab’s visibility keys off the server-reported tier, so a developer already simulating Free can still reach the switch that turns it off.

Debug Options

  • Incremental refresh interval (ms) (debug.backendIncrementalRefreshMinIntervalMs) to throttle heavy frontend snapshot refreshes.
  • Incremental refresh packet threshold (debug.backendIncrementalRefreshMinPackets) to throttle heavy frontend snapshot refreshes.
  • Early yield packet threshold (debug.backendEarlyYieldPacketThreshold).
  • Plugin auto-disable failure threshold — critical failures before an unstable plugin is disabled.
  • Frontend ingest threading (debug.frontendIngestThreadingEnabled) and Frontend ingest worker threads (debug.frontendIngestWorkerThreads) for worker-based progressive ingest.
  • Bridge JSON-data emit interval (ms) (debug.backendJsonDataEmitMinIntervalMs) for HTTP-mode data payloads.
  • Map projection zoom X/Y and offset X/Y (debug.mapProjectionZoomX, debug.mapProjectionZoomY, debug.mapProjectionOffsetX, debug.mapProjectionOffsetY) for the worldmap overlay, plus Projection lock (debug.mapProjectionCalibrationLocked).
  • Ungrouped list virtualization (debug.ungroupedListVirtualizationEnabled) for large List-tab datasets.
  • Entity card previews (debug.entityPreviewThumbnailsEnabled) to render an image raster, a document first page or embedded album art on an Entities card. A masked entity renders no preview.

Learned Paths

  • Lists every stored route with its weight, use count, needs, steps, the reinforcement and pushback history, the filed date and any ideas it belongs to.
  • View as JSON shows the translated store rather than asking you to open the on-disk file, which is BSON.
  • Forget retired paths removes routes the flock abandoned, plus any chain built on them and their membership in an idea.
  • Redact identifiers from the store migrates a store written before redaction existed: it keeps every route, merges entries that were the same route learned against different hosts (keeping the stronger copy) and reports counts.
  • Reset the store and retrain deletes the store after a confirmation. The next run finds no memory and learns normally. Per-run investigation logs are deliberately untouched.
  • These last two are maintenance operations on your memory and are not reachable from the assistant.

Anonymous Usage Metrics — Advanced

  • Endpoint URL (privacy.metricsEndpointUrl, default http://64.227.4.43:8088/mhook), Flush interval (seconds) (privacy.metricsFlushIntervalSeconds), In-memory queue size (privacy.metricsMaxQueueSize), and the read-only Install ID.
  • These only take effect while the master Send anonymous usage metrics switch on the Privacy sub-tab is on.
  • The Google Analytics 4 measurement ID and API secret are compiled into the build and displayed read-only; the script is not fetched until metrics are enabled.

Merge Sub-tab

  • Enable source color coding (merge.sourceColorCodingEnabled) — applies per-source color tints to packet rows in the List, Stats, and Host Data tabs, making it easy to distinguish which source capture a packet came from in merged sessions.
  • Source colors (merge.sourceColors) — a configurable palette of hex color swatches (up to six). New merged sessions assign these to capture sources in randomized order; existing sessions keep their saved source colors.
  • Snap threshold override (ms) — blank means automatic; a value tightens or loosens how close two packets from different sources must be to land on the same timeline position.
  • Changes to either setting clear the LLM diagnostics cache and force a re-render of all color-coded panels.

Plugins Sub-tab

  • Install Plugin Zip, Refresh Plugin List, and Clear Errors.
  • Installed plugin list, addressed by plugin name and version hash.
  • Selected Plugin Capabilities panel lists every capability the selected plugin was granted.
  • Plugin Errors panel reports runtime failures and the per-plugin failure counters.
  • Install shows a zip inspection and capability review before confirmation; only keys declared in config/plugin-capabilities.json can ever be granted.
  • See Plugin Engine for the install, loading and failure-tracking pipeline.

Themes Sub-tab

  • Active theme dropdown listing every installed theme discovered at runtime.
  • A 400×250 preview of each installed theme plus the contents of the theme catalogue, so purchased themes are available offline.
  • Themes installed from The Storefront are cached under userData/theme-cache so they remain available without a network round-trip.
  • The theme directory path is exposed (themes-directory IPC) to guide custom theme placement.
  • See Theme Engine for the JSON schema, ID sanitisation and logo override rules.

Privacy Sub-tab

  • Send anonymous usage metrics (privacy.metricsEnabled) — the master opt-in switch. When off, no events are queued or shipped, and nothing on the Dev sub-tab’s advanced metrics section has any effect.
  • The explanatory note next to the switch lists exactly what is and is not sent.
  • First-run consent dialog answer is recorded in privacy.metricsConsentAsked.
  • The renderer enforces a strict SAFE_PROP_KEYS allowlist and per-key length caps, so no PCAP paths, IPs, prompts, or other user content ever leaves the renderer.
  • See Privacy & Anonymous Metrics for the transport, queueing and self-hosting details.

Keyboard Shortcuts Sub-tab

  • Enable keyboard shortcuts (settings-keyboard-shortcuts-enabled) — on by default.
  • Prefix trigger — a recorder field; press this trigger first, then a configured binding. Individual bindings can be switched to direct mode so they no longer need the trigger.
  • Full list of configurable shortcuts, each rebindable, with conflict detection reported in a status line.
  • Restore suggested bindings resets the table to the shipped defaults.
  • Function keys and Escape are direct bindings by design; character bindings use the prefix trigger.

About Sub-tab

  • Terminal-styled readout of the release notes for the version that is running (not necessarily the newest), fetched from the release mirror.
  • Refresh release notes re-fetches; Download New Release appears when a newer version is detected.
  • Falls back to a version-only line when the fetch fails or the bridge is unavailable.

Activity Log Tab

The diagnostic record. It has no sub-tabs.

  • Timestamped log of all GUI actions, backend events, and console output.
  • Entry prefixes: [GUI][UI], [Console][UI], [Console][Backend].
  • Real-time search/filter bar (case-insensitive substring match).
  • Log written to a persistent file on disk; file path shown at the top of the panel.
  • Duplicate log suppression: identical renderer console entries are suppressed for 5 seconds.
  • Incremental backend refresh log lines suppressed to avoid noise.

Help Tab

The in-app route to the documentation. It has no sub-tabs; clicking it opens a window rather than swapping the workspace.

  • Opens the documentation site (https://packetsnitch.com/docu/) in PacketSnitch’s own child browser window rather than the system browser, so the reference stays anchored to the app.
  • The child window is sized 1200×900, has its menu bar removed, uses the desktop user agent, and is restricted to the whitelisted PacketSnitch / GitHub / Buy Me a Coffee / VirusTotal hosts.
  • Navigation to any other domain is blocked and logged.
  • Opening Help while the window is already open focuses the existing window instead of spawning a second one.

Capture Loading

  • Load .pcap and .pcapng capture files directly from within the app via the Load Capture or Session file picker in the left sidebar.
  • Load previously saved PacketSnitch session files (compressed .json.xz or .json.gz) from the Sessions Library — use New Session to start fresh, Import to add an exported session file to the library, Merge Selected to combine decoded sessions on one timeline, and double-click any row (or Open) to restore it.
  • Bring in any file as an entity without replacing the current session: click Bring in… under the Sessions Library, or drag and drop the file anywhere onto the left rail. Files are routed by their magic bytes, not their name — a pcap/pcapng/saved-session is parsed and merged as an additional capture source, while any other byte sequence (a document, image, archive, database dump, executable…) is hashed, run through the decoder registry, and registered as a new entity.
  • A new session no longer forces an immediate OS file picker: New Session clears the session and opens the Artifact Store on its Entities subtab, and “Load Capture or Session” appears in the left sidebar whenever the session holds no capture yet.
  • Session-backed PCAP reprocessing: saved sessions retain the source capture as base64 so the backend can be re-run later without manually re-selecting the file.
  • Progressive capture loading: backend emits chunked host snapshots every 500 packets; the UI becomes interactive after the first chunk arrives while processing continues in the background.
  • Optional backend HTTP data mode: the bridge can stream incremental JSON snapshots directly over the backend HTTP response instead of waiting on hosts-*.json files on disk.
  • Lazy packet hydration: packet stubs are built immediately and full payloads are fetched on demand, keeping the UI responsive for large captures.
  • Left-panel partial-data warning shown while incremental backend processing is in progress.
  • Backend preprocessing blocks session save/export until complete, preventing persistence of incomplete data.
  • Configurable post-load landing tab (general.defaultTab in Settings → Frontend) — choose which workspace opens after a fresh capture finishes loading: Host Data (drills into the first packet’s hex/ASCII + protocol tree), Stats (the at-a-glance Statistics / Map / Anomalies overview, the default), or List (the sortable, pcap-ordered packet list). A previously saved session still restores into its remembered tab; the preference is only consulted when there is no saved tab to fall back on (or when the session was saved before the setting existed). Persisted via settings.json, normalized against a VALID_DEFAULT_TABS whitelist so a corrupt or stale value can never strand the user on a blank workspace. A session that holds only file entities (no capture) lands on the Artifact Store → Entities subtab instead.

Packet Navigation

  • Prev / Next buttons to step through packets one at a time.
  • Target Host dropdown to scope navigation to a specific source/destination IP pair.
  • All Hosts (0.0.0.0) virtual option routes navigation across every packet in the capture.
  • Navigation follows the active filtered packet set when a filter is applied.
  • Packets are ordered strictly by capture timestamp, then Packet Processed, then index.
  • Packet bookmarks: mark any packet with a star; bookmarked state is saved in the session.
  • ★ bookmark indicator in the List tab and filter support via bookmark:true.
  • Click any row in the List tab to jump directly to that packet in the Host Data view.
  • Configurable keybindings for navigation and analysis actions, with a user-selectable leader key and a per-binding direct mode (see Settings → Keyboard Shortcuts).
  • The log, chat and other auxiliary panels are resizable and movable; position and size survive close/reopen within the session.

Session Management

  • Save full sessions with all UI state: packet cursor position, filter history, active tab, bookmarks, notes, and session keychain.
  • Autosave on a 5-minute timer to prevent data loss.
  • Session files are compressed with LZMA (lzma-native) or gzip as a fallback, keeping saved session sizes small.
  • Session library picker (session-picker) for browsing and restoring previously saved sessions — New Session starts fresh, Import adds an exported session file, Refresh reloads the list, and Merge Selected combines decoded sessions on one timeline.
  • Session restore skips eager keychain rebuild (deferred to idle time) so the UI opens quickly.
  • Session-picker results are cached for fast startup and refreshed in the background.
  • Saved sessions preserve investigation context, including AI research history and evidence references.
  • Bring in new data at any time with Bring in… (or drag-and-drop onto the left rail) — imported files become entities that are saved with the session, so a session can hold captures and documents/archives alike.
  • Capture sources are entities too: every pcap/pcapng source in the session appears on the Artifact Store → Entities grid alongside brought-in files, and entity masking governs both on-screen display and what Save Session / Export Session writes to disk.

Filter Engine

  • Real-time filter bar supporting a rich expression language.
  • Key:value equality: ip.src.addr:10.0.0.1
  • Comparison operators: ==, !=, >, >=, <, <= (e.g. payload.entropy:>=7.0).
  • Boolean combinators: && (AND) and || (OR) with AND taking higher precedence.
  • Parentheses for explicit grouping: (tcp.dst.port:80 || tcp.dst.port:443) && payload.entropy:>=6.0.
  • Inversion with !: !tcp.dst.port:443, !(tcp.dst.port:80 || tcp.dst.port:443).
  • Bookmark filter: bookmark:true / bookmark:false (client-side, composable with backend expressions).
  • decoded-proto alias: aggregates transport + decoded protocol names including link-control for queries like decoded-proto:ppp.
  • Case-insensitive key normalization: spaces and hyphens are interchangeable (e.g. wire-length = wire.len).
  • Wildcard glob matching.
  • Filter history tracked per session and accessible from the filter bar.
  • Saved-filter library persisted in user config (config/filters.json) with labeled entries merged into the filter history dropdown.
  • Right-click save/remove flow for the current filter query via in-app modal dialog (no native window.prompt dependency).
  • Context menu shortcuts to build filter clauses from current packet attributes (IP, port, MAC, protocol, MIME type).
  • Context menu parenthesis helpers: Append (, Append ), Wrap with (…).
  • Filter results update the Filtered Packets counter in the left sidebar.
  • Clicking a Stats tag pre-fills the filter bar with the matching filter expression.
  • IPv6 addresses are matched as full tokens, never truncated at the first colon; bookmark keys use a $ separator (2001:db8::10$11) so multi-colon v6 hostnames never collide with the legacy :-separator schema, and legacy bookmarks migrate on load.
  • The full key list is in the Filter Reference.

Filterable Packet Attributes (highlights)

  • Core: timestamp, transport proto, raw hex.
  • Ethernet: MAC addresses, MAC vendor.
  • IP: source/destination address, checksum, length, network class.
  • TCP: ports, checksum, flags, urgent pointer, length, service name, sequence/ack numbers, payload length, retransmission/out-of-order flags.
  • UDP: ports, checksum, length, service name.
  • ICMP: type, code, id, sequence, checksum.
  • Payload: hex, ASCII, length, MIME type, Shannon entropy, charset, encoding, distinct byte count, decompressed hex/ASCII.
  • GeoIP: country, city, postal code, timezone for source and destination.
  • Active recon: server banner.
  • Entities: entity-type, entity-kind, entity-file, depth, extracted-from, extraction-kind.
  • All protocol-specific keys listed in the Filter Reference.

Payload Analysis

  • MIME type detection via python-magic (magic byte inspection).
  • Shannon entropy calculation using NumPy/SciPy.
  • Character set detection via chardet.
  • Distinct byte value count (payload.chars.used).
  • Automatic decompression of gzip/zlib compressed payloads; decompressed hex and ASCII stored separately.
  • Data-type guesser with confidence scoring (JWT, bcrypt, base64, etc.) in the Conv tab.

TCP Stream Analysis

  • Retransmission detection and classification per packet (in-order, out-of-order, retransmission, retransmission out-of-order).
  • Sequence and acknowledgment number tracking (tcp.seq, tcp.ack, tcp.payload.len).
  • Bidirectional stream grouping by canonical 5-tuple in the List tab.
  • Follow-stream: async chunked assembly of full TCP streams into the Conv tab with renderer yields and loading overlay.
  • tcp.stream.retransmission and tcp.stream.badorder filter keys.
  • Stream-aware payload extraction: a decoder that encapsulates more bytes can surface them as a whole stream-aware chunk and hand them back to Conv (see Conv → Decodes).

  • ARP/RARP decoding: operation type, source/destination IP and MAC, filterable via arp.* and rarp.* keys.
  • IGMP decoding: type, version, group, checksum, max-response time; filterable via decoded-proto.
  • WAN/link-control protocols: ATM, Token Ring, Frame Relay, SDLC, HDLC, SLIP, PPP, LCP, LAP, NCP; stored as Protocol: LINK with wan.proto.* keys.
  • Additional link-control decoders: STP, CDP, LACP, HSRP and MNDP, each with its own filter key namespace.
  • Non-IP link packets are processed rather than dropped; the backend exits only when the capture has zero packets.
  • decoded-proto alias aggregates all transport, decoded, and link-control protocol names for unified filtering.
  • Link-layer identity is conveyed via link.proto, never by overwriting the application-layer protocol label.

IPv6 Support

IPv6 is a first-class network-layer protocol across the entire PacketSnitch pipeline — parsing, enrichment, filtering, subnet analysis, threat-intel, and UI display all handle IPv4 and IPv6 side-by-side.

Backend Parsing

  • Scapy-based packet loop recognises IPv6 (0x86DD) link-layer EtherType, decodes the IPv6 header, and follows every next-header (TCP, UDP, ICMPv6) the same way as for IPv4.
  • network.proto is set to "IPv6" for v6 packets and the same ip.src.addr / ip.dst.addr / ip.chksum / ip.len keys are populated, so the filter bar works unchanged on either family.
  • getNetclass returns the literal string "IPv6" for any IPv6 address so the ip.src.class / ip.dst.class filter keys accept both legacy IPv4 classes and the IPv6 sentinel.
  • ICMPv6 (next-header 58) is decoded into the standard ICMP keyspace (icmp.type, icmp.code, icmp.chksum) and surfaced as transport.proto: "ICMP", just like ICMPv4.
  • TCP/UDP/SCTP streams over IPv6 share the same bidirectional grouping, retransmission tracking, app-protocol labelling, and follow-stream assembly as their IPv4 counterparts.
  • 802.11 CCMP-decrypted frames carrying IPv6 traffic re-enter the host loop with the IPv6 layer intact and the application-layer protocol exposed unchanged in the App Protocol column.

Filter Engine

  • IPv6 addresses are matched as full tokens, never truncated at the first colon. A query like ip.src.addr: 2001:db8::10 matches packets whose source is exactly that address (regression test: IPv6 filter values are parsed without truncation).
  • Bookmark keys are emitted with a $ separator (2001:db8::10$11) so multi-colon v6 hostnames never collide with the legacy :-separator schema; legacy bookmarks migrate on load.

Frontend Display

  • Packet Info Pane: IPv6 source/destination addresses render in compressed notation (2001:db8::10); when a port is present, the endpoint is bracketed per RFC 3986 ([2001:db8::10]:443).
  • Conv → Analyze Subnet: full IPv6 host/subnet math — IPV6_HOST_BITS = 128, BigInt group conversions, expanded and compressed formatters, and scope classification (Global unicast, Unspecified, Loopback, Unique local, Link-local, Multicast, Documentation range) via classifyIpv6Address.
  • Stats / Heatmap: IPv6 literals flow through the same host/hostname aggregation as IPv4 — stats.hosts lists every observed v4/v6 address, stats.hostnames lists resolved DNS names, and the Stats panel strips surrounding brackets ([2001:db8::10] → 2001:db8::10) so an IPv6 literal and its hostname-bracket form are de-duplicated. Scope classification is computed on demand in Conv → Analyze Subnet (classifyIpv6Address) when an IPv6 address is analyzed.
  • Threat Intel / Reputation lookups (VirusTotal, Tor, GeoIP, WHOIS / RDAP, Shodan InternetDB) are IP-family-aware: each lookup response carries a version: 4 | 6 field; Tor and Shodan strip the RFC 3986 […] brackets before validating an IPv6 endpoint.
  • IPSum reputation dataset is IPv4-only by design — IPv6 queries are answered with supported: false, message: "IPSum currently provides IPv4 reputation data only." instead of an error.

Investigation & Case Management

PacketSnitch provides a persistent investigation workspace for organizing evidence and analyst conclusions across a capture review. Each capability belongs to a workspace documented above; this section is the case-level view of how they fit together:

  • Case management: preserve the active investigation in a saved session, including packet state, filters, bookmarks, notes, extracted evidence, and report context (Session Management).
  • Bookmarks: bookmark packets and hosts for rapid evidence collection and navigation; bookmarked packets can be filtered with bookmark:true (Packet Navigation).
  • Notes tab: create, color-code, verify, preview, export, and persist analyst notes. Notes can be linked to packet context and IOC data, sent from Conv or context menus, and surfaced in Summary as inferred or verified data (Notes Tab).
  • Export reports: generate Markdown, plain-text, HTML, and PDF reports from the current investigation, including the executive summary and technical findings (Export / Reports).
  • Evidence references: AI-generated findings can point back to the packet, artifact, note, lookup, or comparison evidence that supports them.
  • Investigation timeline: review research activity and retained findings in the context of the current case (AI Investigation & Research).

Context Menu (Right-Click)

Available in packet views, payload panes, Conv tab, and other data panels. It is a single shared menu whose sections adapt to the target and the active tab.

Copy

  • Copy: copy highlighted text to clipboard.
  • Copy Hex: copy raw payload as a hex string.
  • Copy ASCII: copy printable ASCII representation of the payload.
  • Copy Raw payload: copy raw payload bytes.
  • Copy Cookies: copy all session cookie jar entries as a formatted string.

Paste

  • Paste clipboard text into the focused input element.

Convert to

  • Load selection or packet/context data into the Conv tab with a pre-selected input format and auto-run Convert.
  • Options: Hex, Binary, Base64, Decimal bytes, ASCII/UTF-8.
  • Derive Type: run the data-type guesser on selected/context text and show ranked guesses in Conv Data Insights.
  • Cursor ASCII to Conv tab: load the ASCII string at the current hex-grid cursor position into Conv.
  • Raw Payload to Conv tab: load the current packet’s full raw payload as hex into Conv.
  • Decompress to Conv tab: when Conv input appears compressed (gzip/deflate/brotli), decompress and load decompressed bytes into Conv.
  • Import file to Conv tab: open a local file and load its bytes into Conv as hex, subject to manual-import size policy.

Follow Stream

  • Stream to Conv tab: reassemble a bidirectional stream and load it into Conv as hex.
  • Stream to Conv tab (decompressed): reassemble stream payload, attempt decompression, then load into Conv.
  • Stream to Crypt tab: reassemble stream payload and load ASCII output into the Crypt workspace.
  • Large streams can trigger a confirmation prompt before loading.

Filter

  • Build and append filter clauses from current packet attributes.
  • Sub-menus: Add with &&, **Add with , **is not (negated &&), Clear and…, Parentheses.
  • Attribute options per sub-menu: IP, Port, MAC, Link Proto, Transport Proto, Application Proto, Both Protos, MIME Type.
  • Parentheses options: Append (, Append ), Wrap with (…).
  • Filter-input context action: Save current filter… to store named filters in the persistent filter library.

Add to Keystore

  • Save highlighted text or context data to the Session or Persistent keychain.
  • Entry types: Password, Private Key, Certificate, Session Cookie, Manual URI/URL.

Send to Notes

  • Send selected/context data, List row visible data, Conv output, or Conv hashes to a new session note.

Export

  • Packet / Payload: export packet or payload data.
  • Conv input / Conv Raw / Conv output (hex, binary, decimal, integer, ASCII, base64).
  • Conv hashes and Conv decode output exports.
  • Cookie Jar: save extracted cookies to disk.
  • Save Session is also reachable here, alongside the toolbar buttons.

Reports

  • Save Report (Markdown): assemble the current session’s analysis summary as Markdown and save it to disk. When the LLM is enabled, a final distillation pass (dedupe + chronological sort + importance re-rank) runs before the save dialog opens so the saved file is the cleaned-up version.
  • Save Report (Text): same flow, plain-text output.
  • Save Report (HTML): same flow, HTML output.
  • If the LLM is disabled, fails, or the report is too short to warrant a pass, the distiller transparently falls back to the un-distilled report.

HTTP Body

Shown when the current packet contains an HTTP response body:

  • Body to Conv tab: load body bytes as hex into Conv.
  • Body to Conv tab (decompressed): decompress body first, then load into Conv.
  • Browser preview: open the HTTP body in the system browser.
  • Browser preview (decompressed): decompress first, then preview in browser.
  • HTTP body reassembly uses same-direction stream packets, trimmed by Content-Length or chunked framing.

File Carving

Shown when a carve target is available:

  • HTTP body to file: save extracted HTTP response body to a file (Content-Type infers extension).
  • HTTP body to file (decompressed): decompress first, then save.
  • Raw payload to file: save the current packet’s payload bytes verbatim.
  • SMB file to disk: detect and pick a file from the current SMB stream, then save as binary.
  • NFS file to disk: detect and pick a file from the current NFS stream, then save as binary.
  • FTP file to disk: carve FTP data-channel bytes (direct streams or inferred from PORT/EPRT/PASV/EPSV + RETR/STOR/APPE/LIST/NLST control-channel hints), then save as binary.
  • Load carved file into Extraction / Send carved file to VirusTotal hand a carve candidate to the matching workspace.

HTTP Object Extraction

  • Extract HTTP response objects and downloaded files from reassembled bodies.
  • Decompress supported HTTP content before previewing or saving it.
  • Extract and save carved HTTP files with MIME-aware type and filename handling.
  • View extracted object metadata, including MIME type, character set, content encoding, and data-type guesses.
  • Use the unified HTTP objects view to review available extracted objects.

Archive Extraction

The right-click Decompress to Conv tab / Stream to Conv tab (decompressed) flows and the Conv → Extraction sub-tab share one format table and one set of safety rules; the supported formats and their detection signatures are listed there.

  • Magic-first detection — signature bytes decide before any extension is consulted.
  • Path-safety — entry paths are normalized and checked for traversal / absolute components before extraction; a refusal is reported as data (path, safePath, isSafe: false, unsafeReason) instead of being silently dropped.
  • Bounded — max input size, max output size and a per-archive timeout keep a hostile archive from exhausting the app.

LLM Actions

  • Ask PacketSnitch… submenu: groups packet-focused LLM actions in the context menu.
  • Ask PacketSnitch > Ask a question…: opens an in-app dialog, sends packet context plus optional selected text and user question to the LLM, then writes answer to Notes.
  • Ask PacketSnitch > Explain this data…: sends selected/context data plus packet context to the LLM for a concise analyst-focused explanation and writes result to Notes.
  • Ask PacketSnitch > Summarize this packet…: sends the full current packet JSON to the LLM and writes a concise analyst-focused summary to Notes.
  • LLM actions are only shown when runtime LLM checks pass and packet context is available.
  • Explain action visibility also requires significant context text (minimum-length and non-noise checks).

LLM-Powered Analysis

  • Optional LLM integration for AI-powered capture analysis.
  • Provider selection supports the bundled Local runtime, Ollama, and OpenRouter. Fresh installs select Local through first-run setup; upgrades keep their current provider.
    • Local — bundled CPU llama-server; model files are downloaded from the catalog and verified before installation. No Ollama daemon is required.
    • Ollama — local daemon or ollama.com cloud models. Default model minimax-m3:cloud.
    • OpenRouter — ships with five defaults (openai/gpt-4o-mini, openai/gpt-4o, anthropic/claude-3.5-sonnet, google/gemini-pro-1.5, meta-llama/llama-3.1-405b-instruct).
  • LLM calls are initiated from the frontend/main-process bridge (window.llmapi -> ipcMain('llm:generate'), with the legacy ollama:generate channel kept as a backward-compat alias), not from the Python backend parser.
  • Use LLM toggle in the load dialog mirrors the persisted llm.activeByDefault runtime preference.
  • Generated report is displayed in the Analysis tab and extended by stream-context follow-up summaries while navigating.
  • LLM defaults are configured in the Settings → LLM sub-tab and persisted in app settings.
  • LLM diagnostics are surfaced in Settings: local runtime/model status, Ollama daemon reachability, cloud API reachability, and last call result code.
  • LLM context-menu actions are gated by the same runtime LLM setting and are hidden when LLM is disabled.
  • Per-call LLM overrides ({ maxTokens, temperature, think }) flow through Local, Ollama, and OpenRouter. think: false disables the model’s internal-reasoning channel (cloud Ollama models like minimax-m3:cloud use thinking mode by default and can otherwise burn the entire response budget without emitting response text).
  • LLM context tracking — Ask PacketSnitch keeps the active conversation context (filter query, target host, current packet, current subtab, recent lookup results) in sync with the LLM at every navigation hop. Mid-stream navigation does not drop the active plan, and the in-flight “working…” message reflects the live context instead of a stale snapshot.
  • Streaming Ollama requests — local generation streams its response and the client reassembles response and thinking, so the configured timeout means the longest silence between chunks rather than a deadline on the whole answer. Before this, a non-streaming request sent no headers until generation finished and a 30-second setting failed every long prompt with a bare “fetch failed”.
  • Actionable transport errors — a failure names the resolved endpoint (OLLAMA_HOST, or http://127.0.0.1:11434), the model and the fix: pull a missing model, start ollama serve, raise LLM request timeout while a model loads, or check OLLAMA_HOST. The underlying undici code is kept as the cause and recorded in diagnostics.
  • Routing that backs up instead of giving up — a provider error retries with backoff; a rejected routing response is retried with the rejected answer attached so the model repairs the exact step; a registered action id written into the filter slot is routed as that capability; a failed condition or data-switch no longer abandons the remaining plan; and an unusable recovery route hands the run to the completion check rather than rethrowing.
  • Chat noise level — a 0–3 setting (quiet / normal / progress / diagnostic) controls how much play-by-play the assistant posts; the final answer and any question that needs your input are always shown.
  • Formatted assistant chat — supported Markdown is rendered as styled text rather than literal markers. Ask PacketSnitch’s header shows the provider and its Decision / Custom / Summary / Fast-route models; each response carries end-to-end round-trip time.
  • Flock screen context — investigations receive a bounded, shape-only description of the current workspace (workspace, subtab, counts, filter keys, decoder, output kinds). Payload bytes, decrypted content, key material and filter text are excluded by construction.
  • LLM rate-limit backoff — generation requests are spaced by llm.queryRateLimitSeconds (default 2s); a 429 from the provider increases the delay up to 4× (two backoff levels) so a flaky provider does not lock up the renderer with retry storms.
  • Stream-context summary generation: while navigating packets, the frontend summarizes the active conversation stream after a short idle delay and appends new findings to the Analysis pane.
  • Summary deduping/persistence: already-summarized stream keys are tracked to reduce repeat calls, and currentSummary is saved/restored with session files.
  • Natural-language querying: use the single Ask PacketSnitch interface to ask the LLM questions about the active capture, get help using the app, request UX navigation or other supported interface actions, and build filter or analysis queries on demand. Requests are internally routed and categorized by intent, so users do not need to choose between separate tools or workflows.
  • Threat hunting assistance: analyst-facing guidance and next-step recommendations are in progress, building on the deterministic threat score, anomaly findings, and capture context.
  • Executive summary and technical findings: the Analysis workspace produces an executive overview and structured technical findings, with optional LLM distillation for concise reports.

AI Investigation & Research

  • AI researcher: run a bounded, action-oriented investigation over the current capture instead of asking isolated questions only.
  • Self-routing research actions: the researcher can choose supported capture queries, decompression, threat-intelligence lookups, packet comparison, and evidence collection steps as needed.
  • Research progress and history: inspect the active plan, completed steps, decisions, and preserved chat context without losing the surrounding case.
  • Evidence-backed findings: research notes retain references to the data and actions that produced them, making results easier to review and verify.
  • Multiple LLM providers: use Local, Ollama, or OpenRouter where the corresponding provider configuration is available.
  • Ask PacketSnitch remains available for natural-language questions, capture filtering, supported workspace actions, documentation help, and Notes output.
  • Investigation script: an investigation is an ordered playbook (inventory → file artifacts → threat intel → decompress → cleartext decode → secret reuse → consolidate), not free-form exploration, so a run cannot wander the capture hoping to find something interesting.
  • Bounded autonomy: paid spend, requests per provider, quota calls, repeated lookups, autonomous steps and runtime are all capped in Settings → LLM.
  • Workflow awareness: chat can drive the same surfaces a person would — focusing the map on a role-resolved host, or starting and pausing the timeline animation.

Theme Engine

  • Theme system is file-driven and runtime-discoverable.
  • Built-in defaults are bundled in themes/*.json and mirrored into userData/themes on startup.
  • Settings → Themes is the in-app home of the theme engine: it shows a 400×250 preview of every installed theme plus the contents of the theme catalog, so purchased themes are available offline.
  • Renderer discovers themes using themeapi.list() and applies them using themeapi.get(themeId).
  • Theme JSON schema supports:
    • id, name, description
    • variables object (CSS custom properties only, keys must start with --)
    • optional logoImage (png or jpg, base64 payload)
    • optional minLicenseTier (professional, enterprise, or developer) for a tier-locked theme
  • Theme IDs are sanitized to lowercase a-z, 0-9, _, -; invalid IDs fall back safely.
  • Invalid theme files are skipped without crashing, and duplicate IDs are de-duplicated.
  • Selected theme is persisted through general.themeId in settings and applied on startup.
  • Theme logo override uses a data URI generated from the JSON logoImage; fallback restores default app logo.
  • Theme catalog entries can be installed from Settings → The Storefront and are cached under userData/theme-cache so they remain available without a network round-trip.
  • A Free install includes SnitchBitch, Meadow Dark, and Forrest Gump; Professional unlocks every standard bundled theme, and Enterprise adds the exclusive High Roller theme (declared with minLicenseTier: "enterprise"). The store lists the tiers.
  • Theme directory path is exposed in Settings (themes-directory IPC) to guide custom theme placement.

Plugin Engine

  • Dedicated Settings → Plugins manager for install, inspect, enable/disable, priority tuning, failure-threshold control, and uninstall.
  • Plugin install flow supports zip inspection and capability review before user confirmation.
  • Plugin registry is persisted to userData/config/plugins.json with runtime metadata such as enabled state, priority, install path, and failure counts.
  • Plugin zip packages are copied to userData/plugins/packages, extracted to userData/plugins/installed, and loaded from the extracted entry.
  • Plugin manifest validation enforces required fields: pluginName, pluginVersion/version, non-empty capabilities, and non-empty compatiblePacketsnitchVersions.
  • Plugin entry path is safety-checked (rejects path traversal and absolute paths) before runtime load.
  • Runtime loader supports object plugins (init + optional dispose/deinit/shutdown) and function exports.
  • Plugin runtime receives host context (documentRef, windowRef, statusUpdate, writeLogEntry, PacketSnitch version, plugin metadata).
  • Runtime errors are tracked in the Plugins error panel; critical failures increment per-plugin counters and can auto-disable unstable plugins.
  • hello-snitch sample plugin demonstrates tab/panel injection, context-menu extension, file IO, remote fetch, and safe callback wrapping.
  • Capabilities are gated by config/plugin-capabilities.json; only keys declared there can ever be granted to a plugin. Plugins requesting undeclared capabilities are rejected at install time.

Privacy & Anonymous Metrics

  • Dedicated Settings → Privacy sub-tab with the master opt-in switch.
  • Enable anonymous metrics (privacy.metricsEnabled) is the master switch — when off, no events are queued or shipped.
  • Metrics endpoint URL (privacy.metricsEndpointUrl) defaults to http://64.227.4.43:8088/mhook and can be repointed at any compatible receiver.
  • Flush interval (privacy.metricsFlushIntervalSeconds) and max queue size (privacy.metricsMaxQueueSize) control batching behaviour; oldest events are dropped first when the queue is full.
  • Install UUID (privacy.metricsInstallId) is auto-generated per install and is the only identifier shipped with events.
  • API key for metrics endpoint (privacy.metricsApiKey) is an optional bearer key for the self-hosted receiver; see the API Keys sub-tab.
  • Renderer enforces a strict SAFE_PROP_KEYS allowlist and per-key length caps on every event, so no PCAP paths, IPs, prompts, or other user content ever leave the renderer.
  • First-run consent dialog is shown once; the answer is recorded in privacy.metricsConsentAsked.
  • The bundled src/metrics/server.py is a self-hostable NDJSON-on-disk sink with a /healthz liveness probe and API-key-gated sensitive endpoints.

User-Installable Protocol Decoders

  • Modular decoder registry with self-describing protocol specifications, validation, auto-discovery, and protocol-specific rendering.
  • Bundled decoders are seeded into the user decoder directory, allowing decoder updates and drop-in extensions without changing a central registry.
  • Conv auto-detection uses protocol signatures and port hints, and routes compatible payloads to the matching decoder.
  • The authoring contract is documented in the Modular Decoder Reference.

Input, Navigation & Map Improvements

  • Configurable application keybindings, including a user-selectable leader key for common navigation and analysis actions.
  • Interactive map timeline mode with progress animation and resizable map and data panes.
  • More reliable packet ordering, stream grouping, decoder visibility, and session-picker startup behavior.
  • Resizable / movable floating panels — the log, chat, and other auxiliary panels expose a drag handle (move the panel anywhere on screen) and a resize grip (resize from any corner). Position and size survive across panel close / reopen within the session so the analyst’s preferred layout sticks. The resize math lives in src/ui/panels/draggable-panel.js and stays off the main render path so dragging does not cause render hitches. Covered by tests/draggable_panel.test.js.

Protocol Decoders (Backend)

The backend extracts rich, queryable metadata for the following protocols:

LayerProtocols
Link / WANEthernet, ATM, Token Ring, Frame Relay, SDLC, HDLC, SLIP, PPP (LCP/NCP/LAP), ARP, RARP
NetworkIPv4, IPv6 (ICMPv6 alongside ICMP / IGMP)
TransportTCP (with flags, sequence/ack numbers, retransmission tracking), UDP, SCTP — all carried natively over IPv4 or IPv6
ApplicationHTTP/1.x, HTTP/2, HTTPS, DNS, SNMP, DHCP, NTP, FTP, SMTP, POP3, IMAP, Telnet, IRC, SIP, SMB (v1 & v2/v3), MQTT, RTSP, TFTP, BGP, XMPP, LDAP, MySQL, PostgreSQL, NNTP, MTP/MMS, RADIUS, WebSocket, NFS, Kerberos, SSH/OpenSSH, SMPP, Soulseek, BitTorrent, Diameter, IPX, RTP, RTCP, Syslog, TACACS+

Each protocol contributes dot-notation metadata keys usable in the filter bar. IPv6 packets share the same ip.* keys as IPv4 and disambiguate the family with network.proto (and ip.proto.num for the IPv6 next-header field). See the Filter Key Reference for the full table.

Per-Protocol Coverage Matrix

The columns below tell you where a given protocol is decoded inside the app so you can jump straight to the right view:

  • Backend — the snitch.py parser produces structured per-packet metadata, stored under packet.info.<Protocol> and surfaced in the Host Data view, List tab, Stats, and filterable via the protocol’s dot-notation keys.
  • Frontend · Main — wired into the Host Data packet navigation / Right Sidebar (Datagram Frame) and the Stats anomaly/heatmap panels without any manual action.
  • Frontend · Conv — has a dedicated entry in the Conv → Decodes sub-tab dropdown (or is exposed via Auto-detect) so any input bytes — extracted payload, hex paste, or right-clicked body — can be re-decoded interactively.
  • Filter — has stable dot-notation keys recognised by the filter bar (and the decoded-proto alias).
ProtocolBackendFrontend · MainFrontend · ConvFilter keys
IPv4 (incl. ICMP, IGMP)✓✓—ip.*, icmp.*, igmp.*
IPv6 (incl. ICMPv6)✓✓—ip.* (over IPv6), icmp.* (over ip.proto.num == 58), network.proto
TCP / UDP / SCTP✓✓—tcp.*, udp.*, sctp.*
Ethernet / ARP / RARP✓✓ (Datagram Frame)—ether.*, arp.*, rarp.*
WAN/Link (PPP / HDLC / SDLC / SLIP / Frame Relay / Token Ring / ATM)✓✓—wan.proto.*, decoded-proto
STP (Spanning Tree)✓✓ (Datagram Frame)—stp.*, decoded-proto
CDP (Cisco Discovery)✓✓ (Datagram Frame)—cdp.*, decoded-proto
LACP (Link Aggregation)✓✓ (Datagram Frame)—lacp.*, decoded-proto
HSRP (Hot Standby)✓✓—hsrp.*, decoded-proto
MNDP (MikroTik Neighbor)✓✓—mndp.*, decoded-proto
802.11 Wi-Fi (incl. CCMP/TKIP/WEP decrypt)✓✓ (Crypt → Wireless)—wireless.*, wifi.*
HTTP / HTTPS / HTTP/2✓✓✓ (Conv → Decodes)http.*
DNS✓✓✓dns.*
SNMP✓✓✓snmp.*
DHCP✓✓✓dhcp.*
NTP✓✓—ntp.*
TFTP✓✓—tftp.*
FTP✓✓✓ftp.*
SMTP✓✓✓smtp.*
POP3✓✓✓pop3.*
IMAP✓✓✓imap.*
Telnet✓✓ (creds extraction)✓telnet.*
SSH / OpenSSH✓✓✓ssh.*
IRC✓✓—irc.*
SIP✓✓✓sip.*
OSPF (routing)✓✓—ospf.*
BGP✓✓—bgp.*
SMB v1 & v2/v3✓✓✓smb.*
MQTT✓✓—mqtt.*
RTSP✓✓—rtsp.*
DNP3 (SCADA)✓✓—dnp3.*
Modbus (SCADA)✓✓—modbus.*
S7comm (Siemens S7)✓✓—s7comm.*
XMPP✓✓—xmpp.*
LDAP✓✓✓ldap.*
ISO 8583 (financial card payments)✓✓✓iso8583.*
MySQL✓✓—mysql.*
PostgreSQL✓✓—postgres.* / postgresql.*
NNTP✓✓—nntp.*
MTP / MMS✓✓—mtp.*
RADIUS✓✓—radius.*
WebSocket✓✓—websocket.*
NFS✓✓—nfs.*
Kerberos / krb5✓✓✓kerberos.*
SMPP✓✓✓smpp.*
Soulseek (P2P)✓✓✓soulseek.*
BitTorrent✓✓✓bittorrent.*
Diameter✓✓✓diameter.*
IPX✓✓✓ipx.*
RTP / RTCP✓✓✓rtp.*, rtcp.*
Syslog✓✓✓syslog.*
TACACS+✓✓✓tacacs.*
Generic structured text (JSON / XML / HTML / YAML / Protobuf / MsgPack / BSON / ASN.1 BER / ASN.1 DER)——✓mime.type / data-types
Images (JPEG / PNG / GIF / WebP)✓ (carving via MIME)—✓ (EXIF + structure)mime.type

Notes:

  • “Frontend · Conv” entries are the protocols reachable from the Conv → Decodes sub-tab. Anything without a ✓ there can still be decoded indirectly via Auto-detect (which inspects bytes + port hints) and via Generic structured text decoders.
  • The decoded-proto filter alias aggregates all transport, decoded, and link-control protocol names, so unlisted keys still resolve.
  • IPv4 / IPv6 rows are scoped to network-layer coverage; the rest of the application-layer protocols run unmodified over either family.

Backend HTTP Service / Bridge

  • The Electron bridge can initialize the Python backend in long-lived HTTP service mode instead of spawning a fresh parser process per run.
  • Service status/stats endpoint: GET /status (also GET /).
  • Service health check endpoint: GET /ping.
  • Service version endpoint: GET /version.
  • Capture-processing endpoint: POST /process.
  • Control endpoint: POST /control for stop/shutdown requests and runtime updates (set-runtime-config).
  • Lookup endpoints used by Analyze Subnet and host enrichment: GET /geoip, GET /whois, GET /ipsum, GET /tor, GET /shodan.
  • When the backend advertises NDJSON (application/x-ndjson), the bridge forwards incremental progress and capture snapshots to the renderer as they arrive.
  • If HTTP service mode is unavailable, the bridge automatically falls back to legacy per-run spawn mode unless disabled by settings.
  • Backend host/port and force-legacy behavior are configurable in Settings → Backend.

GeoIP Enrichment

  • MaxMind GeoLite2 City database bundled with the backend.
  • Country, city, postal code, and timezone resolved for all routable (non-private) IP addresses.
  • GeoIP data displayed in the Packet Info right sidebar Location panel.
  • Filterable via loc.src.* and loc.dst.* keys.
  • Physical Locations section in Stats tab with occurrence-sorted city/country pairs.

Active Reconnaissance (Optional)

Requires the -a flag when running the backend:

  • Fetches server banners from destination hosts.
  • Retrieves SSL/TLS certificate details.
  • Fetches web page titles via HTTP.
  • Performs reverse DNS lookups; results stored in dns.hostnames.
  • All active recon data is filterable and displayed in the Active Recon sub-section of the Packet Info pane.

Backend CLI

python3 snitch.py traffic.pcap -o output_dir [-s SRC_PORT] [-d DST_PORT] [-T TIMEOUT] [-a] [-c conf.yaml] [-v]
ArgumentDescription
traffic.pcapInput .pcap or .pcapng file.
-o / --outputOutput directory for testcase files (default: testcases).
-s / --source-portFilter: only process packets from this source port.
-d / --dest-portFilter: only process packets to this destination port.
-T / --timeoutTimeout for active recon network requests (default: 3 s).
-a / --active-reconEnable active reconnaissance (banners, SSL, titles, reverse DNS).
-c / --confPath to YAML config file (default: conf.yaml).
-v / --verboseIncrease verbosity (repeatable for more detail).

Backend Output

  • Raw payload binary testcases: output_dir/<dst_port>/pcap.data_packet.<index>.dat
  • Per-packet JSON metadata: output_dir/<dst_port>/pcap.info_packet.<index>.json
  • Consolidated output: hosts.json (all packets/hosts in one file)
  • Progressive NDJSON snapshots (hosts-<N>.json) emitted every 500 packets for streaming to the frontend.

Session Keystore Export

  • Export session or persistent keychain entries to CSV, JSON, or XML.
  • Accessible via the context menu on the Artifacts tab (Export submenu).
  • Save dialog per format via dedicated IPC handler.

Packaging & Distribution

  • Built with Electron Forge and Webpack.
  • Distributed as RPM (Fedora/RHEL/CentOS), DEB (Debian/Kali/Ubuntu), and Windows installer (NSIS .exe).
  • Python backend bundled as a standalone PyInstaller binary (snitch); no Python installation required on end-user systems.
  • npm run patch-rpm-build helper for Fedora-specific RPM spec patching.