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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
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
자주 묻는 질문
‘자격 증명 아티팩트’란 무엇인가요?
액세스 키, 토큰, 비밀번호처럼 사용자가 누구인지 또는 무언가를 할 권한이 있는지 증명하는 정보입니다.
‘피벗’은 무엇을 뜻하나요?
보안에서 ‘피벗’은 침해된 시스템을 출발점으로 삼아 다른 시스템을 공격하는 것을 뜻합니다.
‘자격 증명 저장소’와 ‘인정된 권한’을 구분하는 것이 왜 중요한가요?
좋은 보안 관행이기 때문입니다. 비밀번호나 키를 보관하는 곳과 실제로 접근을 허용하는 곳을 분리해야 탈취된 정보를 완전한 통제에 사용하기 어려워집니다.
상세 정보
작성자의 원본 설명
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에이전트가 안드로이드 애플리케이션을 조사하도록 돕습니다. 앱이 내부적으로 어떻게 작동하는지, 어떻게 변경되거나 악용될 수 있는지 분석합니다.
competition-browser-persistence
42k에이전트가 웹사이트가 브라우저에 정보를 저장하는 방식을 분석하도록 돕습니다. 쿠키와 기타 데이터를 조사해 세션이 어떻게 작동하는지 이해합니다.