Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS client installer not working! #160

Open
jx1138 opened this issue Jul 20, 2023 · 2 comments
Open

MacOS client installer not working! #160

jx1138 opened this issue Jul 20, 2023 · 2 comments

Comments

@jx1138
Copy link

jx1138 commented Jul 20, 2023

The MacOS client installer pkg for 3.4.6.8 on the latest Ventura release 13.4.1 does not work. The installer runs and says successful but does nothing -- these launchd files are not created:

/etc/grr.local.yaml
/Library/LaunchDaemons/com.google.code.grr.plist

Moreover, the alternative installation instructions (using apt-get) have not been relevant for years, leaving RAM on fleets of recent developer Macbooks unmonitored.

Can anyone point me to the GRR scripts used for memory acquisition on Macs? From the docs, I understand that Yara is used for analysis with a presumably modified dependency for acquisition, since Yara itself does not appear to handle acquisition on Macs. This is actually all I want to do -- can anyone point me to a solution?

@mbushkov
Copy link
Collaborator

The MacOS client installer pkg for 3.4.6.8 on the latest Ventura release 13.4.1 does not work. The installer runs and says successful but does nothing -- these launchd files are not created:

How is your GRR server deployment configured? Is Fleetspeak enabled?

Moreover, the alternative installation instructions (using apt-get) have not been relevant for years, leaving RAM on fleets of recent developer Macbooks unmonitored.

I'm not sure I follow - could you please share a link? I'm not aware of alternative installation instructions using apt-get, as apt-get is a Linux package management tool that, as far as I know, is not used on Macs.

Can anyone point me to the GRR scripts used for memory acquisition on Macs? From the docs, I understand that Yara is used for analysis with a presumably modified dependency for acquisition, since Yara itself does not appear to handle acquisition on Macs. This is actually all I want to do -- can anyone point me to a solution?

Memory acquisition on recent macOS versions unfortunately doesn't work, as Apple has locked down memory reading capabilities (short summary: process memory can only be read if the binary of the process of interest has a special debug bit set). Raw memory acquisition is not possible as well, as the kernel drivers system was also locked down and migrated to well-defined APIs in recent macOS versions.

@jx1138
Copy link
Author

jx1138 commented Jul 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants