本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)35k · #8040

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-file-integrity-monitoring-with-aide/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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

  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
よくある質問

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.

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#8040
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル