Network & API Security Articles

Network security guides covering TLS, NGINX hardening, rate limiting, mTLS, WAF tuning, gRPC, WebSocket security, and IPv6 hardening.

Network and API Security Hardening Guides

Intermediate 14 min read

OSS Network Library PR Trust Chain: When a Merged PR Changes Your TLS Stack

When an open-source network library — TLS implementation, HTTP client, DNS resolver — accepts a pull request that modifies cryptographic defaults or trust verification logic, every downstream consumer inherits the change on the next dependency update. This guide covers how to detect trust-chain-breaking changes in network library PRs and build update policies that preserve control.

Intermediate 14 min read

Virtual Patching: WAF Rules and nftables Filters for Unpatched CVEs

When a CVE drops and vendor patches aren't available yet, virtual patching deploys WAF rules and eBPF/nftables network filters as same-day mitigations. This guide covers the virtual-patching workflow for web application CVEs and kernel network-stack CVEs, including rule construction, deployment automation, and removal criteria.

Intermediate 13 min read

SMTP DANE and MTA-STS: Preventing Opportunistic TLS Downgrade in Mail Delivery

SMTP opportunistic TLS can be stripped by a network attacker without the sending MTA noticing. DANE (TLSA DNS records) and MTA-STS (HTTPS policy files) provide cryptographic proof that TLS must be used and what certificate to expect. This guide covers both mechanisms, their deployment, and monitoring.

intermediate 14 min read

Hardening Network Edge Devices Against Nation-State CVE Exploitation

Ivanti Connect Secure, Palo Alto GlobalProtect, and FortiGate SSL VPN have each had critical CVEs actively exploited by nation-state actors in 2024-2025; these devices cannot always be patched immediately — detection signatures, compensating controls, and post-exploitation indicators reduce dwell time.

intermediate 13 min read

Compensating for NVD Enrichment Lag in Network Vulnerability Scanning

NIST's National Vulnerability Database has accumulated a significant enrichment backlog since 2024, leaving months-old CVEs without CVSS scores or CPE mappings; vulnerability scanners that depend solely on NVD data will miss or misclassify these findings — supplement with OSV, GitHub Advisory Database, and vendor feeds.

advanced 13 min read

CVE-2025-23419: mTLS Session Resumption Bypass in NGINX

CVE-2025-23419 allows TLS session resumption to skip mutual TLS client certificate verification when virtual hosts share a TLS session ticket key; understand which NGINX configurations are affected and how to enforce per-connection certificate validation.

advanced 14 min read

Hardening RADIUS Against the Blast RADIUS Attack (CVE-2024-3596)

CVE-2024-3596 demonstrated that RADIUS/MD5 authentication is cryptographically broken and allows on-path attackers to forge Access-Accept responses; migrate to RADIUS over TLS (RadSec), enable Message-Authenticator enforcement, and audit all RADIUS-dependent infrastructure.

advanced 14 min read

Defending Against AI-Enhanced Adaptive DDoS Attacks

AI-driven DDoS campaigns observe mitigation responses and adapt attack vectors in real time; combine ML-based traffic classification with rule-based scrubbing, dynamic threshold tuning, and multi-layer defence to handle attacks that learn from your defences.

intermediate 13 min read

Hardening Linux TCP/IP Stacks Against Passive OS Fingerprinting

Passive OS fingerprinting tools (p0f, nmap, Zeek) identify OS version from TCP SYN flags, IP TTL, window size, and timestamp behaviour without sending a single probe; randomise and normalise these signals to frustrate pre-exploitation reconnaissance.

intermediate 14 min read

Network-Layer Defences Against AI-Powered Phishing Campaigns

AI generates hyper-personalised spear-phishing at near-zero marginal cost; deploy DNS sinkholing, email gateway behavioural analysis, network egress controls, and browser isolation to contain AI-generated social engineering campaigns.

advanced 13 min read

Hardening SSH Against the Terrapin Prefix Truncation Attack (CVE-2023-48795)

Terrapin allows a network MITM to silently strip SSH extension negotiation messages, downgrading security extensions including keystroke timing obfuscation and strict key exchange; deploy strict-kex mode across all OpenSSH clients and servers.

intermediate 12 min read

DNSSEC Key Rollover Operational Security: Lessons from the .de TLD Three-Hour Outage

On May 5, 2026, a faulty key-rollover script at DENIC caused the .de TLD to serve non-validatable DNSSEC signatures for three hours. Every validating resolver — Cloudflare 1.1.1.1, Google Public DNS, ISP resolvers — returned SERVFAIL for all .de domains. This article analyses what went wrong, the operational safeguards that would have prevented it, and how to design DNSSEC rollover procedures for your own zones that fail safely.

advanced 14 min read

Defending Against SMTP Smuggling: Hardening Postfix, Exim, and Gateway MTAs

SMTP request smuggling exploits line-ending interpretation differences between SMTP servers to inject forged emails that pass SPF and DKIM checks; harden MTAs with strict EOL validation and consistent DATA termination handling.

