osquery
osquery is an open-source endpoint telemetry framework originally developed by Facebook (Meta). It is open source under Apache-2.0 OR GPL-2.0-only. It runs on Linux, macOS, and Windows.
Updated
- Pricing
- Open Source
- License
- Apache-2.0 OR GPL-2.0-only
- Platforms
- Linux, macOS, Windows
- Category
- SIEM Tools
What Is osquery?
osquery is an open-source endpoint telemetry framework originally developed by Facebook (Meta). It exposes operating system data as SQL tables, allowing security teams to query running processes, network connections, file hashes, and system configurations using standard SQL syntax.
Use Cases
SQL-based endpoint telemetry collection, threat hunting, and compliance auditing across fleet endpoints.
Strengths and Limitations
Strengths
- +SQL-based queries explore operating system data such as users, processes, and listening ports.
- +Cross-platform support for Linux, macOS, and Windows from a single agent.
- +Fleet management projects such as Fleet and Zentral build on osquery.
Limitations
- -Most tables are generated at query time; continuous event auditing must be enabled per source and can affect host performance.
- -Fleet-wide distributed queries require a separate server that implements the remote settings API, such as Fleet or Zentral.
Defensive Use
Fleet-wide endpoint visibility, threat hunting, and configuration compliance auditing via SQL queries.
osquery Alternatives
3 tools| Tool | License | Platforms | Pricing |
|---|---|---|---|
| Fleet Open device management and osquery fleet platform for querying and managing endpoints. | MIT (core) | Linux, macOS, Windows, ChromeOS, iOS, Android | Free / Commercial |
| Velociraptor Endpoint visibility and digital forensics tool using VQL queries to collect system artifacts and hunt threats across hosts. | AGPL-3.0-or-later | Linux, macOS, Windows, FreeBSD | Open Source |
| Wazuh Open-source SIEM and XDR platform providing endpoint monitoring, log analysis, file integrity checks, and threat detection. | GPL-2.0-only WITH OpenSSL-exception | Linux, Windows, macOS, Solaris, AIX, HP-UX | Free / Commercial |
Frequently Asked Questions
What is osquery?→
osquery is an open-source endpoint telemetry framework originally developed by Facebook (Meta). It exposes operating system data as SQL tables, allowing security teams to query running processes, network connections, file hashes, and system configurations using standard SQL syntax.
What is osquery used for?→
SQL-based endpoint telemetry collection, threat hunting, and compliance auditing across fleet endpoints.
What are the strengths of osquery?→
- +SQL-based queries explore operating system data such as users, processes, and listening ports.
- +Cross-platform support for Linux, macOS, and Windows from a single agent.
- +Fleet management projects such as Fleet and Zentral build on osquery.
What are the limitations of osquery?→
- +Most tables are generated at query time; continuous event auditing must be enabled per source and can affect host performance.
- +Fleet-wide distributed queries require a separate server that implements the remote settings API, such as Fleet or Zentral.
How is osquery used defensively?→
Fleet-wide endpoint visibility, threat hunting, and configuration compliance auditing via SQL queries.