跳到正文
Skillpedia
安全42k · #6437

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-linux-credential-pivot/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Separate credential storage from accepted privilege.
  2. Record user, process, namespace, socket, key file, and service trust boundary before conclusions.
  3. Keep artifact recovery, replay path, and resulting capability in one chain.
  4. Distinguish local escalation from lateral host pivot.
  5. 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.md for 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

repo: zhaoxuya520/reverse-skill

热度

GitHub 星标
42k
排名
#6437
许可证
MIT
更新时间
2026/9/22

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能