slevchenko
01/24/2022, 9:44 AMTed Dorosheff
01/24/2022, 9:04 PM{
"schedule": {
"file_events": {
"query": "SELECT * FROM ntfs_journal_events;"
"removed": false,
"interval": 300
}
},
"file_paths": {
"windows": [
'C:\Windows\Temp\'
'C:\Windows\Tasks\'
],
"Users": [
'C:\Users\%\'
],
"osquery": [
'C:\Program Files\osquery\'
]
},
"exclude_paths": {
"windows": [
'C:\Windows\Temp\test\'
],
"Users": [
'C:\Users\teddoro\test\'
]
}
}
Benjamin Whetstone
01/24/2022, 10:05 PMHarlanF
01/25/2022, 12:42 AMOjas
01/25/2022, 10:52 AMHarlanF
01/26/2022, 9:50 PM.connect
so that I can more easily automate this test?Mystery Incorporated
01/27/2022, 6:36 AMFederico Talentino
01/27/2022, 6:56 PMSlackbot
01/27/2022, 7:16 PMslevchenko
01/28/2022, 3:45 PMbpf_process_events
instead of a file_events
? Idea is to scan path
of a process if such process has valid pathHarlanF
01/28/2022, 7:29 PMBranzino
01/30/2022, 2:53 PMslevchenko
01/30/2022, 2:55 PMosqueryd[36060]: I0130 16:44:32.672724 36192 systemstatetracker.cpp:294] Created empty process context for pid 38689. Fields will show up empty
osqueryd[36060]: I0130 16:44:32.673085 36192 systemstatetracker.cpp:294] Created empty process context for pid 38691. Fields will show up empty
Luke Walker
01/30/2022, 9:33 PMslevchenko
01/31/2022, 8:17 AMfile_path
list, for the rest file_events
are generated
{
"file_paths": {
"binaries": [
"/usr/bin/%%", <-- Yara events generated
"/usr/sbin/%%", # <-- file_events generated, but NOT yara_events!
"/bin/%%", # <--|
"/sbin/%%", # <--|
"/usr/local/bin/%%", # <--|
"/usr/local/sbin/%%" # <--|
],
"configuration": [
"/etc/init/%%", <-- Yara events generated
"/etc/passwd",
"/etc/shadow",
"/etc/ld.so.preload",
"/etc/ld.so.conf",
"/etc/ld.so.conf.d/%%", # <-- file_events generated, but NOT yara_events!
"/etc/pam.d/%%", # <--| file_events generated, but NOT yara_events!
"/etc/resolv.conf",
"/etc/rc%/%%", # <-- file_events generated, but NOT yara_events!
"/etc/my.cnf",
"/etc/modules",
"/etc/hosts",
"/etc/hostname",
"/etc/fstab",
"/etc/crontab",
"/etc/cron%/%%", # <-- file_events generated, but NOT yara_events!
"/etc/rsyslog.conf"
]
},
"yara": {
"file_paths": {
"binaries": [
"eicar",
"custom"
],
"configuration": [
"eicar",
"custom"
]
},
"signatures": {
"custom": [
"/opt/osquery/yara/custom.yar"
],
"eicar": [
"/opt/osquery/yara/eicar.yar"
]
}
}
}
Juan Alvarez
01/31/2022, 10:13 AMTed Dorosheff
01/31/2022, 8:55 PMcarver_disable_function
and disable_carver
both default to true. What happens if you set one to false? What is the difference between the two flags?Ted Dorosheff
02/01/2022, 1:35 AMdistributed_plugin=tls
is the default setting, but what are the other plugins? filesystem
caused osqueryd to crash.
context: I'm trying to test my config and queries locally without posting results anywhere, I haven't set a tls_endpoint
because i just want query results to be saved to /var/log/osquery/osqueryd.results.logStefano Bonicatti
02/01/2022, 3:10 PMuser_time
and system_time
are in milliseconds, wall_time
is in seconds. They are all cumulative among query executionsMystery Incorporated
02/01/2022, 3:56 PMTed Dorosheff
02/02/2022, 12:56 AMoverrides
key. My osquery.conf file basically is in this format:
options
<stuff>
file_paths
<list of linux file paths>
overrides
platforms
windows
options
<same stuff as above>
file_paths
<windows file paths>
exclude_paths
<windows file paths>
darwin
options
<same stuff as above>
file_paths
<mac file paths>
When i start my daemon on a mac, i only see the linux file paths being loaded. My config is syntactically correct, osquery isn't barfing on it.Zachary Case
02/02/2022, 8:19 PMprocess_dns_events
table in osquery and I think I remember it being mentioned before in an office hours call, is this something that is/will be added to osquery?slevchenko
02/03/2022, 8:34 AM00:02:08:10:60:00:00:00:00:00:00:00:00:00:88:82
(address redacted) ? I seed such addresses in bpf_socket_events remote_address field and are not recognized with usual utilities like nc, ping and so on.Trevor
02/04/2022, 8:29 AMmikermcneil
02/08/2022, 8:57 PMis_active
on the running_apps
table is cached?
https://osquery.io/schema/5.1.0/#running_appsducna09
02/09/2022, 7:31 AMKrasheninnikov Denis
02/09/2022, 2:11 PMError: app_not_configured_for_user
from google SSO? Was following this instructuions
Getting this error for any user: existing/non-existing, with/without SSO enabledValerio Maietta
02/09/2022, 4:21 PMHugh (Zercurity)
02/10/2022, 12:48 PMGuillaume
02/10/2022, 3:59 PM