You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
os_version does not display Apple's new Rapid Security Response information #8008
RR's may not update the main startup volume, only the Preboot volume. So it looks like OSQuery will have to read from /System/Cryptexes/OS/System/Library/CoreServices/SystemVersion.plist to check if it differs from /System/Library/CoreServices/SystemVersion.plist. Currently osquery only reads from the latter.
The framework approach is not more future proof it appears to be using Apple SPI. Which has no guarantees of not disappearing or changing in a future version. I'm not saying the approach is wrong, but the plist change is much smaller and as far as future proofing there is no difference.
It looks like #8011 adds a new column instead of modifying the output to the existing column. For us, a new column is preferred since the RSR build numbers are formatted significantly different than the non-RSR build numbers. Having access to both numbers independently is valuable.
I think we should try to determine which approach to take in the upcoming office hours meeting on Tuesday. For anyone who wants to join, please join the #officehours channel in osquery Slack.
Activity
uptycs-brian commentedon May 2, 2023
See https://support.apple.com/guide/deployment/manage-rapid-security-responses-dep93ff7ea78/web
RR's may not update the main startup volume, only the Preboot volume. So it looks like OSQuery will have to read from
/System/Cryptexes/OS/System/Library/CoreServices/SystemVersion.plistto check if it differs from/System/Library/CoreServices/SystemVersion.plist. Currently osquery only reads from the latter.directionless commentedon May 2, 2023
Thanks @uptycs-brian ! That looks like it has the correct info
zwass commentedon May 3, 2023
Heads up it looks like we have two slightly different approaches in PRs: #8010 #8011
directionless commentedon May 3, 2023
I'd like to think the framework approach in #8011 is more future proof. Curious what others think
uptycs-brian commentedon May 3, 2023
The framework approach is not more future proof it appears to be using Apple SPI. Which has no guarantees of not disappearing or changing in a future version. I'm not saying the approach is wrong, but the plist change is much smaller and as far as future proofing there is no difference.
1dustindavis commentedon May 4, 2023
It looks like #8011 adds a new column instead of modifying the output to the existing column. For us, a new column is preferred since the RSR build numbers are formatted significantly different than the non-RSR build numbers. Having access to both numbers independently is valuable.
uptycs-brian commentedon May 4, 2023
Column("version", TEXT, "Pretty, suitable for presentation, OS version"),versionis not meant to be parsed. You should be usingmajor,minorandpatchorbuildif you need to be exacting.The
versionvalue in #8010 matches the version displayed in "About This Mac"1dustindavis commentedon May 4, 2023
I am referencing the
buildcolumn. Although it matches the about box, it is still valuable to have both pieces of data, imo.twttr-wfreitas commentedon May 5, 2023
Vote for #8010 as it's more in line with macOS reports.
zwass commentedon May 5, 2023
I think we should try to determine which approach to take in the upcoming office hours meeting on Tuesday. For anyone who wants to join, please join the #officehours channel in osquery Slack.
directionless commentedon May 9, 2023
We talked about this in office hours today. Draft notes are in hackmd
Our conclusion:
extracolumnversionshould match Apple (and gains(a))Catch a Rapid Security Response in the recorded macOS identity
Catch a Rapid Security Response in the recorded macOS identity
Catch a Rapid Security Response in the recorded macOS identity
Catch a Rapid Security Response in the recorded macOS identity
Catch a Rapid Security Response in the recorded macOS identity
Catch a Rapid Security Response in the recorded macOS identity
Studio: stop the macOS update re-probing binaries and resolving 16 re…
Studio: stop the macOS update re-probing binaries and resolving 16 re…