Skip to content
FunCoding

playbook-methodology

Engagement-level methodology reference — PTES/OWASP/NIST/OSSTMM mapping, rules of engagement, legal boundaries, evidence handling, cleanup. Load at engagement START or when scope/authorization questions arise.

Star
1,278
Category
Security
License
MIT
Last commit
Nov 30, 2026

skills/playbooks/methodology/SKILL.md

View on GitHub

Methodology & Rules of Engagement

Framework map (pick per engagement type)

FrameworkUse when
PTESFull-scope pentest — the 7-phase spine (intel → recon → mapping → vuln → exploit → post-ex → report)
OWASP Testing GuideWeb/API focus — test cases per vuln class
NIST SP 800-115Client requires a recognized US standard / structured technical assessment
OSSTMMMetrics-driven assessment, need auditable coverage percentages
MITRE ATT&CKMap findings to real adversary TTPs — report impact as "an attacker would do X"

BEFORE any action — non-negotiable

  1. Written authorization exists, signed by someone who can authorize the target. Verbal = no test.
  2. Scope: exact IPs/domains/ranges, exclusions, test window, allowed techniques. Feed to scope_check — every tool invocation checks against it.
  3. Rules of engagement: scan rates, DoS limits, social-engineering allowed?, physical allowed?, data handling clause, emergency contact.
  4. Third parties: cloud shared-responsibility boundaries, subsidiaries, partners' infra — out of scope unless explicitly named.
  5. Legal frame: client contract + local law (Convention Budapest / national cybercrime law) supersedes any methodology.

During the test

  • Log every action (command, timestamp, target) — your log is the defense if something breaks.
  • Rate-limit scanners and brute force; assume any outage is YOURS until proven otherwise.
  • Collect the minimum data needed to prove impact; encrypt findings at rest; never exfil real customer data to personal storage.
  • Compromise of an out-of-scope system, even accidental: stop, secure it, disclose to client immediately.
  • Out-of-band callbacks: use your own infrastructure (interactsh/ollin), never third-party domains.

AFTER the test — cleanup

  • Remove: shells/backdoors, dropped files, created accounts, cron/persistence, SSH keys, test data injected.
  • Verify cleanup: re-check every host touched; note anything that cannot be removed safely (and why).
  • Revoke/deliver credentials found — do NOT reuse them post-engagement.

Report shape (PTES-aligned)

  1. Executive summary (business language, no vuln names)
  2. Findings: severity (CVSS + exploitability), evidence, step-by-step reproduction, remediation
  3. Attack narrative: how the kill chain connected findings (ATT&CK-mapped)
  4. Coverage & methodology (what was and was NOT tested)
  5. Remediation roadmap prioritized by risk, not by tool order

Retest

Fixes → retest ONLY the affected findings → upgrade/downgrade status in engagement state (state_update) → short addendum report.

Similar Skills

agent-security-hardening

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

Featured

ponytail-audit

Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.

DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days

gstack

GAgarrytan/gstack143k524 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

doubt-driven-development

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

ruview-rvagent

RUruvnet/RuView106k596 new stars in the last 7 days