This repository includes osquery extensions developed and maintained by Trail of Bits.
- Clone the osquery repository
- Symlink the extensions you want to build into the external osquery directory. Use the following link name: "extension_<name>".
- Build osquery
- Run 'make externals'
cd /src
git clone https://github.com/facebook/osquery.git
cd /src/osquery-extensions
ln -s efigy /src/osquery/external/extension_efigy
cd /src/osquery
make sysprep
make deps
make -j `nproc`
make externals
To quickly test the extension, you can either start it from the osqueryi shell, or launch it manually and wait for it to connect to the running osquery instance.
osqueryi --extension /path/to/extension
See the osquery documentation on extensions for further information.
Do you have an idea for an osquery extension? Please file an issue for it. We welcome contributions of bug fixes, feature requests, and extensions.
The code within this repository is licensed under the Apache 2.0 license.