fleet/articles/osquery-a-tool-to-easily-ask-questions-about-operating-systems.md
Noah Talerman b0e37accc9
Update "Learn how to use Fleet" for Fleet Sandbox (#7142)
- Update "Learn how to use Fleet" docs page to walk a Fleet Sandbox user through adding their device and running a query
- Add a "Get operating system information" query to standard query library for the "Learn how to use Fleet" walkthrough
- Update Fleet's top level README to point users who want to try Fleet to Fleet Sandbox
- Update "How to install osquery..." (macOS, Windows, Linux) blog posts to point users who want to try Fleet to Fleet Sandbox
- Move `fleetctl preview` questions to "Contributing" FAQ section in docs. This is because `fleetctl preview` is now a testing tool for Fleet contributors
- Update "Deploying" docs to point users who want to try Fleet to Fleet Sandbox
2022-08-19 14:13:15 -04:00

68 lines
5.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Osquery: a tool to easily ask questions about operating systems
![osquery](../website/assets/images/articles/osquery-a-tool-to-easily-ask-questions-about-operating-systems-cover-1600x900@2x.jpg)
## What is osquery?
Osquery is an easy-to-use operating system monitoring tool that uses SQL to expose a devices operating system as a highly performant relational database. But what does that mean? In short, osquery allows you to ask questions about your operating system. More than that, though:
- Osquery is compatible with any operating system and unifies how we ask questions across Windows, macOS, and Linux distributions like Ubuntu or Debian.
- It gives access to the underlying state of an operating system.
- Its fast and lightweight.
- Its open-source and easy to use by folks of varying technical skill levels.
- Its a single-agent solution for meeting many of the needs of security and admin teams — who typically have to deploy and manage several proprietary and expensive device management tools.
- And lastly, its a breath of fresh air compared to other operating system monitoring tools, which often have complicated learning curves and consume many system resources.
With simple SQL statements, osquery can easily pull information about an operating systems status and health, from something simple, such as getting the uptime data for a MacBook, or checking its battery health, to checking for vulnerabilities on your CentOS servers.
## What can you use osquery for?
So, weve established that osquery is a powerful, flexible tool that uses SQL to get real-time data to monitor and manage devices. Now lets look at some of its uses.
### Osquery for vulnerability management
With osquery, you can easily monitor devices for vulnerabilities and misconfigurations.
osquery-a-tool-to-easily-ask-questions-about-operating-systems
- Check for security misconfigurations.
- See if unwanted or malicious applications or extensions are running.
- Verify the status of firewalls and drive encryption.
- Check for outdated or vulnerable operating system and software versions.
### Osquery for incidence response / digital forensics
Use osquery to investigate devices accurately, in real-time, and then feed your osquery data into your SIEM (Security Information and Event Manager) of choice. Incident responders can use these event logs to help them detect any digital footprints left behind by intruders and respond to threats swiftly before they become an emergency.
- Osquery for support teams / CPEs (Client Platform Engineers)
- Osquery support teams can quickly diagnose issues with any device in their fleet by querying that device for information.
- For Client Platform Engineers(CPEs), osquery helps make it easy to diagnose a device remotely once you deploy osquery at scale.
### Osquery for Zero Trust
In the wake of Covid-19, theres been an extremely high occurrence of breaches. Implementing Zero Trust Support teams with osquery can help them quickly diagnose issues with a specific device in their fleet.
### How to install osquery
This article is only a high-level look at what osquery is capable of. If you are interested in trying out osquery for yourself, follow the installation guides for [macOS](https://osquery.readthedocs.io/en/latest/installation/install-macos/), [Windows](https://osquery.readthedocs.io/en/latest/installation/install-windows/), [Linux](https://osquery.readthedocs.io/en/latest/installation/install-linux/), and [FreeBSD](https://osquery.readthedocs.io/en/latest/installation/install-freebsd/).
### Deploy osquery at scale
To deploy osquery at scale across your organizations devices, an osquery manager, such as [Fleet](https://fleetdm.com/), is required. Fleet makes osquery easy to deploy and scales to your organizations needs. With Fleet, you can supercharge osquery to:
- Maintain secure laptops and servers.
- Interpret incidents accurately and make decisions using real-time device data.
- Notify your team when a CVE is detected.
- Verify changes made with other systems in your security environment.
- Keep an accurate inventory of all your devices and software, including those with vulnerabilities.
- Meet compliance goals.
- Automate security workflows in a single application.
![A screenshot of the Fleet UI](../website/assets/images/articles/osquery-a-tool-to-easily-ask-questions-about-operating-systems-1-800x450@2x.png)
Ready to give Fleet a try? Head over to our [get started page](https://fleetdm.com/try-fleet/register), and you can be up and running with a sandbox environment in less than 5 minutes. Or you can check out the [docs](https://fleetdm.com/docs) to learn how to deploy Fleet across your organization.
<meta name="category" value="guides">
<meta name="authorGitHubUsername" value="dominuskelvin">
<meta name="authorFullName" value="Kelvin Omereshone">
<meta name="publishedOn" value="2022-04-04">
<meta name="articleTitle" value="Osquery: a tool to easily ask questions about operating systems">
<meta name="articleImageUrl" value="../website/assets/images/articles/osquery-a-tool-to-easily-ask-questions-about-operating-systems-cover-1600x900@2x.jpg">