The Patch Panel Deep dives for the people who run networks and phones

Locking down a VoIP network: toll fraud, SIP scanners and the controls that actually stop them

Attackers do not want to listen to your calls. They want to make thousands of them, to expensive numbers, on your account. A practical hardening guide for small and mid-sized voice networks.

Network rack with patch panels, switches and orange patch cords in a server room
Photo: Kevin Ache / Unsplash

Phone systems attract a specific kind of attacker. Data theft is possible, but the most common and most costly attack is financial: toll fraud, where criminals use your phone system to place calls to premium-rate or international numbers that pay them a share of the charges. The scheme is often called International Revenue Share Fraud (IRSF), and it tends to happen on weekends and holidays, when nobody is watching the call logs.

A single compromised extension can generate thousands of dollars in charges in a few hours. The good news is that the defenses are well known and mostly cheap. They fall into five layers.

How attackers get in

Understanding the entry points makes the controls obvious.

  • SIP scanning. Automated tools sweep the internet for anything answering on SIP ports, then try common extension numbers with weak or default passwords. Within minutes of exposing a SIP service to the internet, you will see these probes in the logs.
  • Stolen portal credentials. A phished or reused password for the admin or user portal lets an attacker create forwarding rules to international numbers, or new devices on existing extensions.
  • Voicemail and DISA abuse. Old-style "remote access" features that let callers dial back out of the system, protected only by a short PIN.
  • Compromised devices. Phones with default web admin passwords exposed to the internet, or soft clients on infected PCs.

Close-up of a grey IP desk phone with its handset in the cradle and a monochrome display Every registered handset is a set of SIP credentials. Weak ones are what scanners look for. Photo: Dan Dennis / Unsplash.

Layer 1: don't expose SIP to the internet unnecessarily

For an on-premises PBX, the single most effective control is not to accept SIP from the whole internet. Allow inbound SIP only from your carrier's documented addresses, and connect remote users through a VPN or an SBC rather than opening the PBX directly.

For hosted systems, the provider's SBCs face the internet, so your job shifts to the site edge:

  • No inbound port forwards to phones or to anything on the voice VLAN.
  • Outbound rules that allow phones to reach only the provider's documented addresses and ports.
  • Phone web interfaces reachable only from the management network, never from the internet.

Layer 2: segment voice from everything else

Put phones on their own voice VLAN, delivered alongside the data VLAN on the same switch port using LLDP-MED or the switch's voice VLAN feature. Then write explicit rules:

From To Allow
Voice VLAN Provider SBC and provisioning addresses SIP, RTP, HTTPS provisioning, NTP
Voice VLAN Internal data VLANs Nothing, except specific servers if required
Data VLANs Voice VLAN Nothing, except the management workstation
Guest Wi-Fi Voice VLAN Nothing

Segmentation limits the damage if a PC is compromised, keeps broadcast noise off the phones, and makes QoS simpler because everything on the voice VLAN is, by definition, voice.

Layer 3: credentials and authentication

Most toll fraud is a credential problem. Fix the credentials and most of the risk goes with it.

  • Long, random SIP passwords for every device and extension. Phones never need a human to type them, so there is no reason for them to be short. Zero-touch provisioning makes this easy.
  • Two-factor sign-in on every admin and user portal, especially accounts that can change forwarding or add devices.
  • No default passwords on phone web interfaces. Change them through provisioning, not by hand.
  • Strong voicemail PINs. Block simple patterns such as 1234 and the extension number itself.
  • Remove unused extensions and devices promptly when staff leave.

Toll fraud is rarely a sophisticated hack. It is almost always a weak password found by a script.

Layer 4: limit what a compromised account can do

Assume one credential will eventually leak and make sure the damage is capped.

  • Restrict international dialing to the users and sites that need it, and limit those to the countries you actually call.
  • Block premium-rate prefixes and high-risk destinations by default.
  • Set concurrent call limits per extension and per site. A receptionist never needs twenty simultaneous outbound calls.
  • Set spending or usage alerts with your provider, and know who receives them on a Saturday night.
  • Disable call forwarding to external numbers for users who do not need it, or restrict it to domestic numbers.

Layer 5: watch the logs

Fraud is easy to spot when someone is looking. Patterns worth alerting on:

  • Calls to unfamiliar international destinations, especially in bursts.
  • Outbound calls outside business hours from extensions that are normally idle.
  • New devices registered to existing extensions from unexpected locations.
  • Spikes in failed registration attempts, a sign of scanning.
  • Forwarding rules created or changed to external numbers.

Most hosted platforms provide call detail records and can send alerts. Schedule a weekly five-minute review even when nothing is alerting.

Encryption: worth turning on, not the main event

Encrypting signaling with SIP over TLS and media with SRTP protects calls from eavesdropping on untrusted networks and is increasingly the default on hosted platforms. Turn it on where your phones and provider support it. Just keep perspective: encryption protects the content of calls, while toll fraud abuses legitimate, authenticated access. You need both.

A one-page hardening checklist

  1. No inbound SIP from the internet to anything you run on site.
  2. Phones on a dedicated voice VLAN with explicit firewall rules.
  3. Long, random SIP credentials, delivered by provisioning.
  4. Two-factor sign-in on every portal account.
  5. Default passwords changed on every phone and gateway.
  6. International dialing restricted by user and destination.
  7. Concurrent call limits and spending alerts configured.
  8. TLS and SRTP enabled where supported.
  9. A named person reviewing call logs every week.
  10. A documented process to remove users and devices when staff leave.

None of these controls is exotic. Together, they turn your phone system from an easy target into one that scanners move past on their way to someone else's.