implementing-file-integrity-monitoring-with-aide
できること
このツールは、Linuxコンピュータ上のファイルを監視する AIDE という仕組みを設定します。通常の状態を記録しておき、その記録と比べることで、許可なく変更されたファイルがないかを確認し、変更があれば通知します。
使う場面
- ✓ファイルの変更をチェックするセキュリティの仕組みを設定するとき。
- ✓重要なシステムファイルが改ざんされていないことを確認する必要があるとき。
- ✓ファイル整合性の監視を求めるセキュリティ規則を満たす必要があるとき。
スキルのリンク
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-file-integrity-monitoring-with-aide/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“AIDEを使って、私のLinuxサーバーにファイル整合性の監視を設定してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
まず、AIDEに何を監視させるかを指定する設定ファイルを作成します。次に、現在のファイルの状態を記録した「データベース」を作成します。最後に、定期的に変更がないかをチェックし、変更があれば通知できるようにします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
- Generate AIDE Configuration — Create aide.conf with monitoring rules for critical directories (/etc, /bin, /sbin, /usr/bin, /boot)
- Initialize Baseline Database — Run aide --init to create the initial file integrity baseline
- Run Integrity Check — Execute aide --check to compare current state against baseline
- Parse Change Report — Extract added, removed, and changed files from AIDE output
- Configure Automated Monitoring — Generate cron job for scheduled integrity checks
- 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
よくある質問
AIDEとは何ですか?
AIDEは、Linuxシステム上のファイルが書き換えられていないかを確認するプログラムです。現在のファイルの状態を、以前に記録した状態と比較することで確認します。
事前に何かインストールする必要がありますか?
はい。Linuxシステムに AIDE をインストールしておく必要があり、正しく動作させるには管理者権限(root または sudo)が必要です。
ファイルが変更された場合はどうなりますか?
ファイルの変更をAIDEが検知すると、どのファイルが変更、追加、削除されたかを詳しく記したレポートを作成し、変更の重大度も分類します。
詳細
作者による元の説明
Configures AIDE (Advanced Intrusion Detection Environment) for file integrity monitoring on Linux, covering baseline database creation, scheduled integrity checks via cron, change detection, and alerting on unauthorized modifications. Use when setting up host-based file integrity monitoring, detecting unauthorized file changes, or meeting compliance requirements for FIM on Linux systems.
人気
- GitHubのスター
- 35k
- ランキング
- #8040
- ライセンス
- Apache-2.0
- 更新日
- 2026/8/31
コメント
- …
このリポジトリの他のスキル
abusing-dpapi-for-credential-access
35k特定のタスク向けに用意された指示をAIエージェントに与え、より良く、より速く作業できるようにします。
abusing-shadow-credentials-for-privesc
35kAIエージェントに、明確で構成のしっかりした文章の書き方を教えます。
achieving-cmmc-level-2-compliance
35kエージェントがCMMC Level 2への準拠に向けた環境を整えられるようにします。セキュリティ要件を実装し、必要なドキュメントを管理します。
acquiring-disk-image-with-dd-and-dcfldd
35kエージェントがハードディスクの完全なコピーを作成できるようにします。調査中に情報が失われたり改変されたりしないようにするのに役立ちます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。