KORTHVEILSecurity firewall
Guides

Korthveil agent: watch and protect your computers

Download as PDF All guides

The Korthveil agent is a small program for Windows, Mac and Linux computers behind your Korthveil firewall. It reports the software and updates on the computer, watches it for signs of compromise, and runs a fixed list of cleanup actions when you press a button. Each computer uses one agent seat.

At a glance:

Step Where What
1 korthveil.com › Pricing or Your account Buy agent seats: $100 per computer, one-time
2 Security › Vulnerabilities › Agents Turn on Accept agents
3 Agents › Install on computers Windows: make a deployment key, download the installer, double-click it on the computer. A whole domain: Deploy to your domain. Mac and Linux: the one-line command
4 Security › Vulnerabilities › Agents Read each computer's protection and signs

No PowerShell command to remember: on Windows the installer does everything after a double-click, and a domain is set up from the console. You need only the Korthveil firewall and the agent: no SentinelOps, no cloud service, no other account.

Security › Vulnerabilities › Agents
Security › Vulnerabilities › Agents

Seats

  • Try it first: a 10-day trial. A firewall without agent seats can watch up to 3 computers for 10 days, starting the first time you turn on Accept agents. The Agent trial tile shows the days left. When it ends, those computers stop reporting until you buy seats; the trial doesn't start again.
The Agent trial tile: computers in the trial and the days left
The Agent trial tile: computers in the trial and the days left
  • One seat per computer, one-time. A seat never expires; the agent gets updates for as long as your firewall's license does.
  • Buy seats with a new license on the pricing page (Korthveil agent: how many computers), or add them to an active license under Your account › Add agent seats.
  • Seats belong to your account and work on any of your firewalls.
  • The Agents page shows Agent seats: used / bought. When all are used, a new computer can't enroll: buy more, or remove a computer you no longer use (removing frees its seat). Computers already installed keep working.

Downloads

The agent is downloaded only from these places, never from a public link:

  • Security › Vulnerabilities › Agents › Install on computers on your firewall: the Windows installer that carries a deployment key (below), and the domain kit.
  • Your account on korthveil.com, under the license, once it has seats: Download the Korthveil agent lists every system.
  • Your firewall's agent page, on your LAN, which also shows the one-line install command with an enrollment code.

Install on one Windows computer: download and double-click (from 1.6.0)

  1. On the firewall: Security › Vulnerabilities › Agents, panel Install on computers, New deployment key. Give it a name (for example Office laptops), choose when it ends (Never until you revoke it, or after 7, 30, 90 or 365 days) and Make the key.
  2. Open the key and choose Windows (x64) (or Windows (ARM64) for an ARM computer). The file KorthveilAgentSetup-windows-amd64.exe downloads. It carries this firewall's address, what to trust and the key: nothing is typed on the computer.
  3. Copy it to the computer (a USB stick, a share, an email to yourself) and double-click it.
  4. Windows asks Do you want to allow this app to make changes to your device? Choose Yes (an administrator of the computer has to agree).
  5. A window shows what the installer does, and a message ends it: The Korthveil agent is installed and reports to …. The computer appears on the Agents tab within a minute.
Install on computers: the key Office laptops open, with its Windows, Linux and domain kit downloads, the note about Windows' Run anyway, and PC-07 enrolled from the Windows installer
Install on computers: the key Office laptops open, with its Windows, Linux and domain kit downloads, the note about Windows' Run anyway, and PC-07 enrolled from the Windows installer

Good to know:

  • Windows protected your PC. Until the agent is code-signed, Windows SmartScreen may stop a downloaded installer at the double-click: choose More info, then Run anyway. Installs by Group Policy, Intune or a software tool are not affected.
  • Many computers, one key. Download the installer once and run it on as many computers as you like; each one uses an agent seat. Every download is a new installer of the key (the firewall keeps only a fingerprint of its secret) and is in Monitoring › Logs & audit › Audit log.
  • Run it again and nothing changes when the same version is installed; with an older agent it updates the program and keeps the computer's enrollment.
  • Changed installers are refused. The installer's contents are signed by your firewall: an installer whose address, trust or options were changed is refused on the computer, and the firewall refuses one it didn't make.
  • Silent install for Group Policy, Intune (a Win32 app) or another tool: KorthveilAgentSetup-windows-amd64.exe /quiet. The result is in C:\ProgramData\Korthveil\install.log and the exit code (0: installed, already installed or waiting for approval).
  • Revoke a key on its line to stop all its installers; computers already enrolled keep working (remove them one by one if needed).
  • The installed agent doesn't keep the key: the installer's secret stays in the installer file only.

New computers wait for approval (Business licenses)

On a Business license a key can be made with New computers wait for approval. A computer that runs its installer is then listed under Waiting for approval (its name, system, address, hardware address, key and time) and reports nothing until you press Approve; Refuse forgets it. A waiting computer takes no seat; at approval it takes one, and the approval is refused if all seats are in use. The computer starts reporting within seconds of the approval.

Waiting for approval: PC-07, a Windows computer that ran the installer of a key with approval, with Approve and Refuse
Waiting for approval: PC-07, a Windows computer that ran the installer of a key with approval, with Approve and Refuse

When all seats are in use, a new computer is refused at once with "all N Korthveil agent seats of this license are in use" (the installer shows it), approval or not. Seats are never exceeded silently.

Install on a whole domain: Deploy to your domain (from 1.6.0)

For an Active Directory domain (Windows Server 2016 or later, or Samba AD), the firewall sets up a Group Policy object for you: computers in the OU you choose install the agent at their next start. No script, no command on the domain controller.

  1. Security › Vulnerabilities › Agents › Install on computers › Deploy to your domain (also under System › Wizards).
  2. Domain controller: type its name or address (IPv4 or IPv6) and Find. The firewall reads what the controller says about itself, without an account: the domain, the controller's name, and how the firewall can sign in safely.
  3. Administrator: a member of Domain Admins and its password. They stay in the page while it is open and go with each step; the firewall keeps no copy and never writes them to a log. A dedicated account for this is a good idea.
  4. Where: choose the OU whose computers get the agent (the number of computers in each is shown, and the domain controllers among them). The wizard chooses none for you (from 1.6.1). An OU with a domain controller in it, such as Domain Controllers, can be chosen, with a warning: the controllers get the agent too. Linking the whole domain is possible, with a warning: domain controllers and servers get the agent too. Tick New computers wait for approval if you like (Business), and the install options.
  5. Make the GPO: the firewall makes the deployment key Domain corp.example and the GPO Korthveil agent, linked nowhere yet: a computer start-up script and the installers for x64 and ARM64 in SYSVOL. A busy controller can take a few minutes for this (its antivirus checks each installer). From 1.6.1 the firewall finishes the step and records the GPO even if you leave the page; if the page showed an error, it offers the recorded GPO (Go on to Link), and Make the GPO again updates it, never a second one.
  6. Link: read the confirmation ("the computers in … install the Korthveil agent at their next start"), tick Yes, link it, and Link the GPO.
  7. Computers: restart a computer in the OU, or wait for its next start. The wizard lists each computer as it enrolls.
Deploy the Korthveil agent to your domain, step Where: signed in to corp.test with Kerberos, the OUs with their computers (corp.test/Workstations chosen), Host firewall control and Cleanup actions
Deploy the Korthveil agent to your domain, step Where: signed in to corp.test with Kerberos, the OUs with their computers (corp.test/Workstations chosen), Host firewall control and Cleanup actions
Step Link: the GPO "Korthveil agent" made and linked nowhere yet, the warning that names the OU and its computers, Yes, link it to corp.test/Workstations ticked, and Link the GPO
Step Link: the GPO "Korthveil agent" made and linked nowhere yet, the warning that names the OU and its computers, Yes, link it to corp.test/Workstations ticked, and Link the GPO
Step Computers: linked to Workstations, and PC-07 enrolled through Group Policy at its restart
Step Computers: linked to Workstations, and PC-07 enrolled through Group Policy at its restart

Under Your domains on the Agents tab:

  • Update puts the newest installers in the GPO (after a firewall update): computers update at their next start.
  • Link or unlink OUs opens the wizard again.
  • Remove unlinks the GPO everywhere, deletes it with its SYSVOL folder and revokes its key. Agents already installed stay and keep reporting; remove them on the Agents tab and uninstall them on the computers if you want them gone.

How the firewall talks to the domain controller:

  • Kerberos on the LDAP port (389), with every LDAP message protected against changes (the SASL integrity layer), AES only. Kerberos also proves the controller is real. The firewall's clock must be within 5 minutes of the controller's: check System › Administration › Time & NTP.
  • Or LDAPS (636) when the controller has a certificate the firewall trusts, or one whose fingerprint you confirm in the wizard after comparing it on the controller.
  • Files go to SYSVOL over signed SMB 2 or 3.
  • Never a sign-in that sends the password unprotected: the wizard stops and says why.

