Carl
02/24/2020, 6:45 AMOleh
02/24/2020, 1:48 PMEC2Client.cpp
clang process does take 5GB of memory.
That was the exact reason of crash, thank you @Stefano Bonicatti!seantsv
02/24/2020, 6:05 PMjoe_antony1
02/25/2020, 6:10 PMRajendra Stalekar
02/26/2020, 11:59 AMAndrew Wei
02/27/2020, 12:10 AMINFO
WARNING
and ERROR
logs are generated? I'm getting a ton of small <http://osqueryd.INFO|osqueryd.INFO>.*
files generated by osquerydtheopolis
Paul Benoit
02/27/2020, 8:45 PMchrome_extensions
returning multiple identical results in version 4.2? The same query in version 4.0.2 doesn't have the duplicate resultstheopolis
Rajendra Stalekar
02/28/2020, 8:36 PMGrant
03/01/2020, 10:50 PMsundsta
03/02/2020, 8:12 PMosquery_packs
but nothing in osquery_schedule
, but there are no errors or warnings in the daemon’s status logsAndrew Wei
03/03/2020, 1:54 AMStefano Bonicatti
03/03/2020, 12:23 PMmishaky
03/03/2020, 7:03 PMjom
03/12/2020, 7:55 AMfritz
03/12/2020, 2:15 PMpatches
table (eg. SELECT * FROM patches;
or if that doesn't have what you are looking for I wrote a query to scan the registry for KBs:
WITH patch_packages AS (
SELECT path, key, type,
MAX(CASE WHEN name = 'InstallName' AND data LIKE 'Package_%_for_KB%' THEN SUBSTR(SPLIT(data, '_', 3), 1, 9)
WHEN name = 'InstallName' AND data LIKE 'Package_for_KB%' THEN SUBSTR(SPLIT(data, '_', 2), 1, 9) END) AS kb_id,
MAX(CASE WHEN name = 'CurrentState' THEN data END) AS current_state,
MAX(CASE WHEN name = 'InstallClient' THEN data END) AS install_client,
MAX(CASE WHEN name = 'Visibility' THEN data END) AS visibility,
MAX(CASE WHEN name = 'SelfUpdate' THEN data END) AS self_update,
MAX(CASE WHEN name = 'InstallLocation' THEN data END) AS install_location,
MAX(CASE WHEN name = 'InstallUser' THEN data END) AS install_user,
MAX(CASE WHEN name = 'InstallName' THEN data END) AS install_name
FROM registry WHERE path LIKE 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%4534273%\%%'
GROUP BY key
)
SELECT
MAX(kb_id),
MAX(install_client),
SUM(CASE WHEN current_state = '0' THEN 1 END) AS current_state_absent,
SUM(CASE WHEN current_state = '5' THEN 1 END) AS current_state_uninstall_pending,
SUM(CASE WHEN current_state = '16' THEN 1 END) AS current_state_resolving,
SUM(CASE WHEN current_state = '32' THEN 1 END) AS current_state_resolved,
SUM(CASE WHEN current_state = '48' THEN 1 END) AS current_state_staging,
SUM(CASE WHEN current_state = '64' THEN 1 END) AS current_state_staged,
SUM(CASE WHEN current_state = '80' THEN 1 END) AS current_state_superseded,
SUM(CASE WHEN current_state = '96' THEN 1 END) AS current_state_install_pending,
SUM(CASE WHEN current_state = '101' THEN 1 END) AS current_state_partially_installed,
SUM(CASE WHEN current_state = '112' THEN 1 END) AS current_state_installed,
SUM(CASE WHEN current_state = '128' THEN 1 END) AS current_state_permanent
FROM patch_packages
GROUP BY kb_id
Diego Erazo
03/12/2020, 2:21 PMjom
03/12/2020, 2:44 PMPrateek Kumar Nischal
03/12/2020, 2:56 PMbao
03/12/2020, 10:16 PMoptions.follow_redirects(true).always_verify_peer(verify_peer_).timeout(16);
DG
03/13/2020, 8:38 PMHelio Martins
03/16/2020, 4:01 AMosquery
configuration?
I'm struggling to get some of the osquery.flags
the configuration set into my osquery.db
..
Performing a simple select * from osquery_flags;
doesn't return any of the flags set in my osquery.flags
.
Realy appreciate your help.Erich Stoekl
03/16/2020, 6:00 PM--disable_events=false
needs to be used with --disable_audit=false
seph
Avi Apelbaum
03/19/2020, 10:22 AMEvent publisher not enabled: syslog: Publisher disabled via configuration"
Any idea someone ?
Flag File:
--watchdog_level=0
--watchdog_memory_limit=300
--host_identifier=uuid
--tls_hostname=kolide-server:443
--tls_server_certs=/etc/osquery/ca.crt
--config_plugin=tls
--distributed_plugin=tls
--logger_plugin=tls
--enroll_tls_endpoint=/api/v1/osquery/enroll
--config_tls_endpoint=/api/v1/osquery/config
--distributed_tls_read_endpoint=/api/v1/osquery/distributed/read
--distributed_tls_write_endpoint=/api/v1/osquery/distributed/write
--logger_tls_endpoint=/api/v1/logger
--config_refresh=300
--config_tls_max_attempts=20
--enroll_always=true
--disable_distributed=false
--distributed_interval=0
--enroll_secret_path=/etc/osquery/enroll
--database_path=/var/osquery/osquery.db
--pidfile=/var/run/osqueryd.pid
--logger_path=/var/log/osquery
--audit_allow_config=true
--audit_allow_fim_events=true
--audit_allow_process_events=true
--audit_allow_sockets=true
--audit_allow_user_events=true
--audit_force_reconfigure=true
--audit_persist=false
--disable_audit=false
--enable_dns_lookups=true
--logger_tls_event_types="user_events|process_events|process_file_events|socket_events|dns_lookup_events|file_events|http_events"
--events_max=1000
--disable_events_staging=false
--windows_event_channels=Security,System,Application,Setup
--win_enable_dns_lookups=true
--win_allow_sockets=true
--win_allow_process_events=true
--win_allow_logon_events=true
--win_allow_fim_events=true
--win_allow_drive_events=true
--win_allow_reg_events=true
--enable_windows_kernel_events=true
--allow_inotify_file_events=false
--audit_records_rate=10000
--logger_tls_compress=true
--enable_wmi=true
--enable_http_lookups=true
--process_ancestor_list=true
--audit_force_unconfigure=true
--audit_source_dispatcher=true
--watchdog_utilization_limit=21
--generate_process_hash_in_process_event=true
Prateek Kumar Nischal
03/19/2020, 12:09 PMgenConf
functions in the std::map<std::string, std::string> &conf
object..but how does if effect when two different config files have overlapping config items.. eg: If I need a file watch, and one config file has list of files to be included and another config file has the list of file to be excluded.. which will be given a preference.. ?Eric Brue
03/19/2020, 6:58 PMStefano Bonicatti
03/20/2020, 3:40 PMMark Cohen
03/20/2020, 9:05 PM