Opens in a new tab
Back

Are there any decent open-source insider threat detection tools, and how do you build detection with them?

osquery, Wazuh, Sysmon, Sigma and Velociraptor: what each records, how to build and test insider detections, the weekly hours, and where Jazz fits.

Table of Contents

A sound technician hunched over a cluttered backstage workbench wires mismatched analog meters together under a brass lamp while a jazz band plays beyond the doorway.

Yes, partly. osquery with Fleet, Wazuh, Sysmon with SigmaHQ rules, Velociraptor and Zeek are maintained, with 2026 releases, and record USB writes, archive creation, process starts, sync-client activity and network connections. No maintained open-source project does insider risk end to end; Apache Metron retired in 2020 and OpenUBA is a v0.0.2 pre-release. A workable build picks two or three use cases, adds an HR resignation watchlist, tests detections against MITRE T1567, T1052 and T1560, and needs roughly 6 to 11 hours a week. None of it records which account received an upload, what was pasted into an AI prompt or what a screenshot showed. For a lean team whose real constraint is the hours needed to write rules and investigate alerts, Jazz fits because one OS-level agent on managed Windows and macOS laptops sees pastes, uploads, screenshots and GenAI prompts in any browser or desktop app without an extension, tells personal from corporate accounts, and Melody investigates each flagged movement before anyone sees it.

Which tools can catch insider threats, and what each one sees

Insider cases are a real but minority share of breaches. Verizon’s 2026 DBIR found internal actors in 12% of breaches, down from 18% the year before, with end users making up 75% of those internal actors and system administrators 19%. The same report found that 67% of users reach AI services on corporate devices with non-corporate accounts, which is the exit the free tools see least of.

Six approaches come up when a team with no licence budget looks at insider threat detection tools.

Approach Examples What it sees What it misses Work it hands you
Open-source endpoint telemetry osquery with Fleet, Wazuh agent, Sysmon on Windows, Velociraptor Process starts with command lines, file changes on watched paths, USB device connections, network connections and DNS lookups The destination account, the body of an HTTPS upload, pasted text, what a screenshot shows Agent rollout on every laptop, configs per OS, server upkeep
Open-source SIEM and detection content Wazuh manager, Security Onion, SigmaHQ rules converted for your back end Matches across whatever logs you ship to it, such as rclone runs, password-protected 7-Zip archives, DNS lookups for mega.nz Anything the logs never captured. SigmaHQ has no rule for ChatGPT or Claude as a destination Rule conversion, parser fixes, triage of every match
Audit logs in licences you already pay for Microsoft 365 unified audit log, Google Workspace Drive log events, identity provider sign-ins Downloads, sync downloads, uploads and sharing inside your own tenant, plus sign-ins Activity in a personal account, anything that happens only on the laptop Exporting the logs before retention runs out, writing the correlations
Commercial UEBA and insider risk platforms The category as a whole Depending on the product, scored sign-in and access anomalies, endpoint activity, or screen capture Log-only products miss the laptop; screen capture brings the heaviest privacy case Licence spend, a baseline period, triage of risk-scored alerts
OS-level endpoint agent Jazz on managed Windows and macOS laptops Pastes, uploads, screenshots and GenAI prompts in any browser or desktop app, with personal and corporate accounts told apart Linux machines, unmanaged personal devices, sign-in scoring, log retention for the rest of the estate A paid licence. Melody returns pre-investigated incidents, so there is no detection logic to write
Process controls HR resignation trigger, access reviews, offboarding checklist Who is leaving, who holds privileged access, what they can reach What anyone did with data before they left HR cooperation and a lookback review for each leaver

Process controls are the cheapest approach, and they work. Verizon’s report says that “triggering a simple activity review” when someone on a sensitive-access list resigns “has caught numerous breaches in our dataset.” The review only finds something if an endpoint or audit log recorded the right events beforehand.

