OSSEC installation guide SSEC is an Open Source Host-based Intrusion Detection System. it performs log analysis, integrity checking, Windows registry monitoring, rootkit detection, real-time alerting and active response. it runs on most operating systems, including Linux, OpenBSD, FreeBSD, Mac OS X, Solaris and Windows. the official document link: http://www.ossec.net/doc/index.html How to install O SSECDownload the latest version [plain] # wget http://www.ossec.net/files/ossec-hids-2.7.1-beta-1.tar.gz Extract the compressed package and run the ". /install. sh "script (It will guide you through the installation ). [plain] # tar-zxvf ossec-hids-* .tar.gz (or gunzip-d; tar-xvf) # cd ossec-hids -*#. /install. sh Follow the installation prompts and complete all steps. install Server on server host. inst All Agent on client host. the configuration part Add client agent into Server host. on server machine type command. [plain] #/var/ossec/bin/manage_agents Select "A" to enter into add agent menu, and input the agent name and IP. back to main menu and select "E" option for extract key for client agent. copy the Key to somewhere save for agent machine. on agent machine side. [plain] #/var/ossec/bin/manag E_agents Select "I" option for import the key which just extracted from server machine. You are all set now! Some simple command examples. check the status of your agents [html] #/var/ossec/bin/agent_control-lc or [plain] #/var/ossec/bin/agent_control-I agentID Check the latest log status [plain] # tail-F/var/ossec/logs/ossec. log Start/Stop OSSEC process [plain] #/var/ossec/bin/ossec-control start/stop Manage agent main menu [plain] #/var/ossec/bin/manage_agents Issues: there is a bug in official build 2.7 that the agents disconnect after a few minutes. for resolve it, you may need to upgrade to version 2.7.1 beta.