Introduction
This document outlines the procedure of installing the Managed Agent on macOS for AD Enterprise 7.3 - 8.0.
Prerequisite
- Remove Full Disk Access for any previous versions of the MacOS Agent.
- Uninstall any previous versions of the MacOS Agent.
- Make sure all host values in the following files are the same:
NOTE: if using Enterprise 7.4 use Qview config. If using 7.5, 7.6, 8.0 use FTKPlus.exe.config instead
Files\AccessData\Forensic Tools\<version>\bin\Qview\JobMonitor.exe.config file
C:\Program Files\AccessData\Forensic Tools\<version>\bin\FTKPlus\FTKPlus.exe.config3. Look in C:\Program Files\AccessData\Forensic Tools\<version>\bin\ADG.WebLabSelfHost.exe.config file
- Make sure this section (https) is marked "true"
Procedure
Install the Agent:
- Copy the macOS Managed Agent installer PKG, found at "\Forensic_Tools\Agents\MAC\AccessDataAgent-macos-installer-x64-.pkg" on the Forensic Tools ISO/disc, to the Mac system.
- Once copied check the hash value to confirm it matches that of the hash value for the file on the ISO image.
- Double-click the PKG file and follow the prompts to install the Managed Agent
Grant the Agent Full Disk Access:
- On the macOS machine, go to System Preferences > Security & Privacy
- Select the Privacy tab
- Select Full Disk Access on the left, click the lock
icon in the lower-left corner, then enter administrator credentials when prompted
- Under the list of items with access, click the + button
- Select Applications on the left, then Utilities, select the Console app, and click Open
- Repeat steps 4 and 5, but select the Terminal app
- Leaving the Security & Privacy dialog open, click Go > Go to Folder and navigate to "~/Library/AccessDataAgent/[version]/"
- Select & drag both ADG.Agent.IndexingService and ADG.ManagedAgentSvc from the Finder window to the open application list in the Security & Privacy window
Note: You must browse to these files via Finder, as the Security & Privacy dialog won't let you add them directly. - Click Go > Go to Folder and navigate to "/bin/"
- Select & drag both sh and zsh from the Finder window to the open application list in the Security & Privacy window
Note: You must browse to these files via Finder, as the Security & Privacy dialog won't let you add them directly. - Confirm that the following items are listed and checked, then close the Security & Privacy dialog:
Application | Purpose |
ADG.Agent.IndexingService | Required for full disk indexing. |
ADG.ManagedAgentSvc | Required for full disk collections. |
sh | Required for the agent to run with full disk access. |
zsh | Required for Big Sur & Monterey. |
Console | Required for indexing and full disk collections. |
Terminal | Required for indexing and full disk collections. |
Installing Rosetta (Required for M1/M2 Mac systems)
Rosetta must be installed on M1/M2 Mac systems. Rosetta is required for some binary translation, allowing full compatibility with Apple chipsets.
- On the macOS machine, open a Terminal window and run the following command to install Rosetta:
softwareupdate --install-rosetta
Configure Agent Indexing:
- On the macOS machine, open a Terminal window and run the following command to stop the Agent:
sudo launchctl unload /Library/LaunchDaemons/com.adg.managedagent.plist
- Open "/usr/local/share/AccessData/ManagedAgent/AgentData/agentsetting.json" in a text editor.
- Reference the Agent Settings Reference Table in the Installing the Mac Agent chapter of the Enterprise User Guide to make any desired changes to the Agent's indexing settings.
- Save and close the modified agentsettings.json.
- Open a Terminal window and run the following command to start the Agent:
sudo launchctl load /Library/LaunchDaemons/com.adg.managedagent.plist
- Wait up to 24 hours for the index to build.
Check if the Agent is online and accessible:
From the Enterprise machine, go to https://<target>:3999/api/hostname in a browser. If the page returns a JSON string with the Agent's hostname, you should be good to go. If you aren't able to access that page, there may be a firewall blocking communication between the Agent and Examiner.
Add the Target to the Agent List:
- On the main screen in Enterprise, go to Tools > Preferences.
- Click Agent List.
- In the bottom-right, click Add...
- Do the following, then click OK:
- Enter a Friendly Name.
- Enter a Description (optional).
- Under Node/Range, select IP and enter the target's IP address.
- Check the is Mac box.
ADDITIONAL NOTES
- Mac Agent 1.0.265 is code signed by Apple and can be found here. Released with 7.6 SP3 and 8.0.
- Previous version of Mac Agent 1.0.258 can be found here.
- Custom Public/Private certificates can be used. More information can be found here.
- The macOS Agent with Forensic Tools 7.3.0 listens on port 4999 by default. The macOS Agent with Forensic Tools 7.4 - 8.0 listens on port 3999 by default. Follow this article to if you want to change the port that's used.
- Without granting full disk access to the necessary apps on the target, Enterprise may not be able to list and/or collect all desired items.
- Refer to chapter 48 "Installing the Mac Agent" on page 653 in the Enterprise User Guide for additional notes on optional Agent configurations that can be applied after installation.
- If a target isn't added to the Agent List, it will not be available for selection during a collection job.