CPSA ยท VPN, VoIP, wireless and device configuration
VoIP enumeration and the SIP protocol
SIP methods and responses, extension enumeration and typical VoIP exposures.
Key points
- SIP: text VoIP signalling, UDP/TCP 5060 (5061 TLS); voice: RTP on separate ports.
- Methods: REGISTER (bind user), INVITE (start call), ACK, CANCEL, BYE, OPTIONS (capabilities).
- Responses: 1xx provisional, 2xx success, 3xx redirect, 4xx client error, 5xx server error, 6xx global failure.
- Enumeration: 401/407 versus 404, User-Agent/Server banners.
- Risks: unauthenticated registration, weak passwords, cleartext signalling or media.
Source: https://www.rfc-editor.org/rfc/rfc3261
Practice questions
Which SIP method asks a server or phone what it supports without setting up a call?
- INVITE
- REGISTER
- OPTIONS
- BYE
Show answer
Answer: C. OPTIONS
OPTIONS queries capabilities. INVITE starts a session, REGISTER binds a contact to a user, BYE ends a call.
Which are typical VoIP exposures worth reporting?
- Signalling and RTP sent unencrypted across untrusted networks
- Extensions whose password equals the extension number
- Handsets that obtain addresses by DHCP
- Different error codes revealing which extensions exist
- Phones displaying the current time
Show answer
Answer: A. Signalling and RTP sent unencrypted across untrusted networks, B. Extensions whose password equals the extension number, D. Different error codes revealing which extensions exist
Cleartext signalling/media, guessable extension passwords and differing error replies are classic findings. A phone showing the time or using DHCP is normal.
True or false: the voice audio of a SIP call travels inside the SIP messages on port 5060.
Show answer
Answer: False
False. SIP only signals the call; audio is carried separately as RTP on negotiated ports.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
