# What is OSQuery?

![](https://776002387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJAvxfpcYDlqBJLNIwwX%2Fuploads%2FbccLXrls094yhxlAhrJc%2Fosquery.png?alt=media\&token=01c83e60-7040-40e3-a493-07027dfe4e18)

**OSQuery** is an open source service that allows its users to look at device details using basic SQL commands. This open-source service was created by Meta, formerly known as Facebook. To learn more about what this service does, visit their [website](https://osquery.io/).

Using **OSQuery**, users are able to find a lot of details about the machine it is installed on such as who currently has a session on the box, what services are currently running that do not have binaries associated with them, which mounted disks are encrypted, and tons more using SQL queries!

**OSQuery** is compatible with Windows, macOS, CentOS, FreeBSD, and almost every Linux OS. This service has no dependencies either making it extremely convenient and easy to install! Below are install guides for different Operating Systems.

![](https://776002387-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbJAvxfpcYDlqBJLNIwwX%2Fuploads%2FXbh8r6p8Jo331pBkQV8P%2Fmeta.png?alt=media\&token=fe378f4a-d5fb-447e-817e-6d60ea7ee465)
