Solution Whitepaper | Amsterdam Technologies

Netcap: Deep Network Packet Inspection Platform and Intrusion Detection System

Organizations face systemic challenges in extracting actionable intelligence from raw network traffic. While raw packet captures (PCAP) contain the ground…

Download as PDF: light · dark

The Problem

Organizations face systemic challenges in extracting actionable intelligence from raw network traffic. While raw packet captures (PCAP) contain the ground truth of network activity, they are highly unstructured, massive in volume, and notoriously difficult to analyze at scale. Security operations centers (SOCs) and incident response teams rely on legacy traffic analysis tools that require manual inspection, forcing analysts to reconstruct TCP streams and decipher application-layer protocols packet by packet. This manual effort leads to high operational costs, delayed incident response times, and missed threat indicators.

Furthermore, a structural gap exists between network visibility and active enforcement. Teams often utilize entirely disparate systems for traffic analysis, intrusion detection, and application firewalling. This disconnect means that insights derived from packet analysis cannot be easily translated into automated blocking rules, and firewall decisions lack the deep, historical context of raw packet analysis. Existing solutions force tradeoffs between inspection depth, processing speed, and architectural complexity, demanding specialized hardware or continuous cloud data export that complicates data privacy and compliance.

Solution Overview

Netcap (NETwork CAPture) is a deep network packet inspection platform and intrusion detection system that fundamentally changes how traffic is analyzed. The core architectural thesis of Netcap is the conversion of raw packets and live traffic streams into highly structured, schema-defined Protocol Buffer audit records. By translating unstructured binary data into typed, queryable structures immediately upon capture, Netcap eliminates the manual reconstruction phase of network analysis.

Designed as a unified framework, Netcap bridges the gap between passive observation and active defense. It combines concurrent packet and stream decoding with investigation tools, an embedded application firewall, and detection rules into a single, cohesive engine. This design allows security teams to parse terabytes of traffic, extract files and credentials, apply YARA rules, and enforce firewall policies using a standardized data schema. Currently in Beta, Netcap provides both a powerful command-line interface (Core) and a comprehensive graphical investigation environment (Pro) to accommodate diverse operational requirements.

Key Capabilities

Structured Protocol Analysis

Netcap decodes raw network traffic and reassembles streams across network, transport, and application layers. It supports over 75 packet-level decoders and more than 40 stream-based decoders, providing deep visibility into protocols ranging from HTTP, TLS, and DNS to SMB, QUIC, and SSH. Every parsed connection is serialized into highly structured Protocol Buffer audit records. This standardization allows security tools and data lakes to ingest network telemetry without writing custom parsers, bridging the gap between wire data and structured analytics.

Advanced Security Analysis & Enrichment

The platform goes beyond simple decoding by actively analyzing traffic for security indicators. It extracts transferred files, harvests transmitted credentials, and fingerprints clients using techniques like JA4 TLS ClientHello fingerprinting. Extracted artifacts can be automatically classified using Magika and scanned with YARA-X to identify malicious payloads in transit. Furthermore, records are enriched with DNS resolution history, GeoIP data, ASN mapping, and software vulnerability (CVE) context, providing analysts with a complete picture of the communicating entities.

Integrated Application Firewall (WAF) & Enforcement

Netcap includes netcap-firewall, a robust reverse-proxy Web Application Firewall and protocol gateway. It handles HTTP, WebSocket, gRPC, and HTTP/3 traffic, featuring an embedded Coraza engine for OWASP Core Rule Set (CRS) evaluation. The firewall supports local file-based policies, managed single-target deployments via SQLite, or enrolled external fleets coordinated via PostgreSQL. Beyond web traffic, the gateway component enforces access policies for protocols like MySQL, DNP3, SMB, FTP, Redis, and Modbus, ensuring deep inspection and control across both enterprise and industrial networks.

Threat Detection & Behavioral Monitoring

Security teams can deploy custom detection logic using YAML-based rule expressions that evaluate the structured audit records. These rules detect sequences, threshold violations, and specific payload patterns. In addition to static rules, Netcap provides opt-in behavioral monitoring that establishes traffic models scoped by sensor, interface, or VLAN. By learning the standard device and service baselines, the platform can flag anomalous deviations, DNS irregularities, and unexpected periodic connections without requiring continuous manual tuning.

Distributed Collection & Seamless Integration

For distributed environments, remote Netcap agents capture and decode traffic at the edge, delivering structured audit records back to centralized collectors over mutually authenticated TLS. The platform exports data natively in Protocol Buffers, CSV, JSON, and directly to Elasticsearch. It also integrates with Prometheus and Grafana for metrics monitoring, and provides Maltego transforms for OSINT investigations. A built-in standard I/O Model Context Protocol (MCP) server allows AI agents to directly interact with capture analysis and investigation workflows.

Architecture & Technical Design

Netcap is engineered for high performance, portability, and analytical depth. Built primarily in Go, it compiles to a highly efficient binary capable of running on Linux, macOS, and Windows. The platform uses CGO bindings for hardware-accelerated packet capture (libpcap) and Deep Packet Inspection (nDPI), with optional support for Hyperscan/Vectorscan to accelerate multi-pattern regular expression matching.

The architectural data flow begins with the Collector, which distributes packets from live interfaces or PCAP files to a worker pool. The Decoder then converts raw packets to typed audit records defined by a strict Protocol Buffer schema (comprising over 50 distinct record types). This data is then passed to the IO and Reassembly subsystems. A Vite and React-based single-page application serves as the local Web UI, providing visualization without requiring cloud connectivity.