advanced 12 min read

ContainerSSH Network Isolation: Per-Session NetworkPolicy and Egress Control

Each ContainerSSH session Pod runs in its own network context, but without explicit NetworkPolicy every session can reach every other service in the cluster. This article covers designing per-session NetworkPolicy for ContainerSSH on Kubernetes — restricting egress to only the target service each user needs, blocking inter-session traffic, and using Cilium L7 policy to enforce which commands session containers can run against internal APIs.

advanced 13 min read

Copa in Air-Gapped Environments: Container Patching Without Internet Access

Air-gapped and network-isolated environments cannot reach upstream package repositories or public vulnerability databases during a Copa patch run. This article covers the architecture for offline Copa patching: mirroring OS package repositories, running a local Trivy vulnerability database, using a private BuildKit instance, and establishing a one-way data transfer pipeline for importing new patches into the isolated zone.

Advanced 14 min read

Encrypted Client Hello: Privacy vs. Enterprise Security Inspection

Encrypted Client Hello (ECH, RFC 9258) hides the SNI from network observers — the hostname the client is connecting to is no longer visible in the TLS handshake. This breaks DLP, enterprise TLS inspection, and security monitoring tools that rely on SNI for traffic classification. This article explains how ECH works, what it hides vs. what's still visible, and what security teams need to change in their monitoring architecture.

Advanced 14 min read

GraphQL Attack Surface: Introspection Enumeration, Batch Query Abuse, and Depth Limiting

GraphQL's introspection system reveals the complete API schema to any client. Batch queries bundle thousands of operations in one HTTP request, bypassing per-request rate limiters. Deeply nested queries can trigger O(n^k) resolver chains. Aliased queries mask attack patterns from WAFs. Disabling introspection, enforcing query complexity limits, and persisted queries at the gateway layer close these attack surfaces.

intermediate 11 min read

Identity-Aware Proxy: Replacing VPN with Continuous Identity Verification

An Identity-Aware Proxy (IAP) enforces application-layer authentication and authorization on every request, making network location irrelevant to access decisions. This article covers the IAP architecture pattern, implementing a self-hosted IAP with Envoy + ext_authz + OAuth2 Proxy, GCP IAP for GKE workloads, and integrating device posture signals into IAP policy.

Advanced 14 min read

Kubernetes Network Lateral Movement: From Compromised Pod to Internal Service Exfiltration

Default Kubernetes clusters have no network policy — every pod can reach every other pod and service. From a compromised ingress pod, an attacker can reach internal databases, the Kubernetes API server, etcd, the kubelet API on every node, and cloud instance metadata. This article maps the specific network paths, tools for discovery, and the NetworkPolicy and network segmentation controls that block each pivot.

advanced 13 min read

Microsegmentation with Cilium: L7-Aware Network Policy for Zero Trust Kubernetes

Traditional Kubernetes NetworkPolicy operates at L3/L4, blocking by IP and port. Cilium's eBPF-based CNI extends this to L7: enforce that pod A can only call /api/v1/users GET on pod B, not arbitrary HTTP methods or paths. This article covers Cilium CiliumNetworkPolicy L7 rules, DNS-based egress policy, Hubble observability, FQDN policies, and migrating from calico to Cilium without downtime.

advanced 13 min read

Double-Fetch Vulnerabilities in the Linux Network Stack: skb Races and TOCTOU in Packet Handling

Double-fetch vulnerabilities occur when the kernel reads a userspace or shared-memory value twice — first to validate it, then to use it — allowing a racing thread to change the value between reads. In the network stack, this pattern appears in socket option handling, netlink message parsing, and skb clone operations. This article covers the double-fetch class in net subsystem code, historical CVEs, and kernel hardening to eliminate the race window.

Advanced 13 min read

Secrets in Transit: mTLS and Certificate Pinning for Secret Store Communication

The network path between your application and Vault, AWS Secrets Manager, or Azure Key Vault is an attack surface that most secrets management guides ignore. A MITM on that path intercepts decrypted secrets. Certificate pinning prevents MITM even with a compromised CA. Anomaly detection on secrets-API traffic reveals credential harvesting before secrets are used externally.

advanced 13 min read

Service Mesh mTLS Identity: Istio and Linkerd Certificate Security Deep Dive

Service mesh mTLS provides workload-to-workload encryption and identity verification without application code changes. But the certificate issuance, rotation, and trust hierarchy that underpins mTLS are complex security controls that can be misconfigured. This article covers Istio's cert issuance architecture (istiod as CA), Linkerd's certificate hierarchy, external CA integration (Vault PKI, cert-manager), peer authentication policies, and detecting mTLS bypass attempts.

intermediate 11 min read

Zero Trust Network Access with WireGuard: Replacing VPN with Per-Resource Tunnels

Traditional VPN grants broad network access once authenticated. ZTNA with WireGuard creates short-lived, per-resource encrypted tunnels provisioned only after identity and device posture verification. This article covers the ZTNA architecture pattern, Tailscale and Headscale for managed WireGuard mesh, per-node ACL policy, provisioning ephemeral WireGuard configs from an identity provider, and hardening WireGuard endpoints.

