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

Installation

  1. Open the Terminal app on your macOS system.

  2. 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.2
    
  3. Install GRR:

    pip install grr-response-server
    
  4. Create a GRR configuration file:

    sudo nano /etc/grr-server.yaml
    

    This 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 url field to the external URL that clients will use to connect to the GRR server.

  5. Initialize the GRR server:

    sudo grr_config_updater initialize
    
  6. Start the GRR server:

    sudo grr_server start
    
  7. Access 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.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!