Good to know:

  • Every user of the domain can read SYSVOL, so they can read the installer: it can enroll a computer, nothing else. With approval on, nothing enrolls without you; you can also revoke the domain's key and Update (a new key) at any time.
  • The installers reach the firewall by its portal's Name (Agents › Settings) and its addresses on the networks you ticked, IPv4 and IPv6. Domain computers must be able to resolve that name: add it to your domain's DNS. You can set or change the name at any time (see The portal's certificate below).
  • Computers in the default Computers container can't get a GPO by OU: the wizard says how many there are. Move them into an OU, or link the domain.
  • "The account has no AES Kerberos keys": the built-in Administrator of a domain made from a standalone server keeps only old keys until its password is set once after the domain exists. Set its password again on a domain controller (or use another administrator account), then try again. The firewall uses AES only.
  • FIPS mode: Windows file sharing needs NTLM here, which FIPS mode doesn't allow, so the wizard can't write SYSVOL. Use the domain kit.
  • The installer's log on a computer: C:\ProgramData\Korthveil\install.log. gpresult /r on the computer lists Korthveil agent under the applied policies.

Tested on a Windows domain (2026-11-24)

On a test domain (a Windows Server 2022 domain controller and a Windows 11 24H2 computer, example names): the wizard signed in with Kerberos over the controller's IPv4 and IPv6 address, made the GPO in about a second and linked it after the confirmation; the computer installed the agent at its first restart and was on the Agents tab 50 seconds after it. A downloaded installer double-clicked on the same computer enrolled it 57 seconds after Windows' prompt. Test capture counted 758,729 of 758,729 packets (100.00%) and, with its paced downloads, 131,198 of 131,188 (100.01%). Remove left neither the GPO nor the agent after the next restart.

The domain kit (if you prefer to run it yourself)

On a key, Domain kit (deploy-gpo.ps1) downloads a zip with deploy-gpo.ps1, the start-up script and the installers. On a domain controller, as a domain administrator, in the folder you extracted it into:

powershell -ExecutionPolicy Bypass -File .\deploy-gpo.ps1 -LinkTo "OU=Workstations,DC=corp,DC=example"

It makes (or updates) the same GPO Korthveil agent. Without -LinkTo it links nothing.

Install on a Mac or a Linux computer

Use the one-line command: Agents › One-line commands (macOS, Linux, experts), Make a code, and paste the command into a terminal. On Linux the downloaded installer also works: sudo ./KorthveilAgentSetup-linux-amd64.

Requirements

  • Windows: Windows 10, Windows 11 or Windows Server 2016, 2019 or 2022. Windows PowerShell 5.1, built into these versions, is enough: there is nothing to install. The agent uses Windows PowerShell (powershell.exe), not PowerShell 7; it works whether PowerShell 7 is installed or not. Install it with the downloaded installer (above); the one-line command in Windows PowerShell opened as administrator still works too.
    • Microsoft Defender's actions (Quick scan, Full scan, Turn on Defender) need Defender. On Windows Server it is the Windows-Defender feature; without it the agent says so.
    • Tamper Protection is shown only where Windows reports it (not on Windows Server 2016).
    • Waiting updates come from Windows Update's own search (Microsoft's or your WSUS). When the computer can't reach it, the computer's page says so once, in plain words with Windows' code for support, for example Windows Update could not be reached from this computer (0x8024402C: no connection to the update service, its name could not be looked up). The rest of the report is unaffected.
  • Mac and Linux: see the install command on the firewall's agent page (needs curl).

The portal's certificate (from 1.6.0)

Computers reach the firewall's agents' portal over HTTPS and check it against the firewall's own certificate authority, made the first time you turn on agents. That authority can vouch only for this firewall: its private addresses, local names (.home.arpa, .lan, .local, .internal, .localdomain), the portal's Name and the firewall's own public addresses on the networks you ticked. It can never vouch for a website, so a computer that trusts it trusts nothing else.

Set or change the Name at any time. Under Agents › Settings › Name (for example agents.example.com), then commit. The portal's certificate is made again within the commit for the new name and every address, IPv4 and IPv6. No computer has to be installed again:

  • A name under the local suffixes, or one the authority already covers, is in the new certificate at once.
  • Any other name needs a new authority. The firewall starts a renewal by itself (below); the new name works at once for installers made from then on, while computers already installed keep using the name they know.
  • The former name stays in the certificate for 90 days, and for as long after as a computer still reaches the portal by it. Portal certificate lists the former names and how many computers use each: keep the old name's DNS record until they're done.
  • A portal on networks with public addresses only (a LAN with global IPv6 addresses, say) gets a certificate for those addresses.

Renew the authority

Security › Vulnerabilities › Agents › Portal certificate shows the authority (its fingerprint, when it was made and ends, what it vouches for) and the names the portal serves. Renew… replaces the authority without any computer noticing. Use it when the authority should cover the firewall's public addresses (the panel says so), when you want a fresh one, or when its key may have leaked. The firewall renews by itself a year before the authority ends (it lasts ten years) and when the portal's name needs it.

Portal certificate on the Agents tab: the authority's fingerprint, when it was made and ends, what it vouches for (private addresses and local names, the portal's name and its IPv4 and IPv6 addresses), and Renew…
Portal certificate on the Agents tab: the authority's fingerprint, when it was made and ends, what it vouches for (private addresses and local names, the portal's name and its IPv4 and IPv6 addresses), and Renew…
  1. Press Renew…. Tick The key may be known to someone else if that's why (a lost backup, a copied disk), then Renew the authority. With that ticked, the portal gets a new key too, so one-line install commands made before show a pin that no longer matches: make new ones.
Renew…: what happens to the computers, the box The key may be known to someone else, and Renew the authority
Renew…: what happens to the computers, the box The key may be known to someone else, and Renew the authority
  1. Step 1 of 3: the new authority goes to every computer with its next check-in (seconds for agents from 1.6.0) or report. Computers trust both now. Have the new authority counts them, and each computer's line shows Has the new authority, Probably has it (agent before 1.6.0) or New authority: not yet.
  2. Step 2 of 3: when every computer has it, the portal switches to the new authority. At the latest after 14 days (and at least twice the report interval plus a day); with the key leak ticked, after a day.
  3. Step 3 of 3: a day after the switch, once every computer has it, the old authority is retired: it leaves every computer's trust, its key is deleted, and its fingerprint stays under Retired authorities. At the latest a week after the switch; with the key leak ticked, at once.

Switch now and Retire now finish a step early, for example after a key leak once the computers you care about have the new authority. Renew, Switch now and Retire now are in Monitoring › Logs & audit › Audit log; the firewall's own renewals and each step are in its log.

Good to know:

  • Installers already handed out keep working, before, during and after a renewal: an installer made earlier asks the firewall for its signed trust and enrolls with it. It accepts it only when it is signed with the key that signed the installer and each new authority is vouched for by the one before it, so nothing else can slip in. Installers made during a renewal carry both authorities.
  • A computer that was off during a renewal comes back by itself with an agent from 1.6.0: it fetches the firewall's signed trust, checks the signature, and trusts the new authority. An agent before 1.6.0 that was off through the whole renewal can't; the panel lists it under Not yet: install the agent again on it (or update it before you renew).
  • Computers waiting for approval get the new authority when you approve them, and fetch the signed trust if they need it meanwhile.
  • Browsers: agents from 1.6.0 that added the authority to the computer's trusted certificates replace it with the new one after the switch, so the portal page opens without a warning.
  • Failover pair: both firewalls keep the same authorities and portal key; the renewal runs on the firewall in charge and the other follows within two minutes. While the other firewall still runs a version before 1.6.0, no renewal starts: update it first.
  • With a certificate from System › Certificates & encryption › Certificates for the portal (Agents › Settings › Certificate), the agents trust that certificate's authority; renew that certificate there instead.

What it watches

Every 5 minutes, with the computer's own tools (no driver, nothing installed in the system's core):

What Windows Mac Linux
Antivirus on, real-time protection, signature age, detections Microsoft Defender, and every antivirus in Windows Security Center (from 1.7.6) XProtect, and other antivirus products (from 1.7.6) ClamAV, when installed, and other antivirus products (from 1.7.6)
Firewall and platform protection Windows Firewall, Tamper Protection application firewall, Gatekeeper, System Integrity Protection ufw, firewalld or nftables
Disk encryption (from 1.5.4) BitLocker on the system drive FileVault LUKS (dm-crypt) under the root file system
Programs set to start by themselves services, Run keys, scheduled tasks launch agents and daemons systemd services, cron, root's SSH keys
Administrators local Administrators admin group sudo/wheel and UID 0
Programs listening on the network yes yes yes
Password guessing in the last hour RDP and network sign-ins (Security log) SSH SSH

The first look is the computer's baseline: what is already there is listed, not alerted. A change in what matters most (a detection, protection switched off, password guessing) is reported to the firewall at once.

Signs of compromise

Sign Strength
Malware found and not removed Compromised
A new program set to start from a temporary or user-writable folder Compromised
A sign-in that succeeded after 10 or more failures from the same address Compromised
Malware found and removed Exposed
Antivirus, real-time protection, Tamper Protection, Gatekeeper or SIP switched off Exposed
Antivirus signatures more than 7 days old Exposed
A new program set to start by itself Exposed
A new administrator account Exposed
10 or more failed sign-ins from one address in an hour Exposed
A new program listening, the computer's firewall off Notice (shown, not alerted)

Compromised signs are strong signs for Security › Malware protection › Infected devices: the computer is quarantined at once, as the infected-device protection is set. Exposed signs count as weak signs: two different ones within 30 minutes quarantine it.

Other antivirus on the computer (from 1.7.6)

The agent also reads every other antivirus the computer has, and what it found. It only reads: Korthveil never changes another product's settings and never removes or changes its verdicts. Cleaning stays with that product, or with the agent's own quarantine (which can be restored).

How the agent reads it
Windows Windows Security Center: every registered antivirus, whether it is on and whether its definitions are up to date. Detections from the Windows event log: Microsoft Defender (events 1006, 1015, 1116, 1117), Symantec Endpoint Protection (51), Kaspersky (302). On Windows Server, which has no Security Center, the common products are recognised by their running program
Linux and Mac Each product's own tool or log: Microsoft Defender for Endpoint (mdatp), CrowdStrike Falcon (falconctl), SentinelOne (sentinelctl), Sophos (savdstatus and its detection log), ESET (lslog), Bitdefender (bduitool), and ClamAV (its clamd log)

Some products keep their detections only in their own cloud console (CrowdStrike Falcon, SentinelOne on Linux, Bitdefender GravityZone): the computer's page then shows the product's state and says where the detections are.

What you see under Security › Vulnerabilities › Agents, on the computer's page (open its row), in the Antivirus box: each product, on or off, how old its definitions are, how it was read, and its recent detections. The agents list shows a chip when no antivirus runs or one is out of date.

What it raises:

