Andrew Zick
03/20/2023, 10:26 PMgethostuuid()
. Is it a MacOS api or something that returns a uuid that the device already generated at some point?Kiwito
03/25/2023, 10:32 PMallister
03/26/2023, 10:23 AMStryker0x
04/02/2023, 8:02 PMAnuj Kharbanda
04/03/2023, 9:32 AMlast_opened_time
in the apps
table.
What does the word "opened" signifies here, like the time app was launched or the time it was last used ?
The results signifies the former (time when app was launched) for most cases, but it seems to be inconsistent sometimes.
For some apps running for a longer duration of time, the last_opened_time seems to be changing even though the app was running for the whole time before that. And this value is not equivalent to the last accessed/used time either.allister
04/03/2023, 10:04 AMKiwito
04/03/2023, 8:26 PMcom.apple.WebKit.Networking.xpc
and parent process is launchd
. So whatever making that request is using webkit
Actually I am quite sure it is safari but are they anyway find out this kind situation's origin? In my opinion I need something like auditd but maybe I am missing something.allister
04/07/2023, 6:29 AM# default, shouldn't be present with most sync server configs
/bin/launchctl bootout system/io.osquery.agent
# purge the app bundle, symlinks
/bin/rm -rf /opt/osquery
/bin/rm -f /usr/local/bin/osqueryi
/bin/rm -f /usr/local/bin/osqueryctl
# drop the default config/certs, logs, and local db
/bin/rm -rf /private/var/osquery
/bin/rm -rf /private/var/log/osquery
/bin/rm -rf /var/osquery/osquery.db
# forget newer-style pkgid from receipts db
/usr/bin/pkgutil --forget io.osquery.agent
should probably get that added to osqueryctl, at present there's just clean
which dumps the dboneiroi
05/02/2023, 9:50 AMos_version.version
in the application of the RSR, my query is, where might this be tracked ? I'll be looking at the os_version.build
though I am not certain this will change either, has anyone had the opportunity to review the RSR's introduced in macOS > 13.x (Ventura) as yet ? Many thanks!ihor
05/03/2023, 7:40 AMBrad Girardeau
05/11/2023, 5:45 AMunified_log
table is that pagination is global even within a single query. For example, this gives incomplete results:
select subsystem, count(*) from unified_log where
timestamp > -1 and max_rows = 10000 and
(subsystem = 'com.apple.securityd' and category = 'kcacl') or
(subsystem = 'com.apple.Authorization' and category = 'authd')
group by subsystem;
Internally sqlite splits it into two subqueries for each OR clause, where the first moves pagination ahead before the second runs. I didn't see an easy way to change how the pagination works, so I made a PR adding a predicate column to be able to pass in complex conditions with one SQL constraintCassio
05/24/2023, 6:43 PMTor Houghton
05/26/2023, 4:22 PMKiwito
05/29/2023, 9:43 PMendpoint security framework
or eslogger
via osquery other than file_events
?allister
05/30/2023, 1:22 AMallister
05/30/2023, 1:26 AMRod Christiansen
06/13/2023, 11:38 PMRod Christiansen
06/13/2023, 11:41 PMRod Christiansen
06/13/2023, 11:42 PMGrigory Emelianov
06/23/2023, 1:48 PMallister
06/23/2023, 2:14 PMallister
06/23/2023, 2:17 PMioreg
(which is where I’m assuming the value is being pulled from by the table)?oneiroi
07/11/2023, 12:05 PMapps
table (macOS) && is handling the version comparison differently thanks !Anuj Kharbanda
07/28/2023, 11:53 AMunified_log
table.
However, the problem is that this table returns data from earliest to latest and in patches of 100, so using "ORDER BY" does not work as expected for the entire data. Even if I try to use a normal query or paginate the response, it still fetches older data first.
Is there a way I can achieve this? (Fetch latest 100 logs from Unified logs)
Thanks !!np5
08/02/2023, 10:03 AMnp5
08/02/2023, 10:03 AMnp5
08/02/2023, 10:03 AM<dict>
[…]
<key>PayloadType</key>
<string>com.apple.system-extension-policy</string>
<key>AllowUserOverrides</key>
<true/>
<key>AllowedSystemExtensions</key>
<dict>
<key>EQHXZ8M8AV</key>
<array>
<string>com.google.santa.daemon</string>
</array>
</dict>
<key>AllowedSystemExtensionTypes</key>
<dict>
<key>EQHXZ8M8AV</key>
<array>
<string>EndpointSecurityExtension</string>
</array>
</dict>
</dict>
+-----------------------------------+--------------------------------------+-----------------------------+--------------+---------------------------+----------+--------+
| domain | uuid | name | key | value | username | manual |
+-----------------------------------+--------------------------------------+-----------------------------+--------------+---------------------------+----------+--------+
| com.apple.system-extension-policy | 00000000-0000-0000-0000-000000000000 | AllowUserOverrides | | 1 | | 0 |
| com.apple.system-extension-policy | 00000000-0000-0000-0000-000000000000 | AllowedSystemExtensions | EQHXZ8M8AV.0 | com.google.santa.daemon | | 0 |
| com.apple.system-extension-policy | 00000000-0000-0000-0000-000000000000 | AllowedSystemExtensionTypes | EQHXZ8M8AV.0 | EndpointSecurityExtension | | 0 |
+-----------------------------------+--------------------------------------+-----------------------------+--------------+---------------------------+----------+--------+
np5
08/02/2023, 10:17 AMKathy Satterlee
08/09/2023, 11:09 PMconfig.pvs
for a Parallels VM with osquery? Working on grabbing performance data for VMs and would like to grab CPU, RAM and disk allocation settings along with the other data I'm grabbing about the running process.Steve Poe
09/02/2023, 3:12 AM