Advanced 13 min read

AF_PACKET and CAP_NET_RAW: Two Kernel CVEs That Made the Default Docker Capability Set Dangerous

CAP_NET_RAW is included in Docker's default capability set — it's needed for ping and raw socket tools. CVE-2020-14386 (AF_PACKET memory corruption) and CVE-2021-22600 (double-free in packet_set_ring) both required only CAP_NET_RAW to escalate to kernel code execution. Dropping one capability from the default set closes both attack vectors.

Advanced 14 min read

Never Reimplement Crypto: Why AI-Generated TLS and Network Stacks Are Categorically Unsafe

An LLM can generate a TLS 1.3 handshake, an AES-GCM implementation, or a WireGuard-style key exchange in Python in minutes. Each of these will have subtle timing side-channels, nonce reuse vulnerabilities, or state machine bugs that 25 years of adversarial testing on OpenSSL, BoringSSL, and the Linux kernel crypto API have eliminated. The rule 'never roll your own crypto' now applies to AI-generated crypto.

Advanced 14 min read

AI-Generated Polymorphic Payloads and the Death of Signature WAFs

LLM-powered attack tools generate SQL injection, XSS, and SSRF payloads with infinite semantic variation that bypass every signature a WAF has ever learned. Simultaneously, AI-driven bots mimic human timing patterns and browser fingerprints with statistical fidelity. Shape-based and behavioural defences replace signature matching.

Intermediate 13 min read

API Schema Security Scanning: Detecting Auth Gaps, Injection Risks, and Data Exposure in OpenAPI and Protobuf

OpenAPI and Protobuf definitions are the authoritative contract for an API's behaviour — and they encode security properties like authentication requirements, input validation constraints, and sensitive field exposure. Scanning schemas at commit time catches broken object-level auth, missing input constraints, and PII exposure before the API is deployed. This guide covers schema linting, custom security rules, and CI integration for REST and gRPC APIs.

Advanced 14 min read

JA4 Fingerprint Evasion: The uTLS Arms Race and Detection Beyond TLS Fingerprinting

curl-impersonate and uTLS allow any HTTP client to spoof the TLS ClientHello of Chrome, Firefox, or Safari — producing a JA4 fingerprint indistinguishable from a real browser. This breaks JA4-based bot detection. Detection countermeasures move to: TLS handshake timing, cipher negotiation behaviour, HTTP/2 SETTINGS frame fingerprinting (ALPN ordering, stream weights), and post-handshake protocol behaviour.

advanced 14 min read

MASQUE and CONNECT-UDP Proxy Hardening: Production Egress Gateways for HTTP/3 Traffic

MASQUE (RFC 9298) lets HTTP/3 clients tunnel UDP through a proxy — Apple Private Relay, Cloudflare Zero Trust, and enterprise SASE gateways all run on it. The proxy itself sees plaintext QUIC connection IDs, can be abused as an open relay, and concentrates a lot of trust. Hardening guide for operators.

advanced 13 min read

MASQUE and CONNECT-UDP Proxy Security Hardening

Production hardening for MASQUE / CONNECT-UDP (RFC 9298) proxies: authentication, egress policy, abuse detection, and operational pitfalls.

Advanced 13 min read

MCP Transport Security: Closing the Authentication Gap in SSE and HTTP Transports

MCP's Server-Sent Events (SSE) transport exposes MCP servers as HTTP endpoints with no built-in authentication. An unauthenticated MCP endpoint on an internal network is reachable by any process on that network — turning lateral movement into agent tool access. mTLS for service-to-service authentication and OAuth 2.0 for user-delegated agent authorisation are the two patterns that close this gap.

Advanced 13 min read

Netfilter CVE-2022-1015 and CVE-2022-1016: Kernel Heap Overflow from Container Network Rules

CVE-2022-1015 (nftables out-of-bounds write) and CVE-2022-1016 (use-after-free in nf_tables) gave unprivileged users with CAP_NET_ADMIN — granted by default in many Kubernetes pods — the ability to achieve kernel code execution. The attack surface is the kernel's packet filtering subsystem, reachable from any network namespace.

Intermediate 13 min read

Disclosing Vulnerabilities in Open Source Networking Software: Nginx, HAProxy, and Envoy

Nginx, HAProxy, and Envoy underpin the internet's HTTP infrastructure — a critical vulnerability in any of them requires rapid coordinated response. This guide covers how to report vulnerabilities to each project's security team, what to expect during the disclosure process, how to track CVEs in networking software you depend on, and how to apply emergency patches when a critical disclosure drops.

Advanced 14 min read

Post-Quantum TLS 1.3 in Production: Deploying X25519+ML-KEM-768 with OpenSSL 3.5, NGINX, and HAProxy

