跳到正文
Skillpedia
部署与云(DevOps)35k · #8040

implementing-file-integrity-monitoring-with-aide

它能做什么

这个工具用于设置一个名为 AIDE 的系统,监控你 Linux 电脑上的文件。它会先记录文件的正常状态,然后检查是否有文件在未经许可的情况下被修改,并在发现变化时提醒你。

适用场景

  • ✓当你要搭建一套检查文件变动的安全系统时。
  • ✓当你需要确保重要系统文件没有被篡改时。
  • ✓当你需要满足要求进行文件完整性监控的安全规定时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-file-integrity-monitoring-with-aide/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-file-integrity-monitoring-with-aide/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 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

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能