본문으로 건너뛰기
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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-linux-credential-pivot/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
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
자주 묻는 질문

‘자격 증명 아티팩트’란 무엇인가요?

액세스 키, 토큰, 비밀번호처럼 사용자가 누구인지 또는 무언가를 할 권한이 있는지 증명하는 정보입니다.

‘피벗’은 무엇을 뜻하나요?

보안에서 ‘피벗’은 침해된 시스템을 출발점으로 삼아 다른 시스템을 공격하는 것을 뜻합니다.

‘자격 증명 저장소’와 ‘인정된 권한’을 구분하는 것이 왜 중요한가요?

좋은 보안 관행이기 때문입니다. 비밀번호나 키를 보관하는 곳과 실제로 접근을 허용하는 곳을 분리해야 탈취된 정보를 완전한 통제에 사용하기 어려워집니다.

상세 정보

작성자의 원본 설명

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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