SSZcreate/Pentab_server / .agents/skills/cybersecurity/skills/implementing-anti-phishing-training-program
implementing-anti-phishing-training-program
VerifiedGuides designing, deploying, and measuring an anti-phishing security awareness program - baseline phishing simulations, interactive training modules, just-in-time learning, and metric tracking - using platforms like KnowBe4, Proofpoint Security Awareness, or Cofense. Use when building or maturing a phishing awareness program, establishing training controls for compliance, or measuring phishing susceptibility and reporting rates over time.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 11.0 KB |
| SKILL.md | skill md | 5.0 KB |
| assets/template.md | markdown | 2.4 KB |
| references/api-reference.md | markdown | 1.8 KB |
| references/standards.md | markdown | 2.1 KB |
| references/workflows.md | markdown | 3.1 KB |
| scripts/agent.py | script | 6.8 KB |
| scripts/process.py | script | 13.9 KB |
references/api-reference.md
View on GitHub# API Reference: Implementing Anti-Phishing Training Program
## KnowBe4 API
```python
import requests
headers = {"Authorization": "Bearer <API_KEY>"}
base = "https://us.api.knowbe4.com/v1"
# List users
users = requests.get(f"{base}/users", headers=headers).json()
# Get phishing campaign results
campaigns = requests.get(f"{base}/phishing/campaigns", headers=headers).json()
# Get training enrollments
enrollments = requests.get(f"{base}/training/enrollments", headers=headers).json()
```
## Key Metrics
| Metric | Target | Calculation |
|--------|--------|-------------|
| Click Rate | < 15% | Clicked / Total Recipients |
| Submit Rate | < 5% | Submitted Creds / Total |
| Report Rate | > 70% | Reported / Total Recipients |
| Completion Rate | > 90% | Completed / Enrolled |
## pandas Simulation Analysis
```python
import pandas as pd
df = pd.read_csv("simulation_results.csv", parse_dates=["timestamp"])
# Department click rates
dept = df.groupby("department").agg(
click_rate=("clicked", "mean"),
report_rate=("reported", "mean"),
)
# Monthly trend
monthly = df.set_index("timestamp").resample("M")["clicked"].mean()
```
## SANS Maturity Model Levels
| Level | Name | Description |
|-------|------|-------------|
| 1 | Non-existent | No program |
| 2 | Compliance | Annual checkbox |
| 3 | Awareness | Engaging, regular |
| 4 | Sustainment | Culture change |
| 5 | Metrics | Risk-based optimization |
## GoPhish (Open-Source Alternative)
```bash
# Launch campaign
curl -X POST https://gophish:3333/api/campaigns \
-H "Authorization: <API_KEY>" \
-d '{"name":"Q1-2025","template":{"name":"IT Alert"},"groups":[{"name":"All Staff"}]}'
```
### References
- KnowBe4 API: https://developer.knowbe4.com/
- GoPhish: https://getgophish.com/
- SANS Security Awareness: https://www.sans.org/security-awareness-training/
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 466k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |