{"id":2186,"date":"2019-02-03T13:45:24","date_gmt":"2019-02-03T10:45:24","guid":{"rendered":"http:\/\/kifarunix.com\/?p=2186"},"modified":"2019-02-03T13:45:24","modified_gmt":"2019-02-03T10:45:24","slug":"how-to-install-and-setup-grr-clients-on-ubuntu-18-04-debian-9","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-and-setup-grr-clients-on-ubuntu-18-04-debian-9\/","title":{"rendered":"How to Install and Setup GRR clients on Ubuntu 18.04\/Debian 9"},"content":{"rendered":"
Welcome to our guide on how to install and setup GRR clients on Ubuntu 18.04\/Debian 9 servers. Before you can deploy GRR agents, you need to have a running GRR server. We did a tutorial covering installation of GRR server on Ubuntu 18.04<\/a> in our previous guide. Once you have the GRR server ready, proceed as follows;<\/p>\n While installing the GRR server, various clients versions, BSD based, Debian based and RHEL based, are repacked, configured and uploaded to the server. Therefore, to install GRR client on Ubuntu 18.4\/Debian 9 server, login to the GRR server and navigate to If for some reasons the GRR server configurations have been adjusted, you need to repackage the clients. See how to repackage GRR clients here<\/a>.<\/p>\n Download the GRR client binary installer and copy to the host where installation will happen. However, you can login to the GRR client and download the binary using wget command. Ensure that the GRR server hostname is resolvable. Note that you need to authenticate to the GRR server in order to download the client installer. You may also want to ignore server certificate verification.<\/p>\n Once you have the installer, launch the installation by executing the command below;<\/p>\n The GRR client is set to run and start on system reboot. You can check the status by running the command.<\/p>\n The client will automatically registers itself to the GRR server. To verify that GRR client has registered to the GRR server, login to the GRR admin UI. Click on the Now that your clients are ready, you can go right ahead and set the GRR Flows, Hunt, Alerting etc. As an example, we are going to list the processes running on remote host. Therefore under the Navigate to You can as well enumare network connections on a client. Navigate to Start new flows > Network > Nestat. Set your Netstat flow options and click Launch.<\/p>\n That is the little we could cover about how to install and setup GRR clients on Ubuntu 18.04\/Debian 9 servers. Feel free to explore more about this tool by following the links below;<\/p>\n Welcome to our guide on how to install and setup GRR clients on Ubuntu 18.04\/Debian 9 servers. Before you can deploy GRR agents, you need<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[314,34],"tags":[315,316],"class_list":["post-2186","post","type-post","status-publish","format-standard","hentry","category-forensics","category-security","tag-grr","tag-grr-client","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2186"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=2186"}],"version-history":[{"count":4,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2186\/revisions"}],"predecessor-version":[{"id":2199,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2186\/revisions\/2199"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=2186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=2186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=2186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Install and Setup GRR clients on Ubuntu 18.04\/Debian 9<\/h2>\n
Manage Binaries<\/code> tab on the left pane and download the respective GRR client.<\/p>\n
<\/a><\/p>\n
wget --user=admin --ask-password --no-check-certificate https:\/\/grr.example.com\/api\/config\/binaries-blobs\/EXECUTABLE\/linux\/installers\/grr_3.2.4.6_amd64.deb<\/code><\/pre>\n
sudo apt install .\/grr_3.2.4.6_amd64.deb<\/code><\/pre>\n
systemctl status grr\r\n\u25cf<\/span> grr.service - grr linux amd64\r\n Loaded: loaded (\/lib\/systemd\/system\/grr.service; enabled; vendor preset: enabled)\r\n Active: active (running)<\/span> since Sat 2019-02-02 07:41:45 EST; 2min 21s ago\r\n Main PID: 6489 (grrd)\r\n CGroup: \/system.slice\/grr.service\r\n \u251c\u25006489 \/usr\/sbin\/grrd --config=\/usr\/lib\/grr\/grr_3.2.4.6_amd64\/grrd.yaml\r\n \u2514\u25006490 \/usr\/sbin\/grrd --config=\/usr\/lib\/grr\/grr_3.2.4.6_amd64\/grrd.yaml\r\n\r\nFeb 02 07:41:45 ldapclient.example.com systemd[1]: Started grr linux amd64.<\/code><\/pre>\n
Search Box<\/code> and press
Enter<\/strong><\/code>. Your clients will appear on the dashboard if they have registered to the GRR server.<\/p>\n
<\/a> To see more client details, click on it. Some of the host information details you can get include OS version, Users, network interfaces and assigned IP addresses…Click on
Full details<\/code> tab to see extended host information.<\/p>\n
<\/a><\/p>\n
Host Information<\/code>, click
Start new flows > Processes > ListProcesses<\/code>. You can optionally define the regex for filter processes, fetch the process binaries. Under Connection State, i have selected
Established<\/code> and will leave it like that at the very basic. Click Launch to launch the flow. Once the flow run is done, you will see a notification on the notification button next to search box.<\/p>\n
<\/a><\/p>\n
Manage launched flows > ListProcesses > Results<\/code> to check the results of the ListProcesses flow.<\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
Reference and Resources<\/h4>\n
\n