Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- // Configure the daemon below:
- "options": {
- "tls_hostname":"192.168.136.131:8080",
- "enroll_tls_endpoint":"/api/v1/osquery/enroll",
- "host_identifier":"uuid",
- "tls_server_certs":"cert131.pem",
- "enroll_secret_path":"secret.txt",
- "disable_enrollment":"false",
- // Select the osquery config plugin.
- "config_plugin":"tls",
- "config_tls_endpoint":"/api/v1/osquery/config",
- //"config_refresh":10,
- "config_tls_refresh":10,
- "config_tls_max_attempts":100,
- "disable_distributed":"false",
- "distributed_plugin":"tls",
- "distributed_interval":10,
- "distributed_tls_max_attempts":3,
- "distributed_tls_read_endpoint":"/api/v1/osquery/distributed/read",
- "distributed_tls_write_endpoint":"/api/v1/osquery/distributed/write",
- //"logger_plugin":"tls",
- //"logger_tls_endpoint":"/api/v1/osquery/log",
- //"logger_tls_period":10,
- //"tls_secret_always":"true",
- "pack_delimiter":"/",
- //"disable_logging":"false",
- "disable_forensic":"false",
- "disable_extensions":"false",
- "logger_stderr":"true",
- "utc": "true"
- },
- // Decorators are normal queries that append data to every query.
- "decorators": {
- "load": [
- "SELECT uuid AS host_uuid FROM system_info;",
- "SELECT user AS username FROM logged_in_users ORDER BY time DESC LIMIT 1;"
- ]
- },
- // Add default osquery packs or install your own.
- //
- // There are several 'default' packs installed with 'make install' or via
- // packages and/or Homebrew.
- //
- // Linux: /usr/share/osquery/packs
- // OS X: /var/osquery/packs
- // Homebrew: /usr/local/share/osquery/packs
- // make install: {PREFIX}/share/osquery/packs
- //
- "packs": {
- // "osquery-monitoring": "/usr/share/osquery/packs/osquery-monitoring.conf",
- // "incident-response": "/usr/share/osquery/packs/incident-response.conf",
- // "it-compliance": "/usr/share/osquery/packs/it-compliance.conf",
- // "osx-attacks": "/usr/share/osquery/packs/osx-attacks.conf",
- // "vuln-management": "/usr/share/osquery/packs/vuln-management.conf",
- // "hardware-monitoring": "/usr/share/osquery/packs/hardware-monitoring.conf",
- // "ossec-rootkit": "/usr/share/osquery/packs/ossec-rootkit.conf",
- // "windows-hardening": "C:\\ProgramData\\osquery\\packs\\windows-hardening.conf",
- // "windows-attacks": "C:\\ProgramData\\osquery\\packs\\windows-attacks.conf"
- },
- // Provides feature vectors for osquery to leverage in simple statistical
- // analysis of results data.
- //
- // Currently this configuration is only used by Windows in the Powershell
- // Events table, wherein character_frequencies is a list of doubles
- // representing the aggregate occurence of character values in Powershell
- // Scripts. A default configuration is provided which was adapated from
- // Lee Holmes cobbr project:
- // https://gist.github.com/cobbr/acbe5cc7a186726d4e309070187beee6
- //
- "feature_vectors": {
- "character_frequencies": [
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.00045, 0.01798,
- 0.0, 0.03111, 0.00063, 0.00027, 0.0, 0.01336, 0.0133,
- 0.00128, 0.0027, 0.00655, 0.01932, 0.01917, 0.00432, 0.0045,
- 0.00316, 0.00245, 0.00133, 0.001029, 0.00114, 0.000869, 0.00067,
- 0.000759, 0.00061, 0.00483, 0.0023, 0.00185, 0.01342, 0.00196,
- 0.00035, 0.00092, 0.027875, 0.007465, 0.016265, 0.013995, 0.0490895,
- 0.00848, 0.00771, 0.00737, 0.025615, 0.001725, 0.002265, 0.017875,
- 0.016005, 0.02533, 0.025295, 0.014375, 0.00109, 0.02732, 0.02658,
- 0.037355, 0.011575, 0.00451, 0.005865, 0.003255, 0.005965, 0.00077,
- 0.00621, 0.00222, 0.0062, 0.0, 0.00538, 0.00122, 0.027875,
- 0.007465, 0.016265, 0.013995, 0.0490895, 0.00848, 0.00771, 0.00737,
- 0.025615, 0.001725, 0.002265, 0.017875, 0.016005, 0.02533, 0.025295,
- 0.014375, 0.00109, 0.02732, 0.02658, 0.037355, 0.011575, 0.00451,
- 0.005865, 0.003255, 0.005965, 0.00077, 0.00771, 0.002379, 0.00766,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
- 0.0, 0.0, 0.0
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment