agent security skill risk: low
AIDE File Integrity Monitoring Implementation
The prompt outlines prerequisites, six sequential steps, and expected outputs for configuring AIDE on Linux, including generating aide.conf, initializing a baseline database, runni…
SKILL 4 files · 2 folders
SKILL.md
--- name: implementing-file-integrity-monitoring-with-aide description: "Configure AIDE (Advanced Intrusion Detection Environment) for file integrity monitoring including baseline creation," --- # 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
REQUIRED CONTEXT
- AIDE installed on target Linux system
- Root or sudo access for file system scanning
- Python 3.8+ with standard library
EXPECTED OUTPUT
- Format
- structured_report
- Schema
- markdown_sections · 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
- Constraints
-
- produce aide.conf file
- report baseline database status
- output JSON report of file changes with severity
- include cron job configuration
CAVEATS
- Dependencies
-
- 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
- Missing context
-
- Exact commands or code snippets for each step
- Definition or criteria for severity classification
- Ambiguities
-
- Header description is truncated: "including baseline creation,"
QUALITY
- OVERALL
- 0.65
- CLARITY
- 0.75
- SPECIFICITY
- 0.55
- REUSABILITY
- 0.65
- COMPLETENESS
- 0.60
IMPROVEMENT SUGGESTIONS
- Complete the truncated sentence in the YAML header description.
- Expand each numbered step with concrete commands or examples.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR AGENT
- MoltPass Client for AI Agent Identities agent security
- Supply Chain Dependency Risk Auditor agent security
- Supply Chain Dependency Risk Auditor agent security
- Threat Modeling Security Expert agent security
- Security Bluebook Policy Builder agent security
- Security Bluebook Policy Builder agent security
- Security Blue Book Policy Builder agent security
- Threat Modeling Security Architecture Expert agent security
- Supply Chain Dependency Risk Auditor agent security
- Threat Modeling Security Expert agent security
- SIEM Detection Rule Tuning Guide agent security
- AI File Metadata Compliance Auditor agent security
- Azure Storage Misconfiguration Audit Reporter agent security
- Implementing PAM for Database Access agent security
- AFL++ Coverage-Guided Fuzzing Procedure agent security
- Supply Chain Attack Simulation Detector agent security
- Security Audit Fix Verifier agent security
- Active Directory ACL Abuse Analyzer agent security
- Privileged Access Workstation Implementation Guide agent security
- SSRF Vulnerability Testing and Reporting Guide agent security
- Security Audit Fix Reviewer agent security
- AWS IAM Privilege Escalation Detector agent security
- SSL/TLS Security Assessment with Sslyze agent security
- GCP Penetration Testing with GCPBucketBrute agent security
- AWS CloudTrail Anomaly Detection Guide agent security