Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shjwudp/ossec

learn to use ossec
https://github.com/shjwudp/ossec

Last synced: about 1 month ago
JSON representation

learn to use ossec

Awesome Lists containing this project

README

        

BaishanCloud

# install

server:

```
wget -q -O – https://www.atomicorp.com/installers/atomic | sh
yum update -y
yum install -y mysql-devel openssl-devel ossec-hids ossec-hids-server

cd /var/ossec
# 开启ossec-agent注册服务器(用完关掉
./bin/ossec-authd
```

client:

```
sh ./sh/install.sh SERVER_IP SERVER_PORT(1515)
```

# Features

- log

command file decoder rules

- syscheck

integrity checking (md5 sha1sum size owner group permission ...)

- rootcheck (rootkit check)

1. stats fopen opendir
2. signatures of trojaned
3. check /dev
4. permission problem
5. hidden-processes trojaned-ps
6. hidden-ports

# HELP

默认ossec根目录:

$OSSEC_HOME=/var/ossec

配置文件:

$OSSEC_HOME/etc/ossec.conf

ossec启动停止命令:

$OSSEC_HOME/bin/ossec-control

ossec-server注册agent命令(执行后开始接受注册):

$OSSEC_HOME/bin/ossec-authd

ossec-agent注册命令:

$OSSEC_HOME/bin/agent-auth