KORTHVEILSecurity firewall
Guides

Device analysis: Korthveil as the analysis machine

Download as PDF All guides

A doorbell, a camera, a smart plug: what does it send, to whom, and would it still work if it sent nothing? From 1.7.7, Analyze on a device makes Korthveil the analysis machine for it. Everything the device tries is captured and analysed on the firewall, and, if you choose, nothing leaves until you know what it is.

At a glance:

Step Where What
1 Network › Devices Press Analyze on the device's row
2 The device's analysis panel Choose a mode, tick the confirmation, press Start analysis
3 The same panel Read the destinations, what the device said and the names it asked for; in Ask once, approve or deny each new destination
4 Turn off One click: the device's traffic flows as before

All analysed devices are also listed on Security › Intrusion prevention › Targeted scan under Devices under analysis.

The three modes

Mode What leaves the firewall What is recorded
Analyze and block Nothing. Korthveil answers the device itself Everything the device sent and tried
Ask once Only destinations you approved. A new destination is blocked and waits for you Everything; approved traffic both ways
Analyze and allow Everything, as before Both directions, analysed
  • Analyze and block is for a device you don't trust yet: you see what it wants to send without it sending anything. The device works only as far as it works offline.
  • Ask once is for a device you want to keep using: approve its own cloud, keep the rest out. Approve a name (api.example.com), every name under one (*.example.com), an address or a network; IPv4 and IPv6 alike.
  • Analyze and allow changes nothing for the device: it is only watched closely.

The device is chosen by its network address (MAC), so all its IPv4 and IPv6 addresses are covered.

What Korthveil captures

What How it shows
Names the device asks for (DNS) Every question and the answer it got. Korthveil answers the device's DNS itself, through the firewall's own resolver
Encrypted connections (TLS) The server name, the application protocol (ALPN) and the JA4 fingerprint of the device's software. The content is not readable without interception (below)
Plain protocols Web requests (method, site, path, the device's software name), MQTT (client name, user, topics, message sizes), CoAP, time requests (NTP), discovery (SSDP, mDNS), and any other UDP (port, size, first bytes)
Media Video and voice streams (RTP/SRTP): payload type, stream ID, rate and sizes, marked encrypted media
Per destination Address, name, network owner and AS number, country, ports, protocols, first and last seen, tries, the bytes the device tried to send, and in Analyze and block and Ask once the bytes it would have sent

Passwords, cookies and authorisation headers are never kept: the panel says only that one was sent.

In Analyze and block and Ask once, Korthveil answers enough to make the device talk: a web request gets a "service unavailable" answer, an MQTT device is let in so it sends its first message, and the bytes it sends are counted.

Reading inside encrypted connections (optional)

TLS interception is off unless you switch it on for this device. It needs the TLS inspection add-in: the device is offered a certificate from its certificate authority.

  • Most devices check certificates and refuse. They are listed as pinned/refused: the device did try, and its content stays unread. Korthveil never reports a refusal as "nothing sent".
  • A device that accepts shows what it sent inside the connection.

Answering DNS with the analysis address (optional)

By default the device gets real DNS answers, so the list names real servers, owners and countries. With Answer DNS with the analysis address on (Analyze and block and Ask once), names that are held get 198.18.0.1 and 100::1, addresses that are never routed on the internet. A device that would fall back to a built-in server address after a failed lookup still ends up at Korthveil's analysis service.

What is never held or analysed

  • Devices on a never-block list (for example Threat intelligence › Devices never blocked, Live attacks › Never block, or the DNS resolver's exempt devices) are never analysed: Korthveil refuses to start and names the list. A device whose address is on such a list is skipped and shown as skipped.
  • The firewall's management paths always pass: Korthveil support, SentinelOps and your management servers, and the firewall's own services (DHCP, the console).

Safety

  • Analysis starts only when you press Start analysis after ticking the confirmation. While it runs, the device's panel shows a banner.
  • Every start, change, approval, denial and Turn off is written to the audit log (Monitoring › Logs & audit › Audit log, actions analysis.*), with who did it.
  • Starting, changing, approving and turning off commit only that change at once. Other changes waiting in Review and commit are not committed with them.
  • If Korthveil's analysis service stops, the device's held traffic is refused on the firewall. It is never forwarded.

Storage never fills the drive

Each device's recording is a ring kept on the firewall (or on a data volume):

  • Each device's recording limit (default 200 MB, up to 4 GB). When it is full, the oldest part goes and the panel says so.
  • All recordings together use at most 10% of the free space. Recording stops when free space falls below 15% or 2 GB; the destinations and details keep being collected.
  • Keep recordings for (default 7 days) and Bytes kept per packet (default 2048).

These settings are on Security › Intrusion prevention › Targeted scan › Devices under analysis. Press Stage these settings, then Review and commit.

Export

  • Report (JSON): every destination, detail and name, with a note on what can't be seen.
  • Recording (pcapng): opens in Wireshark.
  • SentinelOps can fetch both (actions analysis.report, read-only), and also a targeted scan's recording (scans.recording, read-only), in parts of at most 4 MB with a checksum of the whole file.
  • Delete data removes the device's saved analysis and recording.

Daily digest

Once a day per analysed device, your alerts (email, push) get a digest: destinations tried, new ones, names asked for, bytes held back and approvals waiting. Switch it off with Daily digest per device on the Targeted scan page.

Limits, said plainly

  • Encrypted content is readable only with interception and a device that accepts the certificate. Most smart devices refuse.
  • Video and voice (SRTP) are encrypted: only their headers are shown.
  • Traffic between two devices on the same switch never crosses the firewall and is not seen.
  • What was proved: unit tests and a lab with a simulated device (DNS, TLS, MQTT and UDP over IPv4 and IPv6, every mode, the analysis service stopped). A real doorbell is analysed only after the release.

Download as PDF All guides