pbx2 Exercise Index

April 21, 2026 ยท View on GitHub

These are the step-by-step hands-on exercises currently documented for the active pbx2 scenario.

Use the scenario docs and ./scripts/testing-run-all.sh --scenario pbx2 as the source of truth when you need to confirm the current repo behavior.

When an exercise opens a testing or attacker shell and tells you to use /work, that path maps to the repository's artifacts/ directory. Files you save there remain available on the host after the container exits.

#ExerciseTopic
1INVITE-Based SIP EnumerationClassify routable, known-but-unregistered, and invalid extensions from unauthenticated INVITE responses
2Traffic Analysis & Packet CaptureCapture plaintext SIP and RTP from the default background call flow
3Online SIP Credential CrackingBrute-force the weak password on extension 1000
4SIP Digest LeakExploit extension 2000 to capture digest material
5Offline SIP Credential CrackingCrack the leaked SIP digest offline with john
6RTP Bleed AttackProbe the exposed RTP range and recover leaked media packets
7RTP Flood / Recording GrowthInflate recording size by flooding the media target during a call
8SIP FloodSend repeated unauthenticated SIP requests and confirm the edge does not throttle them
9FreeSWITCH Lua SQL InjectionUse a malicious called SIP URI to query the route for the hidden internal-only 9000 HAL path through an unsafe Lua freeswitch.Dbh query on 2001
10Automated FreeSWITCH Lua SQLite Exfiltration with sqlmapUse sip-sqlmap-harness and sqlmap to fingerprint SQLite and dump did_routes through the Lua freeswitch.Dbh SQL injection