Jazz is an OS-level endpoint agent. Its agent captures copy and paste, screenshots, GenAI prompts, screen sharing and file uploads at the operating-system level, across desktop apps, browsers, command-line tools and personal cloud accounts, without a browser extension. For the commercial category as a whole, the insider threat software comparison covers the buying stage.

Which open-source insider threat projects are actually maintained

Status as of November 1, 2026.

Project What it does for insider work Latest release Operating systems
osquery Endpoint state and events as SQL tables 5.24.0, October 9, 2026 Windows, macOS, Linux
Fleet Manages osquery agents and queries at scale v4.94.0, October 28, 2026 Windows, macOS, Linux, ChromeOS hosts
Wazuh Open-source SIEM with file integrity monitoring 4.14.9, October 15, 2026 Agents on Windows, macOS, Linux
Sysmon Windows event logging driver, closed-source freeware v15.22, September 10, 2026, per Microsoft’s Sysinternals page Windows; Sysmon for Linux is separate
SigmaHQ Vendor-neutral detection rules, “more than 3000” per its README r2026-07-01, July 9, 2026; commits to October 21 Rules for Windows, Linux, macOS, cloud logs
Velociraptor Forensic collection and hunting 0.77.3, October 5, 2026 Windows, macOS, Linux
GRR Remote live forensics 4.0.0.0, December 15, 2025; commits to October 1, 2026 Windows, macOS, Linux
Zeek Network traffic analysis 9.0.1, October 26, 2026 Network sensor
Security Onion Network monitoring and log management distribution 3.3.0-20260911, September 11, 2026 Oracle Linux 9 only, per its 3.0 release notes
Apache Metron Former security analytics platform Retired December 2020, moved to the Apache Attic in April 2021 None maintained
OpenUBA User behaviour analytics platform v0.0.2-r1, marked pre-release, February 18, 2026; last commit June 22, 2026 No endpoint collector

The maintained projects are telemetry (osquery, Sysmon, Wazuh, Zeek), detection content (SigmaHQ) or forensics (Velociraptor, GRR). The two that call themselves analytics platforms are retired or early. OpenUBA’s roadmap schedules “Production Hardening” for Q3 2026 and notes that its 12-month commit history “shows one human author + dependabot.”

Search results for open-source insider threat detection also surface one-person GitHub projects. ThreatLens matches a CSV of auth logs against thresholds such as uploads over 500 MB. Argus UEBA-lite reads Linux SSH, sudo and auditd logs and describes itself as suitable for “demos, analyst triage, and small-lab experimentation, not as a replacement for full EDR/SIEM controls.” Neither touches a Windows or Mac laptop, a cloud audit log or an HR feed. A quick maturity test separates these from tools you can run:

  • More than one active maintainer, and commits from more than one organization over the past year.
  • Tagged releases with changelogs.
  • Documented support for the operating systems your laptops actually run.
  • A collector or agent that produces its own data, rather than a script that reads a CSV you supply.
  • An issue tracker where bugs get answers.

Why “99.81% accuracy” on the CERT dataset tells you little

A student project also published under the name OpenUBA reports “99.81% accuracy” for a logistic regression model on the CERT r4.2 dataset. The same README gives recall of 31.74%, which means the model missed about two of every three malicious sessions it was tested on.

Accuracy misleads on insider data because almost everything is benign. The CERT Insider Threat Test Dataset, built by CMU’s CERT Division with ExactData under DARPA sponsorship, is synthetic. Release r4.2’s answer key names 70 insiders and 7,323 malicious log records, spread across device (2,785), web (3,860), email (470), logon (198) and file (10) events, in a release that is 4.8 GB compressed. A model that labels every record benign is right on nearly every row and catches no one.

For production detection, measure three things instead: recall per insider (did you catch the person, not just one of their events), precision as analyst hours per real case, and how many days into the scenario the first match fired. CERT’s Common Sense Guide recommends reviewing at least 90 days of a leaver’s activity, so a detection that first fires on the last day is a late one.