OpenSSL 3.5 (April 2025) ships ML-KEM as a built-in provider — the first production-ready release for PQC TLS without patching. This guide deploys hybrid X25519+ML-KEM-768 key exchange on NGINX and HAProxy, validates PQC negotiation with clients, and provides a rollout strategy that maintains compatibility with non-PQC clients.

Advanced 13 min read

Anycast-Based DDoS Mitigation Architecture

Deploy a multi-PoP anycast architecture that absorbs volumetric DDoS floods across geographically distributed scrubbing nodes, combining BGP anycast, ECMP, SYN cookies, and XDP-based SYN proxies to keep origin infrastructure reachable under multi-hundred-Gbps attacks.

Advanced 13 min read

BGP and OSPF Hardening: Routing Protocol Security for Production Networks

Routing protocol attacks — BGP hijacking, OSPF LSA injection, route table flooding — can silently redirect or blackhole all traffic. Harden BGP and OSPF with MD5/TCP-AO authentication, GTSM, RPKI filtering, prefix-list hygiene, BFD, and passive interface isolation.

Advanced 12 min read

Certificate Pinning Security: Modern Approaches After HPKP Deprecation

HTTP Public Key Pinning was deprecated in 2018 after bricking sites and creating unrecoverable outages. This article covers what replaces it: static pinning in mobile apps via Android NSC and iOS NSPinnedDomains, SPKI hash pinning in Go service clients, DANE/TLSA, CAA records, mTLS for service-to-service auth, and CT log monitoring — plus when pinning causes more harm than it prevents.

Intermediate 13 min read

Cloud Network Security Hardening: AWS, GCP, and Azure

Cloud networks are not secure by default. Misconfigured security groups, open IMDS endpoints, and absent private service endpoints routinely lead to credential theft and data exfiltration. This guide covers the controls that matter: VPC design, IMDS v2 enforcement, private endpoints, flow log analysis, and cross-cloud parity across AWS, GCP, and Azure.

Advanced 12 min read

DNS Resolver Infrastructure Hardening: Recursive Resolvers, DNSSEC, DoT, and Split-Horizon DNS

Harden your internal recursive resolver infrastructure against cache poisoning, DNS rebinding, and lateral movement. Covers BIND 9 and Unbound hardening, DNSSEC validation, DNS over TLS, split-horizon views, and Kubernetes CoreDNS security.

Advanced 13 min read

802.1X Network Access Control: Wired and Wireless Authentication with RADIUS and EAP-TLS

MAC-based access control is trivially bypassed. 802.1X with EAP-TLS enforces cryptographic device identity at the port level, dynamically assigns VLANs by identity, and eliminates rogue device connection on both wired and wireless networks.

Advanced 14 min read

Financial-Grade API (FAPI 2.0) Security: Open Banking, PSD2, and DPoP-Bound Tokens

FAPI 2.0 is the OpenID Foundation's security profile for high-value financial APIs — used by Open Banking UK, PSD2 in Europe, and CDR in Australia. It mandates mTLS sender-binding, DPoP proof-of-possession, PAR, and pushed authorization. This guide implements FAPI 2.0 requirements and shows how each control addresses specific financial API attack vectors.

Advanced 12 min read

HTTP/2 Protocol Security Hardening: Framing, HPACK, Stream Multiplexing, and Smuggling

HTTP/2 introduced multiplexing, header compression, and server push — each of which carries attack surface absent in HTTP/1.1. This guide covers protocol-level hardening across Nginx, HAProxy, and Envoy.

Intermediate 11 min read

ICMP Security: What to Allow, What to Block, and Detecting ICMP Tunnelling

Blindly blocking all ICMP breaks Path MTU Discovery, disables availability monitoring, and violates RFC requirements for IPv6. This article covers a practical ICMP filtering policy for nftables, ICMPv6 neighbour discovery requirements, covert channel detection for ICMP tunnelling tools like ptunnel and hans, and Zeek/Suricata detection rules.

Advanced 13 min read

Kerberos Network Security Hardening

Kerberos is the default authentication protocol for Active Directory and Linux enterprise environments, but default configurations leave it vulnerable to kerberoasting, AS-REP roasting, golden ticket attacks, and delegation abuse. This guide covers pre-authentication enforcement, gMSA deployment, delegation hardening, encryption type restriction, krbtgt rotation, and detection of live attacks using Windows event IDs.

Intermediate 12 min read

LDAP and LDAPS Security Hardening for Directory Service Connections

LDAP on port 389 transmits bind credentials in cleartext, permits anonymous enumeration, and is trivially injectable. This guide covers enforcing LDAPS, disabling anonymous bind, writing correct OpenLDAP ACLs, preventing LDAP injection in application code, and hardening Active Directory LDAP signing and channel binding.

Advanced 13 min read

Linkerd Service Mesh Security Hardening

Harden Linkerd's automatic mTLS, Server and HTTPRoute authorisation policies, MeshTLSAuthentication, egress control, and multi-cluster federation — the security-first alternative to Istio.

Intermediate 11 min read

NAT Security Implications and CGNAT Risks for Security Monitoring

