How To Install samhain on Kali Linux
Introduction
In this tutorial we learn how to install samhain on Kali Linux.
What is samhain
samhain is:
Samhain is an integrity checker and host intrusion detection system that can be used on single hosts as well as large, UNIX-based networks. It supports central monitoring as well as powerful (and new) stealth features to run undetected on memory using steganography.
Main features * Complete integrity check + uses cryptographic checksums of files to detect modifications, + can find rogue SUID executables anywhere on disk, and * Centralized monitoring + native support for logging to a central server via encrypted and authenticated connections * Tamper resistance + database and configuration files can be signed + logfile entries and e-mail reports are signed + support for stealth operation
There are three methods to install samhain 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 samhain Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install samhain using apt-get by running the following command:
sudo apt-get -y install samhainInstall samhain Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install samhain using apt by running the following command:
sudo apt -y install samhainInstall samhain 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 updateAfter updating apt database, We can install samhain using aptitude by running the following command:
sudo aptitude -y install samhainHow To Uninstall samhain on Kali Linux
To uninstall only the samhain package we can use the following command:
sudo apt-get remove samhainUninstall samhain And Its Dependencies
To uninstall samhain and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove samhainRemove samhain Configurations and Data
To remove samhain configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge samhainRemove samhain configuration, data, and all of its dependencies
We can use the following command to remove samhain configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge samhainDependencies
samhain have the following dependencies:
References
Summary
In this tutorial we learn how to install samhain package on Kali Linux using different package management tools: apt, apt-get and aptitude.