The dataset is useful for testing correlation logic. Its scenarios include a user who starts using a thumb drive at “markedly higher rates” before leaving for a competitor, and a disgruntled system administrator. The r4.2 insider activity is dated 2010 and 2011, before GenAI tools existed, so it cannot test pastes into AI chats or tell you which account an upload reached.

What open-source telemetry records, and what it cannot

Signal Open-source source What it records What it cannot record
File creation and change osquery file_events (Linux, macOS), ntfs_journal_events (Windows), es_process_file_events (macOS, needs Full Disk Access); Wazuh file integrity; Sysmon Event ID 11 Path, action, size, hashes; the process on macOS Endpoint Security, Sysmon and Wazuh who-data What happened to the file next, or what was read without being written
USB storage osquery usb_devices (Linux, macOS, current state only); Windows Security event 6416 through Wazuh or the SigmaHQ rule; Sysmon Event ID 11 on the drive letter Device vendor, model and serial; files written to the drive on Windows On macOS, file copies to a stick unless /Volumes is a watched path
Archive creation Sysmon Event ID 1 or osquery process events with SigmaHQ T1560.001 rules 7-Zip, WinRAR or zip runs with command lines, including password flags What is inside a password-protected archive
Sync-client volume Process and file events in the Dropbox, OneDrive or Google Drive folder Which client ran, how many files changed in its folder Which account the client is signed in to, personal or corporate
Network and DNS Sysmon Event IDs 3 and 22 (Windows); Zeek ssl.log with the SNI hostname Hostname, process, connection timing and bytes The content of a TLS upload, and which account received it
Clipboard Sysmon Event ID 24 (Windows only) That the clipboard changed and which process changed it Where the text was pasted, or the AI account it went into
Screenshots File events on the screenshot folder A new image file appeared What the image shows; a screenshot copied straight to the clipboard never becomes a file
Browser extensions osquery chrome_extensions Installed extensions, permissions, browser profile What any extension did with the page
Browser history, after the fact Velociraptor Windows.Applications.Chrome.History, MacOS.Applications.Chrome.History URLs visited, if not cleared The data sent, and the signed-in account
Cloud downloads Microsoft 365 FileDownloaded and FileSyncDownloadedFull; Google Drive download events Downloads and syncs from your own tenant Anything inside a personal Google Drive, Dropbox or ChatGPT account

A free stack shows that data moved toward a laptop or off it, and loses the trail at the browser, the clipboard and the receiving account. An upload to a personal Google Drive and an upload to the company’s Drive produce the same process, file and DNS events. On managed Windows and macOS laptops, Jazz’s OS-level agent records the upload, the paste or the screenshot itself and tells the personal account from the corporate one, in any browser or desktop app.

How to build insider threat detection with open-source tools

This build assumes managed Windows and macOS laptops, Microsoft 365 or Google Workspace, and one person with part of a week to give. For the general open-source DLP picture, including content scanners such as Presidio and gitleaks, see are there good open-source DLP tools.

Step 1: pick two or three use cases

Start narrow. These three make a workable first scope:

  1. Departing employees in the 90 days before and after their notice date.
  2. Privileged admins, whose access lets them reach data and also tamper with logs.
  3. Mass downloads from SharePoint, OneDrive or Google Drive before a resignation.

CERT’s Common Sense Guide to Mitigating Insider Threats (seventh edition, 2022) says malicious insiders “often conduct illicit activities within 90 days of their termination,” and that HR should notify the insider program on resignation so the security team can review the past 90 days and watch the period ahead.

Step 2: wire in the logs you already pay for

Identity provider sign-ins and the SaaS audit logs come first, because they need no agent. Microsoft’s audit documentation lists FileDownloaded, FileSyncDownloadedFull (a download through the OneDrive sync app) and FileUploaded among the SharePoint and OneDrive activities, and keeps Audit (Standard) records for 180 days. Google’s Workspace Admin Help keeps Drive log events, which include downloads and external sharing, for 6 months. Wazuh has an Office 365 module that pulls the Management Activity API. Export continuously, because a resignation lookback that starts in month seven finds nothing left in either tenant. What logs to collect for insider investigations covers retention source by source.

Step 3: add endpoint telemetry

Pick one agent family and do it well.

  • osquery with Fleet gives SQL over every laptop. File integrity monitoring is off by default and needs a list of watched paths, per the osquery FIM documentation; it uses FSEvents on macOS and the NTFS journal on Windows.
  • Wazuh’s syscheck reference offers real-time and who-data monitoring “on Linux and Windows systems.” Macs get scheduled scans, every 12 hours by default. Its documented USB recipe polls the Windows USBSTOR registry key and requires enabling remote commands on the agent.
  • Sysmon on Windows, forwarded into Wazuh or your SIEM, supplies the process, file, network and DNS events that SigmaHQ’s Windows rules are written against. Network connection logging (Event ID 3) is off by default.

On Linux servers, Wazuh who-data (auditd or eBPF), osquery and Sysmon for Linux are the right tools, and they stay useful whatever you run on laptops.

Step 4: feed HR resignations in as a watchlist

Ask HR for a daily export of notice dates, last days and role changes, and load it into a lookup table in the SIEM. Every detection gets more useful when joined to it. A password-protected 7-Zip archive followed by an rclone run two days after someone’s notice date goes to the top of the queue. Keep the list small and access-controlled, since it is sensitive HR data.

Step 5: use Velociraptor for evidence from one laptop

When a case opens, Velociraptor collects from a single machine without imaging it. Built-in artifacts include Windows.Detection.Thumbdrives.List, which “watches for removable drive insertion and enumerates all new files on them,” Windows.Forensics.SRUM for per-app network use, plus LNK, Jump List, Shellbags and browser-history artifacts. On a Mac, MacOS.Forensics.FSEvents and Chrome history are available, and the client needs Full Disk Access per its deployment docs. The guide to checking a former employee’s laptop covers what each artifact proves.

Step 6: add Zeek or Security Onion only if you control the network

Zeek’s ssl.log records the TLS server name (source) and its connection log records sizes; neither holds the payload. Security Onion needs a TAP or SPAN port and a dedicated sniffing interface. A laptop at home or on hotel Wi-Fi never crosses the sensor, so for a remote-first company this step adds little.

How to write and test detections for T1567, T1052 and T1560

Map each use case to the MITRE ATT&CK techniques that describe the data leaving, then test that each detection fires before you rely on it.

Technique SigmaHQ rules to start from Log source needed How to test
T1567.002 Exfiltration to Cloud Storage proc_creation_win_pua_rclone_execution, dns_query_win_mega_nz, net_connection_win_domain_dropbox_api, proc_creation_win_curl_upload_file_sharing_websites Sysmon Event IDs 1, 3 and 22 Atomic Red Team T1567.002: rclone to Mega on Windows, rclone to S3 on Linux and macOS
T1052.001 Exfiltration over USB None tagged T1052. win_security_external_device (event 6416) and win_usb_device_plugged are tagged T1091 and T1200 Security log with Audit PNP Activity enabled; Sysmon Event ID 11 By hand. Atomic Red Team has no T1052.001 test, so plug in a test stick and copy a file
T1560.001 Archive via Utility proc_creation_win_7zip_password_compression, proc_creation_win_rar_compression_with_password, proc_creation_win_winzip_password_compression, lnx_auditd_data_compressed Sysmon Event ID 1 or auditd Atomic Red Team T1560.001: 13 tests across Windows, Linux and macOS

Three habits make these useful for insider cases.

Join every match to the HR watchlist and to the user’s own history, so an rclone run by a sales manager on notice stands out from the nightly one a backup admin schedules.