NAT hides internal hosts behind shared IP addresses, breaking IP-based threat attribution and complicating forensics. CGNAT at the carrier level extends this problem across thousands of subscribers. This article covers NAT logging, ALG vulnerabilities, port forwarding attack surface, CGNAT attribution challenges, and why IPv6 and Zero Trust are the right long-term answers.

Intermediate 12 min read

Structured Network ACL Design and Management

Firewall rulesets accumulate over years into undocumented sprawl: permit-any rules no one understands, shadowed rules that never fire, and compliance audits that fail because no one can explain what a rule does or why it exists. Structured ACL design, zone-based models, and Infrastructure as Code bring firewall policy under engineering discipline.

Intermediate 12 min read

Network Flow Analysis: NetFlow, sFlow, and IPFIX for Security Monitoring

Packet capture is too expensive to run continuously at scale. Network flow records — metadata about every connection without payload content — provide scalable, long-term visibility into who talked to whom, when, and how much data moved. NetFlow, sFlow, and IPFIX are the protocols that make this work.

Intermediate 12 min read

Network Forensics and Secure Packet Capture

Capturing packets is the most direct way to confirm lateral movement, reconstruct attack sequences, and preserve evidence of data exfiltration. Done wrong, it creates privacy and legal risk, exposes captured data, and runs as root indefinitely. This guide covers privilege-separated capture, PCAP storage security, forensic analysis workflows, and long-term network recording.

Advanced 13 min read

Network Microsegmentation Implementation: eBPF, SPIFFE, and Per-Workload Isolation

VLANs and coarse security zones leave east-west traffic within a segment unrestricted. Microsegmentation enforces per-workload firewall policy based on workload identity, not IP address — using eBPF with Cilium, systemd network namespaces, SPIFFE/SPIRE SVIDs, and service mesh mTLS.

Advanced 12 min read

nf_tables Container Privilege Escalation: Hardening the Kernel's Highest-Risk Subsystem

nf_tables accounts for 43% of user-namespace-enabled kernel CVEs. When containers gain CAP_NET_ADMIN via user namespaces, they reach nf_tables kernel code — the source of dozens of container escapes. Block netfilter access from containers with seccomp, AppArmor, and namespace restrictions.

Intermediate 12 min read

OpenVPN Security Hardening: PKI, Cipher Suites, tls-crypt-v2, and Privilege Separation

OpenVPN's flexibility is also its attack surface. This guide covers PKI hardening with EC keys and OCSP, the tls-auth/tls-crypt/tls-crypt-v2 ladder, data-channel cipher configuration for OpenVPN 2.6, privilege drop, management interface protection, and per-client access control.

Intermediate 11 min read

PROXY Protocol and Trusted Proxy Chain Configuration

X-Forwarded-For spoofing is one of the oldest tricks in the attacker playbook. Configure your proxy chain correctly — PROXY protocol v2, real_ip directives, and trusted hop counts — or every IP-based security control you have is fiction.

Intermediate 11 min read

SOCKS Proxy Tunnelling Security: Detecting Abuse and Hardening Legitimate Deployments

SOCKS proxies are a staple of red team toolkits: Cobalt Strike, chisel, and SSH dynamic forwarding all use SOCKS5 to tunnel C2 traffic and pivot through network segments. This article covers how attackers weaponise SOCKS, how to detect tunnelling in your environment, and how to harden both SSH and legitimate SOCKS deployments.

Advanced 12 min read

Passive TLS Fingerprinting with JA3 and JA4 for Network Security Detection

JA3 and JA4 fingerprint TLS ClientHello messages to identify malware C2 beacons, Cobalt Strike, scanning tools, and commodity RATs — without decrypting traffic. This article covers how both algorithms work, Zeek and Suricata integration, threat intelligence databases, and SIEM correlation pipelines.

Intermediate 12 min read

Migrating to TLS 1.3 and Hardening Cipher Suite Selection Across Web Servers and Load Balancers

A practical guide to eliminating weak TLS configurations across Nginx, HAProxy, Apache, and Envoy: dropping legacy cipher suites, enforcing TLS 1.3, managing dual-cert deployments, and automating cipher testing in CI.

Intermediate 10 min read

Traefik ForwardAuth Authentication Bypass: CVE-2026-35051

CVE-2026-35051 allows authentication bypass in Traefik's ForwardAuth middleware when trustForwardHeader=false but Traefik sits behind a trusted upstream proxy. Patch to v2.11.43/v3.6.14 and audit header stripping in multi-proxy deployments.

Intermediate 12 min read

VLAN Security and Trunk Hardening: Defeating VLAN Hopping, DTP Exploitation, and Lateral Movement

VLAN boundaries are weaker than most engineers assume. Switch spoofing, double-tagging, and native VLAN abuse let attackers cross segment boundaries without touching a router. This guide covers DTP disablement, native VLAN hardening, Private VLANs, Linux VLAN configuration, and detection strategies for 802.1Q attacks.

Intermediate 12 min read

Wireless Network Security Hardening: WPA3 and Enterprise Wi-Fi

