Guest User

Untitled

a guest
Jun 10th, 2018
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. {
  2. // Configure the daemon below:
  3. "options": {
  4.  
  5. "tls_hostname":"192.168.136.131:8080",
  6. "enroll_tls_endpoint":"/api/v1/osquery/enroll",
  7. "host_identifier":"uuid",
  8.  
  9.  
  10. "tls_server_certs":"cert131.pem",
  11. "enroll_secret_path":"secret.txt",
  12. "disable_enrollment":"false",
  13. // Select the osquery config plugin.
  14. "config_plugin":"tls",
  15. "config_tls_endpoint":"/api/v1/osquery/config",
  16. //"config_refresh":10,
  17. "config_tls_refresh":10,
  18. "config_tls_max_attempts":100,
  19. "disable_distributed":"false",
  20. "distributed_plugin":"tls",
  21. "distributed_interval":10,
  22. "distributed_tls_max_attempts":3,
  23. "distributed_tls_read_endpoint":"/api/v1/osquery/distributed/read",
  24. "distributed_tls_write_endpoint":"/api/v1/osquery/distributed/write",
  25. //"logger_plugin":"tls",
  26. //"logger_tls_endpoint":"/api/v1/osquery/log",
  27. //"logger_tls_period":10,
  28. //"tls_secret_always":"true",
  29. "pack_delimiter":"/",
  30. //"disable_logging":"false",
  31. "disable_forensic":"false",
  32. "disable_extensions":"false",
  33. "logger_stderr":"true",
  34.  
  35. "utc": "true"
  36. },
  37.  
  38.  
  39. // Decorators are normal queries that append data to every query.
  40. "decorators": {
  41. "load": [
  42. "SELECT uuid AS host_uuid FROM system_info;",
  43. "SELECT user AS username FROM logged_in_users ORDER BY time DESC LIMIT 1;"
  44. ]
  45. },
  46.  
  47. // Add default osquery packs or install your own.
  48. //
  49. // There are several 'default' packs installed with 'make install' or via
  50. // packages and/or Homebrew.
  51. //
  52. // Linux: /usr/share/osquery/packs
  53. // OS X: /var/osquery/packs
  54. // Homebrew: /usr/local/share/osquery/packs
  55. // make install: {PREFIX}/share/osquery/packs
  56. //
  57. "packs": {
  58. // "osquery-monitoring": "/usr/share/osquery/packs/osquery-monitoring.conf",
  59. // "incident-response": "/usr/share/osquery/packs/incident-response.conf",
  60. // "it-compliance": "/usr/share/osquery/packs/it-compliance.conf",
  61. // "osx-attacks": "/usr/share/osquery/packs/osx-attacks.conf",
  62. // "vuln-management": "/usr/share/osquery/packs/vuln-management.conf",
  63. // "hardware-monitoring": "/usr/share/osquery/packs/hardware-monitoring.conf",
  64. // "ossec-rootkit": "/usr/share/osquery/packs/ossec-rootkit.conf",
  65. // "windows-hardening": "C:\\ProgramData\\osquery\\packs\\windows-hardening.conf",
  66. // "windows-attacks": "C:\\ProgramData\\osquery\\packs\\windows-attacks.conf"
  67. },
  68.  
  69. // Provides feature vectors for osquery to leverage in simple statistical
  70. // analysis of results data.
  71. //
  72. // Currently this configuration is only used by Windows in the Powershell
  73. // Events table, wherein character_frequencies is a list of doubles
  74. // representing the aggregate occurence of character values in Powershell
  75. // Scripts. A default configuration is provided which was adapated from
  76. // Lee Holmes cobbr project:
  77. // https://gist.github.com/cobbr/acbe5cc7a186726d4e309070187beee6
  78. //
  79. "feature_vectors": {
  80. "character_frequencies": [
  81. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  82. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  83. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  84. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  85. 0.0, 0.0, 0.0, 0.0, 0.0, 0.00045, 0.01798,
  86. 0.0, 0.03111, 0.00063, 0.00027, 0.0, 0.01336, 0.0133,
  87. 0.00128, 0.0027, 0.00655, 0.01932, 0.01917, 0.00432, 0.0045,
  88. 0.00316, 0.00245, 0.00133, 0.001029, 0.00114, 0.000869, 0.00067,
  89. 0.000759, 0.00061, 0.00483, 0.0023, 0.00185, 0.01342, 0.00196,
  90. 0.00035, 0.00092, 0.027875, 0.007465, 0.016265, 0.013995, 0.0490895,
  91. 0.00848, 0.00771, 0.00737, 0.025615, 0.001725, 0.002265, 0.017875,
  92. 0.016005, 0.02533, 0.025295, 0.014375, 0.00109, 0.02732, 0.02658,
  93. 0.037355, 0.011575, 0.00451, 0.005865, 0.003255, 0.005965, 0.00077,
  94. 0.00621, 0.00222, 0.0062, 0.0, 0.00538, 0.00122, 0.027875,
  95. 0.007465, 0.016265, 0.013995, 0.0490895, 0.00848, 0.00771, 0.00737,
  96. 0.025615, 0.001725, 0.002265, 0.017875, 0.016005, 0.02533, 0.025295,
  97. 0.014375, 0.00109, 0.02732, 0.02658, 0.037355, 0.011575, 0.00451,
  98. 0.005865, 0.003255, 0.005965, 0.00077, 0.00771, 0.002379, 0.00766,
  99. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  100. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  101. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  102. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  103. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  104. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  105. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  106. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  107. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  108. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  109. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  110. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  111. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  112. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  113. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  114. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  115. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  116. 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  117. 0.0, 0.0, 0.0
  118. ]
  119. }
  120. }
Advertisement
Add Comment
Please, Sign In to add comment