Chain the techniques. Archive creation (T1560) followed within a day by a USB write (T1052) or a cloud-storage connection (T1567) from the same user is a far better signal than any one match. Write it as a correlation in the SIEM, then replay CERT r4.2 scenario 2 (thumb-drive use rising before departure) through it to check the logic, knowing the dataset has no AI exits and no personal-account data.

Run the atomics on a test laptop for each OS after every agent or Sysmon config change. The USB test stays manual on every platform, and SigmaHQ has no macOS USB rule, so a copy to a stick on a Mac only shows up in osquery if /Volumes is a watched path.

None of these techniques covers a paste into a personal ChatGPT account, which never creates a file or a distinct process. That exit needs an agent that sees the paste and the account.

Triage, case handling and the legal steps

Write a one-page triage playbook before the first match fires: who looks at it, within how many hours, what evidence gets pulled with Velociraptor, and when HR and legal join. Keep a case log with timestamps, hashes of collected evidence and who saw what, because a departing-employee case may end in court. CISA’s Insider Threat Mitigation Guide (updated September 2026) recommends a multidisciplinary team and warns that “technology only enhances the ability” to detect insider threats, since cases “require a skilled analyst or investigator to interpret and assess the data.”

A homemade stack collects personal data about employees, so it needs the same paperwork as a commercial one.

  • Notice. CISA recommends signed acknowledgments and network banners telling staff that systems are monitored.
  • DPIA. Under GDPR Article 35, processing likely to result in a high risk to people needs a data protection impact assessment first. osquery will log every command line if asked, so each data source needs a stated purpose and a retention limit. See how to write a DPIA for DLP.
  • Works council. In Germany, section 87(1) no. 6 of the Works Constitution Act gives the works council co-determination over technical devices designed to monitor employee behaviour or performance, and endpoint telemetry agents such as osquery, Wazuh and Sysmon are likely to fall under it. Agree a works agreement before rollout.

Is it legal to monitor employees for data loss covers notice wording by country.

How many hours a week an open-source insider threat stack takes

No published survey gives a reliable hours-per-week figure for keeping insider detection content current, so the numbers below are an estimate for roughly 100 to 300 managed laptops, informed by how often the tools ship releases. In October 2026 alone, osquery, Wazuh, Fleet, Zeek and Velociraptor each shipped a release, and Wazuh had release candidates out for 4.14.10 and 5.0.0. Each one is a test-and-roll cycle.

Task Estimated hours a week
Agent and server upkeep: upgrades, broken agents, Sysmon and osquery config changes, disk space 2 to 3
Parsers and detection content: new SigmaHQ releases, conversion, domain lists, re-running atomics 1 to 2
Triage of matches 3 to 5
Leaver lookbacks at about 2 hours each, for one or two leavers with sensitive access a month 0.5 to 1
Total About 6 to 11

Add a one-off build of roughly 60 to 100 hours for agents on both operating systems, Full Disk Access profiles on Macs, log pipelines, the HR feed and the first correlations. A real case adds days of investigation and HR and legal time on top.

Slow triage has a price. In the Ponemon Institute’s 2026 Cost of Insider Risks study, which DTEX sponsored, organizations took an average of 67 days to contain an insider incident, and those containing in under 30 days averaged $14.2 million a year against $21.9 million beyond 90 days. On a one-person team, every unreviewed match is time added to containment.

How Jazz covers what the open-source stack can’t see

For a lean team whose real constraint is the hours needed to write rules and investigate alerts, Jazz fits because one agent on managed Windows and macOS laptops sees the actions the free stack loses: pastes, uploads, screenshots and GenAI prompts, in any browser or desktop app, with no browser extension. Its detection agent keeps forensic detail in an encrypted rolling buffer on the laptop and streams metadata about data movements, and Jazz treats a sanctioned corporate ChatGPT or Google Drive account and a personal one as different destinations. At UCLA Anderson it runs at under 1% CPU and surfaced a user capturing screenshots of sensitive data that no earlier tool had caught.