WPA2 PSK networks are routinely cracked offline using captured handshakes. WPA3-SAE eliminates offline dictionary attacks via the dragonfly handshake, while WPA3-Enterprise with PMF-required and WIDS closes the remaining attack surface on wireless infrastructure.

Advanced 13 min read

Zeek Network Security Monitoring: Protocol Analysis, Threat Detection, and SIEM Integration

Zeek transforms raw packet streams into structured, queryable logs covering every TCP/UDP flow, DNS query, HTTP transaction, TLS handshake, and file transfer on your network. Unlike alert-based IDS tools, Zeek gives you a complete network audit trail for threat hunting, incident response, and compliance.

Advanced 13 min read

Zero Trust Network Access: Replacing VPN with Identity-Aware Proxies

VPNs grant network-level trust the moment a credential is accepted. ZTNA grants per-application access based on verified identity, device posture, and context — then terminates the session. Here is how to build it.

Intermediate 10 min read

nginx-ui MCPwn: Unauthenticated RCE via Exposed MCP Management Endpoint (CVE-2026-33032)

CVE-2026-33032 exposes nginx-ui's AI management MCP endpoint without authentication, allowing unauthenticated attackers to overwrite nginx.conf and execute commands. 2,600+ instances were internet-exposed. Learn the attack surface and how to eliminate it.

Intermediate 11 min read

Private npm Registry as Supply Chain Control: Blocking the Axios Attack Pattern

A private npm registry proxy with version approval workflows would have blocked Axios 1.14.1 before it reached any developer. Configure Verdaccio with version allowlists, approval gates, and integrity verification to make future attacks need to compromise your registry too.

Intermediate 10 min read

Roxy-WI LDAP Injection: Unauthenticated Auth Bypass via CVE-2026-33432

CVE-2026-33432 allows unauthenticated attackers to bypass Roxy-WI's LDAP authentication by injecting metacharacters into the login username. Full admin access grants control over HAProxy and Nginx on all managed servers. Patch to 8.2.9 and harden LDAP filter construction.

advanced 16 min read

Caddy Web Server Security Hardening

Harden Caddy against CVE-2026-27586 mTLS silent fail, CVE-2026-27589 admin API CSRF, CVE-2026-30851 forward_auth header bypass—and Caddy's pattern of batching security fixes into routine releases.

advanced 16 min read

nginx Module and Upstream TLS Security

Harden nginx against CVE-2026-1642 upstream TLS TOCTOU injection, CVE-2026-27654 DAV buffer overflow, and CVE-2026-27784 MP4 module overflow—and track nginx security releases before they reach your distribution.

Intermediate 10 min read

Nginx UI Backup Disclosure: Lessons from CVE-2026-27944

CVE-2026-27944 exposes a critical API design flaw in Nginx UI: an unauthenticated endpoint that returns both encrypted backups and their decryption key. Learn how the silent-PR pattern works and how to prevent similar backup disclosure bugs.

Intermediate 11 min read

Detecting npm postinstall C2 Callbacks at the Network Layer

The Axios RAT phoned home to C2 infrastructure during npm install. Build egress filters for CI runners, DNS monitoring for phantom dependency domains, and Suricata rules that catch the network signature of postinstall supply chain attacks.

Advanced 13 min read

OT Network Segmentation: Zero Trust with ISA/IEC 62443 Zones and Conduits

CISA's OT Zero Trust guidance replaces the Purdue Model with ISA/IEC 62443 zones and conduits for granular segmentation. Learn how to define security zones, enforce conduit rules, design DMZs, and monitor IT/OT boundaries.

Intermediate 11 min read

OT Remote Access Zero Trust: Replacing Persistent Vendor VPNs

CISA identifies always-on vendor VPN access as a critical OT vulnerability. Replace it with time-limited ZTNA sessions through a DMZ jump host — with MFA, session recording, automatic expiry, and an out-of-band approval workflow.

advanced 16 min read

BGP FlowSpec for DDoS Mitigation and Traffic Steering

Deploy BGP FlowSpec rules for real-time DDoS mitigation, black-hole routing, and traffic steering, with guidance on open source router implementation security and CVE monitoring.

advanced 16 min read

Cilium L7 Network Policy Security

Harden Cilium L7 HTTP, gRPC, and DNS network policies against CVE-2026-33726-class bypasses, per-endpoint routing pitfalls, and silent policy enforcement gaps in fast-moving Cilium releases.

advanced 16 min read

Istio RBAC and Header Policy Security

Harden Istio AuthorizationPolicy against CVE-2026-26308 multivalue header RBAC bypass and CVE-2026-22771 Envoy Gateway Lua sandbox escape, with upstream security advisory monitoring.

intermediate 15 min read

Link-Layer Security: ARP Spoofing Defence and DHCP Snooping

Defend against ARP/ND spoofing, DHCP starvation, and rogue gateway attacks using Linux kernel controls, dynamic ARP inspection, and open source tools with active maintenance checks.

advanced 16 min read

Traefik Authentication Middleware Security

