How To Install zeek on Kali Linux
Introduction
In this tutorial we learn how to install zeek
on Kali Linux.
What is zeek
zeek is:
Zeek is primarily a security monitor that inspects all traffic on a link in depth for signs of suspicious activity. More generally, however, Zeek supports a wide range of traffic analysis tasks even outside of the security domain, including performance measurements and helping with trouble-shooting.
Zeek comes with built-in functionality for a range of analysis and detection tasks, including detecting malware by interfacing to external registries, reporting vulnerable versions of software seen on the network, identifying popular web applications, detecting SSH brute-forcing, validating SSL certificate chains, among others.
There are three methods to install zeek
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install zeek Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install zeek
using apt-get
by running the following command:
sudo apt-get -y install zeek
Install zeek Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install zeek
using apt
by running the following command:
sudo apt -y install zeek
Install zeek Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install zeek
using aptitude
by running the following command:
sudo aptitude -y install zeek
How To Uninstall zeek on Kali Linux
To uninstall only the zeek
package we can use the following command:
sudo apt-get remove zeek
Uninstall zeek And Its Dependencies
To uninstall zeek
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove zeek
Remove zeek Configurations and Data
To remove zeek
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge zeek
Remove zeek configuration, data, and all of its dependencies
We can use the following command to remove zeek
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge zeek
Dependencies
zeek have the following dependencies:
- libbroker2
- libc6
- libc6
- libcaf-core0.17
- libgcc-s1
- libgoogle-perftools4
- libkrb5-3
- libmaxminddb0
- libpcap0.8
- libsqlite3-0
- libssl1.1
- libstdc++6
- zlib1g
References
Summary
In this tutorial we learn how to install zeek
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.