Linux system security-AIDE (Advanced Intrusion Detection Environment)

Source: Internet
Author: User

I. AIDE Introduction

AIDE (Adevanced Intrusion Detection Environment, Advanced Intrusion Detection Environment) is an Intrusion Detection tool used to check the integrity of documents.

AIDE can construct a database for a specified document. It uses aide. conf as its configuration document. The AIDE database can store various attributes of a document and uses the following algorithms: sha1, md5, rmd160, and tiger. The verification code or hash number of each document is created in the form of ciphertext. The system administrator should create a new AIDE database. The first AIDE database is a snapshot of the system and the principle of system upgrade in the future. This database should not store frequently changed document information, such as log documents, emails,/proc document systems, user start directories, and temporary directories.

Recommended reading:

AIDE-Linux Advanced Intrusion Detection

How to delete/restore log files after Linux Server intrusion

Network Intrusion Detection and Prevention engine Suricata

Snort + Base intrusion detection Configuration
 
Ii. Download and install AIDE
1.install mhash-0.9.9.9.tar.gz first
# Tar zxvf mhash. tgz
#./Configure
# Make
# Make install
 
2.install aide-0.15-rc1.tar.gz
# Tar zxvf aide-0.15-rc1.tar.gz
#./Configure -- prefix =/usr/local/aide -- with-mhash
# Make
# Make install
# Mkdir-p/usr/local/aide/etc
# Cp/root/aide-0.15-rc1/doc/aide. conf/usr/local/aide/etc/
# Cp/usr/local/aide/bin/
 
3. modify the configuration file
# Vim aide. conf
Modify the database generation path:

Database = file:/usr/local/aide. db # System Image
Database_out = file:/usr/local/aide. new. db # new System Image
 
Add the directory or file to be checked directly at the end of the file:


/Bin R
/Sbin R
/Usr/bin R
/Usr/sbin R
/Usr/local/eyou/mail/web/tpl R
/Dev/shm R
/Opt/apache/htdocs R
/Tmp/. ICE-unix R

Next, see:

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.