competition-linux-credential-pivot
它能做什么
这个工具可以帮你追踪 Linux 系统上的登录信息(比如密码和密钥)如何被用来访问其他系统或获取更多权限。它的重点是找到这些信息并把它们关联起来,以便理解攻击过程。
适用场景
- ✓当你想了解攻击者如何利用窃取的凭据在 Linux 机器之间横向移动时。
- ✓当你需要找出哪些令牌或密钥被用来获取服务的访问权限时。
- ✓当你想分析 Linux 安全漏洞如何让攻击者获得更多控制权时。
技能链接
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-linux-credential-pivot/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我该如何追踪一个泄露的 SSH 密钥是怎样让攻击者访问另一台 Linux 服务器的?”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具首先收集系统中发现的各类登录和权限信息。然后测试这些信息可以在哪里用来获取访问权限,最后生成一条清晰的路径,展示攻击者是如何从一个位置转移到另一个位置的。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Competition Linux Credential Pivot
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the decisive edge is Linux credential material and where that material is accepted.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Separate credential storage from accepted privilege.
- Record user, process, namespace, socket, key file, and service trust boundary before conclusions.
- Keep artifact recovery, replay path, and resulting capability in one chain.
- Distinguish local escalation from lateral host pivot.
- Reproduce one minimal artifact-to-accepted-access path.
Workflow
1. Map Credential And Trust Artifacts
- Record SSH keys, agent sockets, kubeconfigs, cloud tokens, service-account secrets, env vars, config files, and process memory clues.
- Note sudoers rules, capabilities, setuid binaries, systemd unit context, and namespace boundaries.
- Keep each artifact tied to owner, scope, and expected accepting service.
2. Prove Replay And Pivot
- Show where key, token, socket, or secret is accepted: SSH, API, Unix socket, container runtime, or control-plane endpoint.
- Record host target, protocol, principal, and resulting session or privilege.
- Distinguish authentication success from useful capability gain.
3. Reduce To Decisive Linux Pivot Chain
- Compress to: recovered artifact -> accepted replay path -> pivot host or privilege transition -> resulting capability.
- State whether root cause is weak key handling, token leakage, socket trust, sudo or capability abuse, or namespace crossover.
- If the chain pivots into kernel exploit boundaries, hand off to kernel container escape skill.
Read This Reference
- Load
references/linux-credential-pivot.mdfor artifact checklists, replay matrix, and evidence packaging.
What To Preserve
- Artifact path, owner, scope, accepting service, and resulting principal
- Exact pivot order with protocol and target host or namespace
- One minimal replayable chain proving capability gain
常见问题
什么是“凭据痕迹”?
这些是用来证明你的身份或你有权执行某项操作的信息,比如访问密钥、令牌或密码。
“横向移动”(pivoting)是什么意思?
在安全领域,“横向移动”指的是利用一台已被入侵的系统作为起点,去攻击其他系统。
为什么要把“凭据存储”和“被授予的权限”分开看待?
这是一种良好的安全实践。意思是存放密码或密钥的地方,应当与实际用于授权访问的地方分开,这样攻击者即便偷到了这些信息,也很难用它们获取完整控制权。
详情
作者的原始描述
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for Linux credential artifacts, service tokens, SSH material, cloud and container secrets, socket-level trust, and host-to-host pivot chains. Use when the user asks to trace Linux auth artifacts, accepted token or key replay, socket or service-account trust edges, sudo or capability abuse, or explain lateral movement acro
热度
- GitHub 星标
- 42k
- 排名
- #6437
- 许可证
- MIT
- 更新时间
- 2026/9/22
评论
- …
同一仓库的更多技能
competition-ad-certificate-abuse
42k帮你的智能体分析针对数字证书系统的攻击。它会研究证书可能如何被滥用来获取访问权限。
competition-agent-cloud
42k帮你的智能体分析 AI 和云系统中的安全问题。它会研究提示词、工具和云端可能如何被利用。
competition-android-hooking
42k帮你的智能体研究 Android 应用。它会分析应用的内部运行方式,以及可能如何被修改或利用。
competition-browser-persistence
42k帮你的智能体分析网站如何在浏览器中存储信息。它会研究 Cookie 等数据,以理解会话是如何运作的。