For the firewall component, Netcap separates policy authority from the data plane. It supports local SQLite for single-node state or PostgreSQL for distributed fleet coordination and rate limiting. The enforcer component drops privileges, operates within isolated Linux network namespaces, and issues netfilter verdicts without requiring root host access.

While Netcap processes PCAP files and captures traffic locally on the device to ensure strict data privacy, it does utilize network connectivity for specific functions. Paid desktop applications contact licensing servers for activation and validation, and the software may perform external DNS or GeoIP lookups during the enrichment phase depending on configuration.

Use Cases & Scenarios

Incident Response in Enterprise Environments

Context: An Incident Response (IR) team receives an alert regarding potential data exfiltration from a compromised workstation. Challenge: The team possesses a 50GB rolling PCAP file from the network switch but cannot efficiently locate the exfiltrated data or the specific malware payload using standard visual tools. Solution: The IR team processes the PCAP through Netcap, instructing it to extract all transferred files and harvest credentials. Netcap reconstructs the TCP streams, extracts the payloads, and runs YARA-X over the binaries. Outcome: The team immediately identifies the malicious executable and the exfiltrated archive, drastically reducing the investigation time from hours to minutes.

Operational Technology (OT) Network Monitoring

Context: A security engineer manages a manufacturing plant utilizing Siemens S7 and Modbus protocols. Challenge: Standard IT security tools cannot parse OT protocols, leaving the industrial control systems vulnerable to unauthorized logic changes. Solution: The engineer deploys Netcap to passively monitor the ICS network. Utilizing Netcap's specialized S7Comm and Modbus decoders alongside YAML detection rules tailored for OT environments, they monitor for unexpected READ/WRITE commands. Outcome: The organization gains deep visibility into industrial protocol communications and receives immediate alerts for unauthorized controller interactions.

Distributed Fleet Firewall Enforcement

Context: A DevSecOps architect needs to deploy a WAF across multiple Kubernetes clusters and legacy virtual machines. Challenge: Managing fragmented firewall policies and aggregating rate limits across diverse environments is operationally complex. Solution: The architect deploys netcap-firewall across the fleet, backed by a central PostgreSQL database. They configure shared rates and native rule authority, allowing the distributed proxies to enforce global thresholds and OWASP CRS policies. Outcome: The organization achieves consistent, centrally managed web application security and rate limiting without introducing heavy operational overhead.

Automated Threat Hunting via AI Agents

Context: A SOC utilizes Large Language Models (LLMs) to assist analysts in triaging alerts. Challenge: The LLM lacks direct access to network ground truth and cannot execute programmatic searches against network data. Solution: The SOC connects their AI agent to Netcap's built-in Stdio MCP server. When an alert fires, the AI agent dynamically queries the Netcap runtime to retrieve DNS transaction timing, connection byte ratios, and TLS fingerprints. Outcome: Analysts receive pre-triaged alerts enriched with validated network evidence, accelerating decision-making and reducing alert fatigue.

Frequently Asked Questions

Does Netcap send my network traffic to the cloud for analysis? No. Packet parsing, stream reconstruction, and rule evaluation occur locally on the machine where Netcap is executed. Your raw network traffic and PCAP files are not uploaded to Amsterdam Technologies. However, the Pro desktop app requires network access for license activation, and optional enrichment features (like GeoIP or external vulnerability lookups) will generate network queries.

Can Netcap replace my existing WAF? Yes. The netcap-firewall component functions as a fully capable reverse-proxy WAF. It supports HTTP, gRPC, and HTTP/3, includes an embedded Coraza engine for OWASP CRS rules, and provides fleet management capabilities for distributed deployments.

What formats can Netcap export data to? By default, Netcap outputs highly structured Protocol Buffer audit records. It natively supports exporting to CSV and JSON, and can ship data directly to Elasticsearch. It also supports metrics exports for Prometheus and Grafana, and provides integrations for Maltego.

Are there specialized hardware requirements to run Netcap? No. Netcap is a compiled Go binary that runs efficiently on standard x86_64 and ARM64 architectures across Linux, macOS, and Windows. While analyzing massive PCAPs benefits from fast storage and adequate RAM, specialized hardware is not required.

Why Amsterdam Technologies

Amsterdam Technologies engineers tools that prioritize deep technical visibility, structural integrity, and architectural flexibility. Headquartered in Amsterdam, Netherlands, our engineering-first culture focuses on solving the most complex challenges in cybersecurity and network infrastructure. Netcap represents our commitment to providing security practitioners with the uncompromised ground truth of network traffic, structured for the modern data stack. As the threat landscape evolves, Netcap's roadmap includes continuous expansion of protocol decoders, enhanced behavioral AI modeling, and deeper fleet coordination capabilities.

Product screenshots

Netcap audit records screen listing captured protocols by network layer
Browse Audit RecordsThe grouped record inventory shows which protocol datasets are available for focused investigation.
Netcap 3D connection pattern visualization with colored network nodes
Visualize Connections in 3DThe interactive spatial view reveals clusters and outliers across captured network connections.
Netcap host communication graph linking a central host to network peers
Map Host CommunicationsThe communication graph makes dominant hosts and their peer relationships immediately visible.
Netcap protocol hierarchy screen with a Sankey flow diagram
Trace Protocol FlowThe flow diagram traces how traffic moves through protocol layers and exposes unusual combinations.
Netcap treemap comparing audit record types by volume
Compare Record VolumesThe proportional treemap highlights which record types dominate the capture before deeper analysis.
Netcap 3D bar chart comparing protocol audit record counts
Compare Protocol CountsThe ranked chart surfaces the most prevalent protocols and long-tail activity in the dataset.