Installing GRR on macOS
GRR is an open-source incident response framework that enables remote and automated forensic analysis. In this tutorial, you will learn how to install GRR on macOS.
Prerequisites
- macOS system
- Python 2.7
- pip or easy_install
Installation
Open the Terminal app on your macOS system.
Install dependencies:
sudo easy_install protobuf==3.6.0 sudo easy_install pyopenssl==19.1.0 sudo easy_install wsgiref==0.1.2 sudo easy_install jinja2==2.11.2Install GRR:
pip install grr-response-serverCreate a GRR configuration file:
sudo nano /etc/grr-server.yamlThis will open a new file. Copy and paste the following code into the file:
[Server] # This is the external URL for the server, used for generating links to # the GUI and in emails. This should be the URL that clients will use to # connect to the server. url: "http://localhost:8000/" # Frontend server configuration. [Frontend] # This is the TCP port the web server listens on. # Use 0.0.0.0:port to bind to all network interfaces. bind: "0.0.0.0:8000" [Database] # This is the path to the sqlite3 database file that stores GRR's data locally. path: "/usr/local/var/lib/grr/grr.sqlite" # This is the maximum number of days that GRR will keep the data. data_retention_time: "365d"Make sure to change the
urlfield to the external URL that clients will use to connect to the GRR server.Initialize the GRR server:
sudo grr_config_updater initializeStart the GRR server:
sudo grr_server startAccess the GRR web interface:
Open a web browser and navigate to
http://localhost:8000. You should see the GRR web interface.
Conclusion
Congratulations! You have now installed GRR on your macOS system. You can now use it for remote forensic investigations and incident response.