[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ER5H9TJVTN0N01PD0FRCMR":3,"skill-same:01M6ER5H9TJVTN0N01PD0FRCMR":93},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6ER5H9TJVTN0N01PD0FRCMR","analyzing-linux-audit-logs-for-intrusion",null,"Uses the Linux Audit framework (auditd) with ausearch and aureport utilities to detect intrusion attempts, unauthorized access, privilege escalation, and suspicious system activity. Covers audit rule configuration, log querying, timeline reconstruction, and integration with SIEM platforms. Activates for requests involving auditd analysis, Linux audit log investigation, ausearch queries, aureport summaries, or host-based intrusion detection on Linux.","luokai0\u002Fai-agent-skills-by-luo-kai","luokai0","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266954973?v=4","01M6E16VNT42JB8B3X3254QWJ7","luo kai","01M6E16VTFVP6S5XJF1V1MPV90",14,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-linux-audit-logs-for-intrusion\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"linux","audit","logs","analyzing","analyzing linux audit logs for intrusion","audit log","suspicious","host","incident","log","access","analysis","HIDS","intrusion-detection","linux-security","aureport","ausearch","auditd","siem","cybersecurity","2026-11-10 10:12:30",false,"---\nname: analyzing-linux-audit-logs-for-intrusion\ndescription: >\n  Uses the Linux Audit framework (auditd) with ausearch and aureport utilities\n  to detect intrusion attempts, unauthorized access, privilege escalation, and\n  suspicious system activity. Covers audit rule configuration, log querying,\n  timeline reconstruction, and integration with SIEM platforms. Activates for\n  requests involving auditd analysis, Linux audit log investigation, ausearch\n  queries, aureport summaries, or host-based intrusion detection on Linux.\ndomain: cybersecurity\nsubdomain: incident-response\ntags: [auditd, ausearch, aureport, linux-security, intrusion-detection, HIDS, forensics]\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Analyzing Linux Audit Logs for Intrusion\n\n## When to Use\n\n- Investigating suspected unauthorized access or privilege escalation on Linux hosts\n- Hunting for evidence of exploitation, backdoor installation, or persistence mechanisms\n- Auditing compliance with security baselines (CIS, STIG, PCI-DSS) that require system call monitoring\n- Reconstructing a timeline of attacker actions during incident response\n- Detecting file tampering on critical system files such as `\u002Fetc\u002Fpasswd`, `\u002Fetc\u002Fshadow`, or SSH keys\n\n**Do not use** for network-level intrusion detection; use Suricata or Zeek for network traffic analysis. Auditd operates at the kernel level on individual hosts.\n\n## Prerequisites\n\n- Linux system with `auditd` package installed and the audit daemon running (`systemctl status auditd`)\n- Root or sudo access to configure audit rules and query logs\n- Audit rules deployed via `\u002Fetc\u002Faudit\u002Frules.d\u002F*.rules` or loaded with `auditctl`\n- Recommended: Neo23x0\u002Fauditd ruleset from GitHub for comprehensive baseline coverage\n- Familiarity with Linux syscalls (`execve`, `open`, `connect`, `ptrace`, etc.)\n- Log storage with sufficient retention (default location: `\u002Fvar\u002Flog\u002Faudit\u002Faudit.log`)\n\n## Workflow\n\n### Step 1: Verify Audit Daemon Status and Configuration\n\nConfirm the audit system is running and check the current rule set:\n\n```bash\n# Check auditd service status\nsystemctl status auditd\n\n# Show current audit rules loaded in the kernel\nauditctl -l\n\n# Show audit daemon configuration\ncat \u002Fetc\u002Faudit\u002Fauditd.conf | grep -E \"log_file|max_log_file|num_logs|space_left_action\"\n\n# Check if the audit backlog is being exceeded (dropped events)\nauditctl -s\n```\n\nIf the backlog limit is being reached, increase it:\n\n```bash\nauditctl -b 8192\n```\n\n### Step 2: Deploy Intrusion-Focused Audit Rules\n\nAdd rules that target common intrusion indicators. Place these in `\u002Fetc\u002Faudit\u002Frules.d\u002Fintrusion.rules`:\n\n```bash\n# Monitor credential files for unauthorized reads or modifications\n-w \u002Fetc\u002Fpasswd -p wa -k credential_access\n-w \u002Fetc\u002Fshadow -p rwa -k credential_access\n-w \u002Fetc\u002Fgshadow -p rwa -k credential_access\n-w \u002Fetc\u002Fsudoers -p wa -k privilege_escalation\n-w \u002Fetc\u002Fsudoers.d\u002F -p wa -k privilege_escalation\n\n# Monitor SSH configuration and authorized keys\n-w \u002Fetc\u002Fssh\u002Fsshd_config -p wa -k sshd_config_change\n-w \u002Froot\u002F.ssh\u002Fauthorized_keys -p wa -k ssh_key_tampering\n\n# Monitor user and group management commands\n-w \u002Fusr\u002Fsbin\u002Fuseradd -p x -k user_management\n-w \u002Fusr\u002Fsbin\u002Fusermod -p x -k user_management\n-w \u002Fusr\u002Fsbin\u002Fgroupadd -p x -k user_management\n\n# Detect process injection via ptrace\n-a always,exit -F arch=b64 -S ptrace -F a0=0x4 -k process_injection\n-a always,exit -F arch=b64 -S ptrace -F a0=0x5 -k process_injection\n-a always,exit -F arch=b64 -S ptrace -F a0=0x6 -k process_injection\n\n# Monitor execution of programs from unusual directories\n-a always,exit -F arch=b64 -S execve -F exe=\u002Ftmp -k exec_from_tmp\n-a always,exit -F arch=b64 -S execve -F exe=\u002Fdev\u002Fshm -k exec_from_shm\n\n# Detect kernel module loading (rootkit installation)\n-a always,exit -F arch=b64 -S init_module -S finit_module -k kernel_module_load\n-a always,exit -F arch=b64 -S delete_module -k kernel_module_remove\n-w \u002Fsbin\u002Finsmod -p x -k kernel_module_tool\n-w \u002Fsbin\u002Fmodprobe -p x -k kernel_module_tool\n\n# Monitor network socket creation for reverse shells\n-a always,exit -F arch=b64 -S socket -F a0=2 -k network_socket_created\n-a always,exit -F arch=b64 -S connect -F a0=2 -k network_connection\n\n# Detect cron job modifications (persistence)\n-w \u002Fetc\u002Fcrontab -p wa -k cron_persistence\n-w \u002Fetc\u002Fcron.d\u002F -p wa -k cron_persistence\n-w \u002Fvar\u002Fspool\u002Fcron\u002F -p wa -k cron_persistence\n\n# Monitor log deletion or tampering\n-w \u002Fvar\u002Flog\u002F -p wa -k log_tampering\n```\n\nReload rules after editing:\n\n```bash\naugenrules --load\nauditctl -l | wc -l   # Confirm rule count\n```\n\n### Step 3: Search for Intrusion Indicators with ausearch\n\nUse `ausearch` to query the audit log for specific events:\n\n```bash\n# Search for all failed login attempts in the last 24 hours\nausearch -m USER_LOGIN --success no -ts recent\n\n# Search for commands executed by a specific user\nausearch -ua 1001 -m EXECVE -ts today\n\n# Search for all file access events on \u002Fetc\u002Fshadow\nausearch -f \u002Fetc\u002Fshadow -ts this-week\n\n# Search for privilege escalation via sudo\nausearch -m USER_CMD -ts today\n\n# Search for kernel module loading events\nausearch -k kernel_module_load -ts this-month\n\n# Search for processes executed from \u002Ftmp (common attack staging)\nausearch -k exec_from_tmp -ts this-week\n\n# Search for SSH key modifications\nausearch -k ssh_key_tampering -ts this-month\n\n# Search for a specific event by audit event ID\nausearch -a 12345\n\n# Search events in a specific time range\nausearch -ts 03\u002F15\u002F2026 08:00:00 -te 03\u002F15\u002F2026 18:00:00\n\n# Interpret syscall numbers and format output readably\nausearch -k credential_access -i -ts today\n```\n\n### Step 4: Generate Summary Reports with aureport\n\nUse `aureport` to produce aggregate summaries for triage:\n\n```bash\n# Summary of all authentication events\naureport -au -ts this-week --summary\n\n# Report of all failed events (login, access, etc.)\naureport --failed --summary -ts today\n\n# Report of executable runs\naureport -x --summary -ts today\n\n# Report of all anomaly events (segfaults, promiscuous mode, etc.)\naureport --anomaly -ts this-week\n\n# Report of file access events\naureport -f --summary -ts today\n\n# Report of all events by key (maps to your custom rule keys)\naureport -k --summary -ts this-month\n\n# Report of all system calls\naureport -s --summary -ts today\n\n# Report of events grouped by user\naureport -u --summary -ts this-week\n\n# Detailed time-based event report for timeline building\naureport -ts 03\u002F15\u002F2026 08:00:00 -te 03\u002F15\u002F2026 18:00:00 --summary\n```\n\n### Step 5: Reconstruct the Attack Timeline\n\nCombine ausearch queries to build a chronological narrative:\n\n```bash\n# Step 5a: Identify the initial access timestamp\nausearch -m USER_LOGIN -ua 0 --success yes -ts this-week -i | head -50\n\n# Step 5b: Trace what the attacker did after gaining access\n# Get all events from the compromised account within the incident window\nausearch -ua \u003CUID> -ts \"03\u002F15\u002F2026 14:00:00\" -te \"03\u002F15\u002F2026 18:00:00\" -i \\\n  | aureport -f -i\n\n# Step 5c: Extract all commands executed during the incident window\nausearch -m EXECVE -ts \"03\u002F15\u002F2026 14:00:00\" -te \"03\u002F15\u002F2026 18:00:00\" -i\n\n# Step 5d: Check for persistence mechanisms installed\nausearch -k cron_persistence -ts \"03\u002F15\u002F2026 14:00:00\" -i\nausearch -k ssh_key_tampering -ts \"03\u002F15\u002F2026 14:00:00\" -i\n\n# Step 5e: Check for lateral movement (outbound connections)\nausearch -k network_connection -ts \"03\u002F15\u002F2026 14:00:00\" -i\n```\n\n### Step 6: Forward Audit Logs to SIEM\n\nConfigure `audisp-remote` or `auditbeat` to ship logs to a central SIEM for correlation:\n\n```bash\n# Option A: Using audisp-remote plugin\n# Edit \u002Fetc\u002Faudit\u002Fplugins.d\u002Fau-remote.conf\nactive = yes\ndirection = out\npath = \u002Fsbin\u002Faudisp-remote\ntype = always\n\n# Configure remote target in \u002Fetc\u002Faudit\u002Faudisp-remote.conf\nremote_server = siem.internal.corp\nport = 6514\ntransport = tcp\n\n# Option B: Using Elastic Auditbeat\n# Install auditbeat and configure \u002Fetc\u002Fauditbeat\u002Fauditbeat.yml\n# Auditbeat reads directly from the kernel audit framework\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **auditd** | The Linux Audit daemon that receives audit events from the kernel and writes them to `\u002Fvar\u002Flog\u002Faudit\u002Faudit.log` |\n| **auditctl** | Command-line utility to control the audit system: add\u002Fremove rules, check status, set backlog size |\n| **ausearch** | Query tool that searches audit logs by message type, user, file, key, time range, or event ID |\n| **aureport** | Reporting tool that generates aggregate summaries of audit events for triage and compliance |\n| **audit rule key (-k)** | A user-defined label attached to an audit rule, enabling fast filtering of related events with ausearch and aureport |\n| **syscall auditing** | Kernel-level monitoring of system calls (execve, open, connect, ptrace) that captures process and file activity |\n| **augenrules** | Utility that merges all files in `\u002Fetc\u002Faudit\u002Frules.d\u002F` into `\u002Fetc\u002Faudit\u002Faudit.rules` and loads them into the kernel |\n\n## Verification\n\n- [ ] auditd is running and rules are loaded (`auditctl -l` returns expected rule count)\n- [ ] No audit backlog overflow (`auditctl -s` shows `backlog: 0` or low value, lost: 0)\n- [ ] ausearch returns events for each custom key (`ausearch -k \u003Ckey> -ts today` returns results)\n- [ ] aureport generates non-empty summaries for authentication, executable, and file events\n- [ ] Timeline reconstruction produces a coherent chronological sequence of attacker actions\n- [ ] Critical file watches trigger alerts on test modifications (`touch \u002Fetc\u002Fshadow` generates an event)\n- [ ] Logs are forwarding to central SIEM (verify with a test event and confirm receipt)\n- [ ] Audit rules persist across reboot (rules in `\u002Fetc\u002Faudit\u002Frules.d\u002F`, not only via `auditctl`)\n","# Analyzing Linux Audit Logs for Intrusion\n\n## When to Use\n\n- Investigating suspected unauthorized access or privilege escalation on Linux hosts\n- Hunting for evidence of exploitation, backdoor installation, or persistence mechanisms\n- Auditing compliance with security baselines (CIS, STIG, PCI-DSS) that require system call monitoring\n- Reconstructing a timeline of attacker actions during incident response\n- Detecting file tampering on critical system files such as `\u002Fetc\u002Fpasswd`, `\u002Fetc\u002Fshadow`, or SSH keys\n\n**Do not use** for network-level intrusion detection; use Suricata or Zeek for network traffic analysis. Auditd operates at the kernel level on individual hosts.\n\n## Prerequisites\n\n- Linux system with `auditd` package installed and the audit daemon running (`systemctl status auditd`)\n- Root or sudo access to configure audit rules and query logs\n- Audit rules deployed via `\u002Fetc\u002Faudit\u002Frules.d\u002F*.rules` or loaded with `auditctl`\n- Recommended: Neo23x0\u002Fauditd ruleset from GitHub for comprehensive baseline coverage\n- Familiarity with Linux syscalls (`execve`, `open`, `connect`, `ptrace`, etc.)\n- Log storage with sufficient retention (default location: `\u002Fvar\u002Flog\u002Faudit\u002Faudit.log`)\n\n## Workflow\n\n### Step 1: Verify Audit Daemon Status and Configuration\n\nConfirm the audit system is running and check the current rule set:\n\n```bash\n# Check auditd service status\nsystemctl status auditd\n\n# Show current audit rules loaded in the kernel\nauditctl -l\n\n# Show audit daemon configuration\ncat \u002Fetc\u002Faudit\u002Fauditd.conf | grep -E \"log_file|max_log_file|num_logs|space_left_action\"\n\n# Check if the audit backlog is being exceeded (dropped events)\nauditctl -s\n```\n\nIf the backlog limit is being reached, increase it:\n\n```bash\nauditctl -b 8192\n```\n\n### Step 2: Deploy Intrusion-Focused Audit Rules\n\nAdd rules that target common intrusion indicators. Place these in `\u002Fetc\u002Faudit\u002Frules.d\u002Fintrusion.rules`:\n\n```bash\n# Monitor credential files for unauthorized reads or modifications\n-w \u002Fetc\u002Fpasswd -p wa -k credential_access\n-w \u002Fetc\u002Fshadow -p rwa -k credential_access\n-w \u002Fetc\u002Fgshadow -p rwa -k credential_access\n-w \u002Fetc\u002Fsudoers -p wa -k privilege_escalation\n-w \u002Fetc\u002Fsudoers.d\u002F -p wa -k privilege_escalation\n\n# Monitor SSH configuration and authorized keys\n-w \u002Fetc\u002Fssh\u002Fsshd_config -p wa -k sshd_config_change\n-w \u002Froot\u002F.ssh\u002Fauthorized_keys -p wa -k ssh_key_tampering\n\n# Monitor user and group management commands\n-w \u002Fusr\u002Fsbin\u002Fuseradd -p x -k user_management\n-w \u002Fusr\u002Fsbin\u002Fusermod -p x -k user_management\n-w \u002Fusr\u002Fsbin\u002Fgroupadd -p x -k user_management\n\n# Detect process injection via ptrace\n-a always,exit -F arch=b64 -S ptrace -F a0=0x4 -k process_injection\n-a always,exit -F arch=b64 -S ptrace -F a0=0x5 -k process_injection\n-a always,exit -F arch=b64 -S ptrace -F a0=0x6 -k process_injection\n\n# Monitor execution of programs from unusual directories\n-a always,exit -F arch=b64 -S execve -F exe=\u002Ftmp -k exec_from_tmp\n-a always,exit -F arch=b64 -S execve -F exe=\u002Fdev\u002Fshm -k exec_from_shm\n\n# Detect kernel module loading (rootkit installation)\n-a always,exit -F arch=b64 -S init_module -S finit_module -k kernel_module_load\n-a always,exit -F arch=b64 -S delete_module -k kernel_module_remove\n-w \u002Fsbin\u002Finsmod -p x -k kernel_module_tool\n-w \u002Fsbin\u002Fmodprobe -p x -k kernel_module_tool\n\n# Monitor network socket creation for reverse shells\n-a always,exit -F arch=b64 -S socket -F a0=2 -k network_socket_created\n-a always,exit -F arch=b64 -S connect -F a0=2 -k network_connection\n\n# Detect cron job modifications (persistence)\n-w \u002Fetc\u002Fcrontab -p wa -k cron_persistence\n-w \u002Fetc\u002Fcron.d\u002F -p wa -k cron_persistence\n-w \u002Fvar\u002Fspool\u002Fcron\u002F -p wa -k cron_persistence\n\n# Monitor log deletion or tampering\n-w \u002Fvar\u002Flog\u002F -p wa -k log_tampering\n```\n\nReload rules after editing:\n\n```bash\naugenrules --load\nauditctl -l | wc -l   # Confirm rule count\n```\n\n### Step 3: Search for Intrusion Indicators with ausearch\n\nUse `ausearch` to query the audit log for specific events:\n\n```bash\n# Search for all failed login attempts in the last 24 hours\nausearch -m USER_LOGIN --success no -ts recent\n\n# Search for commands executed by a specific user\nausearch -ua 1001 -m EXECVE -ts today\n\n# Search for all file access events on \u002Fetc\u002Fshadow\nausearch -f \u002Fetc\u002Fshadow -ts this-week\n\n# Search for privilege escalation via sudo\nausearch -m USER_CMD -ts today\n\n# Search for kernel module loading events\nausearch -k kernel_module_load -ts this-month\n\n# Search for processes executed from \u002Ftmp (common attack staging)\nausearch -k exec_from_tmp -ts this-week\n\n# Search for SSH key modifications\nausearch -k ssh_key_tampering -ts this-month\n\n# Search for a specific event by audit event ID\nausearch -a 12345\n\n# Search events in a specific time range\nausearch -ts 03\u002F15\u002F2026 08:00:00 -te 03\u002F15\u002F2026 18:00:00\n\n# Interpret syscall numbers and format output readably\nausearch -k credential_access -i -ts today\n```\n\n### Step 4: Generate Summary Reports with aureport\n\nUse `aureport` to produce aggregate summaries for triage:\n\n```bash\n# Summary of all authentication events\naureport -au -ts this-week --summary\n\n# Report of all failed events (login, access, etc.)\naureport --failed --summary -ts today\n\n# Report of executable runs\naureport -x --summary -ts today\n\n# Report of all anomaly events (segfaults, promiscuous mode, etc.)\naureport --anomaly -ts this-week\n\n# Report of file access events\naureport -f --summary -ts today\n\n# Report of all events by key (maps to your custom rule keys)\naureport -k --summary -ts this-month\n\n# Report of all system calls\naureport -s --summary -ts today\n\n# Report of events grouped by user\naureport -u --summary -ts this-week\n\n# Detailed time-based event report for timeline building\naureport -ts 03\u002F15\u002F2026 08:00:00 -te 03\u002F15\u002F2026 18:00:00 --summary\n```\n\n### Step 5: Reconstruct the Attack Timeline\n\nCombine ausearch queries to build a chronological narrative:\n\n```bash\n# Step 5a: Identify the initial access timestamp\nausearch -m USER_LOGIN -ua 0 --success yes -ts this-week -i | head -50\n\n# Step 5b: Trace what the attacker did after gaining access\n# Get all events from the compromised account within the incident window\nausearch -ua \u003CUID> -ts \"03\u002F15\u002F2026 14:00:00\" -te \"03\u002F15\u002F2026 18:00:00\" -i \\\n  | aureport -f -i\n\n# Step 5c: Extract all commands executed during the incident window\nausearch -m EXECVE -ts \"03\u002F15\u002F2026 14:00:00\" -te \"03\u002F15\u002F2026 18:00:00\" -i\n\n# Step 5d: Check for persistence mechanisms installed\nausearch -k cron_persistence -ts \"03\u002F15\u002F2026 14:00:00\" -i\nausearch -k ssh_key_tampering -ts \"03\u002F15\u002F2026 14:00:00\" -i\n\n# Step 5e: Check for lateral movement (outbound connections)\nausearch -k network_connection -ts \"03\u002F15\u002F2026 14:00:00\" -i\n```\n\n### Step 6: Forward Audit Logs to SIEM\n\nConfigure `audisp-remote` or `auditbeat` to ship logs to a central SIEM for correlation:\n\n```bash\n# Option A: Using audisp-remote plugin\n# Edit \u002Fetc\u002Faudit\u002Fplugins.d\u002Fau-remote.conf\nactive = yes\ndirection = out\npath = \u002Fsbin\u002Faudisp-remote\ntype = always\n\n# Configure remote target in \u002Fetc\u002Faudit\u002Faudisp-remote.conf\nremote_server = siem.internal.corp\nport = 6514\ntransport = tcp\n\n# Option B: Using Elastic Auditbeat\n# Install auditbeat and configure \u002Fetc\u002Fauditbeat\u002Fauditbeat.yml\n# Auditbeat reads directly from the kernel audit framework\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **auditd** | The Linux Audit daemon that receives audit events from the kernel and writes them to `\u002Fvar\u002Flog\u002Faudit\u002Faudit.log` |\n| **auditctl** | Command-line utility to control the audit system: add\u002Fremove rules, check status, set backlog size |\n| **ausearch** | Query tool that searches audit logs by message type, user, file, key, time range, or event ID |\n| **aureport** | Reporting tool that generates aggregate summaries of audit events for triage and compliance |\n| **audit rule key (-k)** | A user-defined label attached to an audit rule, enabling fast filtering of related events with ausearch and aureport |\n| **syscall auditing** | Kernel-level monitoring of system calls (execve, open, connect, ptrace) that captures process and file activity |\n| **augenrules** | Utility that merges all files in `\u002Fetc\u002Faudit\u002Frules.d\u002F` into `\u002Fetc\u002Faudit\u002Faudit.rules` and loads them into the kernel |\n\n## Verification\n\n- [ ] auditd is running and rules are loaded (`auditctl -l` returns expected rule count)\n- [ ] No audit backlog overflow (`auditctl -s` shows `backlog: 0` or low value, lost: 0)\n- [ ] ausearch returns events for each custom key (`ausearch -k \u003Ckey> -ts today` returns results)\n- [ ] aureport generates non-empty summaries for authentication, executable, and file events\n- [ ] Timeline reconstruction produces a coherent chronological sequence of attacker actions\n- [ ] Critical file watches trigger alerts on test modifications (`touch \u002Fetc\u002Fshadow` generates an event)\n- [ ] Logs are forwarding to central SIEM (verify with a test event and confirm receipt)\n- [ ] Audit rules persist across reboot (rules in `\u002Fetc\u002Faudit\u002Frules.d\u002F`, not only via `auditctl`)\n",{"name":5,"tags":44,"author":46,"domain":38,"license":15,"version":47,"subdomain":48,"description":49},[36,35,34,33,32,31,45],"forensics","mahipal","1.0.0","incident-response","Uses the Linux Audit framework (auditd) with ausearch and aureport utilities to detect intrusion attempts, unauthorized access, privilege escalation, and suspicious system activity. Covers audit rule configuration, log querying, timeline reconstruction, and integration with SIEM platforms. Activates for requests involving auditd analysis, Linux audit log investigation, ausearch queries, aureport summaries, or host-based intrusion detection on Linux.\n","main","4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c","ai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-linux-audit-logs-for-intrusion",2,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai","https:\u002F\u002Fgithub.com\u002Fluokai0","a solo builder.","2026-05-06 04:29:04",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill analyzing-linux-audit-logs-for-intrusion",{"tool":64,"command":65},"bunx","bunx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill analyzing-linux-audit-logs-for-intrusion",{"tool":67,"command":68},"pnpm","pnpm dlx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill analyzing-linux-audit-logs-for-intrusion","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-linux-audit-logs-for-intrusion\u002FSKILL.md",true,[72,77,83,87],{"path":73,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-linux-audit-logs-for-intrusion\u002FLICENSE",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fapi-reference.md","REFERENCE","参考文档",1911,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-linux-audit-logs-for-intrusion\u002Freferences\u002Fapi-reference.md",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fworkflow.md",10977,"https:\u002F\u002Fgithub.com\u002Fbluealpha-labs\u002Fbluealpha-mcp-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fbluealpha-marketing-plugin\u002Fskills\u002Fincrementality-test-runner\u002Freferences\u002Fworkflow.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Fagent.py","SCRIPT","脚本",8103,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-linux-audit-logs-for-intrusion\u002Fscripts\u002Fagent.py",[94,122,139,169,202,239],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":39},"01M6F2SKTE208174C7S7JJCZC7","write-contracts","Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.","MIT","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fwrite-contracts\u002FSKILL.md",[],[102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121],"write","contracts","write contracts","storage","secure","create","generate","collection","model","decision","ask","smart-contracts","selection","objects","structure","nft","token","aptos","critical","move",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":39},"01M6F2RFXJ6T9MKW0A7N7GM45B","web-search","通用网络搜索技能，支持多引擎搜索（百度、必应、DuckDuckGo），无需API密钥即可获取实时信息","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fweb-search-ex-skill\u002FSKILL.md",[],[129,130,131,132,133,134,135,136,137,138],"web","search","web search","搜索","baidu","bing","duckduckgo","百度","多引擎","internet",{"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":98,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":150,"publishedAt":39},"01M6F2K968G1FZEZFPW2E6B222","solo-build","Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says \"build it\", \"start building\", \"execute plan\", \"implement tasks\", \"ship it\", or references a track ID. Do NOT use for planning (use \u002Fplan) or scaffolding (use \u002Fscaffold).","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fsolo-build\u002FSKILL.md",[145],{"categoryNo":146,"categoryName":147,"taxonomyType":148,"taxonomyTypeDesc":149},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[151,152,153,154,155,156,157,158,130,159,160,161,102,162,163,164,165,166,167,168],"build","solo","solo build","MCP","workflow","commit","tasks","code","Bash","plan","read","auto","references","context7","query","scaffolding","ship it","project",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":181,"publishedAt":39},"01M6F2GKN39SGHSPWYB3662YC8","react-email","Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Freact-email-skills\u002FSKILL.md",[175,178],{"categoryNo":176,"categoryName":177,"taxonomyType":148,"taxonomyTypeDesc":149},"01JBSEEDCAT000000000000005","邮件与沟通",{"categoryNo":179,"categoryName":180,"taxonomyType":148,"taxonomyTypeDesc":149},"01JBSEEDCAT000000000000009","前端开发",[182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],"react","email","react email","github","editor","components","react components","component","welcome","https","notifications","password","node","use","html","resend","visual","emails","rendering","with",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":220,"publishedAt":39},"01M6F2FBVGVDFSG8SSFJGXA40C","APITester Agent-Driven API Testing","Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fopenclaw-api-tester\u002FSKILL.md",[208,211,214,215],{"categoryNo":209,"categoryName":210,"taxonomyType":148,"taxonomyTypeDesc":149},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":212,"categoryName":213,"taxonomyType":148,"taxonomyTypeDesc":149},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":146,"categoryName":147,"taxonomyType":148,"taxonomyTypeDesc":149},{"categoryNo":216,"categoryName":217,"taxonomyType":218,"taxonomyTypeDesc":219},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238],"testing","api","api testing","driven","APITester Agent Driven API Testing","test","run","postman","results","plain english","tester","endpoints","document","get","define","tests","english","api-tester",{"skillNo":240,"name":241,"nameZh":6,"description":242,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":243,"categories":244,"keywords":245,"publishedAt":39},"01M6F273Y3NGAPVJZ608BC0G9G","hubspot-implementation-plan","Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running \u002Fhubspot-audit.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fhubspot-implementation-plan\u002FSKILL.md",[],[160,246,247,248,249,250,251,108,252,253,20,254,255,195,256,257,201,258],"implementation","hubspot","hubspot implementation plan","automation","feasibility","cleanup","planning","report","audit report","phased implementation","dependencies","processes","hubspot audit"]