본문으로 건너뛰기
Skillpedia
보안42k · #6436

competition-kernel-container-escape

하는 일

이 도구는 ‘컨테이너’(격리된 환경) 안의 프로그램이 ‘탈출’해 주 컴퓨터 시스템에 접근할 수 있는지 확인하도록 돕습니다. 프로그램이 시스템의 핵심(커널)과 보안 장벽과 어떻게 상호작용하는지 분석합니다.

사용하는 경우

  • ✓격리된 프로그램이 주 시스템에 접근할 수 있는지 알고 싶을 때.
  • ✓프로그램의 보안 결함이 어떻게 악용될 수 있는지 이해하고 싶을 때.
  • ✓컨테이너를 사용하는 시스템의 보안을 테스트하는 경우.

스킬 링크

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-kernel-container-escape/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-kernel-container-escape/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“컨테이너 안의 ‘악성’ 프로그램이 주 시스템의 파일에 접근할 수 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 컨테이너의 격리 설정(네임스페이스, cgroup 등)을 살펴보고, 프로그램이 커널에 하는 호출을 추적합니다. 프로그램이 컨테이너를 벗어나 시스템에서 더 많은 권한을 얻을 수 있는 경로를 찾습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Competition Kernel Container Escape

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 step is proving a boundary crossing between containerized context and host or higher-privilege kernel context.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Map runtime isolation first: namespaces, cgroups, seccomp, capabilities, LSM, and mount boundaries.
  2. Separate exploit prerequisite, primitive, and boundary-crossing proof.
  3. Record kernel version, config hints, runtime options, and reachable syscall surface.
  4. Keep instrumented observations separate from pristine challenge path.
  5. Reproduce one minimal primitive-to-boundary-crossing chain.

Workflow

1. Map Isolation And Kernel Surface

  • Record namespace map, cgroup mode, capabilities, seccomp profile, AppArmor or SELinux state, mounted filesystems, and runtime sockets.
  • Note kernel version, distro build hints, module exposure, and container runtime behavior.
  • Keep host and container observations linked to exact node and context.

2. Prove Exploit Primitive And Crossover

  • Show controllable input, trigger condition, affected object, and observable kernel or runtime state change.
  • Capture before and after identity, namespace, mount, or process visibility to prove boundary crossing.
  • Distinguish crash-only behavior from stable capability gain.

3. Reduce To Decisive Escape Chain

  • Compress to: prerequisite state -> primitive trigger -> boundary crossing evidence -> resulting host-level capability.
  • State whether root cause is kernel vulnerability, runtime misconfiguration, capability overgrant, or namespace leak.
  • If path relies mostly on credential replay after initial foothold, hand off to Linux credential pivot skill.

Read This Reference

  • Load references/kernel-container-escape.md for isolation checklist, primitive checklist, and parity guidance.

What To Preserve

  • Kernel and runtime context, capability set, seccomp or LSM state, and namespace map
  • Primitive trigger data, boundary crossing evidence, and resulting capability
  • One minimal reproducible chain from container context to host-relevant effect
자주 묻는 질문

‘컨테이너’란 무엇인가요?

프로그램이 나머지 시스템과 분리되어 실행되는 격리된 상자와 같습니다. 이는 정리와 보안에 도움을 줍니다.

‘컨테이너 탈출’은 무엇을 뜻하나요?

컨테이너 안의 프로그램이 격리를 깨고, 접근하거나 제어하지 말아야 할 주 시스템의 일부에 접근하거나 제어하는 데 성공했다는 뜻입니다.

‘커널’이란 무엇인가요?

운영체제의 핵심으로, 컴퓨터의 모든 하드웨어와 소프트웨어를 관리하는 가장 중요한 부분입니다.

상세 정보

작성자의 원본 설명

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for kernel attack surface, namespace and cgroup boundaries, container isolation assumptions, syscall paths, and escape primitive verification. Use when the user asks to analyze container-to-host escape paths, kernel exploit prerequisites, namespace crossover, capability misuse, or prove whether an exploit primitive crosse

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6436
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