
Explore osquery, the open source tool from Facebook that enables security analysts to monitor and query information about Windows, Mac, and Linux systems for incident response and OS security.
Download the Linux version of osquery from query.io and save it. Copy the installer to the root of the system, extract it, and launch the osquery interface.
Explore the osquery interactive shell, a SQLite-like console that lets you list tables, view schemas with dot schema, and inspect process and system information.
Explore osquery shell by running SQL queries, selecting data from tables like users and OS version, and identifying system details across Linux, Windows, and Mac using version 5.3.0.
Explore osquery schema and table details with dot schema commands and dot tables, and a web-based schema view, then filter by operating system to see Linux, Mac, and Windows tables.
Master Osquery's SQL subset to query system data via the command line interface, selecting columns from tables like processes and users, and filtering with where and like to count results.
Explore osquery extensions that add new tables via plugins from GitHub, expanding query capabilities with firewall, user history, and OS X profiles, while noting security risks.
Explore Linux osquery with live queries to learn kernel version, os version, uptime, users, processes, and firefox add-ons; use schema and iptables for deeper inspection.
Discover how osquery stores your past queries in a hidden directory and the dot osquery history file, revealing all commands you previously ran on Linux.
osquery is an operating system instrumentation framework for collecting information from operating systems, hypervisors and applications. It is often used to collect information for security forensics, application performance management and compliance auditing. osquery supports multiple platforms including Windows, Linux and macOS.
The osquery toolset provides a SQL-based interface for querying operating system data. This allows complex queries to be constructed within a familiar environment that is both robust and secure. A query may consist of individual or aggregated components that are composed together with AND / OR operators to form a complete query. This provides the flexibility that is unique to SQL-based interfaces and allows users to define a flexible query workflow.
It is a project that aims to make operating systems more transparent. It does this by collecting information from the operating system and making it available to clients (the osquery client, shipped as part of osqueryd), which can then be queried using a SQL-like query language.
A lot of command-line tools such as ps, lsof, netstat or ss are available on every Linux distribution and allow you to query the operating system. However, these tools often require particular privilege to run (typically root) and have a narrow scope. No privilege escalation is involved in using the OSQuery command line tool.
In this course you will learn how to use OSQuery to find information about your computers and servers. It is a beginners course and no prior knowledge is required, not even about SQL. If you are a sysadmin, developer, security researcher then this course is for you.