# osquery

> SQL powered operating system instrumentation, monitoring, and analytics

Source: https://talira.ai/catalog/osquery-0rf48wh5
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [security / host intrusion detection](https://talira.ai/categories/security/host-intrusion-detection)
- Platforms: windows, macos, linux[^2]
- Licence: Apache-2.0 OR GPL-2.0-only[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source, dual-licensed Apache 2.0 or GPL 2.0.
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Plugins: yes[^2]
- Backed by: [osquery](https://talira.ai/orgs/osquery.md)

osquery exposes an operating system as a relational database, so running processes, loaded kernel modules, open network connections, browser plugins, file hashes and hardware events can be explored with SQL. Its interactive shell, osqueryi, is used for incident response and troubleshooting, and its daemon, osqueryd, runs scheduled queries across a fleet of Windows, macOS and Linux hosts and logs state changes through logging plugins. It also does file integrity monitoring, process auditing and YARA scanning, and is dual-licensed Apache 2.0 or GPL 2.0.

## Links

- Website: https://osquery.io/
- GitHub: https://github.com/osquery/osquery
- Docs: https://osquery.readthedocs.io/en/stable/

## Problems it solves

- find out which machines in our fleet are running a vulnerable process or package
- query running processes, open ports and logged-in users across all our laptops with SQL
- monitor critical files for changes on our servers
- audit which processes ran and what they connected to during an incident
- check every host for a browser extension or kernel module we've banned
- collect security telemetry from macOS, Windows and Linux endpoints into our SIEM
- scan endpoints with YARA rules for malware indicators
- explore what's happening on one machine with SQL instead of a dozen different commands

## Features

- SQL tables for processes, kernel modules, network connections, browser plugins, hardware events and file hashes
- osqueryi interactive SQL shell
- osqueryd daemon that schedules queries across hosts and logs state changes
- file integrity monitoring
- process auditing
- YARA scanning
- anomaly detection
- logging and configuration plugins
- extensions SDK for new tables
- file carving

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.78 out of 1.
Signals: maintenance 1.00, adoption 0.88, momentum 0.67, community 1.00, backing 0.30, extensibility 0.40.

- last commit 4 days ago
- 158 commits in the last 90 days
- latest release 5.24.1 26 days ago
- 23.8k GitHub stars
- 557 contributors
- accepts sponsorship (Community Bridge)
- has a company behind it
- has a plugin system

## Alternatives

- [Wazuh](https://talira.ai/catalog/wazuh-8mb3zkae.md): The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
- [Velociraptor](https://talira.ai/catalog/velociraptor-e3f3hn5d.md): Endpoint monitoring, digital forensic and cyber response platform
- [Steampipe](https://talira.ai/catalog/steampipe-tt8ts5wv.md): Query cloud APIs, code and more with SQL, with no ETL

## Sources

[^1]: https://github.com/osquery/osquery/blob/master/LICENSE (checked 23 Nov 2026)
[^2]: https://osquery.readthedocs.io/en/stable/ (checked 23 Nov 2026)