Harden Traefik's ForwardAuth, BasicAuth, and StripPrefix middleware against CVE-2026-40912 path-decoding bypass and CVE-2026-39858 header-normalization gaps disclosed April 21, 2026.

advanced 16 min read

VXLAN and Geneve Overlay Network Security

Harden VXLAN and Geneve overlay networks against VTEP spoofing, BUM traffic amplification, VNI enumeration, and cross-tenant traffic injection in cloud-native environments.

intermediate 15 min read

Private Encrypted DNS Infrastructure with DoH and DoT

Deploy and harden internal DNS-over-HTTPS and DNS-over-TLS resolvers with Unbound or dnsdist to prevent DNS surveillance, hijacking, and NIDS bypass.

intermediate 13 min read

IPsec VPN Hardening: IKEv2, StrongSwan, and Certificate-Based Authentication

IPsec with IKEv2 provides strong network-layer encryption for site-to-site and remote access VPNs. Hardening requires certificate-based authentication over PSKs, strong cipher suites, dead peer detection, and revocation checking to prevent credential replay and MITM attacks.

intermediate 13 min read

Network Segmentation Patterns: Micro-segmentation, East-West Controls, and Zero-Trust Zones

Flat networks give an attacker who reaches any host access to every other host. Network segmentation limits lateral movement by enforcing that traffic between hosts must be explicitly permitted. Micro-segmentation, network zones, and east-west controls are the practical implementations.

intermediate 12 min read

SNMP v3 Hardening: Authentication, Encryption, and View-Based Access Control

SNMPv1 and v2c transmit community strings in plaintext and have no access control. SNMPv3 adds per-user authentication and AES encryption, but misconfigured security levels and overpermissive MIB views still expose device credentials and full configuration data.

intermediate 14 min read

Suricata IDS/IPS: Host and Container Network Intrusion Detection

Suricata inspects network traffic against rule sets to detect exploit attempts, lateral movement, C2 communication, and data exfiltration. Running it inline as an IPS blocks malicious traffic in real time; running it on mirrored traffic provides detection without packet risk.

intermediate 12 min read

TLS Certificate Transparency Monitoring: CT Logs, CAA Records, and Misissuance Detection

Certificate Transparency requires all publicly trusted TLS certificates to be logged in append-only public logs. Monitoring CT logs for your domains detects rogue certificates issued without your knowledge — a key indicator of domain hijacking, CA compromise, or insider misissuance.

intermediate 12 min read

DNS Response Policy Zones: Blocking C2 Domains with Internal Resolver Threat Intelligence

DNS RPZ lets an internal resolver return NXDOMAIN (or a sinkhole) for known-malicious domains before a connection is ever made. One control blocks C2, phishing, and malware distribution network-wide.

intermediate 13 min read

Email Security Hardening: SPF, DKIM, DMARC, and BIMI

SPF limits who can send as your domain. DKIM signs messages. DMARC enforces policy and sends reports. BIMI shows your logo in supporting clients. Most organisations have gaps in all four.

intermediate 12 min read

Network Time Security: Authenticated NTP for Infrastructure

Unauthenticated NTP lets any on-path attacker shift system clocks, invalidating TLS certificates, JWT tokens, and Kerberos tickets. NTS (RFC 8915) adds TLS-based authentication to NTP without sacrificing accuracy.

intermediate 13 min read

SSH Bastion Host and Jump Server Hardening

A bastion host is the single SSH entry point to your fleet. Hardening it — session recording, certificate auth, MFA, strict forwarding controls — contains the blast radius of a stolen SSH key.

advanced 13 min read

BGP Security and RPKI: Route Origin Validation for Production Networks

BGP hijacking lets attackers redirect your traffic to their infrastructure. RPKI Route Origin Validation, route filtering, and ASPA make hijacks detectable and preventable.

advanced 14 min read

Envoy Proxy Security Hardening: Filter Chains, ext_authz, and Access Log Integrity

Envoy's defaults expose admin APIs, pass headers unsanitized, and log nothing useful for security. A hardened Envoy configuration changes all three.

intermediate 14 min read

HAProxy Production Hardening: Beyond TLS, Request Filtering, ACLs, and Logging Hygiene

HAProxy's defaults are friendly to misconfiguration. The right knobs make it fast, observable, and resistant to common L7 abuse.

advanced 14 min read

Service Mesh Egress Gateway Patterns: Bounded Outbound Traffic in Istio Clusters

Pod egress in a service mesh is a per-Pod decision; egress gateways centralize, audit, and bound it. The pattern that finally makes 'where can my workload reach' answerable.

intermediate 14 min read

WireGuard Mesh for Internal Zero-Trust Networking: wg-quick, Tailscale, Netbird Compared

WireGuard turns the public Internet into an internal network. Three deployment patterns, three different operational models, one cryptographic core.

advanced 14 min read

eBPF-XDP for L4 DDoS Mitigation: Line-Rate Drop in the Kernel

