本文へスキップ
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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-linux-credential-pivot/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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
よくある質問

「認証情報の痕跡(credential artifacts)」とは何ですか?

アクセス鍵、トークン、パスワードなど、本人であること、あるいは何かを行う権限があることを証明する情報のことです。

「ピボット」とはどういう意味ですか?

セキュリティの文脈では、侵害されたシステムを足がかりにして、他のシステムを攻撃することを指します。

「認証情報の保管場所」と「許可された権限」を分けて考えることがなぜ重要なのですか?

これは良いセキュリティの習慣です。パスワードや鍵の保管場所と、実際にアクセスを許可するために使われる場所を分けることで、攻撃者が盗んだ情報を使って完全な制御を得ることが難しくなります。

詳細

作者による元の説明

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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル