Alerts This Week
Warning Icon 1 681
Alerts This Week
Warning Icon 1 681

Stay Ahead With Linux Security HOWTOs

Filter Icon Refine HOWTOs
X Clear Filters
X Clear Filters
View More

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":549,"type":"x","order":1,"pct":78.54,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.29,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.86,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.3,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Loading...

Explore Latest Linux Security HOWTOs

We found -4 articles for you...
166

AIDE Installation and Configuration: File Integrity Checking for Linux

AIDE, Advanced Intrusion Detection Environment, is a file integrity checker, a type of intrusion detection program.. Once a system is cracked, all information on that system is in full view of unauthorized persons. If the cracker covers his tracks well, the intrusion might not be noticed for a while, allowing more and more information to be obtained by the cracker. System administrators must be just as thorough about intrusion detection as they must be with system security. AIDE, Advanced Intrusion Detection Environment, is a file integrity checker, a type of intrusion detection program. With AIDE, a database is constructed of important files on the system and their file attributions, such as permissions, inode number, user, group, and number of links. Also, an encrypted checksum of each file is created. With this information put on to a read-only type of media, such as a writeable CD-ROM, it is be extremely hard for a cracker to cover her tracks.. Download and Installation The first step is to download the source code for AIDE here (or get the RPM). After getting the source code, run: tar xvzf aide-0.7.tar.gz Next, after going into the aide-0.7 directory, configure AIDE for compile-time like this: ./configure --with-gnu-regexp Finally, to complete installation, run: make;make install Note: the binary, aide, should also be put onto read-only media like the database is put on to. Configuration The next step in the process of setting up AIDE is to configure aide.conf. Formatting for this configuration file is simple. Before working on the configuration file, read the configuration file, which gives detailed directions, and also look at the aide.conf man page which can be accessed like this: man aide.conf Here is a sample short aide.conf: Rule = p+i+u+g+n+s+md5 /etc p+i+u+g /sbin Rule /usr/local/apache/conf Rule /var Rule !/var/spool/.* !/var/log/.* In this configuration file, a rule called "Rule"is set to check permissions (p), inode (i), user (u), group (g), number of links (n), size (s), and md5 checksum (md5). Then this rule was applied to all files in /bin, /sbin, /var, and /usr/local/apache/conf because they should rarely if ever change. Files in /etc are checked for changes in only permissions, inode, user, and group because their size may change, but other things shouldn't. All files and directories in /var/spool and /var/log are not checked because they change too often. Usage After AIDE is properly installed and configured, a database of all the files that should be checked for changes must be created. To do this, type: aide --init Once the database is created, copy both the database and the aide binary on to a read-only media, such as a CD-ROM. Now, AIDE is setup and ready for use whenever needed. It is a good idea to run aide every couple of days and whenever log oddities are noticed or there is reason to believe a crack attempt was made. Resources Aside from the manual, not many quality documents are available on the net about AIDE. But between the man pages and the manual, most topics are covered. If there is a problem not covered, subscribe to the mailing list and ask there. . Learn to install and configure AIDE for effective file integrity checks and intrusion detection in Linux systems.. intrusion, advanced, detection, environment, integrity, checker. . Anthony Pell

Calendar 2 Sep 28, 2000 User Avatar Anthony Pell How to Learn Tips and Tricks
News Add Esm H240

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

What got you started with Linux?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/150-what-got-you-started-with-linux?task=poll.vote&format=json
150
radio
0
[{"id":483,"title":"Self-taught through trial and error","votes":549,"type":"x","order":1,"pct":78.54,"resources":[]},{"id":484,"title":"Formal training or courses","votes":30,"type":"x","order":2,"pct":4.29,"resources":[]},{"id":485,"title":"A job that required it","votes":34,"type":"x","order":3,"pct":4.86,"resources":[]},{"id":486,"title":"Other","votes":86,"type":"x","order":4,"pct":12.3,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Your message here