Understanding and leveraging the osquery daemon