XDP runs your filter at the network driver level, before the kernel allocates an sk_buff. Drop attacks at line rate on commodity NICs with a few hundred lines of eBPF.

intermediate 14 min read

Encrypted Client Hello (ECH) Deployment on NGINX, Cloudflare, and Internal Edges

TLS 1.3 still leaks the destination hostname via SNI. ECH closes that gap. Browser support is now wide enough to deploy in production.

intermediate 13 min read

HTTP/2 RST and CONTINUATION Flood Mitigation: CVE-2023-44487, CVE-2024-27316, and Beyond

Two recent CVE classes weaponize HTTP/2's stream and header model. Mitigation is settings-tweak in NGINX and Envoy, but only if you know which knobs.

intermediate 16 min read

HTTP/3 and QUIC Production Hardening: UDP Amplification, 0-RTT Replay, and Connection ID Privacy

QUIC moves TLS into the transport. New attack surface: UDP amplification, 0-RTT replay, connection ID tracking, stream flow-control abuse. Hardening is non-trivial.

advanced 24 min read

DDoS Megascale Operations: Defending Against AI-Orchestrated Terabit Attacks and Botnet Smokescreens

AI-powered botnets of compromised IoT and edge devices launch DDoS attacks exceeding 1 terabit per second. These attacks are increasingly used as smokescreens for simultaneous data theft operations. This article covers the multi-layer defensive architecture from edge absorption to origin hardening.

intermediate 18 min read

IPv6 Security in Production: Hardening Dual-Stack Deployments

Most production environments run dual-stack (IPv4 and IPv6) whether the team intended it or not. Linux enables IPv6 by default.

intermediate 20 min read

gRPC API Gateway Patterns: Authentication, Rate Limiting, and Request Validation at the Edge

gRPC services exposed through API gateways face unique security challenges: gRPC-Web transcoding introduces injection surfaces, metadata headers can carry internal routing information past the edge, and per-method rate limiting requires gRPC-aware configuration.

intermediate 20 min read

NGINX Hardening Beyond TLS: Request Filtering, Buffer Limits, and Connection Controls

Most NGINX hardening guides stop at TLS configuration, cipher suites, certificate setup, HSTS.

intermediate 20 min read

Rate Limiting at the Ingress Layer: NGINX, Envoy, and Cloud Load Balancers Compared

Rate limiting is the first line of defence against abuse, credential stuffing, API scraping, and denial-of-service attacks.

intermediate 22 min read

Protecting Internal APIs: Network Segmentation, Authentication, and Access Logging

"It's internal" is the most dangerous phrase in infrastructure security. Internal APIs sit behind the perimeter and receive minimal scrutiny.

intermediate 18 min read

Load Balancer Security: Health Check Abuse, Connection Draining, and TLS Termination

Load balancers sit at the most critical point in your infrastructure: every external request passes through them.

intermediate 22 min read

API Gateway Security: Authentication, Authorization, and Request Validation

Without a centralized API gateway, authentication and authorization logic is duplicated in every backend service. This creates several problems:

intermediate 18 min read

TLS 1.3 Configuration for NGINX and Envoy: Ciphers, Certificates, and OCSP Stapling

TLS misconfiguration remains one of the most common security findings in production infrastructure.

intermediate 22 min read

mTLS for Service-to-Service Communication: Istio, Linkerd, and DIY with cert-manager

Internal service-to-service traffic in most Kubernetes clusters is plaintext. Once an attacker compromises a single pod, through a container escape,...

intermediate 18 min read

gRPC Load Balancing Security: Client-Side, Proxy, and Service Mesh Patterns

L4 load balancers break gRPC multiplexing, sending all streams to a single backend. This article covers L7 balancing with Envoy, client-side balancing with xDS, health check hardening, and connection draining for secure gRPC deployments.

intermediate 18 min read

DNS Security for Production Infrastructure: DNSSEC, CAA Records, and Internal Resolution

DNS is the most critical single point of failure in any infrastructure, and the least hardened layer for most teams.

intermediate 22 min read

WAF Rule Tuning That Does Not Break Legitimate Traffic: ModSecurity and Coraza in Practice

A self-managed Web Application Firewall (WAF) with default rules generates dozens of false positives per day.

intermediate 20 min read

Preventing HTTP Request Smuggling: Configuration for NGINX, HAProxy, and Envoy

HTTP request smuggling exploits inconsistencies in how chained HTTP processors (reverse proxies, load balancers, backend servers) parse request...

intermediate 18 min read

HTTP Security Headers in Production: CSP, HSTS, and Permissions-Policy Without Breaking Your App

Security headers are free, server-side controls that instruct browsers to restrict dangerous behaviour.

intermediate 18 min read

Hardening WebSocket Connections: Authentication, Rate Limiting, and Origin Validation

WebSocket connections start as an HTTP upgrade request and then persist as a long-lived, full-duplex channel.

intermediate 22 min read

gRPC Security in Production: TLS, Authentication, and Interceptor-Based Access Control

gRPC services in production frequently run with security configurations that would never be acceptable for HTTP APIs: