SQL powered operating system instrumentation, monitoring, and analytics
open sourceApache-2.0 OR GPL-2.0-onlyself-hostablefree
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.
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 |
Alternatives
The same job
These do what osquery does.
- Wazuh The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
- Velociraptor Endpoint monitoring, digital forensic and cyber response platform
- Steampipe Query cloud APIs, code and more with SQL, with no ETL
