allister
09/02/2022, 1:13 AMPraveen Kumar
09/03/2022, 9:12 AMPraveen Kumar
09/03/2022, 9:14 AMPraveen Kumar
09/03/2022, 9:14 AMPraveen Kumar
09/03/2022, 9:15 AMPraveen Kumar
09/03/2022, 9:21 AMPraveen Kumar
09/03/2022, 2:01 PMPraveen Kumar
09/03/2022, 2:01 PMPraveen Kumar
09/03/2022, 2:02 PMPraveen Kumar
09/03/2022, 2:02 PMallister
09/03/2022, 2:08 PMPraveen Kumar
09/03/2022, 2:35 PMPraveen Kumar
09/04/2022, 5:09 AMPraveen Kumar
09/06/2022, 6:11 PMPraveen Kumar
09/06/2022, 6:57 PMMystery Incorporated
09/17/2022, 9:40 AMallister
10/03/2022, 6:00 AMmdfind -name pip- info
but no matter what iteration I try (kMDItemFSName, kMDItemDisplayName, glob's, spaces) I can't seem to get any results from mdfind.query, using @fritz's file table join syntax, e.g.:
> SELECT f.path FROM file AS f JOIN mdfind ON mdfind.path = f.path AND mdfind.query = "kMDItemFSName == 'pip-*info'";
> SELECT f.path FROM file AS f JOIN mdfind ON mdfind.path = f.path AND mdfind.query = "kMDItemDisplayName == 'pip- info'";
fritz
10/03/2022, 1:01 PM*
is contributing to the problem, you could maybe overcome this with an `&&`'ed argument:
SELECT * FROM mdfind WHERE query = "kMDItemFSName == '*pip*'c && kMDItemFSName == '*info'c";
fritz
10/03/2022, 1:12 PMmdfind
table but works still in victor's earlier launcher implementation `kolide_spotlight`:
osquery> SELECT COUNT(*) FROM kolide_spotlight WHERE query = "-name pip- info";
+----------+
| COUNT(*) |
+----------+
| 10 |
+----------+
allister
10/03/2022, 1:13 PMfritz
10/03/2022, 1:15 PMmdfind
and it was only in @groob’s kolide_spotlight
table..., I can't find any changes since the initial introduction of mdfind
that would have impacted itfritz
10/03/2022, 1:16 PMfritz
10/03/2022, 1:16 PMallister
10/03/2022, 1:50 PM'c
kindof-suffix represent?Brandon Kurtz
10/03/2022, 9:48 PMfritz
10/05/2022, 1:11 PMlvferdi
10/17/2022, 6:26 PMselect timestamp as time, datetime(timestamp, 'unixepoch') AS utc_time, storage, message, actiity, process, pid, sender, tid, category, subsystem FROM unified_log WHERE (sender = 'AppleSystemPolicy' AND message like '%ASP: Security policy%') and timestamp > -1;
This tends to either get denylisted on first run or on the second. Any thoughts on how to collect this and other data from unified_log without being denylisted would be appreciated.Stefano Bonicatti
10/18/2022, 11:29 AMdefensivedepth
11/08/2022, 12:55 PMallister
11/08/2022, 1:07 PM