Stefano Bonicatti
09/02/2021, 9:56 PMArul Pandiyan
09/03/2021, 3:24 AMZach Zeid
09/03/2021, 4:55 PMMadhur Jodhwani
09/06/2021, 12:14 PMMadhur Jodhwani
09/07/2021, 5:39 AMMadhur Jodhwani
09/07/2021, 9:48 AMMadhur Jodhwani
09/08/2021, 5:47 AM--allow_unsafe
to add my daemon to the fleetDM server, I am looking forward to avoid this issue and solve it.Peter
09/08/2021, 12:18 PMread_max
applies to all interactions that osqueryd
may have with a given file - such as hashing, and on-demand yara scans ( triggered via snapshot queries)?Andrew Baker
09/08/2021, 9:20 PMMystery Incorporated
09/10/2021, 9:07 AMseph
Zander Mackie
09/10/2021, 4:50 PMosquery_packs
table doesn’t seem to be registering my shard settings correctly. I’m guessing this is a bug? Happy to file it.
[STD-DEV]16:48:00 root@si-i-02caa65087583c219 /home/zmackie # cat /usr/share/osquery/packs/testing.conf
{
"testing": {
"shard": 10, <<<--
"queries": {
"osquery_info": {
"query": "SELECT * FROM osquery_info;",
"interval": 86400,
"description": "Information about the running osquery configuration",
"snapshot": true
},
// This is a simple example query that outputs basic system information.
"system_info": {
// The exact query to run.
"query": "SELECT hostname, cpu_brand, physical_memory FROM system_info;",
// The interval in seconds to run this query, not an exact interval.
"interval": 3600
},
"crontab": {
"query" : "select * from crontab;",
"interval" : "3600",
"platform": "posix",
"version" : "1.4.5",
"description" : "Retrieves all the jobs scheduled in crontab in the target system.",
"value" : "Identify malware that uses this persistence mechanism to launch at a given interval"
}
}
}
}
[STD-DEV]16:48:23 root@si-i-02caa65087583c219 /home/zmackie # echo "select * from osquery_packs;" | osqueryi
+--------------------+----------+---------+-------+----------------------+----------------------+--------+
| name | platform | version | shard | discovery_cache_hits | discovery_executions | active |
+--------------------+----------+---------+-------+----------------------+----------------------+--------+
| main | | | 0 | 1 | 1 | 1 |
| base | posix | | 0 | 1 | 1 | 1 |
| testing | | | 0 <<< | 1 | 1 | 1 |
| osquery-monitoring | | | 0 | 1 | 1 | 1 |
+--------------------+----------+---------+-------+----------------------+----------------------+--------+
benbass
09/13/2021, 4:40 PMseph
Juan Alvarez
09/16/2021, 10:17 AMMicrosoft-Windows-DNSServer/Analytical
events with osquery? I have added the channel to the config but i do not seem to be able to get results. If i get the evenlog list via PS, the log does not show in the list but it does show in the Event Viewer UI.Mystery Incorporated
09/16/2021, 1:44 PMpuffycid
09/16/2021, 9:07 PM{
"auto_table_construction": {
"safari_history": {
"query": "SELECT id, url, domain_expansion, visit_count, daily_visit_counts, weekly_visit_counts, autocomplete_triggers, should_recompute_derived_visit_counts, visit_count_score, status_code FROM history_items;",
"path": "/Users/%/Library/Safari/History.db",
"columns": [
"id",
"url",
"domain_expansion",
"visit_count",
"daily_visit_counts",
"weekly_visit_counts",
"autocomplete_triggers",
"should_recompute_derived_visit_counts",
"visit_count_score",
"status_code"
],
"platform": "darwin"
},
"safari_visits": {
"query": "SELECT id, history_item, visit_time, title, load_successful, http_non_get, synthesized, redirect_source, origin, generation, attributes, score FROM history_visits;",
"path": "/Users/%/Library/Safari/History.db",
"columns": [
"id",
"history_item",
"visit_time",
"title",
"load_successful",
"http_non_get",
"synthesized",
"redirect_source",
"origin",
"generation",
"attributes",
"score"
],
"platform": "darwin"
}
}
osquery> select count(*) from safari_history;
count(*) = 8
but for chrome/chromium
i get some issues
{
"auto_table_construction": {
"chromium_history": {
"query": "SELECT id, url, title, visit_count, typed_count, last_visit_time, hidden from chromium_history;",
"path": "/Users/%/Library/Application Support/Chromium/Default/History",
"columns": [
"id",
"url",
"title",
"visit_count",
"typed_count",
"last_visit_time",
"autocomplete_triggers",
"hidden"
],
"platform": "darwin"
}
}
}
osquery> select * from chromium_history;
W0916 16:46:23.718451 315801088 auto_constructed_tables.cpp:47] ATC Table: Error Code: 1 Could not generate data: Could not prepare database for path /Users/%/Library/Application Support/Chromium/Default/History
same error for the Firefox history.sqlite file too
im not sure its a bug or user error?
it looks similar to the issue at https://github.com/osquery/osquery/issues/5225
but im not 100% sure ?
just curious has anyone been able to use ATC with browser history like chrome/chromium or firefox?
thanksMystery Incorporated
09/17/2021, 3:10 PMjake
09/18/2021, 4:32 PMbenbass
09/23/2021, 4:48 PMRobin Powell
09/23/2021, 8:01 PMRobin Powell
09/23/2021, 10:15 PMalessandrogario
alessandrogario
HarlanF
09/27/2021, 6:41 PMLM
09/28/2021, 1:40 PMLM
09/28/2021, 6:42 PMZach Zeid
09/28/2021, 7:06 PMSinaei
09/28/2021, 9:05 PMAndrew Baker
09/29/2021, 8:40 PM