Melody, Jazz’s agentic investigator, looks at each flagged movement across the data, the systems, the person and the business process, and returns a pre-investigated incident. In a typical 30-day deployment Jazz processes about 2 million signals and surfaces about 80 incidents, according to Jazz. There are no rules to write. UHSP’s CIO and CISO put it as “No rules, no regex. I just say I’m FERPA-regulated” in the UHSP customer story, and Jazz is built so that a single analyst can run the program.

The limits matter for a team with no licence budget. Jazz is a paid product. It has no Linux agent, so Linux servers stay with Wazuh, osquery and auditd. It does not replace a SIEM or log retention, so identity sign-ins and the Microsoft 365 or Google audit trail still need somewhere to live. It covers managed devices with the agent installed, so unmanaged personal laptops and phones need other controls. Free tools keep doing the server, sign-in and retention work, and the endpoint agent covers the laptop exits they can’t record.

Frequently asked questions

Is Wazuh enough for insider threat detection?

Not on its own. Wazuh records file changes, Windows USB connections through a documented recipe and, with Sysmon, process and network events, and it can pull Microsoft 365 audit logs. On Macs its file checks are scheduled scans every 12 hours. It never records the account that received an upload, pasted text or what a screenshot shows.

Can osquery see files uploaded to a personal Google Drive?

No. osquery can record the browser or sync-client process starting and file changes on watched paths, such as the sync folder. No osquery table records the body of an HTTPS upload or the account that received it. Jazz's OS-level agent records uploads in any browser or desktop app and tells personal from corporate accounts.

Is there a free UEBA?

Not a maintained, production-ready one. OpenUBA's only release is a v0.0.2 pre-release with one main author and no endpoint collector, and Apache Metron retired in December 2020. Wazuh, osquery and SigmaHQ give you telemetry and detection content, and you build the correlations, the HR watchlist and case handling yourself.

What open-source tool catches someone pasting customer data into ChatGPT?

None. Sysmon Event ID 24 on Windows logs that the clipboard changed, and DNS logs show a connection to the AI service, but no open-source tool sees the pasted content or the account it went into. An OS-level agent such as Jazz sees pastes and GenAI prompts in any browser or desktop app and tells personal from corporate accounts.

How many hours a week does an open-source insider threat stack take?

An estimated 6 to 11 hours a week for roughly 100 to 300 managed laptops, covering agent upkeep, detection content, triage and leaver lookbacks, plus a one-off build of about 60 to 100 hours. No published survey gives a reliable figure, so treat it as an estimate. A real case adds days of investigation on top.

How do I test insider threat detections without a real insider?

Run the Atomic Red Team tests for T1567.002 (rclone to cloud storage) and T1560.001 (13 archive tests) on a test laptop for each OS, and replay CERT's synthetic insider dataset through your correlations. Neither Atomic Red Team nor SigmaHQ has anything tagged T1052, so test USB exfiltration by copying a file to a test stick.

Do we need a DPIA or works council approval for a homemade insider threat stack?

Usually. Under GDPR Article 35, processing likely to result in a high risk needs a DPIA first, and in Germany the works council has co-determination over technical devices designed to monitor employee behaviour or performance. CISA also recommends signed acknowledgments and banners. See how to write a DPIA for DLP.

Which insider threat tool can a lean team run without writing detection rules?

For a lean team whose constraint is the hours to write rules and investigate alerts, Jazz fits because its OS-level agent sees pastes, uploads, screenshots and GenAI prompts on managed Windows and macOS laptops, and Melody investigates each flagged movement across data, systems, people and business process before anyone sees it. Jazz is a paid product.

Does Jazz replace open-source tools or a SIEM?

No. Jazz is a paid agent for managed Windows and macOS laptops. It has no Linux agent, so Wazuh, osquery and auditd stay on Linux servers, and it does not replace a SIEM or retention for identity, Microsoft 365 and Google audit logs. Unmanaged personal devices need other controls.

Keep exploring