[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A5BMZ3SB7C3HWAMG2NYSTG":3,"skill-same:01M7A5BMZ3SB7C3HWAMG2NYSTG":103},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M7A5BMZ3SB7C3HWAMG2NYSTG","configuring-host-based-intrusion-detection",null,"Configures host-based intrusion detection systems (HIDS) to monitor endpoint file integrity, system calls, and configuration changes for security violations. Use when deploying OSSEC, Wazuh, or AIDE for endpoint monitoring, building file integrity monitoring (FIM) policies, or meeting compliance requirements for change detection. Activates for requests involving HIDS configuration, file integrity monitoring, OSSEC\u002FWazuh deployment, or host-based detection.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: configuring-host-based-intrusion-detection\ndescription: 'Configures host-based intrusion detection systems (HIDS) to monitor\n  endpoint file integrity, system calls, and configuration changes for security violations.\n  Use when deploying OSSEC, Wazuh, or AIDE for endpoint monitoring, building file\n  integrity monitoring (FIM) policies, or meeting compliance requirements for change\n  detection. Activates for requests involving HIDS configuration, file integrity monitoring,\n  OSSEC\u002FWazuh deployment, or host-based detection.\n\n  '\ndomain: cybersecurity\nsubdomain: endpoint-security\ntags:\n- endpoint\n- HIDS\n- Wazuh\n- OSSEC\n- file-integrity-monitoring\n- intrusion-detection\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- PR.PS-02\n- DE.CM-01\n- PR.IR-01\nmitre_attack:\n- T1059\n- T1543\n- T1547\n- T1070\n- T1055\n---\n# Configuring Host-Based Intrusion Detection\n\n## When to Use\n\nUse this skill when:\n- Deploying HIDS agents (Wazuh, OSSEC, AIDE) across Windows and Linux endpoints\n- Configuring file integrity monitoring (FIM) for compliance (PCI DSS 11.5, NIST SI-7)\n- Monitoring system configuration changes, rootkit detection, and security policy violations\n- Integrating HIDS alerts with SIEM platforms for centralized monitoring\n\n**Do not use** this skill for network-based IDS (Suricata, Snort) or for EDR deployment.\n\n## Prerequisites\n\n- Wazuh server (manager) deployed and accessible from endpoints\n- Administrative access to target endpoints\n- Network connectivity: agents to Wazuh manager on port 1514 (TCP\u002FUDP) and 1515 (TCP enrollment)\n- Wazuh dashboard (OpenSearch Dashboards) for alert visualization\n- Understanding of critical files\u002Fdirectories to monitor per OS\n\n## Workflow\n\n### Step 1: Install Wazuh Agent\n\n**Windows**:\n```powershell\n# Download and install Wazuh agent\nInvoke-WebRequest -Uri \"https:\u002F\u002Fpackages.wazuh.com\u002F4.x\u002Fwindows\u002Fwazuh-agent-4.9.0-1.msi\" `\n  -OutFile \"wazuh-agent.msi\"\nmsiexec \u002Fi wazuh-agent.msi \u002Fq WAZUH_MANAGER=\"wazuh-manager.corp.com\" `\n  WAZUH_REGISTRATION_SERVER=\"wazuh-manager.corp.com\" WAZUH_AGENT_GROUP=\"windows-workstations\"\nnet start WazuhSvc\n```\n\n**Linux (Debian\u002FUbuntu)**:\n```bash\ncurl -s https:\u002F\u002Fpackages.wazuh.com\u002Fkey\u002FGPG-KEY-WAZUH | gpg --dearmor -o \u002Fusr\u002Fshare\u002Fkeyrings\u002Fwazuh.gpg\necho \"deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fwazuh.gpg] https:\u002F\u002Fpackages.wazuh.com\u002F4.x\u002Fapt\u002F stable main\" \\\n  > \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fwazuh.list\napt-get update && apt-get install wazuh-agent -y\nsed -i 's\u002FMANAGER_IP\u002Fwazuh-manager.corp.com\u002F' \u002Fvar\u002Fossec\u002Fetc\u002Fossec.conf\nsystemctl daemon-reload && systemctl enable --now wazuh-agent\n```\n\n### Step 2: Configure File Integrity Monitoring (FIM)\n\nEdit agent configuration (`\u002Fvar\u002Fossec\u002Fetc\u002Fossec.conf` or `C:\\Program Files (x86)\\ossec-agent\\ossec.conf`):\n\n```xml\n\u003Csyscheck>\n  \u003C!-- Scan frequency: every 12 hours -->\n  \u003Cfrequency>43200\u003C\u002Ffrequency>\n  \u003Cscan_on_start>yes\u003C\u002Fscan_on_start>\n  \u003Calert_new_files>yes\u003C\u002Falert_new_files>\n\n  \u003C!-- Linux critical directories -->\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fetc\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fusr\u002Fbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fusr\u002Fsbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fsbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\">\u002Fboot\u003C\u002Fdirectories>\n\n  \u003C!-- Windows critical directories -->\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">C:\\Windows\\System32\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">C:\\Windows\\SysWOW64\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">%PROGRAMFILES%\u003C\u002Fdirectories>\n\n  \u003C!-- Windows registry monitoring -->\n  \u003Cwindows_registry>HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\u003C\u002Fwindows_registry>\n  \u003Cwindows_registry>HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\u003C\u002Fwindows_registry>\n  \u003Cwindows_registry>HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\u003C\u002Fwindows_registry>\n\n  \u003C!-- Ignore frequently changing files -->\n  \u003Cignore>\u002Fetc\u002Fmtab\u003C\u002Fignore>\n  \u003Cignore>\u002Fetc\u002Fresolv.conf\u003C\u002Fignore>\n  \u003Cignore type=\"sregex\">.log$\u003C\u002Fignore>\n\u003C\u002Fsyscheck>\n```\n\n### Step 3: Configure Rootkit Detection\n\n```xml\n\u003Crootcheck>\n  \u003Cdisabled>no\u003C\u002Fdisabled>\n  \u003Cfrequency>43200\u003C\u002Ffrequency>\n  \u003Crootkit_files>\u002Fvar\u002Fossec\u002Fetc\u002Fshared\u002Frootkit_files.txt\u003C\u002Frootkit_files>\n  \u003Crootkit_trojans>\u002Fvar\u002Fossec\u002Fetc\u002Fshared\u002Frootkit_trojans.txt\u003C\u002Frootkit_trojans>\n  \u003Csystem_audit>\u002Fvar\u002Fossec\u002Fetc\u002Fshared\u002Fsystem_audit_rcl.txt\u003C\u002Fsystem_audit>\n  \u003Ccheck_dev>yes\u003C\u002Fcheck_dev>\n  \u003Ccheck_files>yes\u003C\u002Fcheck_files>\n  \u003Ccheck_if>yes\u003C\u002Fcheck_if>\n  \u003Ccheck_pids>yes\u003C\u002Fcheck_pids>\n  \u003Ccheck_ports>yes\u003C\u002Fcheck_ports>\n  \u003Ccheck_sys>yes\u003C\u002Fcheck_sys>\n  \u003Ccheck_trojans>yes\u003C\u002Fcheck_trojans>\n  \u003Ccheck_unixaudit>yes\u003C\u002Fcheck_unixaudit>\n\u003C\u002Frootcheck>\n```\n\n### Step 4: Configure Log Analysis Rules\n\n```xml\n\u003C!-- Custom rules in \u002Fvar\u002Fossec\u002Fetc\u002Frules\u002Flocal_rules.xml -->\n\u003Cgroup name=\"local,syscheck,\">\n  \u003C!-- Alert on critical binary modifications -->\n  \u003Crule id=\"100001\" level=\"12\">\n    \u003Cif_sid>550\u003C\u002Fif_sid>\n    \u003Cmatch>\u002Fusr\u002Fbin\u002F|\u002Fusr\u002Fsbin\u002F|\u002Fbin\u002F|\u002Fsbin\u002F\u003C\u002Fmatch>\n    \u003Cdescription>Critical system binary modified: $(file)\u003C\u002Fdescription>\n    \u003Cgroup>syscheck,pci_dss_11.5,\u003C\u002Fgroup>\n  \u003C\u002Frule>\n\n  \u003C!-- Alert on new executable in temp directories -->\n  \u003Crule id=\"100002\" level=\"10\">\n    \u003Cif_sid>554\u003C\u002Fif_sid>\n    \u003Cmatch>\u002Ftmp\u002F|\u002Fvar\u002Ftmp\u002F\u003C\u002Fmatch>\n    \u003Cdescription>New file created in temp directory: $(file)\u003C\u002Fdescription>\n    \u003Cgroup>syscheck,malware,\u003C\u002Fgroup>\n  \u003C\u002Frule>\n\n  \u003C!-- Alert on SSH configuration changes -->\n  \u003Crule id=\"100003\" level=\"10\">\n    \u003Cif_sid>550\u003C\u002Fif_sid>\n    \u003Cmatch>\u002Fetc\u002Fssh\u002Fsshd_config\u003C\u002Fmatch>\n    \u003Cdescription>SSH configuration modified\u003C\u002Fdescription>\n    \u003Cgroup>syscheck,authentication,\u003C\u002Fgroup>\n  \u003C\u002Frule>\n\u003C\u002Fgroup>\n```\n\n### Step 5: Configure Active Response\n\n```xml\n\u003C!-- Auto-block IP after repeated authentication failures -->\n\u003Cactive-response>\n  \u003Ccommand>firewall-drop\u003C\u002Fcommand>\n  \u003Clocation>local\u003C\u002Flocation>\n  \u003Crules_id>5712\u003C\u002Frules_id>\n  \u003Ctimeout>600\u003C\u002Ftimeout>\n\u003C\u002Factive-response>\n\n\u003C!-- Disable account after brute force detection -->\n\u003Cactive-response>\n  \u003Cdisabled>no\u003C\u002Fdisabled>\n  \u003Ccommand>disable-account\u003C\u002Fcommand>\n  \u003Clocation>local\u003C\u002Flocation>\n  \u003Crules_id>100100\u003C\u002Frules_id>\n  \u003Ctimeout>3600\u003C\u002Ftimeout>\n\u003C\u002Factive-response>\n```\n\n### Step 6: Integrate with SIEM\n\n```\n# Wazuh to Splunk via Filebeat\n# Edit \u002Fetc\u002Ffilebeat\u002Ffilebeat.yml:\nfilebeat.inputs:\n  - type: log\n    paths:\n      - \u002Fvar\u002Fossec\u002Flogs\u002Falerts\u002Falerts.json\n    json.keys_under_root: true\noutput.elasticsearch:\n  hosts: [\"https:\u002F\u002Fsplunk-hec:8088\"]\n\n# Wazuh to Elastic via direct integration\n# Wazuh indexer feeds directly into OpenSearch\u002FElasticsearch\n# Dashboard: https:\u002F\u002Fwazuh-dashboard:5601\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **HIDS** | Host-based Intrusion Detection System; monitors individual endpoints for malicious activity |\n| **FIM** | File Integrity Monitoring; detects unauthorized changes to files by comparing cryptographic hashes |\n| **Syscheck** | Wazuh\u002FOSSEC module for file integrity monitoring and registry monitoring |\n| **Rootcheck** | Wazuh\u002FOSSEC module for rootkit and malware detection |\n| **Active Response** | Automated defensive action triggered by HIDS alert (IP block, account disable) |\n| **CDB List** | Constant Database list used for custom lookups in Wazuh rules |\n\n## Tools & Systems\n\n- **Wazuh**: Open-source HIDS platform (fork of OSSEC) with manager, agent, and dashboard\n- **OSSEC**: Original open-source HIDS (predecessor to Wazuh)\n- **AIDE (Advanced Intrusion Detection Environment)**: Standalone file integrity checker for Linux\n- **Tripwire**: Commercial file integrity monitoring solution\n- **Samhain**: Open-source HIDS focused on file integrity and log monitoring\n\n## Common Pitfalls\n\n- **Monitoring too many directories**: FIM on entire filesystems generates excessive alerts. Focus on critical system binaries, configuration files, and web roots.\n- **Not excluding noisy files**: Frequently changing files (logs, temp, caches) generate false positive FIM alerts. Maintain exclusion lists.\n- **Ignoring baseline establishment**: First FIM scan creates a baseline. Changes detected before baseline stabilization are noise, not threats. Allow 48 hours for baseline.\n- **Active response without testing**: Auto-blocking IPs or disabling accounts can cause outages. Test active response rules in a non-production environment first.\n- **Agent enrollment failures**: Agents must successfully enroll with the manager before monitoring begins. Verify firewall rules allow port 1514 and 1515 traffic.\n","# Configuring Host-Based Intrusion Detection\n\n## When to Use\n\nUse this skill when:\n- Deploying HIDS agents (Wazuh, OSSEC, AIDE) across Windows and Linux endpoints\n- Configuring file integrity monitoring (FIM) for compliance (PCI DSS 11.5, NIST SI-7)\n- Monitoring system configuration changes, rootkit detection, and security policy violations\n- Integrating HIDS alerts with SIEM platforms for centralized monitoring\n\n**Do not use** this skill for network-based IDS (Suricata, Snort) or for EDR deployment.\n\n## Prerequisites\n\n- Wazuh server (manager) deployed and accessible from endpoints\n- Administrative access to target endpoints\n- Network connectivity: agents to Wazuh manager on port 1514 (TCP\u002FUDP) and 1515 (TCP enrollment)\n- Wazuh dashboard (OpenSearch Dashboards) for alert visualization\n- Understanding of critical files\u002Fdirectories to monitor per OS\n\n## Workflow\n\n### Step 1: Install Wazuh Agent\n\n**Windows**:\n```powershell\n# Download and install Wazuh agent\nInvoke-WebRequest -Uri \"https:\u002F\u002Fpackages.wazuh.com\u002F4.x\u002Fwindows\u002Fwazuh-agent-4.9.0-1.msi\" `\n  -OutFile \"wazuh-agent.msi\"\nmsiexec \u002Fi wazuh-agent.msi \u002Fq WAZUH_MANAGER=\"wazuh-manager.corp.com\" `\n  WAZUH_REGISTRATION_SERVER=\"wazuh-manager.corp.com\" WAZUH_AGENT_GROUP=\"windows-workstations\"\nnet start WazuhSvc\n```\n\n**Linux (Debian\u002FUbuntu)**:\n```bash\ncurl -s https:\u002F\u002Fpackages.wazuh.com\u002Fkey\u002FGPG-KEY-WAZUH | gpg --dearmor -o \u002Fusr\u002Fshare\u002Fkeyrings\u002Fwazuh.gpg\necho \"deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fwazuh.gpg] https:\u002F\u002Fpackages.wazuh.com\u002F4.x\u002Fapt\u002F stable main\" \\\n  > \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fwazuh.list\napt-get update && apt-get install wazuh-agent -y\nsed -i 's\u002FMANAGER_IP\u002Fwazuh-manager.corp.com\u002F' \u002Fvar\u002Fossec\u002Fetc\u002Fossec.conf\nsystemctl daemon-reload && systemctl enable --now wazuh-agent\n```\n\n### Step 2: Configure File Integrity Monitoring (FIM)\n\nEdit agent configuration (`\u002Fvar\u002Fossec\u002Fetc\u002Fossec.conf` or `C:\\Program Files (x86)\\ossec-agent\\ossec.conf`):\n\n```xml\n\u003Csyscheck>\n  \u003C!-- Scan frequency: every 12 hours -->\n  \u003Cfrequency>43200\u003C\u002Ffrequency>\n  \u003Cscan_on_start>yes\u003C\u002Fscan_on_start>\n  \u003Calert_new_files>yes\u003C\u002Falert_new_files>\n\n  \u003C!-- Linux critical directories -->\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fetc\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fusr\u002Fbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fusr\u002Fsbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">\u002Fsbin\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\">\u002Fboot\u003C\u002Fdirectories>\n\n  \u003C!-- Windows critical directories -->\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">C:\\Windows\\System32\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">C:\\Windows\\SysWOW64\u003C\u002Fdirectories>\n  \u003Cdirectories check_all=\"yes\" realtime=\"yes\">%PROGRAMFILES%\u003C\u002Fdirectories>\n\n  \u003C!-- Windows registry monitoring -->\n  \u003Cwindows_registry>HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\u003C\u002Fwindows_registry>\n  \u003Cwindows_registry>HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\u003C\u002Fwindows_registry>\n  \u003Cwindows_registry>HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\u003C\u002Fwindows_registry>\n\n  \u003C!-- Ignore frequently changing files -->\n  \u003Cignore>\u002Fetc\u002Fmtab\u003C\u002Fignore>\n  \u003Cignore>\u002Fetc\u002Fresolv.conf\u003C\u002Fignore>\n  \u003Cignore type=\"sregex\">.log$\u003C\u002Fignore>\n\u003C\u002Fsyscheck>\n```\n\n### Step 3: Configure Rootkit Detection\n\n```xml\n\u003Crootcheck>\n  \u003Cdisabled>no\u003C\u002Fdisabled>\n  \u003Cfrequency>43200\u003C\u002Ffrequency>\n  \u003Crootkit_files>\u002Fvar\u002Fossec\u002Fetc\u002Fshared\u002Frootkit_files.txt\u003C\u002Frootkit_files>\n  \u003Crootkit_trojans>\u002Fvar\u002Fossec\u002Fetc\u002Fshared\u002Frootkit_trojans.txt\u003C\u002Frootkit_trojans>\n  \u003Csystem_audit>\u002Fvar\u002Fossec\u002Fetc\u002Fshared\u002Fsystem_audit_rcl.txt\u003C\u002Fsystem_audit>\n  \u003Ccheck_dev>yes\u003C\u002Fcheck_dev>\n  \u003Ccheck_files>yes\u003C\u002Fcheck_files>\n  \u003Ccheck_if>yes\u003C\u002Fcheck_if>\n  \u003Ccheck_pids>yes\u003C\u002Fcheck_pids>\n  \u003Ccheck_ports>yes\u003C\u002Fcheck_ports>\n  \u003Ccheck_sys>yes\u003C\u002Fcheck_sys>\n  \u003Ccheck_trojans>yes\u003C\u002Fcheck_trojans>\n  \u003Ccheck_unixaudit>yes\u003C\u002Fcheck_unixaudit>\n\u003C\u002Frootcheck>\n```\n\n### Step 4: Configure Log Analysis Rules\n\n```xml\n\u003C!-- Custom rules in \u002Fvar\u002Fossec\u002Fetc\u002Frules\u002Flocal_rules.xml -->\n\u003Cgroup name=\"local,syscheck,\">\n  \u003C!-- Alert on critical binary modifications -->\n  \u003Crule id=\"100001\" level=\"12\">\n    \u003Cif_sid>550\u003C\u002Fif_sid>\n    \u003Cmatch>\u002Fusr\u002Fbin\u002F|\u002Fusr\u002Fsbin\u002F|\u002Fbin\u002F|\u002Fsbin\u002F\u003C\u002Fmatch>\n    \u003Cdescription>Critical system binary modified: $(file)\u003C\u002Fdescription>\n    \u003Cgroup>syscheck,pci_dss_11.5,\u003C\u002Fgroup>\n  \u003C\u002Frule>\n\n  \u003C!-- Alert on new executable in temp directories -->\n  \u003Crule id=\"100002\" level=\"10\">\n    \u003Cif_sid>554\u003C\u002Fif_sid>\n    \u003Cmatch>\u002Ftmp\u002F|\u002Fvar\u002Ftmp\u002F\u003C\u002Fmatch>\n    \u003Cdescription>New file created in temp directory: $(file)\u003C\u002Fdescription>\n    \u003Cgroup>syscheck,malware,\u003C\u002Fgroup>\n  \u003C\u002Frule>\n\n  \u003C!-- Alert on SSH configuration changes -->\n  \u003Crule id=\"100003\" level=\"10\">\n    \u003Cif_sid>550\u003C\u002Fif_sid>\n    \u003Cmatch>\u002Fetc\u002Fssh\u002Fsshd_config\u003C\u002Fmatch>\n    \u003Cdescription>SSH configuration modified\u003C\u002Fdescription>\n    \u003Cgroup>syscheck,authentication,\u003C\u002Fgroup>\n  \u003C\u002Frule>\n\u003C\u002Fgroup>\n```\n\n### Step 5: Configure Active Response\n\n```xml\n\u003C!-- Auto-block IP after repeated authentication failures -->\n\u003Cactive-response>\n  \u003Ccommand>firewall-drop\u003C\u002Fcommand>\n  \u003Clocation>local\u003C\u002Flocation>\n  \u003Crules_id>5712\u003C\u002Frules_id>\n  \u003Ctimeout>600\u003C\u002Ftimeout>\n\u003C\u002Factive-response>\n\n\u003C!-- Disable account after brute force detection -->\n\u003Cactive-response>\n  \u003Cdisabled>no\u003C\u002Fdisabled>\n  \u003Ccommand>disable-account\u003C\u002Fcommand>\n  \u003Clocation>local\u003C\u002Flocation>\n  \u003Crules_id>100100\u003C\u002Frules_id>\n  \u003Ctimeout>3600\u003C\u002Ftimeout>\n\u003C\u002Factive-response>\n```\n\n### Step 6: Integrate with SIEM\n\n```\n# Wazuh to Splunk via Filebeat\n# Edit \u002Fetc\u002Ffilebeat\u002Ffilebeat.yml:\nfilebeat.inputs:\n  - type: log\n    paths:\n      - \u002Fvar\u002Fossec\u002Flogs\u002Falerts\u002Falerts.json\n    json.keys_under_root: true\noutput.elasticsearch:\n  hosts: [\"https:\u002F\u002Fsplunk-hec:8088\"]\n\n# Wazuh to Elastic via direct integration\n# Wazuh indexer feeds directly into OpenSearch\u002FElasticsearch\n# Dashboard: https:\u002F\u002Fwazuh-dashboard:5601\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **HIDS** | Host-based Intrusion Detection System; monitors individual endpoints for malicious activity |\n| **FIM** | File Integrity Monitoring; detects unauthorized changes to files by comparing cryptographic hashes |\n| **Syscheck** | Wazuh\u002FOSSEC module for file integrity monitoring and registry monitoring |\n| **Rootcheck** | Wazuh\u002FOSSEC module for rootkit and malware detection |\n| **Active Response** | Automated defensive action triggered by HIDS alert (IP block, account disable) |\n| **CDB List** | Constant Database list used for custom lookups in Wazuh rules |\n\n## Tools & Systems\n\n- **Wazuh**: Open-source HIDS platform (fork of OSSEC) with manager, agent, and dashboard\n- **OSSEC**: Original open-source HIDS (predecessor to Wazuh)\n- **AIDE (Advanced Intrusion Detection Environment)**: Standalone file integrity checker for Linux\n- **Tripwire**: Commercial file integrity monitoring solution\n- **Samhain**: Open-source HIDS focused on file integrity and log monitoring\n\n## Common Pitfalls\n\n- **Monitoring too many directories**: FIM on entire filesystems generates excessive alerts. Focus on critical system binaries, configuration files, and web roots.\n- **Not excluding noisy files**: Frequently changing files (logs, temp, caches) generate false positive FIM alerts. Maintain exclusion lists.\n- **Ignoring baseline establishment**: First FIM scan creates a baseline. Changes detected before baseline stabilization are noise, not threats. Allow 48 hours for baseline.\n- **Active response without testing**: Auto-blocking IPs or disabling accounts can cause outages. Test active response rules in a non-production environment first.\n- **Agent enrollment failures**: Agents must successfully enroll with the manager before monitoring begins. Verify firewall rules allow port 1514 and 1515 traffic.\n",{"name":5,"tags":25,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":40,"description":41,"mitre_attack":42},[26,27,28,29,30,31],"endpoint","HIDS","Wazuh","OSSEC","file-integrity-monitoring","intrusion-detection","mahipal","cybersecurity","1.0.0",[36,37,38,39],"PR.PS-01","PR.PS-02","DE.CM-01","PR.IR-01","endpoint-security","Configures host-based intrusion detection systems (HIDS) to monitor endpoint file integrity, system calls, and configuration changes for security violations. Use when deploying OSSEC, Wazuh, or AIDE for endpoint monitoring, building file integrity monitoring (FIM) policies, or meeting compliance requirements for change detection. Activates for requests involving HIDS configuration, file integrity monitoring, OSSEC\u002FWazuh deployment, or host-based detection.\n",[43,44,45,46,47],"T1059","T1543","T1547","T1070","T1055","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add NeelakshSaxena\u002FVayu --skill configuring-host-based-intrusion-detection",{"tool":61,"command":62},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill configuring-host-based-intrusion-detection",{"tool":64,"command":65},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill configuring-host-based-intrusion-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002FSKILL.md",true,[69,75,79,85,89,93,99],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"assets\u002Ftemplate.md","ASSET","资产文件",998,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002Fassets\u002Ftemplate.md",{"path":76,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fapi-reference.md","REFERENCE","参考文档",1571,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002Freferences\u002Fapi-reference.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fstandards.md",1520,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002Freferences\u002Fstandards.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fworkflows.md",1301,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002Freferences\u002Fworkflows.md",{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fagent.py","SCRIPT","脚本",5409,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002Fscripts\u002Fagent.py",{"path":100,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fprocess.py",5677,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconfiguring-host-based-intrusion-detection\u002Fscripts\u002Fprocess.py",[104,111,118,125,132,139],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]