pentest-engagement
Yetkili penetration testing engagement'i icin planning + scoping + ROE dokumantasyonu uretir.
Triggers
- "pentest plan hazirla"
- "ROE taslagi cikar"
- "scoping document"
- "engagement timeline"
- "MITRE ATT&CK matrix"
- "kickoff meeting agenda"
- "closeout rapor sablonu"
Deliverable'lar
- Scope Document (in-scope, out-of-scope, kisitlar)
- Rules of Engagement (ROE) (yasak teknikler, calisma saatleri, escalation path)
- Phased Timeline (kickoff -> recon -> exploit -> post-ex -> reporting -> closeout)
- MITRE ATT&CK Mapping (her faza karsilik gelen Tactic + Technique listesi)
- Communication Plan (musteri contact, escalation contact, incident response)
- Acceptance Criteria (kapsanan testler, raporlama, deliverable listesi)
Scope Document Sablonu
# Engagement Scope — <Musteri>
## In-Scope
- IP Ranges: 10.0.0.0/16, 192.168.50.0/24
- Domains: *.example.com, app.example.com
- Cloud Accounts: AWS 123456789012 (production us-east-1)
- Test Tipi: External / Internal / Web App / Cloud / Red Team
## Out-of-Scope
- Production DB direct query
- Email/Phishing musteri calisani
- DoS / stress testing
- 3. taraf SaaS (Stripe, SendGrid, vb.)
## Restrictions
- Calisma saatleri: Hafta ici 09:00-17:00 (TR)
- Aggressive scan: Sadece kullanici onayli pencerede
- Data exfil: Yok — sadece kanit dosyasi (max 1MB)
## Authorization
- Letter of authorization: <link>
- Musteri imza: <isim, tarih>
- Pentest firma imza: <isim, tarih>
Phased Plan Sablonu (5 Phase)
| Faz |
Sure |
Aktivite |
MITRE Tactic |
| 1. Recon |
1-2 gun |
OSINT, subdomain enum, port scan |
TA0043 Reconnaissance |
| 2. Initial Access |
2-3 gun |
Web app exploit, phishing sim, AD attack |
TA0001 Initial Access |
| 3. Post-Exploit |
3-4 gun |
Privesc, lateral, persistence, exfil sim |
TA0004/TA0008/TA0003/TA0010 |
| 4. Detection |
1-2 gun |
SIEM/EDR coverage gap |
TA0042 Resource Development (defansif) |
| 5. Report |
2-3 gun |
Bulgu yazimi, CVSS, remediation, debrief |
— |
MITRE ATT&CK Mapping
Her bulgu icin minimum 1 ATT&CK Technique ID belirt (T1059, T1078, vb.). Mapping:
finding: SQL Injection in /api/users
mitre:
tactic: TA0001 (Initial Access)
techniques:
- T1190 (Exploit Public-Facing Application)
detection:
- Sigma rule: web/sql_injection.yml
remediation:
priority: P0
effort: 8h
Kickoff Meeting Agenda (1 saat)
- Scope review + signoff (10 dk)
- ROE walkthrough + restrictions (15 dk)
- Communication channel + escalation (10 dk)
- Asset inventory hand-off (15 dk)
- Q&A + ilk gun planning (10 dk)
Closeout Meeting Agenda (1.5 saat)
- Executive summary (10 dk)
- Top 3 critical finding walkthrough (30 dk)
- Remediation roadmap (20 dk)
- Detection rule hand-off (15 dk)
- Lessons learned (15 dk)
Cikti Konumu
Engagement basinda olustur:
engagements/<musteri>-<yyyymmdd>/
scope.md
roe.md
timeline.md
mitre-mapping.yml
contacts.md
Out-of-Scope (Bu Skill Yapmaz)
- Live komut composer'lama (pentest-recon, pentest-web vb. yapar)
- Exploit guide uretmek (pentest-exploit-chain yapar)
- Rapor yazma (pentest-report yapar)
Bu skill sadece planning + scoping doc uretir.
1---
2name: pentest-engagement
3description: Penetration testing engagement planning — scoping, ROE drafting, phased timeline, MITRE ATT&CK mapping, kickoff/closeout dokumantasyonu. Triggers on engagement plan, ROE, rules of engagement, scoping, pentest plan, phased plan, MITRE mapping, attack matrix, kickoff, closeout.
4license: MIT
5compatibility: Works with Claude Code
6allowed-tools: Read Write Edit Grep
7metadata:
8 source: https://skillmd.com/skills/aibot88/pentest-engagement
9 author: badi
10 badi-version: ">=1.24.0"
11 category: pentest
12 scope: advisory
13 inspired-by: 0xSteph/pentest-ai-agents engagement-planner
14---
15
16# pentest-engagement
17
18Yetkili penetration testing engagement'i icin **planning + scoping + ROE** dokumantasyonu uretir.
19
20## Triggers
21
22- "pentest plan hazirla"
23- "ROE taslagi cikar"
24- "scoping document"
25- "engagement timeline"
26- "MITRE ATT&CK matrix"
27- "kickoff meeting agenda"
28- "closeout rapor sablonu"
29
30## Deliverable'lar
31
321. **Scope Document** (in-scope, out-of-scope, kisitlar)
332. **Rules of Engagement (ROE)** (yasak teknikler, calisma saatleri, escalation path)
343. **Phased Timeline** (kickoff -> recon -> exploit -> post-ex -> reporting -> closeout)
354. **MITRE ATT&CK Mapping** (her faza karsilik gelen Tactic + Technique listesi)
365. **Communication Plan** (musteri contact, escalation contact, incident response)
376. **Acceptance Criteria** (kapsanan testler, raporlama, deliverable listesi)
38
39## Scope Document Sablonu
40
41```markdown
42# Engagement Scope — <Musteri>
43
44## In-Scope
45- IP Ranges: 10.0.0.0/16, 192.168.50.0/24
46- Domains: *.example.com, app.example.com
47- Cloud Accounts: AWS 123456789012 (production us-east-1)
48- Test Tipi: External / Internal / Web App / Cloud / Red Team
49
50## Out-of-Scope
51- Production DB direct query
52- Email/Phishing musteri calisani
53- DoS / stress testing
54- 3. taraf SaaS (Stripe, SendGrid, vb.)
55
56## Restrictions
57- Calisma saatleri: Hafta ici 09:00-17:00 (TR)
58- Aggressive scan: Sadece kullanici onayli pencerede
59- Data exfil: Yok — sadece kanit dosyasi (max 1MB)
60
61## Authorization
62- Letter of authorization: <link>
63- Musteri imza: <isim, tarih>
64- Pentest firma imza: <isim, tarih>
65```
66
67## Phased Plan Sablonu (5 Phase)
68
69| Faz | Sure | Aktivite | MITRE Tactic |
70|-----|------|----------|--------------|
71| 1. Recon | 1-2 gun | OSINT, subdomain enum, port scan | TA0043 Reconnaissance |
72| 2. Initial Access | 2-3 gun | Web app exploit, phishing sim, AD attack | TA0001 Initial Access |
73| 3. Post-Exploit | 3-4 gun | Privesc, lateral, persistence, exfil sim | TA0004/TA0008/TA0003/TA0010 |
74| 4. Detection | 1-2 gun | SIEM/EDR coverage gap | TA0042 Resource Development (defansif) |
75| 5. Report | 2-3 gun | Bulgu yazimi, CVSS, remediation, debrief | — |
76
77## MITRE ATT&CK Mapping
78
79Her bulgu icin minimum 1 ATT&CK Technique ID belirt (T1059, T1078, vb.). Mapping:
80
81```yaml
82finding: SQL Injection in /api/users
83mitre:
84 tactic: TA0001 (Initial Access)
85 techniques:
86 - T1190 (Exploit Public-Facing Application)
87detection:
88 - Sigma rule: web/sql_injection.yml
89remediation:
90 priority: P0
91 effort: 8h
92```
93
94## Kickoff Meeting Agenda (1 saat)
95
961. Scope review + signoff (10 dk)
972. ROE walkthrough + restrictions (15 dk)
983. Communication channel + escalation (10 dk)
994. Asset inventory hand-off (15 dk)
1005. Q&A + ilk gun planning (10 dk)
101
102## Closeout Meeting Agenda (1.5 saat)
103
1041. Executive summary (10 dk)
1052. Top 3 critical finding walkthrough (30 dk)
1063. Remediation roadmap (20 dk)
1074. Detection rule hand-off (15 dk)
1085. Lessons learned (15 dk)
109
110## Cikti Konumu
111
112Engagement basinda olustur:
113```
114engagements/<musteri>-<yyyymmdd>/
115 scope.md
116 roe.md
117 timeline.md
118 mitre-mapping.yml
119 contacts.md
120```
121
122## Out-of-Scope (Bu Skill Yapmaz)
123
124- Live komut composer'lama (pentest-recon, pentest-web vb. yapar)
125- Exploit guide uretmek (pentest-exploit-chain yapar)
126- Rapor yazma (pentest-report yapar)
127
128Bu skill **sadece planning + scoping doc** uretir.