Hendgrow Ossec Open Source Hids With Web User Interface
Hendgrow Ossec Open Source Hids With Web User Interface
Hendgrow Ossec Open Source Hids With Web User Interface
com
$ ssh yoursuser@yourserverip
$ sudo apt update && sudo apt upgrade
$ sudo apt install -y php php-cli php-common libapache2-mod-php apache2-utils sendmail
inotify-tools apache2 build-essential gcc make wget tar zlib1g-dev libpcre2-dev libpcre3-
dev unzip libz-dev libssl-dev libpcre2-dev libevent-dev build-essential
Enter you password when prompted.
vi /etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:8090>
DocumentRoot /var/www/html/ossec-wui
</VirtualHost>
Edit the /etc/apache2/ports.conf file and add the port you specified. In our
case 8090.
sudo vi /etc/apache2/ports.conf
ssh hgadmin@192.168.68.123
launch the OSSEC Agent Manager
sudo /var/ossec/bin/manage_agents
Input option (A) to add a new agent. Input your windows machines name when
prompted.
Input the windows machines IP when prompted and confirm adding with responding
(y)
Launch the executable agent file you have downloaded as administrator. Should be
in your downloads folder.
Open the OSSEC agent as administrator that you installed and enter the IP address
of your OSSEC server.
Open the command prompt window that you used to ssh to the OSSEC server.
Extract the Key by inputting option (e) and then the corresponding Agent ID for the
windows machine in the OSSEC Agent Manager that should still be open.
Highlight and copy the key, update the OSSEC Agent. Save the updated info and
start the OSSEC Agent.
Open your web browser and navigate to your OSSEC Servers IP and specific port if
you set one.