seph
Artemis Tosini
09/21/2022, 3:27 PMArtemis Tosini
09/21/2022, 3:27 PMzwass
seph
seph
seph
seph
seph
terracatta
seph
seph
zwass
Artemis Tosini
10/14/2022, 4:55 PMJanRC
10/21/2022, 1:55 PMStefano Bonicatti
10/25/2022, 5:58 PMhappy-dude
11/18/2022, 7:48 PMwarnings at 5MB, 10MB, and 13MB values I believe this indicates that a query result from osquery is larger than theCopy codeLinesize exceeds TLS logger maximum:
logger_tls_max_linesize
value and is being dropped/not sent to the TLS endpoint. At the moment, that value is set to the default 1MB
currently, I configured osqueryd to run with the following
--config_tls_max_attempts=6
--database_path=/state/osquery.db
--decorations_top_level=true
--disable_events=true
--disable_extensions=false
--disable_watchdog=false
--docker_socket=/run/docker.sock
--enroll_secret_path=/etc/osquery/enroll_secret.txt
--enroll_tls_endpoint=<endpoint>
--host_identifier=hostname
--logger_plugin=tls
--logger_tls_endpoint=<endpoint>
--logger_tls_max_linesize=1048576
--logger_tls_period=60
--read_max=209715200
--table_delay=200
--tls_hostname=<endpoint>
--tls_session_reuse=true
--tls_session_timeout=3600
--utc=true
--watchdog_memory_limit=900
I was curious if anyone would know if there are settings I can tweak to avoid dropping these results, or if there was a way I can investigate which query pack was causing such a large result?JanRC
11/29/2022, 12:03 PMjurelou
12/05/2022, 7:55 PMdefensivedepth
12/06/2022, 1:00 PMBhargav koduru
12/20/2022, 12:34 PMJanRC
12/22/2022, 12:45 PMzwass
edge
channel. Should have results in the next few days.seph
seph
Brad Girardeau
01/07/2023, 1:02 AMBhargav koduru
02/02/2023, 6:53 AMseph
Gudina
02/09/2023, 2:46 AMI0208 17:44:39.302111 254910464 buffered.cpp:75] Error sending results to logger: Cannot parse JSON: The document root must not be followed by other values. Offset: 4
Ian
02/19/2023, 4:01 AMsudo osqueryctl start
after copying the example configuration file to osquery.conf.
I've been playing around with the packs here: https://github.com/chainguard-dev/osqtool
but for reasons that aren't apparent to me, I'm getting errors about tables missing in /var/log/osquery/osqueryd.INFO:
E0218 19:28:57.638203 -2145783808 scheduler.cpp:128] Error executing scheduled query pack_odk-detection_sketchy-fetcher-events: no such table: process_events
E0218 19:29:05.149111 -2145783808 scheduler.cpp:128] Error executing scheduled query pack_odk-detection_unexpected-privilege-escalation_macos: no such table: signature
E0218 19:29:16.931692 -2145783808 scheduler.cpp:128] Error executing scheduled query pack_odk-detection_unexpected-env-values-macos: no such table: process_envs
I even took the output here osqueryi --list "select name, default_value from osquery_flags
and after text replacing, and adding '--' to the beginning of each line, sent the results to osquery.flags to make sure the defaults were all set.
osqueryi sees those tables just fine.
I did add osquery to 'Full Disk Access' in macos perms. What am I missing here? I see osqueryd running as root in ps
output.
I've attempted to toggle some of the settings -- like enabling most of the audit_allow choices, and making sure the relevant disable-* settings were set to false.