Detecção de Intrusos com AIDE
Secure Linux & BSD servers with AIDE, an anti-rootkit tool. Verify file integrity and boost system security.
Course Content
Detecção de Intrusos com AIDE is an all-levels Udemy course taught by FAME Treinamentos. It runs 1h 28m, is taught in Portuguese, and includes a certificate of completion. Learners rate it 4.2 out of 5 from 29 reviews, with 467 students enrolled. It is a paid course, last updated October 2019.
AIDE: Advanced Intrusion Detection Environment - File Integrity Monitoring
Understanding AIDE (Advanced Intrusion Detection Environment)
AIDE is a powerful intrusion detection program focused on file integrity monitoring. It acts as a robust checker, ensuring the files on your system haven't been tampered with.
How AIDE Works: Building a File Database
AIDE creates a comprehensive database of your system's files based on the configuration file (aide.conf). This database stores critical file attributes, including:
- File Type: Identifying the file's nature (e.g., executable, document).
- Permissions: Access rights for different users and groups.
- Inode Number: A unique identifier for each file within the filesystem.
- User & Group: The owner and group associated with the file.
- File Size: The amount of storage space the file occupies.
- Timestamps:
- mtime: Last modification time.
- ctime: Last status change time.
- atime: Last access time.
- Growing Size: The rate at which the file is increasing.
- Number of Links: How many hard links point to the file.
- Link Name: The name of the link.
Crucially, AIDE calculates a checksum (hash) for each file using multiple algorithms, providing strong verification:
- SHA1, SHA256, SHA512: Cryptographic hash functions for high security.
- MD5, RMD160: Additional hash algorithms for diverse compatibility.
- Tiger, Haval, CRC32: Further checksum options.
- Whirlpool (via mhash): An optional, powerful hashing algorithm.
Furthermore, AIDE can optionally incorporate ACL (Access Control List), extended attributes (xattr), SELinux, and e2fsattrs for even more detailed integrity checks when enabled during compilation.
Detecting System Compromise with AIDE
After a potential intrusion, standard system tools like ls, ps, netstat, and who are often the first places an administrator investigates. However, attackers can easily manipulate these tools to conceal their activities. For example, malicious code could prevent the display of files like "sniffedpackets.log" or alter the output of ps and netstat to hide processes like "sniffdaemond."
Even if you've previously documented file details (dates, sizes), these can be easily altered by sophisticated rootkits.
While manipulating file dates and sizes is possible, altering a cryptographic checksum (like MD5) is significantly more difficult. AIDE's support for multiple checksum algorithms makes it exponentially harder for attackers to successfully modify all the checks.
By running AIDE post-intrusion, system administrators can quickly identify files that have been altered, gaining a high degree of confidence in the system's integrity.
The AIDE Course: Practical Implementation & Security Enhancement
This comprehensive course provides hands-on training in the installation and configuration of AIDE. You'll learn how to implement various AIDE rules in a production environment and set up alert notifications via email.
By completing this course, you'll be able to:
- Implement AIDE in a production environment.
- Significantly increase server and client security.
- Receive proactive security alerts via email.
Instructor: Eduardo Fraga
Eduardo Fraga brings over 17 years of experience in IT, specializing in network infrastructure. He holds multiple certifications, including:
- LPIC3, LPIC-303, LPIC-304
- IBM System Expert Blade Center
- ITILv3 Foundation
Eduardo is a co-founder of FAME Treinamentos and founder of EF-TECH, providing consulting services. He has trained over 3,253 students across 8 courses with a high level of student satisfaction (1,045+ reviews).
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.