Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Cyber Security: Master osquery
Rating: 4.1 out of 5(329 ratings)
11,865 students

Cyber Security: Master osquery

Query your system
Created byPeter A
Last updated 7/2022
English
English [Auto],Korean [Auto],

What you'll learn

  • How to use OSQuery
  • How to setup OSQuery
  • SQL queries
  • Analyze your server

Course content

1 section9 lectures39m total length
  • Introduction3:29

    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.

  • Installation (Linux)3:48

    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.

  • Interact with OSQuery shell4:05

    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.

  • OSQuery shell 24:48

    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.

  • Schema info5:16

    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.

  • Create queries8:55

    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.

  • Extensions2:50

    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.

  • OSQuery examples (Linux)5:30

    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.

  • History file0:49

    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.

Requirements

  • Some SQL skills beneficial but not required

Description

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.



Who this course is for:

  • Beginner Cyber Security professionals
  • Ethical Hackers
  • Software Developers