Communitygithub.com

identity-federation

SAML, OIDC, OAuth2 흐름, SSO 구성 오류, 토큰 혼동 문제 등 연합 아이덴티티 시스템의 공인된 평가에 사용됩니다.

identity-federation란 무엇인가요?

이 스킬은 보안 평가자가 SAML, OIDC, OAuth2와 같은 연합 아이덴티티 시스템의 취약점을 체계적으로 분석하고 발견하도록 설계되었습니다. 주요 초점은 SSO(Single Sign-On) 흐름의 구성 오류, 서명 검증 부재, 리디렉션 URI 조작, 토큰 혼동 공격 등에 맞춰져 있습니다. 이 스킬은 Burp Suite, SAML Raider, jwt_tool과 같은 업계 표준 도구를 활용하며, 명확한 워크플로우와 체크리스트를 제공하여 평가자가 프로토콜 흐름을 단계별로 매핑하고 일반적인 보안 약점을 식별할 수 있도록 돕습니다. `api-security`, `windows-ad`, `cloud-k8s`와 같은 다른 전문 스킬과 함께 사용하도록 설계되어 포괄적인 보안 평가에 기여합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zhaoxuya520/reverse-skill/tree/main/skills/identity-federation

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Identity Federation (SAML / OIDC / OAuth)

ACTION REQUIRED(读完后立刻执行)

  1. NOW: precedent-pentest 읽기; SSO 테스트 계정 및 IdP/SP 범위를 scope에 포함
  2. NOW: 실제 사용자 계정을 잠글 수 있는 무차별 대입 시도 금지
  3. NEXT: 패킷 캡처 도구 및 문서 준비 (메타데이터 URL)
  4. ACT: 프로토콜 흐름 매핑 → 일반적인 오류 패턴 확인 → 검증

적용 시나리오

  • SAML Response 서명/어설션 변조 (전형적인 취약점 패턴)
  • OIDC Implicit/Authorization Code + PKCE 누락
  • redirect_uri / state / nonce 문제
  • IdP와 SP 메타데이터, 멀티 테넌트 issuer 혼동
  • api-security JWT 공격과 상호 보완적 (본 스킬은 연합 및 SSO 흐름에 특화)

워크플로우

□ 파악: User → SP → IdP → Token → SP
□ 수집: /.well-known/openid-configuration, SAML metadata
□ 확인: redirect_uri 정확한 일치, state 바인딩, PKCE
□ 확인: SAML 서명 적용 범위, 알고리즘 다운그레이드
□ 세션 고정 및 로그아웃 무효화

도구 체인

도구용도
Burp + SAML Raider 등어설션 편집 (권한 부여)
jwt_toolJWT 세그먼트
브라우저 DevTools리디렉션 체인
IdP 관리 로그감사

참고 자료

  • references/sso-flow-checklist.md
  • ../api-security/ ../windows-ad/ (엔터프라이즈 IdP)

라우팅 컨텍스트

상위: MASTER R37
하위: 순수 API JWT → api-security; 클라우드 IdP → cloud-k8s

작업 완료 자가 점검

  • 전체 SSO 흐름을 매핑했습니까?
  • 각 Finding에 재현 단계와 영향이 명시되어 있습니까?
  • 체크리스트를 완료했습니까?

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.

apk-reverse

在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。

attack-chain

Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral movement, or impact assessment. Route single-stage tasks directly to their specialist skill.

binary-diff

|

binary-ninja-reverse

Use for authorized binary analysis in Binary Ninja, including HLIL/MLIL/LLIL inspection, strings/imports/exports, cross-references, types, patch review, Python API automation, and optional Binary Ninja MCP or localhost HTTP integration.

browser-automation

|

browser-extension-reverse

Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

case-review

Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional artifact hash integrity before report handoff.

cloud-k8s

Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.

code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

ctf-sandbox

Thin PRIMARY for CTF / AWD / 靶场 multi-type orchestration. Hands off to the sidecar CTF-Sandbox-Orchestrator. Use when the user says CTF, AWD, 靶场, or 比赛题 and no more specific pwn/APK/IDA route already won.

database-security

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

diagram-generator

generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency graphs, gantt charts, mind maps, user journeys, sankey-style flows, org charts, network graphs, and other visual models. supports mermaid by default, graphviz dot for complex graph layout, plantuml for uml-heavy engineering diagrams, and svg output when direct markup is more reliable.

digital-forensics

Use for authorized digital forensics including memory dumps, disk timelines, PCAP investigation, artifact triage, and IR evidence preservation.

docs-generator

|

dotnet-reverse

.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx / SmartAssembly / Babel / Eazfuscator)、.NET loader / info-stealer / 套壳 malware 时使用。优先用 dnSpyEx + de4dot,需要 AI 直接操作时联动 dnSpy MCP。不用于纯 native 二进制(走 reverse-engineering / ida-reverse)。

edr-bypass-re

|

email-security

Use for authorized email security review including phishing analysis, header authentication (SPF/DKIM/DMARC), BEC patterns, and mailbox token abuse research.

firmware-pentest

|

ghidra-reverse

Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.

관련 스킬