mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
60 lines
2.3 KiB
Markdown
60 lines
2.3 KiB
Markdown
---
|
|
name: implementing-file-integrity-monitoring-with-aide
|
|
description: Configure AIDE (Advanced Intrusion Detection Environment) for file integrity monitoring including baseline creation,
|
|
scheduled integrity checks, change detection, and alerting
|
|
domain: cybersecurity
|
|
subdomain: endpoint-security
|
|
tags:
|
|
- aide
|
|
- file-integrity
|
|
- hids
|
|
- baseline
|
|
- intrusion-detection
|
|
- compliance
|
|
- linux-security
|
|
version: '1.0'
|
|
author: mahipal
|
|
license: Apache-2.0
|
|
nist_csf:
|
|
- PR.PS-01
|
|
- PR.PS-02
|
|
- DE.CM-01
|
|
- PR.IR-01
|
|
---
|
|
|
|
# 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
|