Osquery logo

Osquery

Endpoint Security (Antivirus/EPP)

Open Source
OpenFrame Selected
Free Tier
Self-hosted
OpenMSP Score
50
29
Reddit Impact Score
Github Score
278M
23KStars
2KForks
6KCommits
OtherLicense
Mar 12, 2026Last commit
Osquery is a powerful open source operating system instrumentation framework that provides a unique approach to endpoint security and system monitoring. Originally developed by Facebook in 2014 and now maintained by the Linux Foundation, Osquery transforms operating systems into relational databases, enabling SQL-based queries for comprehensive system visibility. Key capabilities include: • SQL-Based Querying: Use familiar SQL syntax to extract detailed system information across endpoints • Cross-Platform Support: Native support for Windows, macOS, Linux, and FreeBSD operating systems • Comprehensive Data Collection: Monitor running processes, network connections, file hashes, user logins, hardware events, and system configurations • Real-Time Monitoring: Continuous event collection including file modifications, process execution, and system changes • Security Applications: Threat hunting, incident response, compliance auditing, and anomaly detection • Extensible Architecture: Thrift-based extensions API for custom tables and functionality • Universal Agent: Single agent solution that normalizes data across different operating systems • Integration Ready: Export capabilities with existing security tools and SIEM platforms Osquery serves as both an interactive command-line tool (osqueryi) and a daemon service (osqueryd) for scheduled queries. With over 272 available tables, it provides unprecedented visibility into endpoint activities, making it essential for security teams conducting investigations, compliance monitoring, and proactive threat detection across diverse operating environments.
image media
1 / 2

Key Features

SQL-based OS queries

Exposes operating system information as a relational database queryable with SQL, making system interrogation accessible to analysts.

Real-time monitoring events

Event-based tables capture system changes in real-time including file modifications, process launches, and network connections.

File integrity monitoring

Monitors specified files and directories for changes with hashing and attribute tracking for detecting unauthorized modifications.

Cross-platform support

Consistent SQL interface across Windows, macOS, Linux, and FreeBSD enabling unified fleet querying regardless of OS.

Performance metrics collection

Gathers detailed performance data including CPU, memory, disk, and network statistics for capacity planning and anomaly detection.

Configuration assessment queries

Pre-built queries assess security configurations against benchmarks like CIS with continuous compliance monitoring capabilities.

Pros and Cons

Pros

SQL interface

Innovative SQL interface for system information

Open source

Fully open source with active community

Cross-platform

Works across Windows, macOS, and Linux

Low footprint

Lightweight with minimal system impact

Integration friendly

Easy integration with other security tools

Cons

Not a complete EDR

Visibility tool rather than complete EDR solution

Limited response

Limited automated response capabilities

Query expertise

Requires SQL and system knowledge

Management overhead

Requires additional tools for fleet management

Feature Comparison

Comments

No Comments Yet

Be the first to share your experience with Osquery.