[KongchangAI]
Productosqueryd

osquery

An open-source endpoint visibility tool released by Facebook (now Meta) in 2014 that abstracts the operating system as a relational database, enabling SQL-based queries of system processes, network connections, and other runtime state across Linux, macOS, and Windows. It serves as a foundational infrastructure component in modern endpoint detection and response (EDR) systems.

Timeline (last 90 days)

Sep 12

osquery is an endpoint visibility tool open-sourced by Facebook (now Meta) in 2014.

Unverified50%
Sep 12

The core concept of osquery is to abstract the operating system as a relational database, mapping system state information to queryable data tables.

Unverified50%
Sep 12

osquery can use SQL syntax to obtain consistent query results across Linux, macOS, and Windows platforms.

Unverified50%
Sep 12

osquery's processes table reads the /proc filesystem on Linux, calls the libproc API on macOS, and calls the Win32/WMI interface on Windows.

Unverified50%
Sep 12

osquery's virtual tables dynamically fetch data only when a query is executed rather than pre-caching it, so the cost of a full table scan represents real system call overhead.

Unverified50%
Sep 12

osquery's built-in scheduler periodically executes queries at preset intervals and sends result differences to the logging pipeline, a pattern known as differential queries.

Unverified50%
Sep 12

Poorly designed osquery queries (such as frequently scanning the entire filesystem, performing unindexed joins on high-cardinality tables, or setting excessively short query intervals) can cause CPU usage to spike on large-scale hosts.

Unverified50%
Sep 12

Fleet is currently the most mainstream open-source osquery management platform, providing a Web UI and API for uniformly distributing queries, managing host inventory, and collecting results.

Unverified50%
Sep 12

osquery typically writes results to local log files, which are then forwarded by log collection agents such as Filebeat and Fluentd to SIEM/data lakes such as Elasticsearch, Splunk, or AWS S3.

Unverified50%
Sep 12

The data pipeline of "osquery → log collection → SIEM → alerting" is a typical pattern for enterprise endpoint detection architecture.

Unverified50%

1 more timeline events

All Facts (11)

Unverified

osquery is an endpoint visibility tool open-sourced by Facebook (now Meta) in 2014.

50%
Unverified

The core concept of osquery is to abstract the operating system as a relational database, mapping system state information to queryable data tables.

50%
Unverified

osquery can use SQL syntax to obtain consistent query results across Linux, macOS, and Windows platforms.

50%
Unverified

osquery's processes table reads the /proc filesystem on Linux, calls the libproc API on macOS, and calls the Win32/WMI interface on Windows.

50%
Unverified

osquery's virtual tables dynamically fetch data only when a query is executed rather than pre-caching it, so the cost of a full table scan represents real system call overhead.

50%
Unverified

osquery's built-in scheduler periodically executes queries at preset intervals and sends result differences to the logging pipeline, a pattern known as differential queries.

50%
Unverified

Poorly designed osquery queries (such as frequently scanning the entire filesystem, performing unindexed joins on high-cardinality tables, or setting excessively short query intervals) can cause CPU usage to spike on large-scale hosts.

50%
Unverified

Fleet is currently the most mainstream open-source osquery management platform, providing a Web UI and API for uniformly distributing queries, managing host inventory, and collecting results.

50%
Unverified

osquery typically writes results to local log files, which are then forwarded by log collection agents such as Filebeat and Fluentd to SIEM/data lakes such as Elasticsearch, Splunk, or AWS S3.

50%
Unverified

The data pipeline of "osquery → log collection → SIEM → alerting" is a typical pattern for enterprise endpoint detection architecture.

50%
Unverified

When adopting an osquery detection query library, gray-scale testing should first be conducted in a small-scale environment to evaluate performance impact, rather than blindly deploying to the full fleet.

50%

Source Articles