Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 24 November 2026. Part of Ports, protocols and services.
In one sentence: Port 5060 is where a business phone system (a VoIP PBX) listens for call set-up messages, and if it is open to the internet with weak extension passwords, criminals can make expensive calls on your bill.
What runs on this port
SIP is the Session Initiation Protocol. The standard that defines it, RFC 3261, calls it an application-layer control (signalling) protocol for creating, modifying and terminating sessions with one or more participants, such as internet telephone calls. It sets up the call. The voice itself travels separately.
SIP is text based, and a message is either a request or a response. The RFC defines methods such as REGISTER (a phone telling the server where it is), INVITE (start a call), BYE (end it) and OPTIONS (ask what a server supports). PentestPad’s port reference gives 5060 as the default port, over UDP and TCP, and 5061 as the encrypted SIP-TLS port.
You find it on office phone systems such as Asterisk, FreePBX, 3CX and Kamailio, on hosted phone services, desk phones, door intercoms and SIP trunks to carriers.
Why attackers look for it
Attackers scan the internet for anything answering on 5060. OffSeq, a security firm that runs honeypots (decoy systems), reports that over a 24-day capture its fleet logged 23.7 million events, of which 5.24 million (22%) were SIP, ahead of SSH. That is one vendor’s data, but it shows how constant the scanning is.
The reward is money, not data. OffSeq maps the activity to MITRE ATT&CK T1657, Financial Theft.
How it gets attacked
OffSeq describes two phases that are often run by different machines: 1. Find the extensions. A working PBX answers a request for a valid extension with a 401 authentication challenge and one for a missing extension with a 404. Trying numbers reveals which exist. PentestPad describes the same leak. Defaults such as 100 and 1000 are tried first. 2. Guess the passwords, then make calls. Once an extension’s password falls, the attacker places international calls to numbers that pay them a share of the call charge. This is called International Revenue Share Fraud (IRSF). The bill lands on the PBX owner.
Other weaknesses: – No encryption on 5060. PentestPad notes plain SIP is unencrypted, so call details and the digest login exchange can be captured on the path. – Guest calling. If the PBX lets unauthenticated requests dial out, no password is needed. OffSeq advises setting allowguest=no in Asterisk. – Software flaws. PentestPad lists examples, including CVE-2025-57819 (a pre-authentication remote code execution flaw in FreePBX’s Endpoint Manager module, which PentestPad says was added to the CISA Known Exploited Vulnerabilities catalogue) and CVE-2024-35190 (an Asterisk flaw that mis-identified unauthorised SIP requests as the local endpoint). Check the vendor advisories for current versions. – Floods. PentestPad notes floods of INVITE or REGISTER messages can exhaust a PBX.
RFC 3261 itself notes that registration in SIP is used for routing incoming requests and has no role in authorising outgoing ones, which is why the PBX’s own dial-plan rules matter.
Who it affects and how badly
Any business with its own phone system or a hosted one that exposes SIP: estate agents, recruitment firms, care providers, schools, hospitality, trades and MSPs who run phone systems for clients, across the UK, EU, US and Armenia.
Illustrative worst cases: – Small business: a weekend of calls to premium destinations arrives as a large bill. Your carrier contract decides who pays. – Mid-sized business: the phone system is overloaded or taken offline, so customers cannot reach you. – Regulated business: call metadata and recordings may be personal data, so a compromised PBX can bring data protection questions as well as cost.
Real examples
The sources opened here document the pattern at scale rather than naming victims. – OffSeq’s honeypot report (June 2026) found SIP made up 22% of events over a 24-day capture and describes a toll fraud host that sent over fourteen million requests in one session. It also quotes the CFCA’s estimate of telecom fraud losses of $38.95 billion for 2023. https://offseq.com/en/research/the-honeypot-that-gets-robbed/ – PentestPad’s port reference describes the same scan, guess and call pattern. https://www.pentestpad.com/port-exploit/port-5060-sip-session-initiation-protocol
How to check whether yours is exposed
Safe checks only, on systems you own: 1. Ask your phone provider or MSP which ports the PBX exposes and why. 2. Check firewall and router rules for inbound UDP and TCP 5060 and 5061 from the internet. 3. Review the PBX’s own settings: are guest calls allowed, are extension passwords long and unique, are there rate limits? 4. Look at call records for international calls at odd hours. 5. Run our free web vulnerability scan for the web side of the estate, including a PBX admin page.
What we check on a test
In an authorised external test, a Wolfcore tester looks at: – Whether SIP answers from the internet, and on which transports. – Whether the server reveals which extensions exist. – Whether any extension uses a default or guessable secret. – Whether guest or anonymous calling can route out. – Whether signalling and media are encrypted. – Whether the PBX admin web page is exposed and patched. – Whether carrier-side spend limits and dialling restrictions exist, and whether anyone would notice a call spike.
Worked example (illustration, not a real case)
A 12-person recruitment firm uses a PBX the installer set up. Extensions are 101 to 112 with passwords matching the extension number, and port 5060 is open so remote staff can register. Over a bank holiday weekend an attacker registers extension 105 and places calls to overseas numbers non-stop. On Tuesday the carrier invoice is several thousand pounds. The fixes would have taken an afternoon: close 5060 to the world, use long random secrets, disable guest calling and set a daily spend cap with the carrier.
How to secure it
- Do not expose 5060 to the whole internet. Allow only your carrier’s trunk addresses and known remote sites, or put the PBX behind a session border controller (SBC) or VPN.
- Use long, random, unique secrets for every extension, never the extension number.
- Disable guest or anonymous calling (allowguest=no in Asterisk-style configs, per OffSeq).
- Stop leaking which extensions exist, for example with alwaysauthreject=yes in Asterisk, per OffSeq.
- Set an outbound spend limit and an allow list of dialable countries with your carrier. OffSeq says a spend cap can turn a six-figure weekend into a small one.
- Encrypt: SIP over TLS on 5061 (RFC 3261 defines SIPS URIs that require TLS) and SRTP for the voice.
- Rate-limit and lock out repeated failed registrations.
- Patch the PBX and its admin interface.
- Alert on bursts of 401 responses and on international call spikes.
- If you do not use VoIP on a host, block 5060 and 5061 entirely.
Related terms
Brute force attack, Password spraying, Denial of service, How to check which ports are open, What is a honeypot, Wireshark
FAQ
What is port 5060 used for? It is the default port for SIP, the signalling protocol that sets up phone calls, per PentestPad’s reference, and RFC 3261 defines SIP as the control protocol for creating, modifying and terminating sessions.
What is the difference between 5060 and 5061? PentestPad lists 5060 as plain SIP and 5061 as SIP over TLS, which encrypts the signalling.
Is an open port 5060 dangerous? OffSeq says no software vulnerability is needed for toll fraud, only a phone system that will place a call for a stranger, so an exposed port with weak passwords is the risk.
How Wolfcore helps
A Wolfcore penetration test finds this the way an attacker would, by hand, not with a scanner. Start with the free web vulnerability scan and see penetration testing. Prices are on our pricing page.
Wolfcore
Would your staff click a phishing email?
Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.
Start a free phishing testFree website security scanor book a 30 minute call