跳到正文
TakoAPI
返回技能列表

sys-guard-linux-remediator

由 kiaraho 提供

Coding Agents & IDEs
518下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Host-based Linux incident response and remediation skill focused on precise threat detection, forensic-safe data.

描述

该技能的功能

A structured framework for analyzing and securing a Linux host during or after a security incident. Covers network inspection, process analysis, rootkit scanning, file integrity verification, forensic artifact analysis, and firewall-based containment across Debian, Ubuntu, RHEL-family, Fedora, and Arch Linux systems. Enforces forensic hygiene, anti-lockout safeguards, and change logging throughout.

Covers the full incident response cycle from evidence collection through containment and eradication while enforcing anti-lockout checks and forensic preservation steps that generic runbooks omit.

何时使用

  • Investigating a compromised server after detecting unusual outbound traffic
  • Blocking a malicious IP and persisting firewall rules across reboots
  • Verifying package integrity after suspected unauthorized system modifications
  • Analyzing suspicious files statically without executing them
  • Auditing cron jobs and systemd services for attacker persistence mechanisms

示例工作流

输入

User asks: Investigate a suspicious high-CPU process on a RHEL server

智能体
  1. 1

    Run ps auxww --forest and top to identify the suspicious process and its PID

  2. 2

    Use lsof -p <PID> to inspect open file handles and ss -antp to check active connections

  3. 3

    Hash the associated binary with sha256sum and move it to /root/quarantine

  4. 4

    Block the associated IP using nftables or firewall-cmd and persist the rule with firewall-cmd --runtime-to-permanent

  5. 5

    Check crontab -l, systemd unit files, and ~/.ssh/authorized_keys for persistence mechanisms

输出

Process contained, artifact preserved in quarantine with hash recorded, firewall rule persisted, persistence mechanisms identified and documented with UTC timestamps

安装

clawhub install kiaraho/sys-guard-linux-remediator

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接