Another antivirus found malware and has not removed it Compromised, naming the product: alert, quarantine and trace as for the agent's own findings
Another antivirus found and removed malware Exposed, naming the product
No antivirus running Warning (an alert, never counted as a sign of infection), by default only on desktops and laptops: Windows client editions and macOS. Windows Server, Linux and FreeBSD often run without an antivirus and don't warn unless you turn it on (see below)
Antivirus definitions out of date (another product's) Warning (as above)
An antivirus's licence has expired Warning (as above)
Microsoft Defender off while another antivirus is on Notice only: that is how Windows works with a second antivirus

Where "No antivirus running" warns: on the Agents tab, Settings › Antivirus warnings. Warn when no antivirus runs turns the warning on or off; Only on desktops and laptops (on by default) keeps it off servers, Linux and FreeBSD. Each computer group can have its own setting (for example on for a group of Linux servers that must run an antivirus, or off for kiosks). The change applies at once, without waiting for the next report.

Device posture counts another antivirus too: the condition Antivirus running and current passes when another product is on with current definitions.

Agents before 1.7.6 don't send the list, so the firewall never says they have no antivirus. Brands are read from their documented tools and formats; each is confirmed on a real install before we name it as tested.

Cleaning a computer

Installed with Cleanup actions ticked on its deployment key (or with --remediation in the one-line command), the agent runs a fixed list of actions when an administrator presses the button on a quarantined computer: a Microsoft Defender quick or full scan, turning Defender back on, installing updates, and a ClamAV scan on Linux. Nothing runs by itself, and the firewall can't ask for anything outside the list. See Infected devices for details.

Targeted scans on the computer (VeilTap Lite: Windows from 1.4.10, Linux and Mac from 1.5.7)

When a Security › Intrusion prevention › Targeted scan names a computer that runs the agent, the agent captures that computer's own traffic with VeilTap Lite and sends each new finding to the firewall within seconds while the scan runs (agent and firewall 1.5.10 or later; before, every minute). VeilTap Lite uses the computer's own packet capture, with no extra driver: Windows' packet monitor (read live from agent 1.5.10), and from agent 1.5.7 a packet socket on Linux and BPF on a Mac, on every adapter or interface (Ethernet, Wi-Fi, VLANs, bridges and VPN tunnels), also one that comes up while the scan runs, such as a VPN connected later. This covers traffic the firewall never sees: between computers on one switch, and inside the computer's VPN. Its recording stays on the computer, at most 500 MB and never more than 10% of its free space. See the Targeted scan guide.

On Linux, update the agent with the install command on the firewall's agent page: the update also allows the agent's service to capture.

Test capture (from 1.6.0)

To check that a computer's capture sees all of its traffic, open the computer on the Agents tab and press Test capture (30 seconds; 15 to 120). Nothing is typed on the computer. The agent captures while it downloads from this firewall (paced at about 5 MB a second, so the test never loads your network), with a few quiet seconds at both ends, and compares what VeilTap saw with the network adapters' own counters. The result appears on the computer within seconds:

  • Capture works: VeilTap saw 97% to 103% of the packets the adapters moved, and nothing was dropped. For example "VeilTap Lite saw 33,536 of the 33,514 packets the network adapters moved in 30 s (100.07%)" (counts start and stop a moment apart, so a few idle packets more is normal).
  • Check the numbers: the rate is outside that range, or the system dropped packets because the computer was busy. The line says what to do.
  • No capture: VeilTap captured nothing, with the reason (on Windows the packet monitor, pktmon, must be present).

The test shares the capture with a running targeted scan or the shield, so they keep working. It needs agent 1.6.0 or later; the button says so on older agents. Linux and Mac work the same way; FreeBSD has no VeilTap yet.

VeilTap capture on PC-07: Capture works, VeilTap Lite saw 100.01% of the packets the network adapters moved in 30 seconds, nothing dropped
VeilTap capture on PC-07: Capture works, VeilTap Lite saw 100.01% of the packets the network adapters moved in 30 seconds, nothing dropped

For experts, the same test runs on a computer without a firewall, as administrator; it prints what a scan would report:

System Command
Windows & "C:\Program Files\Korthveil Agent\korthveil-agent.exe" veiltap-test -seconds 30 in PowerShell opened as administrator
Linux sudo /opt/korthveil-agent/korthveil-agent veiltap-test -seconds 30
Mac sudo /Library/Korthveil/korthveil-agent veiltap-test -seconds 30

The output also has captureInfo. On Linux and Mac: the packets seen on each interface, the copies of one packet seen on two interfaces (counted once), and kernelDrops, the packets the system dropped because the agent was behind (normally 0). On Windows (agent 1.5.10): read (live), the packet monitor's adapters (components) and the packets seen on each (packetsPerComponent), kernelDrops and lostBuffers (events Windows dropped because the agent was behind, normally 0), and restarts (the packet monitor started again for an adapter that appeared) with the longest one in milliseconds.

The VeilTap driver edition (coming with the signed driver)

Korthveil's own capture driver for Windows is in development and not in a release yet: it ships once Microsoft has signed it and it has been tested on real computers. Once installed, the agent uses it instead of VeilTap Lite by itself, and each finding names the program on the computer behind it (for example chrome.exe). The scan's page says per computer whether it uses the VeilTap driver edition or VeilTap Lite. The same driver can also block an address on the computer itself (an alternative to the firewall rules below, used by nothing yet); it never blocks the firewall, the computer's own loopback or link addresses, or anything by default.

korthveil-agent veiltap-test --driver tests the driver edition and --lite VeilTap Lite; without either, the agent picks the driver when it is installed.

Isolating a computer through its own firewall (from 1.5.1)

When a computer may be infected, you can cut it off on the computer itself, not only at the firewall. That also holds on the same switch as other computers, and on a laptop taken out of the office.

  1. Open the computer: Security › Vulnerabilities › Agents (open the computer's line), Security › Malware protection › Infected devices (under a quarantined device), Network › Devices (Computer isolation), or an attack in Security › Live attacks whose target runs the agent.
  2. Choose Isolate on the computer, type a reason if you like, and confirm with Isolate.
Isolate on the computer on a Linux test computer: what it can still reach, the reason, and the Isolate office-pc-07 button
Isolate on the computer on a Linux test computer: what it can still reach, the reason, and the Isolate office-pc-07 button

From a test firewall with 1.5.6 and a Linux test computer running the agent (office-pc-07; example names and addresses). Its agent is connected, so the last sentence says "It takes effect within seconds." For a computer that is off or away, or whose agent is older than 1.5.5, it says the isolation takes effect when the computer next reaches this firewall.

  1. The agent applies it within seconds (see How long it takes below), and the badge changes from Isolating… to Isolated on the computer. Release the computer is there from the start.
Isolating… on the Linux test computer: who isolated it, since when and why, Waiting for the computer: it is connected and applies it within seconds, and Release the computer
Isolating… on the Linux test computer: who isolated it, since when and why, Waiting for the computer: it is connected and applies it within seconds, and Release the computer

The same test: right after Isolate, before the computer applied it (the agent was paused for the picture). Let go, it was isolated within seconds, and after Release the computer its network was open again in under a second.

An isolated computer on the Agents tab: who isolated it, since when and why, and Release the computer
An isolated computer on the Agents tab: who isolated it, since when and why, and Release the computer

While isolated, the computer reaches only this firewall: its agent, the console, DNS, the time server and DHCP. Everything else in and out is blocked, IPv4 and IPv6, also after the computer restarts. The firewall's own quarantine can be on at the same time.

SentinelOps and your never-block addresses stay reachable (from 1.5.4): the SentinelOps management server (Korra Software's, and your own server when the SentinelOps add-in is on), so remote management keeps working, and every address on the firewall's never-block lists (Threat intelligence › Devices never blocked, the DNS resolver's exempt devices, Security › Malware protection › Infected devices › Exemptions, Security › Intrusion prevention › Destinations › Exempt devices, Live attacks › Never block). The agent looks the server's name up before it isolates and keeps the answer, so it stays reachable even when the name can't be looked up later. An attacker block on one of these addresses still wins. Agents before 1.5.4 isolate without them: install the agent again.

To end it, choose Release the computer. The agent removes exactly the rules it added, within seconds.

From 1.7.2 Release lifts every layer at once and names each one: the computer's own firewall, this firewall's quarantine of the device (whoever started it) and the Live attacks blocks its detections made. A layer that could not be released says so and why; the others are released anyway. While this firewall still quarantines the device, its agent's page says so (Quarantined on the firewall) and offers Release the computer. If the computer can't apply a release (for example its firewall refused the rules), its badge shows Release failed with the reason instead of Releasing…; the agent tries again every minute, and on a Mac it empties the Korthveil pf anchor rather than keep the isolation.

A computer on a never-block list is isolated only when you confirm Isolate anyway.

Where the rules live, so you can see them on the computer:

System Where
Windows Windows Defender Firewall with Advanced Security, rules in the group "Korthveil Agent"
macOS the pf anchor com.apple/com.korthveil (sudo pfctl -a com.apple/com.korthveil -s rules)
Linux the nftables table inet korthveil_agent (sudo nft list table inet korthveil_agent)

On Windows, a firewall profile that was turned off is turned on while the computer is isolated, and off again when it is released. FreeBSD computers can't be isolated yet.

How long it takes (from 1.5.5)

When Isolate or release takes effect
The computer is on and reaches the firewall Within seconds: about a second to reach the computer, plus the time its own firewall takes to write the rules. Linux and Mac: under a second. Windows: one Windows PowerShell start; on the small Windows Server 2016 test computer (2 processors) that took about 15 seconds
Right after the computer restarts Within seconds of its network coming up. Windows keeps an isolation over the restart; Linux and Mac put it back as soon as the agent starts (on Linux a few seconds after the network is up)
The computer is off or away When it next reaches the firewall. An isolated computer stays isolated until then
Agents before 1.5.5 Within about two minutes, and minutes more after a restart. Install the agent again to get the new timing

Why it is this fast:

  • The agent keeps one connection open to the firewall's agent port (a check-in). The firewall answers it the moment you press Isolate or Release. When nothing happens, the firewall answers after 50 seconds and the agent asks again at once: about one small request a minute per computer, over the same connection.
  • When the firewall can't be reached (the computer is starting, the network is down), the agent asks again after 2, 4, 8 and 16 seconds, then every 30 seconds, and within 3 seconds when the computer's network comes up.
  • On Windows the agent's service starts with Windows (no longer delayed), checks in before it collects anything else, and writes the rules with one Windows PowerShell start.
  • The firewall, SentinelOps and your never-block addresses stay reachable at every step: a release only removes rules, and an isolation is written together with what stays reachable.

The console says it per computer: while the agent holds its check-in, Isolating… reads "it is connected and applies it within seconds"; otherwise "it applies it when it next reaches this firewall".

To see how long the computer's own firewall took, read the agent's log on the computer. Each change is one line, for example "host firewall: rules removed, written in 4.2 s".

System The agent's log
Windows Event Viewer › Windows Logs › Application, source KorthveilAgent
macOS /Library/Logs/korthveil-agent.log
Linux journalctl -u korthveil-agent

If the computer can't reach the firewall

An isolated computer that can't reach the firewall stays isolated: that is the safe choice. After 24 hours (change it under Settings on the Agents tab: Isolated computer unreachable after) the console shows Isolated, unreachable and sends an alert.

An administrator at the computer can end the isolation there (break-glass). Open a terminal as administrator (Windows: PowerShell as administrator) and run:

  • Windows: & "C:\Program Files\Korthveil Agent\korthveil-agent.exe" release-isolation
  • macOS: sudo /Library/Korthveil/korthveil-agent release-isolation
  • Linux: sudo /opt/korthveil-agent/korthveil-agent release-isolation

The program's folder is not on PATH, so a bare korthveil-agent is not found, not even in the window the agent was installed from: use the full path as above. The installer prints this command with the full path when host firewall control is on.

Attacker blocks stay. The firewall hears of it within a minute, at the agent's next check-in, ends its isolation and shows who released it. To see what is on the computer's firewall now, run the same program with host-firewall.

The agent's status on the computer

Run the same program with status (as administrator; it changes nothing and sends nothing over the network):

  • Windows: & "C:\Program Files\Korthveil Agent\korthveil-agent.exe" status
  • macOS: sudo /Library/Korthveil/korthveil-agent status
  • Linux: sudo /opt/korthveil-agent/korthveil-agent status

It shows the agent's version, the firewall it reports to, the path in use (its kind, member and address), the last check-in, whether host firewall control is on and whether an isolation is in force (with the command that ends it). The path and the check-in come from the running service; when the service doesn't answer, it says so and shows the last contact it kept. status --json prints the same as JSON.

If the agent's service is changing the computer's firewall at that moment (on Windows that can take a few seconds), the command waits for it, says "waiting for another Korthveil agent process to finish changing the firewall", and then releases (from 1.5.5; before, the service could undo a release made at that moment). After 5 minutes without its turn it stops with "try again in a few minutes" and changes nothing.

Last isolation ended … by WORKGROUP\WIN2016TEST$ (local administrator) on WIN2016TEST, and Isolate on the computer again
Last isolation ended … by WORKGROUP\WIN2016TEST$ (local administrator) on WIN2016TEST, and Isolate on the computer again

From a test on Windows Server 2016: the administrator on the computer ended the isolation, and the console shows who.

Tested on Windows Server 2016

On 2026-11-21 a Windows Server 2016 computer (WIN2016TEST, Windows PowerShell 5.1) was isolated and released from a test firewall, while the computer itself checked what it could reach about every 25 seconds:

  • Only the firewall reachable: within about a minute of Isolate on the computer, Windows Firewall had 9 rules in the group "Korthveil Agent" (IPv4 and IPv6). The firewall's console, DNS and DHCP kept working; the internet and other DNS servers were blocked.
  • Survives a restart: the computer restarted while isolated and was still isolated when it came back.
  • Release from the console: after Release the computer the network was open again at the agent's next check (about 2 minutes 45 seconds), and the rules were gone. Right after a restart the agent's first contact with the firewall came about 5 minutes after the computer started.
  • Release on the computer: korthveil-agent release-isolation (by its full path), run as administrator, opened the network in 20 seconds. At the next report the console showed Last isolation ended … by WORKGROUP\WIN2016TEST$ (local administrator).
  • Attacker blocks: an attacker the firewall blocked was blocked in the computer's own firewall too (2 rules, in and out) at its next check.

Fixed in 1.5.4 after this test:

  • The rules are written so that Windows PowerShell 5.1, the version on Windows Server 2016, accepts them; before, the agent could report "Windows Firewall: exit status 1" there.
  • SentinelOps and the never-block lists stay reachable while a computer is isolated (see above); the test agent still blocked SentinelOps.

Fixed in 1.5.5 after this test:

  • Isolate and release take effect within seconds instead of up to about two and a half minutes, also right after a restart (see How long it takes above). The agent no longer waits for its two-minute check, for the delayed start of Windows services, or for its software list (Windows Update's search takes minutes) before it hears from the firewall.

Blocking attackers on the computers (from 1.5.1)

When this firewall blocks an attacker (by the rules in Security › Live attacks or when you press Block), the agents block the same address in the computer's own firewall too, and remove it when the firewall's block ends or is lifted. Under Settings on the Agents tab, Block attackers on the computers too:

  • On the computers they went for (the default): only the computers that attacker attacked.
  • On every computer with an agent.
  • Off.
Settings on the Agents tab: Block attackers on the computers too, and Isolated computer unreachable after
Settings on the Agents tab: Block attackers on the computers too, and Isolated computer unreachable after

This firewall, Korra Software's management servers, SentinelOps, your management servers and the addresses on the never-block list are never blocked on a computer.

Turning it off on a computer

Make the deployment key without Host firewall control (or install with the one-line command and --no-host-firewall) and the agent never isolates the computer or blocks anything on it. Agents installed before 1.5.1 can't do it either until they are installed again; the console says so on the computer.

Device posture in rules (from 1.5.4)

A posture profile says what a computer must look like to count as compliant. Your rules can then let only compliant computers reach your servers, or send the ones that are not to a remediation network.

At a glance:

Step Where What
1 Security › Vulnerabilities › Device posture Add posture profile, for example "Compliant laptop"
2 Firewall › Rules In a rule, Device posture: Compliant with a profile or Not compliant with a profile
3 Commit The firewall checks every computer every minute and right after each report
4 Device posture, Agents tab, Network › Devices Each computer's posture per profile, with what fails
Security › Vulnerabilities › Device posture: the profiles, the computers and their posture
Security › Vulnerabilities › Device posture: the profiles, the computers and their posture

The conditions

Tick only what you need; what you leave out is not checked.

Condition Compliant when
Agent reported within The agent's last report is at most this many minutes old. Empty: the agents' silent time (3 report intervals + 2 hours, 14 hours with the default 4-hour interval)
Operating systems The computer runs one of the systems listed, at least the version given. Windows by build number (19045 is Windows 10 22H2, 22631 Windows 11 23H2, 26100 Windows 11 24H2), macOS by version (14.5), Linux by release (24.04, 12), optionally one distribution (ubuntu)
Updates installed within No security update is waiting, or the computer installed updates in the last N days. On Linux the system's update lists must also be fresher than N days
Disk encrypted BitLocker, FileVault or LUKS is on for the system disk
Antivirus running and current The antivirus is on, real-time protection is on, and its signatures are at most 7 days old (or what you set)
Host firewall on The computer's own firewall is on
Not isolated The computer is not isolated through its own firewall
No open signs of compromise No Compromised sign (above) is open

A condition the agent can't report counts as failing, and the reason says so: for example an agent older than 1.5.4 does not report disk encryption, so Disk encrypted fails until the agent is updated.

The profile editor: name, the conditions, and Save
The profile editor: name, the conditions, and Save

In a rule

Open a rule in Firewall › Rules and choose under Device posture:

  • Any device (no posture match): the rule does not look at posture (the default).
  • Compliant with a profile: only computers that meet the profile.
  • Not compliant with a profile: computers that don't, for example to send them to a remediation zone or page.

Devices without an agent count as decides what happens with phones, printers, guests and computers without the agent. These devices are unknown. The recommended setting, and the default, is Not compliant: an "only compliant computers" rule never lets them through, and a "not compliant" rule catches them. Choose Compliant only while you roll the agent out; the console warns you, because the rule then matches every device without an agent.

A rule with Device posture: Compliant with Compliant laptop, devices without an agent count as not compliant
A rule with Device posture: Compliant with Compliant laptop, devices without an agent count as not compliant

Example (example names and addresses):

# Name From To Destination Device posture Action
1 Servers from compliant laptops LAN SERVERS any Compliant with Compliant laptop Allow
2 Others only to the update server LAN SERVERS 192.0.2.50 Not compliant with Compliant laptop Allow
3 No servers otherwise LAN SERVERS any Deny

What you see

  • Device posture tab: each profile in one line with how many computers are compliant, and a table of every computer with its posture per profile. Open a computer to see what fails ("Host firewall: the computer's own firewall is off").
  • Agents tab and Network › Devices: a chip per computer, Compliant, Not compliant: Compliant laptop or Unknown; point at it to see what fails.
  • Policy lookup in the Rule builder explains the decision: "the source is compliant with posture profile Compliant laptop", or "has no Korthveil agent report (unknown device), which this rule counts as not compliant".
  • Monitoring › Logs & audit › Audit log: every change, action posture.change. Tick Notify me when a computer becomes compliant or stops being compliant for an email or ntfy message too.

Good to know

  • When a computer stops being compliant, its open connections end at once, and your rules decide its new ones.
  • A computer that stops reporting is not compliant, and unknown 24 hours after its reporting window.
  • The posture applies to the address the computer's reports come from and to the addresses this firewall sees for that same device (IPv4 and IPv6). A computer can't make another address compliant by claiming it.
  • Posture is as fresh as the reports: every report interval, and at once when the agent sees antivirus, firewall or encryption switched off. If posture decides access to servers, shorten the report interval under Settings on the Agents tab.

Shield: the firewall's protection on the computer, everywhere (from 1.5.7)

The firewall protects a computer only while its traffic goes through the firewall. A laptop at home, in a café or on a phone's hotspot doesn't, and neither does traffic between two computers on the same switch. With the shield on, the agent filters the computer's own traffic with the firewall's lists, wherever the computer is.

What it blocks

The shield takes five lists from this firewall:

List What is on it
Threat intelligence the addresses and networks Security › Intrusion prevention › Threat intelligence blocks, per feed, and the domains of its indicator feeds
Live attacks every attacker address the firewall blocks now
DNS filter the lists of Malware and phishing on Network › DNS › Ad & tracker blocking (not ads or trackers)
Destination check the destinations Security › Intrusion prevention › Destinations judged Dangerous
Blocked for this computer what you block on one computer by hand

It looks at the computer's traffic through VeilTap's capture and stops:

  • a connection to a listed address, and one from it (a listed attacker reaching the computer): for an hour;
  • a DNS answer for a listed name or a subdomain of it, also when the name is an alias (CNAME) of another: the answer's IPv4 and IPv6 addresses are blocked for the answer's time to live, at least 5 minutes, at most a day;
  • a TLS connection (HTTPS and others) naming a listed server: its address for 10 minutes.

Seen again, a block starts over. The blocks go into the computer's own firewall, beside isolation and attacker blocks: nftables on Linux, pf on macOS, Windows Firewall on Windows, IPv4 and IPv6. Each one is reported to this firewall at once: the computer, the destination and its name, the list and the listed value that matched, and the program behind it where the computer can tell (Windows with the VeilTap driver edition, Linux).

Report first

The shield is off until you turn it on: on the Agents tab, the Endpoint shield panel, Settings. A mode for the computers in no group, and one per computer group:

  • Off.
  • Report only: nothing is blocked; every match is listed, so you see what blocking would do.
  • Block: for its first 7 days on a computer it only reports (Report only for the first: none, 1, 3, 7, 14 or 30 days), then it blocks.

A group is chosen by computer name (wildcards such as LT-*) or by system (Windows, macOS, Linux, FreeBSD); the first group a computer is in decides, and computers in no group get the defaults. Never block lists addresses, networks and names (with their subdomains) never blocked, for every computer and per group, for example intranet.example. Settings are configuration: commit them.

What you see

On Security › Vulnerabilities › Agents, each computer's line has a shield badge (Shield blocking, Shield reporting, Shield reporting (first days), Shield updating while its agent gets the newest lists, Shield: agent before 1.5.7). Open the computer: Endpoint shield shows the mode in force, whether its agent holds the firewall's current lists, Blocked now and Recent blocks and would-be blocks, with the list, the value that matched and the program. Per recent block:

  • Allow on this computer: never blocked on this computer again.
  • Allow everywhere: never blocked on any computer.
  • On a block you made yourself, Unblock.

Below them, Block on this computer adds a public address, a network or a name to the computer's own list.

An allowed value stays allowed when a list names it again later. You can take an allow back on the same page (on the computer, or under Allowed on every computer on the Endpoint shield panel). Each change reaches the computers within seconds and is in the audit log.

The blocks also appear on Security › Live attacks as kind Endpoint shield (Blocked on the computer, or Reported): the listed address as the source, the computer as the target. They never count toward the address rules there ("any" rules leave them out): the address is on a list already.

On the computer, korthveil-agent shield (as administrator) shows the mode, how many names and addresses it holds and the blocks in force.

Never blocked

Whatever a list says, the shield never blocks: this firewall and its agents' page, the computer's own addresses, its DNS servers (their answers are judged, not the servers), its DHCP servers, the addresses on the never-block lists, SentinelOps, and Korthveil's own services. Private, loopback and link-local addresses (the computer's own network) are never on a shield list.

Offline

The agent keeps the last lists on the computer, so it keeps protecting while it can't reach the firewall. When it reaches the firewall again, it gets only what changed.

Limits, plainly

  • The capture only watches: the first packets of a connection opened before its DNS answer was seen may pass. Blocking before the first packet comes with the signed VeilTap driver on Windows (adr/0307 §3).
  • The shield blocks addresses. An address shared by many sites (a content delivery network) is blocked for all of them for the block's time. Allow everywhere lifts it.
  • Chromium-based browsers (Chrome, Edge) name the server late in their TLS greeting. With Windows' packet monitor, which keeps the first 512 bytes of each packet, the name is past that in about half of their connections; the DNS answer still catches them. A capture that keeps whole packets sees all of them.
  • The server names of QUIC (HTTP/3) connections are not read; their DNS answers are.
  • DNS over HTTPS or over TLS hides the answers from the shield; the TLS server names and the address lists still apply.
  • Windows Firewall rules stop new connections; nftables and pf also stop ones already open.
  • Installed with --no-host-firewall, the shield only reports, and says so.
  • Linux and macOS computers need the Korthveil 1.5.7 agent's capture; without capture the shield sees nothing and the computer's row says so.
  • The shield is not an antivirus: keep the computer's own (Microsoft Defender, XProtect, ClamAV).

Malware and scripts on the computer (from 1.5.7)

The agent checks new files on the computer against this firewall's own intelligence: the file hashes of Security › Intrusion prevention › Threat intelligence (STIX/TAXII feeds and hash lists such as abuse.ch MalwareBazaar) and the Gateway anti-virus YARA rules. It does this wherever the computer is, also at home or on a phone hotspot. It does not replace the computer's antivirus: it asks Microsoft Defender or ClamAV about each new file too.

At a glance:

Step Where What
1 Security › Vulnerabilities › Agents › Settings Under Malware and scripts on the computers, tick Check new files on the computers, or add a computer group with its own settings
2 Commit Computers with the agent 1.5.7 or later fetch the lists and start watching
3 Agents tab, open a computer Malware and scripts: what was found, where it came from, and the quarantine

The settings

Setting What it does
Check new files on the computers On or off. Off by default
Quarantine suspicious files too A YARA match is reported and left in place; with this ticked it is quarantined too. Off by default: YARA rules match more than malware. Files on the hash list, and files the computer's antivirus calls malware, are always quarantined while the checks are on
Keep script protection on (Windows) Turns Microsoft Defender's script scanning (AMSI) and PowerShell script block logging back on when they are off. Without it the agent only reports that they are off
Don't check files larger than 256 MB by default. Programs and scripts are checked whatever their size
Extra folders to watch One per line: a full path (/srv/share, D:\Incoming) or ~/Scans for that folder in every user's home
Computer groups A group names computers by host name (srv-*: * stands for any characters) or agent ID, and has its own settings. A computer takes the first group that names it; the others take the settings above

If Gateway anti-virus is set to only report YARA matches, computers never quarantine for them either.

Where it looks

System Places How it notices new files
Windows each user's Downloads, Desktop and temporary folder, Outlook's attachment folders, C:\Windows\Temp, the Public Downloads and Desktop, removable drives ReadDirectoryChangesW
Mac each user's Downloads and Desktop, Mail's downloads, /tmp, /Users/Shared, drives under /Volumes the folders' change notices, plus a look every 30 seconds
Linux /tmp, /var/tmp, each user's Downloads and Desktop, drives under /media and /run/media fanotify (inotify where the system doesn't allow it)

A file is checked once it has stopped changing. Every 6 hours the agent also goes through all these places, at the lowest priority and with its reading capped, so the computer stays responsive.

What it checks, in order

  1. The file's SHA-256 against the firewall's hash list. A match is known bad. MD5 and SHA-1 are used only when the list names that file by nothing stronger.
  2. The YARA rules of Gateway anti-virus. A match is suspicious, with the rule's name. How to turn them on and choose the rule set: YARA rules.
  3. The computer's own antivirus, for new and changed files: Microsoft Defender on Windows; ClamAV on Linux and Mac when its daemon (clamd) runs. A detection is known bad.

Scripts are always checked, also when they are small or not executable: PowerShell (.ps1, .psm1), Windows Script Host (.vbs, .js, .jse, .wsf, .hta), batch (.bat, .cmd), Office files that can hold macros (.docm, .xlsm, old .doc and .xls), shell scripts, Python, AppleScript and JavaScript, by their name or their first line.

On Windows the agent also reports when Defender's script scanning (AMSI) or PowerShell script block logging is off.

What happens to a file

  • Known bad: the file is quarantined at once. If it is running, the program is ended first. The file is moved into the agent's quarantine folder, renamed and made unreadable as a program, for administrators only. Its place, hash, owner, permissions and times are kept.
  • Suspicious: it is reported and left in place, unless the computer's group quarantines suspicious files.
  • Every finding reaches the firewall at once, and counts as a sign:
Sign Strength
Malware file found (on the hash list or found by the computer's antivirus) Compromised
Suspicious file found (a YARA rule) Exposed
Defender's script scanning off (Windows) Exposed
PowerShell script block logging off (Windows) Notice (shown, not alerted)

A Compromised sign is a strong sign for Security › Malware protection › Infected devices, as the other signs are. A file sign lasts 7 days, or until you restore the file.

Where a file came from

With each finding the agent sends what the computer recorded about the file's origin: on Windows the download mark (the address it came from, the page that linked it, and the zone, such as Internet); on a Mac the download record (the address and the program that downloaded it); on Linux the address browsers such as Chrome write. Also the time the file was made, and on Linux the program that wrote it. These are shown as text: the console never opens them, because a malicious file can carry made-up ones.

Restoring or deleting a quarantined file

  1. Open the computer on the Agents tab. Under Malware and scripts, find the file under Quarantine.
  2. Press Restore to put it back exactly where it was, with its owner, permissions and times. The agent leaves that file alone on that computer from then on. A file that is now in its place is never overwritten: move it away first.
  3. Or press Delete permanently. The console asks again and says it can't be undone.

The computer carries it out within seconds when it is connected, or when it next reaches the firewall. Only superusers and administrators can restore or delete; both are in Monitoring › Logs & audit › Audit log.

Turning it off on one computer

A local administrator can run korthveil-agent file-checks off (and on to follow the firewall's settings again). korthveil-agent file-checks shows what the checks are doing on that computer.

Good to know

  • Mac: macOS keeps Downloads and Desktop even from administrators' programs. Give the agent Full Disk Access under System Settings › Privacy & Security › Full Disk Access (add /Library/Korthveil/korthveil-agent), or send a privacy profile from your device management. The computer's page says when it is missing.
  • Linux: agents installed before 1.5.7 run in a sandbox that hides home folders and /tmp. Install the agent again with the same command; the computer's page says when this is needed. The agent can quarantine files under /home, /root, /tmp, /var/tmp, /media, /run/media, /mnt and /srv; a file found in another extra folder is reported but stays where it is.
  • ClamAV is used only through its daemon (clamd). clamscan alone loads every signature for each file, which is too heavy; the computer's page says so.
  • YARA: the computer evaluates YARA rules itself, without extra software. Rules that need a YARA module (such as pe or math) or a for loop are not used on computers; the page shows how many. YARA reads the first 32 MB of a large file.
  • The lists are kept on the computer, so it keeps checking while it can't reach the firewall. Only changes are fetched.

Limits

  • A file that never lands in a watched place, such as a script that runs only in memory, is left to the computer's own antivirus.
  • Files inside encrypted archives can't be checked.
  • Traffic is not decrypted: a download inside HTTPS is checked once it is saved as a file.

Ransomware guard (from 1.5.7)

The threat lists, the file checks and the firewall stop most ransomware before it runs: its download, its control servers, its spread over the network. The ransomware guard stops the encryption that gets past them. It watches the folders ransomware goes for first, keeps decoy files there, and acts the moment it is sure: the computer isolates itself, the encrypting program is ended, and you get a top-priority alert. Releasing the computer is yours.

At a glance:

Step Where What
1 Security › Vulnerabilities › Agents › Settings Under Malware and scripts on the computers, tick Ransomware guard (for every computer, or in a computer group). Leave Decoy files on
2 Same place Add the roots of shared folders on file servers, and the backup or sync programs you trust under Allowed programs
3 Commit Computers with the agent 1.5.7 or later place their decoys and start watching
4 Agents tab, open a computer Ransomware guard: what it watches, its decoys, any signs and incidents, and Release

The guard runs whether the computer's file checks are on or off.

The settings

Setting What it does
Ransomware guard On or off. Off by default
Decoy files On with the guard. Turn it off for a group whose people would be confused by them
Decoys in synced cloud folders too Off: folders kept by OneDrive, iCloud Drive, Dropbox, Google Drive or Nextcloud get no decoys (they would sync to every device). The computer's page lists the folders left out and why
Share roots One per line: the shared folders of a file server (/srv/share, D:\Shares\Finance), or \\server\share on Windows. They get decoys and are watched
Protected folders One per line: watched besides the usual folders (~/Projects for that folder in every home). On Windows also given to Controlled folder access (below)
Allowed programs One per line: never treated as ransomware. A full path (C:\Program Files\Backup\backup.exe), or a name (restic) for a program in the system's own folders. On Windows, full paths are also allowed through Controlled folder access. SentinelOps and the Korthveil agent are always allowed
The signs' thresholds (advanced) How many changes in a minute make a sign. The defaults are tuned against sync clients, builds, photo imports and package managers; change them only when a computer's normal work keeps raising a sign
Keep script protection on With the guard, also turns on Windows' Controlled folder access

Where it watches

Each person's Documents, Desktop, Pictures, Downloads, videos and music, plus the share roots and protected folders. On Linux the folders' own names in other languages are used (Dokumente, Bureau).

Decoy files

In Documents, on the Desktop, in Pictures and in each share root the guard places two ordinary-looking files of the folder's kind: a spreadsheet and a document, a document and a PDF, two photos. One is named to sort first (00 Accounts 2026.xlsx) and one last (zz Contracts archive.docx), because ransomware often works through a folder in order. They are real files, different on every computer, dated weeks back, and hidden where the system allows it: Windows' hidden attribute, the Mac's hidden flag, and on Linux the folder's .hidden file, which GNOME Files and KDE Dolphin read. Nobody needs them, so nothing should ever touch them.

  • Changed, renamed, replaced, or copied under a new name: a strong sign at once.
  • Deleted with no other sign within 15 seconds: the guard takes it as a person tidying up. It puts the decoy back a minute later and leaves one note on the computer's page (no alert). If the same decoy is deleted again, it is left out of that folder for good: no alarm loop.
  • Deleted while another sign is present, or two decoys at once: a strong sign.

The signs

Besides the decoys, the guard counts changes per program (or per folder where the system doesn't say which program), within a minute:

Sign What it is
Many files changed Documents, pictures and other people's files rewritten (60) or renamed (30) within a minute
Files turned to random data Files whose content became random data while their name says text, an office document or a picture (8 within a minute). Real office files, photos and archives start with their type's mark; encrypted ones don't
One new extension Files given one and the same unknown extension, such as .locked (12 within a minute)
Ransom notes Files named and written like ransom notes in 3 folders within 5 minutes
Backups deleted (Windows) Shadow copies, the backup catalog or Windows recovery deleted or turned off (vssadmin delete shadows, wmic shadowcopy delete, wbadmin delete catalog, bcdedit … recoveryenabled no)

Program, build, cache and package folders (.git, node_modules, build, .venv, …) and the temporary names programs save through are never counted. Neither are the Korthveil agent, SentinelOps and what either starts, your allowed programs, and sync, package, build and backup programs installed in the system's own folders.

One sign alone only alerts: a warning on the bell, nothing else. Two kinds together for one program or folder, or one with ransom notes or deleted backups, or any decoy touched, is a strong sign.

What happens on a strong sign

In this order, within seconds:

  1. The computer isolates itself through its own firewall, without waiting for the firewall: only this firewall, SentinelOps and your never-block addresses stay reachable. It stays isolated after a restart. Its report also asks the firewall to quarantine it (Security › Malware protection › Infected devices), and the firewall isolates it through its own firewall too.
  2. The encrypting program is ended, with its other processes, where the system names it (Windows and Linux). Never the Korthveil agent, SentinelOps, your allowed programs or the system's own processes.
  3. It is reported at once: a top-priority alert (email and push) with the computer, the folders, the counts, the program and the decoys touched. The incident also goes to the trace of where the infection came from.

A computer exempt from automatic blocks (named in a never-block list) is not isolated automatically: the program is still ended and you are alerted; isolate it from its page if needed.

Releasing the computer

  1. Open the computer on the Agents tab. Under Ransomware guard the incident shows why it acted, the files' counts, the program (with where its file came from), each step with its time, and the folders, decoys, files and commands.
  2. Check the computer and restore the changed files from a backup.
  3. Press Release and confirm. The firewall's isolation ends at once; the computer opens its network again and puts fresh decoys back within seconds when it is connected. A quarantine under Security › Malware protection › Infected devices is released there.

Only superusers and administrators can release; it is in Monitoring › Logs & audit › Audit log. On the computer, a local administrator can run korthveil-agent release-isolation by its full path (break-glass, see If the computer can't reach the firewall); the firewall hears of it. korthveil-agent ransomware shows the guard on that computer.

Windows' Controlled folder access

Microsoft Defender's Controlled folder access lets only trusted programs change protected folders. The computer's page shows whether it is on. With Keep script protection on, the agent turns it on, adds the protected folders and share roots, and allows the programs on your Allowed programs list that have a full path. Tamper Protection or a group policy can keep it from doing so; the page then says why.

Limits

  • Files changed in the seconds before the guard acts are encrypted. In our test runs a test "encryptor" changed 2 to 14 files before it was ended. Backups still matter.
  • On a Mac the guard usually can't name the program: Apple's Endpoint Security, which names it, needs an entitlement from Apple we don't have. The guard relies on the decoys, the signs per folder and isolation.
  • On Windows, a file rewritten in place is tied to its program through the program's other changes in that folder (renames, deletions, new files); otherwise the sign is per folder.
  • Ransomware run from another computer against a share is caught by the file server's agent, or by the share's decoys.

What the firewall does with your computers' detections (from 1.5.7)

A strong detection on a computer (a threat-intelligence destination, a malware domain, a known-bad program connecting) is acted on for the whole network: the address is blocked for every device, its open connections end, you get an alert, and an abuse report is drafted. A computer is quarantined by the firewall and isolated through its agent only on verified proof of malware: a file a hash list names, malware its anti-virus found, the ransomware guard, an IPS malware signature from the computer. A call home to a server threat lists name is an alert with options, not proof (from 1.7.2). When a computer is infected, the firewall traces where the infection came from, starting with the download record the agent sends with each malicious file. See Endpoint detections and infection traces in the Live attacks guide.

Never on uncertain evidence (from 1.7.2)

On 2026-11-30 the remote-access watch blocked the owner's own tools, isolated his Mac on two guesses and quarantined it for 24 hours. From 1.7.2:

  • Signs that rest on guesses never act on a computer on your network: an unknown program listening, a session that looks like a reverse shell, two signs together, a risk score, two weak signs of infection, a guess of a DNS tunnel. They are reported and alerted, with Isolate anyway for you to decide. They never isolate or quarantine the computer, never block an address for every device and never draft an abuse report.
  • A computer outside your network (its agent reaches the firewall through the tunnel, the internet, port 443 or a proxy) may be isolated through its own firewall on a strong sign; that isolation ends by itself when it is back inside.
  • Computers on a never-block list (Threat intelligence › Devices never blocked, the DNS resolver's lists, Security › Malware protection › Infected devices › Exemptions, the destination check's exempt devices, Live attacks › Never block; by MAC or address) are never isolated, quarantined or blocked automatically, and their agents make no remote-access or shield blocks on them. Isolate on such a computer asks for Isolate anyway.
  • An isolation the firewall made by itself ends by itself once the settings no longer call for it (for example the watch set to Alert only, the program approved, or the computer put on a never-block list), within a minute. The incident, the computer's record and the audit log say why.
  • Your own machines are never reported to abuse desks: no draft and no send for the firewall's own addresses, the never-block lists, servers you approved as your own (tunnel approvals in the remote-access watch), or documentation, reserved and private address space. Each draft is checked again before it is sent.

Alerts with options, and vulnerable ports closed on that computer only (from 1.7.2)

You might be blocking a vital machine, so the firewall asks before it does anything to a whole computer:

  • A guess, a risk score or a threat-list contact is an alert with options. On Security › Live attacks › Endpoint detections, and on the computer's own page (Security › Vulnerabilities › Agents, open the computer, Alerts with options), each one has the buttons that fit it: Isolate the computer, Block this port, Block this program, Allow, This is normal: stop alerting, Ignore. Nothing more happens until you choose. A call home to a server on a threat list adds Block that server for every device; a risk score offers the same for its strongest signs' outside addresses.
  • The agent ends a process by itself only on verified malware (a file a hash list names, a malware YARA match in its memory). Two signs together or a deleted program file are a strong sign and a critical alert, but the program keeps running until you choose; in Block mode the watch still blocks that one port or connection on the computer.
  • Verified malware and ransomware keep their automatic action: a file a hash list names, malware the computer's anti-virus found, the ransomware guard, an IPS malware signature from the computer.

Vulnerable programs listening. When a program listens on a port other computers can reach, the firewall looks it up in what the vulnerabilities add-in already knows about that computer: its installed software and the vulnerabilities matched to it (Linux by the package that owns the program file, dpkg or rpm; macOS by the application's bundle; Windows for the programs the add-in recognises by name). When that program and version has a known, exploitable vulnerability:

  • only that port is closed, on that computer only, through its own firewall (inbound, IPv4 and IPv6; the computer itself still reaches it). Never the whole computer.
  • one alert with the evidence: the CVE numbers, whether CISA lists it as exploited (KEV) or its EPSS score, the program, its version, the port and why.
  • the options Undo block (the finding stays listed; it is not blocked again unless a new exploitable vulnerability appears), Allow (accept the risk) for 30 days, 90 days or for good (the block comes off, the alert stops, the CVEs stay on the computer's vulnerability list), Update (its agent installs the system's updates, when it was installed with remediation) and Isolate the computer.
  • a computer on a never-block list gets the alert only, with Block anyway.
  • once the program is updated and no longer vulnerable, the block comes off by itself.
  • no block is ever silent: a port closed on a computer (here, or by the watch in Block mode) always comes with its alert and options, even when Live attacks › Endpoint detections is off.

What counts as exploitable: on CISA's list of known exploited vulnerabilities, or an EPSS score of 0.5 or more (FIRST's probability of exploitation within 30 days; the add-in's own "high"). A program the firewall can't tie to an installed package with such a vulnerability is never blocked by this: the remote-access watch's own alert covers it. The setting is agents.vulnerableListeners in the vulnerabilities add-in's settings: mode block (the default), alert or off; epss the threshold (0 to 1; 1 turns EPSS off); severity empty (the default: a rating alone is not proof of exploitation), critical or high to count a distribution's or NVD's rating as well.

This is normal: stop alerting. When a program, a port or a destination is part of normal operation, choose This is normal on its alert (or This is normal here on a sign on the computer's page):

  • what: this program (by its path, plus its signer or exact file), this port, or this destination (an address, a network or a name);
  • where: this computer (the default), a computer group of the remote-access watch, or everywhere;
  • for how long: forever, 30 days or 90 days, with an optional note.

The same pattern no longer alerts and the watch no longer blocks it, but it is still recorded on the computer's page and counted ("marked as normal"), so nothing is hidden. A vulnerable listener marked normal gets its block lifted and its vulnerabilities stay listed. Every mark is in the audit log (who, when, why, the note) and on the Marked as normal list in the remote-access watch's panel, with Undo. A mark never covers verified malware or the ransomware guard. Agents before 1.7.2 treat a mark like an approval (the sign is no longer reported by them); the firewall still never alerts on it.

Remote-access watch: unknown programs that open the computer to others (from 1.5.7)

Malware that wants to control a computer from outside needs a way in: a port it listens on, a connection it holds open to its owner, a tunnel service, a remote-control tool, or a system program such as PowerShell running code that never touched the disk. The remote-access watch looks for exactly these, on every computer with the agent, and reports them (Alert only, the default from 1.7.2). Choose Block for the computers where it should also block them, after approving your own tools.

Existing installs: before 1.7.2 a watch setting without a mode meant Block. From 1.7.2 it means Alert only: the agents lift the blocks the watch made at their next sync and the computer's page says how many and why. To keep blocking, choose Block under Settings (for everyone or for a computer group) and commit.

Every 2 seconds the agent reads the computer's list of connections and listening ports and ties each one to its program. It needs no driver.

Known and unknown programs

For each program that talks to the network or listens, the agent records who signed it, where it lives, when this computer first saw it, and how many of your computers have the same program (this firewall counts them by the file's fingerprint, SHA-256). A program is known when:

  • the operating system's maker signed it (Microsoft, Apple);
  • a publisher you trust signed it (your own list, plus a built-in list of everyday publishers: browsers, meetings, chat, storage, security software, hardware makers);
  • the Linux package manager installed it (dpkg, rpm, pacman, snap, flatpak);
  • or you approved it.

Everything else is unknown. Nothing is decided before the computer has said who signed or installed a program, usually within seconds of its first appearance.

What it blocks (in Block mode)

Sign What the agent does
An unknown program listening where other computers can reach it (a bind shell, a hidden server) blocks inbound to that port in the computer's own firewall (not for the computer itself), ends connections already made to it; on Windows the program can't receive anything either. The sign offers a firewall rule to block the port from your other networks too.
An unknown program in a long-lived session that looks like a person typing at a shell, or that checks in at regular times, to an outside address this computer rarely talks to (a reverse shell or tunnel) ends the connection and blocks the address on the computer, and asks this firewall to block it for every device. Downloads, video calls and streams are left alone: the agent judges the shape of the traffic, never its content.
A tunnel tool you haven't approved (ngrok, Cloudflare Tunnel, frp, chisel, bore, ssh -R to tunnel services, and others) the same: the connection ended and blocked; on Windows the program is cut off the network.
A remote-control tool you haven't approved (AnyDesk, TeamViewer, ScreenConnect, RustDesk, Splashtop, LogMeIn, VNC servers and others, also renamed: by name, signer and fingerprint) its connections are ended and blocked; on Windows the program is cut off the network. The sign offers to block the tool's relay names in the DNS filter for everyone.
A memory-only backdoor sign: a system program (PowerShell, rundll32, regsvr32, mshta, script hosts, python, a shell, osascript, nc) running no script file of its own, in such a session ends the connection and blocks the address, then scans that one process's memory with YARA (Windows and Linux). A match ends the process.

The process itself is ended only on verified malware: a YARA match in its memory or a file your file checks know as malware. A program file deleted while it runs, or two signs together (for example listening and holding a reverse shell), are a strong sign and an alert with options; the program keeps running until you choose (from 1.7.2). Otherwise only its network is blocked and it keeps running. A strong sign is a critical alert and the firewall traces where it came from. Only a confirmed one, backed by a fact (a file your file checks know as malware, or a malware YARA rule matching its memory), goes further: the firewall blocks the outside address for every device on the network, drafts the abuse report and isolates the computer through its own firewall (only this firewall, SentinelOps and your never-block lists stay reachable; not a computer on a never-block list, or a group set not to isolate). Two signs together or a deleted program file are strong but not confirmed: alerted, never isolated (from 1.7.2).

Blocks last 24 hours after the sign was last seen.

What always passes

  • SentinelOps, completely: its agent, the programs it starts (its ssh tunnel, remote shells, WinRM, WireGuard, ffmpeg, its python helper, package managers), its listeners and its server. It is recognised by its exact program paths, the program that started them and where they talk, never by name alone: a copy of its program elsewhere, or its program talking to another server, gets no exemption.
  • Everything you approved: a program, a port, a remote-control tool or a tunnel, on one computer or everywhere.
  • The never-block lists, the Korthveil agent itself and the operating system's own services.

The settings

On Security › Vulnerabilities › Agents, the Remote-access watch panel, Settings:

  • Computers in no group: Alert only (the default from 1.7.2: everything is reported and alerted, nothing blocked), Block or Off.
  • Trusted publishers, and whether the everyday publishers count too.
  • Scan a suspect process's memory, End a process on verified malware, Isolate the computer on confirmed malware: all on by default.
  • Approved on every computer: programs (a full path, sha256:…, signer:Example Corp or name:syncd), ports (tcp/8080), remote-control tools and tunnels (a tool from the list, or an outside address or network).
  • Computer groups, chosen by computer name (wildcards such as DEV-*) or system, each with its own mode and approvals; the first group a computer is in decides. For example, developers' laptops in Alert only, servers in Block.

Settings are configuration: commit them.

What you see

Each computer's line has a badge (Remote access watched, Remote access blocked, Remote access: signs reported, Remote access: strong sign, Remote access: alert only, Remote access: never blocked here). When the watch stops blocking (set to Alert only or Off, or the computer put on a never-block list), the computer's page says how many of its blocks were lifted and why. Open the computer: Remote-access watch shows its listening ports with their programs and verdicts, the watched sessions with the pattern the agent sees, the blocks in force, and the recent signs. Evidence on a sign shows the program, its path, signer, fingerprint, who started it, why it is unknown, what was seen and what was blocked. Per sign:

  • Allow … here and everywhere for the program, the tool, the port or the tunnel: the agents hear of it within seconds and take its blocks off;
  • Block its relay names in the DNS filter (remote-control tools) and Block this port from other zones (listeners): both are added to your pending changes;
  • This is normal here: still recorded and counted, no longer alerted or blocked (more choices on its alert);
  • every sign's incident on Security › Live attacks, Endpoint detections (and under Alerts with options on the computer's page) with its options; for a confirmed one, what the firewall blocked for every device, whether it isolated the computer, and Block anyway or Isolate anyway where it didn't (a never-blocked address, an exempt computer).
  • Vulnerable programs listening and Closed on this computer by the firewall, each with Undo block.

Every sign is an alert (critical when strong or when a process was ended) and appears on Security › Live attacks as kind Remote access; address rules there never count it. On the computer, korthveil-agent remote-access (as administrator) shows the listening ports, the watched sessions and the blocks, changing nothing.

Limits, plainly

  • Alert first while the firewall is older than 1.5.7, and until the agent has the firewall's settings: nothing could be approved yet, so it only reports.
  • Installed with --no-host-firewall, the watch only reports.
  • Mac: macOS lets no program read another's memory, so a memory-only backdoor sign there is network action only. macOS has no way to end another program's connection: the address is dropped and its connection state cleared, so the session stops.
  • Windows can end IPv4 connections only; an IPv6 session's address is blocked instead.
  • Linux ends connections where the kernel allows it (most distributions do); otherwise the address is blocked.
  • The session patterns judge timing and size, not content: a remote shell that copies a download's shape, or a chat program from a publisher you don't trust, can be missed or flagged. Allow what you use; trust its publisher.
  • Only a confirmed sign blocks the outside address for every device (from 1.7.2); every other one is blocked on its computer only, in Block mode. Live attacks › Endpoint detections decides what the firewall does with strong signs (act, alert only, off), for the shield's detections and the watch's alike.
  • Measured so far on Linux (a bind shell, a reverse shell, an approved program, a SentinelOps session and look-alikes in a test network). Windows and macOS are proven on real computers before any claim.

Automatic updates from the firewall (from 1.7.5)

From agent 1.7.5 the agent updates itself from your Korthveil firewall to the agent version that matches the firewall. It is on by default. Nothing is downloaded from the internet: the firewall already carries the agent for every system, and the agent fetches it over its own connection to the firewall (with its certificate and token; in a pair or cluster from whichever firewall answers).

Safe by design

  • Every agent program is signed by Korthveil when the release is built. The agent checks the signature with the keys built into it and refuses a program that is unsigned, changed, for another system, or not newer than itself (never a downgrade).
  • The agent keeps its previous program. Its watchdog installs the new one through the computer's own service manager (Windows services, systemd, launchd). If the new agent has not checked in with the firewall within 5 minutes, the watchdog puts the previous program back by itself and the firewall shows Korthveil agent update rolled back on PC-07 with your options. An update is announced first, so it is never reported as tampering.
  • Self-repair: if the agent's program is deleted or damaged, the watchdog puts back the copy it keeps (or fetches the same version from the firewall) and reports the repair.

Settings (Security › Vulnerabilities › Agents, panel Automatic agent updates, Settings; commit afterwards):

  • Every computer: Automatic (recommended), In a maintenance window (for example sat 02:00 for 4 h, in the firewall's time zone), or Off.
  • Per computer group: its own choice, for example Servers: in a maintenance window, Lab: off. Groups are the computer groups of the connection settings.
  • Update channel: the firewall's (default), Stable or Preview. A computer on Stable takes no agent from a firewall that runs a preview.
  • Staged rollout: pilot groups and a share of the computers (default 10 %) update first; the rest follow after the pilot has run the new version for a number of healthy hours (default 24). At most 10 % of the computers (never more than 20) update at the same time.
  • If more than two computers roll back the same version, the rollout pauses and you are alerted; press Resume the rollout once you have looked.

Buttons (administrators): Update now on a computer's line (also tries a version that rolled back there again), Update all now (no pilot wait and no window, still a few at a time; groups set to off are left alone), Acknowledge a rollback.

Each computer's line shows its agent version and update state (up to date, waiting and why, downloading, updating, update rolled back). The same shows in PulseSphere's agents panel, and on the computer with korthveil-agent status (line Automatic updates).

Agents before 1.7.5 need one manual update. They can't update themselves yet: the panel lists them under needs one manual update with the command for each system, which keeps the computer's enrollment. On a Mac or Linux computer, as administrator (example firewall address):

curl -fsS -k --pinnedpubkey 'sha256//EXAMPLEPINEXAMPLEPINEXAMPLEPINEXAMPLEPIN=' https://agents.example.net:8448/agent/upgrade.sh | sudo sh

On Windows, the panel shows the PowerShell line (run Windows PowerShell as administrator), or run the computer's deployment installer again. From then on the agent updates itself.

Good to know: FreeBSD computers have no watchdog service, so they download and check the new agent and the panel asks you to update them by hand. A pair or cluster offers a new agent only once every firewall in it runs that version.

VeilTap on a computer: install, stop, record (from 1.7.5)

VeilTap Lite is part of the agent on Windows, Linux and macOS: an agent update updates it. From 1.7.5 you can manage it from Security › Vulnerabilities › Agents: open a computer, section VeilTap.

Button or setting What it does on the computer Who
Install checks the computer can capture (root on Linux and macOS, the packet monitor on Windows) and prepares VeilTap's folders superusers, administrators
Stop nothing captures there: targeted scans, the endpoint shield's packet checks, capture tests and recordings pause until Start superusers, administrators
Remove stops it and deletes recordings not yet sent superusers, administrators
Interfaces the interfaces to capture on (Linux and macOS; on Windows VeilTap Lite reads every adapter) superusers, administrators
Budget for recordings 16 to 500 MB, never more than 10 % of the free space superusers, administrators
Allow recordings on request lets Record on this computer be used there superusers, administrators
Record on this computer records only the packets you choose the right traffic.packets (superusers and administrators)

The computer gets each change within seconds of its next check-in and keeps it while the firewall is out of reach. On Windows the console says "VeilTap Lite (the Windows driver is not production-signed yet)": managed computers use the driver only once a production-signed driver ships with the agent.

Record on this computer: choose remote addresses (IPv4 or IPv6, for example 198.51.100.7 or 2001:db8::/32), ports and a protocol, how many minutes (1 to 1,440) and how many MB at most (1 to 500). There is no "everything" recording. It stops by itself at its time, at its size and when the drive runs low, then uploads to the firewall; Download gives a pcapng file for Wireshark. While it runs, the computer writes it to its log and korthveil-agent status shows VeilTap: … recording until 14:05.

Before a recording, confirm that the people using the agent computers were told (Agents › Settings, the notice), or tick the confirmation for this one recording: it is written to the audit log with your name. Every command (install, start, stop, configure, remove, record, stop, download, delete) is in the audit log.

A recording that stops because the capture failed raises one alert; a recording that ends by its time or size, a stopped VeilTap or a computer turned off never does.

The whole computer: network cards, hardware and every installed system (from 1.7.6)

Open a computer on Security › Vulnerabilities › Agents. Below its software and updates you see:

  • Operating systems on this computer: every system its boot loaders list, which one runs now, which one starts first, which are encrypted, and which have a Korthveil agent. A system without an agent gets a warning: booting into it bypasses protection, so install the agent there too. In the list of computers a chip says 2 systems, or 2 systems, 1 without agent.
  • Network cards: every card the system knows, including disabled ones and cards without a driver: built-in, USB, Wi-Fi, Thunderbolt and virtual, with the model, driver, speed, whether it is connected, switched off or disabled, its MAC address (and the built-in one when the card uses a private, random address), and its IPv4 and IPv6 addresses.
  • Hardware: maker and model, board, firmware (BIOS or UEFI, version and date), processors, memory and its modules, disks with their health where the system reports it, graphics, the TPM and Secure Boot. Serial numbers and the system UUID are shown to administrators only, after Show serial numbers; they are inventory data and are never sent anywhere else.

The agent only reads. It never changes a boot setting or a network card, and it never unlocks an encrypted system: an encrypted system shows as encrypted.

What Windows Mac Linux FreeBSD
Network cards every adapter, disabled ones too every hardware port; disabled services every interface, PCI cards without a driver every interface
Hardware the firmware's tables, the TPM, Secure Boot, disk health System Information the firmware's tables, the TPM, Secure Boot, disk health with smartmontools the firmware's tables, disks
Installed systems the boot configuration (English Windows), the partitions, BitLocker APFS volumes, Boot Camp, startup disk the firmware's boot list, the EFI partition, GRUB and systemd-boot, the partitions the firmware's boot list

The hardware and the systems are sent at enrolment, once a day, and when a card is fitted or removed; the cards with every report.

One computer, several systems (dual boot)

When Windows and Linux (or two Windows, or macOS and Boot Camp) share one computer, each system has its own agent and its own place in the list. The firewall recognises that they are one computer from the hardware they share (the system UUID, the serial numbers, the built-in cards' addresses and the disks; one replaced part still matches) and shows them together.

Starting the other system is normal and never raises a tamper alert: the agent stopping as the computer restarts, the silence while the other system runs, and the clock being corrected afterwards (Windows keeps the computer's hardware clock in local time, Linux and macOS in UTC) are recognised. Real tampering still alerts: the agent stopped while the same system keeps running, its program, settings or rules changed, or another computer claiming this one's identity (two agents with the same hardware identity really running at the same time, both checking in, interleaved, within a few minutes and without restarting: a copied disk, a copied agent or a cloned virtual machine; a shutdown followed by the other system's start never counts, however quick). On a computer with several systems, a stop is confirmed for up to 10 minutes before it alerts, so the restart into the other system can show first.

A system added to or removed from the boot list is noted on the computer (not an alert).

Watch closely: servers and important computers (from 1.7.6)

Some computers matter more than others: a server, a database, an application in a cloud or a data centre. Tag them Watch closely and, when something goes wrong there, you already have what you need to find out why. Open the computer on Security › Vulnerabilities › Agents, section Watch closely, and turn it on; or turn it on for a whole group of computers from the same section (a computer's own setting wins over its group's).

Setting What it does Default
Rolling recording VeilTap keeps the computer's traffic of the last minutes, always, overwriting the oldest on
Minutes kept 5 to 60 15
Size at most 16 to 2048 MB, and never more than 5 % of the computer's free space 200 MB
Whole packets off: only the packets' headers (who talked to whom, when, which ports, how much); on: whole packets, with passwords, cookies and tokens sent in the clear overwritten before anything is kept off
Saved before / after an alert the minutes before an alert taken from the rolling recording, and the minutes after it 15 before, 5 after
Diagnostics on each alert the services' health, listening ports, busiest programs, drives, memory and the last hour's errors of the system's logs on
Silence alert after a watched computer's agent is reported silent after these minutes (1 to 60) instead of the usual time 5 minutes
Raise warnings as critical warnings about this computer arrive as critical alerts off

On each new alert about the computer the firewall asks it to save the minutes before and after the alert and to run its diagnostics, once per alert. Both arrive on the computer's page and the alert says so. The saved window downloads as a pcapng file for Wireshark, like a recording on request. Save the window now and Run diagnostics now do the same without an alert (saving needs the right traffic.packets).

Privacy: the rolling recording needs the same confirmation as a recording: the people using these computers were told (Agents › Settings, the notice), or you confirm it when you turn Watch closely on (written to the audit log with your name). Diagnostics list program names, never their command lines, and log lines have passwords, keys, tokens and e-mail addresses removed. Everything is read only: the agent changes nothing on the computer.

Computers outside your network: Watch closely goes through the agent's lifeline, so it works over the 443 path from a cloud or another site as well.

It needs agent 1.7.6 or later; the section says so on an older agent. The agent's command korthveil-agent status and its log say when the rolling recording runs.

No false alerts for expected events (from 1.7.6)

Some things make an agent look wrong for a while although nothing is: a computer that switches between Windows and Linux (dual boot), sleeps or is turned off, an agent update or reinstall, a network card turned off or unplugged, a planned update. The agent reports these expected events to the firewall, which holds the alerts they can cause (the agent silent, the service stopped, the clock set back, an isolated computer out of reach, a maintenance running long, a recording's capture stopping) and checks them again when the hold ends:

  • recovered by itself: no alert; one line on the computer's page says what happened ("recovered by itself after a network card change");
  • still wrong: the alert is raised, saying it was held and did not recover.

An event explains only the alerts that start at that moment: from 2 minutes before it to 3 minutes after it ended (the agent stops, the computer goes off, the card goes down, and the agent is back when the event ends). An alert that starts later, for example a computer whose network is cut a few minutes after an agent update, is raised as usual. The one later effect is the clock: a clock set back is held when it comes up to 12 hours after a switch to another system, or 30 minutes after sleep or power off. How long an explained alert is held depends on the event: 10 minutes for an agent update or reinstall, 15 for a network card, 30 for sleep or power off, 4 hours for a switch to the other system of a dual-boot computer. A dual-boot switch is seen from the firmware's next boot entry on Linux and, on every system, from the clock being corrected by whole hours soon after the start (Windows keeps the computer's hardware clock in local time, Linux in UTC). A clock set back exactly to the firewall's time, or by exactly the time zone's offset, is not reported at all (see One computer, several systems above); a set-back by other whole quarter hours within 6 hours of the start is held for the 4 hours.

Security findings are never held: detections, vulnerabilities and signs of compromise are raised at once. The agent stopped while the same system keeps running always alerts after its normal delay (at once; on a computer with several systems after the 10 minutes above): no update, reinstall or planned update explains it, since the agent's own updater announces its stop. The computer's page, section Watch closely, lists the events its agent reported, the alerts held now and the last decisions.

What it does not do yet

  • Computers that reach the portal by a former name move to the new name by themselves: for now they keep using the former one, which stays in the certificate while they do (keep its DNS record).
  • The VeilTap driver edition: coming with the signed driver (above).
  • Isolation and the remote-access watch on FreeBSD computers.
  • VeilTap Lite on FreeBSD computers.
  • The shield reading QUIC (HTTP/3) server names, and blocking before the first packet (with the signed driver).

No SentinelOps or other product is needed: the Korthveil firewall and the Korthveil agent are all it uses.

Download as PDF All guides