New to Claude Skills? Learn how to install them →

mukul975 on GitHub

File Integrity Monitoring with AIDE

Free

Automate file integrity checks on Linux systems.

Get this skill

Free · Opens the source repo

What File Integrity Monitoring with AIDE does

This skill provides a comprehensive solution for implementing file integrity monitoring on Linux systems using AIDE (Advanced Intrusion Detection Environment). It guides users through the necessary steps to configure AIDE, including generating configuration files, initializing a baseline database, and setting up automated integrity checks. By utilizing cryptographic checksums, AIDE ensures that any unauthorized changes to critical files and directories can be detected promptly.

The skill begins with the generation of an AIDE configuration file, which defines the monitoring rules for essential directories such as /etc, /bin, and /usr/bin. Once the configuration is in place, users can initialize the baseline database, which serves as a reference point for future integrity checks. The skill also includes instructions for running integrity checks and parsing the output to identify any changes, providing a clear overview of added, removed, or modified files.

In addition to the core functionality, this skill facilitates the automation of integrity checks through cron jobs, ensuring that monitoring occurs regularly without manual intervention. This is particularly useful for organizations that need to maintain compliance with security standards or regulations. The skill also generates structured compliance reports that classify file changes by severity, aiding in incident response and security assessments.

Overall, this skill is designed for system administrators and security professionals looking to enhance their Linux security posture by implementing effective file integrity monitoring. It streamlines the setup process and provides essential tools for ongoing monitoring and compliance management.

When to use it

Use this skill when deploying AIDE for file integrity monitoring in Linux environments, especially for compliance and security assessments.

When not to use it

This skill is not suitable for non-Linux systems or environments where AIDE is not installed or supported.

What you can build with it

Setting Up AIDE for the First Time

Use this skill to configure AIDE on a new Linux server, ensuring that file integrity monitoring is established from the start.

Automating Integrity Checks

Leverage this skill to set up cron jobs that automate regular integrity checks, reducing manual oversight and enhancing security.

Generating Compliance Reports

Utilize the skill to produce structured reports of file changes, aiding in compliance audits and security assessments.

How to install File Integrity Monitoring with AIDE

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/implementing-file-integrity-monitoring-with-aide --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

Implementing File Integrity Monitoring with AIDE

Overview

AIDE (Advanced Intrusion Detection Environment) is a host-based intrusion detection system that monitors file and directory integrity using cryptographic checksums. This skill covers generating AIDE configuration files, initializing baseline databases, running integrity checks, parsing change reports, and setting up automated cron-based monitoring with alerting.

When to Use

  • When deploying or configuring implementing file integrity monitoring with aide capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • AIDE installed on target Linux system (apt install aide / yum install aide)
  • Root or sudo access for file system scanning
  • Python 3.8+ with standard library

Steps

  1. Generate AIDE Configuration — Create aide.conf with monitoring rules for critical directories (/etc, /bin, /sbin, /usr/bin, /boot)
  2. Initialize Baseline Database — Run aide --init to create the initial file integrity baseline
  3. Run Integrity Check — Execute aide --check to compare current state against baseline
  4. Parse Change Report — Extract added, removed, and changed files from AIDE output
  5. Configure Automated Monitoring — Generate cron job for scheduled integrity checks
  6. Generate Compliance Report — Produce structured report of all file changes with severity classification

Expected Output

  • AIDE configuration file (aide.conf)
  • Baseline database creation status
  • JSON report of file changes (added/removed/changed) with severity
  • Cron job configuration for automated monitoring

Frequently asked questions about File Integrity Monitoring with AIDE

Similar skills