{"id":2511,"date":"2026-10-26T08:01:55","date_gmt":"2026-10-26T08:01:55","guid":{"rendered":"https:\/\/www.capanicus.com\/blog\/?p=2511"},"modified":"2026-10-28T04:44:43","modified_gmt":"2026-10-28T04:44:43","slug":"preventing-voip-and-sip-toll-fraud","status":"publish","type":"post","link":"https:\/\/www.capanicus.com\/blog\/preventing-voip-and-sip-toll-fraud\/","title":{"rendered":"Preventing VoIP and SIP Toll Fraud: Essential Security Practices for Enterprise PBX"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Someone gets into your SIP-based PBX. They place calls you never approved. Then you pay for them. That&#8217;s SIP toll fraud in one sentence, and it&#8217;s usually built around premium-rate numbers somewhere the attacker has a revenue-share deal, so every minute your system burns, they&#8217;re getting paid on the other end.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">CFCA&#8217;s 2019 survey put global telecom fraud losses at $28.3 billion. Two years later that number was $39.89 billion. PBX and VoIP attacks specifically have shown up in this report for more than ten years running.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">What follows is built on work we&#8217;ve done at Capanicus alongside VoIP developers handling real PBX deployments. It covers how these attacks actually run, what they leave behind, and what actually stops them.<\/span><\/p>\n<h2><b>What SIP Toll Fraud Looks Like From the Inside<\/b><\/h2>\n<h3><b>The Billing View<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Nothing looks wrong while it&#8217;s happening. Calls connect. Audio&#8217;s fine. Nobody at your company notices a thing, because there&#8217;s nothing to notice from the inside. Instead, the only trace lives in your call detail records, and you usually meet it for the first time on an invoice. Hundreds of calls to a handful of country prefixes. Many of them lasting just long enough to bill. Most of it crammed into a single weekend when nobody&#8217;s checking logs.<\/span><\/p>\n<h3 dir=\"ltr\"><strong>Four Common Patterns<\/strong><\/h3>\n<p dir=\"ltr\">Recognizing these billing patterns is an important first step in identifying SIP toll fraud before unauthorized calling activity leads to significant financial losses.<\/p>\n<ul dir=\"ltr\">\n<li><strong>International Revenue Share Fraud (IRSF):<\/strong> This is the one behind most five and six-figure invoices. Specifically, the attacker controls, or has arranged access to, a premium number range, and gets paid every time you call it. A couple dollars a minute doesn\u2019t sound like much until a few hundred concurrent calls run for a few hours straight.<\/li>\n<li><strong>PBX hijacking:<\/strong> On the other hand, this one is far more straightforward. A person obtains a working credential or discovers a hole in the dialplan, which allows an unauthorized caller to make calls on your trunk.<\/li>\n<li><strong>Traffic pumping:<\/strong> Similarly, this is the practice of targeting certain number ranges with high termination costs. The incoming call can find its way through something that wasn\u2019t secured, such as voicemail-to-phone or an open IVR menu.<\/li>\n<li><strong>Wangiri and callback tactics:<\/strong> These go in reverse. Here, the phone rings for only a moment, luring unsuspecting folks into calling back. Most companies, however, expect it to be incoming, rather than outgoing, which is why they tend to overlook it until after they see the bill.<\/li>\n<\/ul>\n<h2><b>How an Attack Unfolds on a Real PBX<\/b><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2512\" src=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/How-an-Attack-Unfolds-on-a-Real-PBX.webp\" alt=\"How an Attack Unfolds on a Real PBX\" width=\"1000\" height=\"562\" srcset=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/How-an-Attack-Unfolds-on-a-Real-PBX.webp 1000w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/How-an-Attack-Unfolds-on-a-Real-PBX-300x169.webp 300w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/How-an-Attack-Unfolds-on-a-Real-PBX-768x432.webp 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Pull enough SIP honeypot logs and incident reports and the same sequence shows up over and over. It barely varies.<\/span><\/p>\n<h3><b>Scanning<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Bots sweep the internet constantly, looking for anything answering on port 5060 or TLS port 5061. They send OPTIONS or INVITE probes, read what comes back in the User-Agent header, and now they know your PBX brand and roughly which version you&#8217;re running. svmap, part of the SIPVicious toolkit, does exactly this. As a result, a freshly exposed server usually gets hit within minutes. This isn&#8217;t personal. You just showed up in a scan.<\/span><\/p>\n<h3><b>Finding Extensions<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Here&#8217;s a small detail that matters a lot. Some servers respond differently, a 401 versus a 404, depending on whether an extension actually exists. That one difference is enough. Then a script fires off a REGISTER for every plausible extension number, watches the response codes, and builds a map of your entire numbering plan without ever touching a password. svwar handles this automatically.<\/span><\/p>\n<h3><b>Guessing Secrets<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Once the attacker has real extension numbers, they start guessing. Common passwords first, then extension-as-password combos, then whatever leaked credentials happen to be floating around from some unrelated breach. For instance, if extension 2041&#8217;s secret is 2041, that&#8217;s gone in the first try. It should be.<\/span><\/p>\n<h3><b>The Test Call<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">This part gets missed constantly, and it shouldn&#8217;t. Before running up real charges, attackers test. One short call, maybe two, just to confirm outbound routing actually works through the compromised account. It&#8217;s cheap, it&#8217;s quiet, and almost nobody&#8217;s watching for it even though it&#8217;s the single clearest early warning you&#8217;ll get.<\/span><\/p>\n<h3><b>The Burst<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Then it&#8217;s volume. Dozens of concurrent calls hammering premium prefixes, usually overnight, usually on a weekend. Sophisticated operators spread this traffic across several compromised PBXs at once specifically so no individual victim&#8217;s usage spikes enough to trip an alarm.<\/span><\/p>\n<h2><b>Building Toll Fraud VOIP Prevention in Four Layers<\/b><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2516\" src=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Building-Toll-Fraud-VOIP-Prevention-in-Four-Layers.webp\" alt=\"Building Toll Fraud VOIP Prevention in Four Layers\" width=\"1000\" height=\"562\" srcset=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Building-Toll-Fraud-VOIP-Prevention-in-Four-Layers.webp 1000w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Building-Toll-Fraud-VOIP-Prevention-in-Four-Layers-300x169.webp 300w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Building-Toll-Fraud-VOIP-Prevention-in-Four-Layers-768x432.webp 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">An effective VoIP toll fraud prevention strategy requires multiple layers of protection. Network security, strong authentication, outbound calling restrictions, and continuous monitoring work together to reduce the risk of unauthorized calls.<\/span><\/p>\n<h3><b>Layer 1: Shrink What Is Reachable<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The fraud attempt that never reaches your PBX is the cheapest one you&#8217;ll ever deal with.<\/span><\/p>\n<h4><b>Put an Enforcement Point in Front<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Terminate external SIP on a <a href=\"https:\/\/www.capanicus.com\/blog\/sip-trunking-architecture\/\">session border controller<\/a>, or a hardened proxy if a commercial SBC isn&#8217;t in the cards, and keep your actual call servers on private addressing behind it. That edge device validates SIP syntax, rate-limits incoming sources, hides your internal structure, and gives you exactly one place to enforce policy instead of ten. For example, Kamailio or OpenSIPS in front of <a href=\"https:\/\/www.capanicus.com\/blog\/freeswitch-vs-asterisk\/\">Asterisk or FreeSWITCH<\/a> works fine for this if budget&#8217;s tight.<\/span><\/p>\n<h4><b>Allowlist Trunk Sources<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Your carrier trunk has a known peer. So there&#8217;s no reason to accept SIP toll fraud signaling from anywhere outside the ranges that carrier publishes. A minimal nftables setup for this:<\/span><\/p>\n<pre style=\"background: #f4f6f8; border: 1px solid #e1e4e8; border-radius: 6px; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.5;\"><code class=\"language-bash\">table inet voice {\n\u00a0\u00a0set carrier_sip {\n\u00a0\u00a0\u00a0\u00a0type ipv4_addr; flags interval;\n\u00a0\u00a0\u00a0\u00a0elements = { 203.0.113.0\/24 }\n\u00a0\u00a0}\n\u00a0\u00a0chain input {\n\u00a0\u00a0\u00a0\u00a0type filter hook input priority 0; policy drop;\n\u00a0\u00a0\u00a0\u00a0ct state established,related accept\n\u00a0\u00a0\u00a0\u00a0iif lo accept\n\u00a0\u00a0\u00a0\u00a0ip saddr @carrier_sip udp dport 5060 accept\n\u00a0\u00a0\u00a0\u00a0ip saddr @carrier_sip tcp dport 5061 accept\n\u00a0\u00a0}\n}<\/code><\/pre>\n<p><span style=\"font-weight: 400;\">However, that range&#8217;s just a placeholder. Use your real carrier ranges, add your management sources, and only then turn on the default-drop policy, or you&#8217;ll lock yourself out.<\/span><\/p>\n<h4><b>A Port Change Isn&#8217;t Security<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Moving SIP off port 5060 will quiet down your logs. That&#8217;s because scanners that only check the default port stop finding you. But anyone running an actual targeted scan across the full port range finds you just as fast as before. Don&#8217;t mistake less noise for less risk.<\/span><\/p>\n<h4><b>Encrypt<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">TLS with valid certs, old TLS versions turned off, SRTP for media. This keeps credentials and metadata from being readable in transit. However, what it doesn&#8217;t do is stop a stolen password from working. Therefore, encryption is one layer among several, not a solution by itself.<\/span><\/p>\n<h4><b>Ban What Misbehaves<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">A firewall has no idea what an authentication failure looks like. Instead, you need something SIP-aware watching that layer. On Asterisk, for instance, a Fail2ban jail reading the PBX log does it:<\/span><\/p>\n<pre style=\"background: #f4f6f8; border: 1px solid #e1e4e8; border-radius: 6px; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.5;\"><code class=\"language-ini\">[asterisk]\nenabled\u00a0 = true\nfilter \u00a0 = asterisk\nlogpath\u00a0 = \/var\/log\/asterisk\/messages\nmaxretry = 5\nfindtime = 600\nbantime\u00a0 = 86400<\/code><\/pre>\n<p><span style=\"font-weight: 400;\">Similarly, at a Kamailio edge, the pike module flags request floods per source address:<\/span><\/p>\n<pre style=\"background: #f4f6f8; border: 1px solid #e1e4e8; border-radius: 6px; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.5;\"><code class=\"language-plaintext\"># sampling window, in seconds\nmodparam(\"pike\", \"sampling_time_unit\", 2)\n# requests allowed per window before a source is flagged\nmodparam(\"pike\", \"reqs_density_per_unit\", 16)\n# how long a source stays tracked after its last request\nmodparam(\"pike\", \"remove_latency\", 4)\n\nrequest_route {\n\u00a0\u00a0\u00a0\u00a0if (!pike_check_req()) {\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0xlog(\"L_ALERT\", \"SIP flood from $si dropped\\n\");\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0exit;\n\u00a0\u00a0\u00a0\u00a0}\n}<\/code><\/pre>\n<p><span style=\"font-weight: 400;\">Make sure ban lists survive a restart. After all, there&#8217;s no point banning an attacker only to hand them a clean slate the next time the service reloads.<\/span><\/p>\n<h3><b>Layer 2: Make Registration Hard to Fake<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Eventually one perimeter rule fails in toll fraud VOIP. Assume that going in. When it does, authentication is what stands between a failed firewall rule and an actual breach.<\/span><\/p>\n<h4><b>Use Real Secrets<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Sixteen random characters, minimum, per endpoint. Never the extension number or the company name. Also, never reuse it as a voicemail PIN somewhere else in the system. Secrets live in a provisioning system or a secrets manager, full stop, not a shared spreadsheet someone screenshots and emails around the office.<\/span><\/p>\n<h4><b>Remove the Enumeration Signal<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">A request for a user that doesn&#8217;t exist and a request with a wrong password for a user that does exist should look identical coming back, same response code, similar timing. Legacy Asterisk handles this through alwaysauthreject. Worth testing yourself, honestly, send both requests and compare what you get.<\/span><\/p>\n<h4><b>Tie Endpoints to Networks<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">A desk phone physically sitting in your HQ office has zero legitimate reason to register from another country. So lock that down with an ACL. For people actually roaming, use a VPN or client-authenticated TLS, not a looser rule just because it&#8217;s more convenient for IT.<\/span><\/p>\n<h4><b>Audit Call-Relaying Features<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Voicemail callback. External transfer from an IVR. Dial-by-name directories. Conference dial-out. Every one of these has been used by an attacker to reach an outside line at some point. Turn off external transfer unless there&#8217;s a written, documented reason it needs to stay on.<\/span><\/p>\n<h4><b>Lock the Control Plane<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Web GUI, AMI\/ARI, SSH, provisioning, none of it belongs sitting open on the internet. Management network or VPN only, MFA wherever it&#8217;s supported, default accounts deleted. Also, set alerts for new extensions, new trunks, new forwarding rules. And patch on a schedule you can actually point to if someone asks.<\/span><\/p>\n<h3><b>Layer 3: Cap What an Account Can Do<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Here&#8217;s the layer that decides what a stolen credential is actually worth to whoever stole it for SIP toll fraud. Everything upstream can fail. So this is the backstop.<\/span><\/p>\n<h4><b>Assign Calling Classes by Job<\/b><\/h4>\n<table>\n<tbody>\n<tr>\n<td><b>Class<\/b><\/td>\n<td><b>What It Can Dial<\/b><\/td>\n<td><b>Typical Endpoints<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Internal extensions only<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Lobby phones, conference rooms<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">1<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Internal plus local and national<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Most staff<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">2<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Class 1 plus an allowlist of countries<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sales, support, purchasing<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">3<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Unrestricted international<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Named individuals, reviewed quarterly<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">Default every new endpoint to class 0 or 1. Nothing higher. Moving up should need an actual ticket and a name attached to it, rather than a quick verbal favor granted on a busy Tuesday.<\/span><\/p>\n<h4><b>Prefer an Allowlist<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">A country list built from what you actually call can&#8217;t be beaten by a prefix someone forgot to block, because nothing&#8217;s forgotten, nothing&#8217;s missing. Stuck with a denylist instead? Then build it off carrier fraud advisories and put a review date on the calendar. Don&#8217;t wait for an incident to remind you it&#8217;s stale.<\/span><\/p>\n<h4><b>Limit Simultaneous Calls<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Most employees never operate more than 2 or 3 outbound channels at one time. With fraud, dozens need to be run simultaneously in order to earn money. Therefore, using technical limits of the platform is not a good approach; the approach needs to be based on the actual traffic limitations.<\/span><\/p>\n<h4><b>Apply Time Rules<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">How does business run from 7am until 7pm? Receiving several international calls at three in the morning on a Sunday is considered abnormal, thus your system should take this into consideration, by default, too. However, the only thing required to do is create an exception for extraordinary late calls to avoid blocking those who might need to reach clients abroad.<\/span><\/p>\n<h4><b>Separate Inbound From Outbound<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">Go through every include, every Goto, every transfer target in the dialplan, one at a time if you have to. Calls coming in from a trunk should only ever land in contexts that reach internal destinations or specific DIDs. Also, unauthenticated INVITEs get rejected. No exceptions, no &#8220;just this once.&#8221;<\/span><\/p>\n<h3><b>Layer 4: Watch the Call Records<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">No matter how tight the first three layers are, something slips through eventually. So detection is what decides whether that costs you a few hundred dollars or a genuinely bad quarter.<\/span><\/p>\n<h4><b>Collect Four Things<\/b><\/h4>\n<p><span style=\"font-weight: 400;\">CDRs, source, destination, start time, duration, trunk, endpoint. SIP signaling logs with REGISTER outcomes and 401\/403 counts. Live per-endpoint and per-trunk channel counts. And carrier usage data, which matters more than people think, because that&#8217;s the one record an attacker sitting inside your PBX can&#8217;t touch or delete.<\/span><\/p>\n<h4><b>Alert on Patterns, Not Totals<\/b><\/h4>\n<table>\n<tbody>\n<tr>\n<td><b>Signal<\/b><\/td>\n<td><b>What It Suggests<\/b><\/td>\n<td><b>Starting Threshold<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Failed registrations across sequential extensions<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Enumeration or spraying<\/span><\/td>\n<td><span style=\"font-weight: 400;\">20+ failures from one source in 5 minutes<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">First registration from a new country or ASN<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Credential theft<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Any, for endpoints with stable history<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">First call ever to a destination country<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Validation call<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Any new country for the tenant<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Many calls under 10 seconds<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Testing or pumping<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A sustained burst<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Premium-prefix traffic<\/span><\/td>\n<td><span style=\"font-weight: 400;\">IRSF<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A very small count<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Channels above the per-endpoint cap<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Burst fraud<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Any breach<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">Treat these as starting points. Run them against two to four weeks of your own traffic before paging anyone. For example, a PostgreSQL query that surfaces endpoints placing many short international calls:<\/span><\/p>\n<pre style=\"background: #f4f6f8; border: 1px solid #e1e4e8; border-radius: 6px; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.5;\"><code class=\"language-sql\">SELECT src,\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0COUNT(*) AS calls,\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0COUNT(*) FILTER (WHERE billsec &lt; 10) AS short_calls,\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0SUM(billsec) AS total_secs\nFROM \u00a0 cdr\nWHERE\u00a0 calldate &gt; NOW() - INTERVAL '15 minutes'\n\u00a0\u00a0AND\u00a0 dst ~ '^(00|011)'\nGROUP\u00a0 BY src\nHAVING COUNT(*) FILTER (WHERE billsec &lt; 10) &gt;= 8\nORDER\u00a0 BY short_calls DESC;<\/code><\/pre>\n<h2><b>Carrier-Side Limits Worth Negotiating<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Everything above assumes your own PBX still behaves. Controls at the carrier keep working when it doesn&#8217;t. So ask your provider, and write down the answers:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A maximum concurrent-channel count per trunk.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A daily or hourly spend ceiling that suspends or alerts automatically.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Destination allowlists or blocklists enforced on their side.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Near-real-time usage alerts to a mailbox that someone reads.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A named fraud contact and an emergency block procedure.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Contract language on who pays for traffic that originates from your credentials.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">This is the cheapest item in the whole program. In fact, one phone call can put a ceiling on your worst weekend.<\/span><\/p>\n<h2><b>Remote Workers, Softphones and Cloud PBX: Where the Perimeter Disappears<\/b><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2513\" src=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Remote-Workers-Softphones-and-Cloud-PBX-Where-the-Perimeter-Disappears.webp\" alt=\"Remote Workers, Softphones and Cloud PBX Where the Perimeter Disappears\" width=\"1000\" height=\"562\" srcset=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Remote-Workers-Softphones-and-Cloud-PBX-Where-the-Perimeter-Disappears.webp 1000w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Remote-Workers-Softphones-and-Cloud-PBX-Where-the-Perimeter-Disappears-300x169.webp 300w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Remote-Workers-Softphones-and-Cloud-PBX-Where-the-Perimeter-Disappears-768x432.webp 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Most of the advice earlier in this guide assumes one thing: there&#8217;s an office, a firewall, and a PBX that sits behind it. However, that picture is out of date for a lot of companies. People register softphones from home broadband, hotel Wi-Fi and phone hotspots, and the PBX may live in a provider&#8217;s data center instead of your rack. SIP toll fraud doesn&#8217;t care about any of that. It just follows the weakest registration.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/www.capanicus.com\/blog\/cloud-pbx-vs-self-hosted-pbx\/\">Moving to a cloud provider<\/a> moves the hardware and the patching. But it doesn&#8217;t move your users&#8217; passwords, your calling policy or your monitoring of what your own tenant dials. Before you sign or renew, get plain answers to a few questions:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Is international calling off by default for new users, or on?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Can you set per-user and <a href=\"https:\/\/www.capanicus.com\/blog\/how-to-build-a-multi-tenant-voip-platform\/\">per-tenant spend or channel limits<\/a> yourself, or only through a support ticket?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Can you export CDRs or receive usage alerts in near real time?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">What does the provider do if it sees a burst of traffic to premium destinations on your tenant?<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">If the answers are vague, assume the controls aren&#8217;t there. In short, effective VoIP toll fraud prevention in a <a href=\"https:\/\/www.capanicus.com\/cloud-pbx-development\">hosted or cloud PBX environment<\/a> depends on clear calling policies, enforceable spending limits, secure user authentication, and access to near-real-time call records.<\/span><\/p>\n<h3><b>A Hybrid Warning<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The riskiest setups tend to sit right in the middle. On-prem PBX, cloud SIP trunk layered on top, a separate cloud tool for the call center, plus two or three gateways nobody&#8217;s touched since a migration that happened years ago. Every single trunk in that mess has its own credentials and its own rules. So document every one of them to prevent toll fraud VOIP. A trunk nobody&#8217;s inventoried is a trunk nobody&#8217;s watching, period.<\/span><\/p>\n<h2><b>Testing Your Own Defenses Before Someone Else Does<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">You can read every security guide ever published and still be wrong about your own system. So the only real way to know is to try breaking it yourself, with permission, on systems you actually own, and with your carrier given a heads-up first.<\/span><\/p>\n<h3><b>What to Check<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Scan your own public IPs for SIP toll fraud and management ports. Anything answering that you didn&#8217;t expect is a finding, full stop. Register with a user that doesn&#8217;t exist, then with a wrong password for one that does, and compare the two responses, any difference means your numbering plan is enumerable. Audit stored credential strength directly rather than trying to brute-force your own system in production.<\/span><\/p>\n<h3><b>Test the Alerts, Not Just the Blocks<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">A lot of teams confirm a rule blocks a call and never go the extra step of checking whether a human actually gets told about it. That&#8217;s the real gap. Fire off a deliberate burst of test calls against a sandbox destination and time how long it takes before someone responds. &#8220;By tomorrow morning&#8221; is not an acceptable answer, and if that&#8217;s what you get, you&#8217;ve just found your real weak point.<\/span><\/p>\n<h3><b>Make It Routine<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Test after every major change, a new trunk, a new office opening, a platform upgrade, a dialplan rewrite. Quarterly as a baseline if nothing else forces an earlier look. Also, write down what you tested and what broke. That record earns its keep later with auditors and with insurers.<\/span><\/p>\n<h2><b>Who Owns Toll Fraud VOIP? Budget, Accountability and Metrics<\/b><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2515\" src=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Who-Owns-Toll-Fraud-VOIP.webp\" alt=\"Who Owns Toll Fraud VOIP\" width=\"1000\" height=\"562\" srcset=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Who-Owns-Toll-Fraud-VOIP.webp 1000w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Who-Owns-Toll-Fraud-VOIP-300x169.webp 300w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Who-Owns-Toll-Fraud-VOIP-768x432.webp 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Controls fail silently when there&#8217;s no clear owner. That&#8217;s because telephony tends to sit in the gap between network, security, and procurement, and each team quietly assumes someone else already has it handled. That gap is exactly where toll fraud VOIP thrives.<\/span><\/p>\n<h3><b>Pick One Accountable Owner<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">One name, not a committee. They don&#8217;t have to build every control personally, but they need real authority, to restrict calling classes, suspend a trunk, escalate to a carrier, without having to track down a sign-off at 3am.<\/span><\/p>\n<h3><b>Put the Cost in Front of Finance<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">One bad weekend of premium traffic can cost more than years of these controls combined. So put that number in a budget meeting and watch the conversation move fast. Bring finance in early on spend ceilings, on what insurance actually covers, on who eats the cost while a dispute&#8217;s still being argued with the carrier.<\/span><\/p>\n<p><b>Capanicus Engineering Insight:<\/b><span style=\"font-weight: 400;\"> Most PBX environments we&#8217;ve reviewed treat these controls as a one-time setup. However, the ones that actually stay protected are the ones where someone revisits calling classes and destination lists every quarter, not just after a fraud event forces the issue.<\/span><\/p>\n<h3><b>Track a Few Numbers That Matter<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">You don&#8217;t need fifty dashboard widgets for this. Time from first anomalous call to a human actually responding. Share of endpoints sitting in the lowest calling class that still fits their job. Endpoints with international dialing turned on. Percentage of trunks with carrier-side spend limits set. That&#8217;s enough to tell you whether the program&#8217;s actually working.<\/span><\/p>\n<h3><b>Close the Loop After Every Incident<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Even a blocked scan that got further than it should have is a free lesson sitting right there. Write it up, short, adjust one threshold because of it, date the change. As a result, a year of these small edits turns a reactive phone system into a genuinely hard target to crack.<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Metric<\/b><\/td>\n<td><b>Why it matters<\/b><\/td>\n<td><b>A sensible target<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Time from first anomalous call to a person acting on it<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Measures real detection speed<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Minutes, not hours<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Share of endpoints in the lowest calling class that fits their job<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Shows how much blast radius you&#8217;ve removed<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Rising every quarter<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Endpoints with international dialing enabled<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The smaller this is, the smaller the worst case<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Only those with a stated need<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">SIP secrets that meet your standard<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Shows credential hygiene<\/span><\/td>\n<td><span style=\"font-weight: 400;\">100%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Trunks with carrier-side spend and channel limits<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Your ceiling if everything else fails<\/span><\/td>\n<td><span style=\"font-weight: 400;\">100%<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Days since the last controlled test<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Shows whether defenses are still verified<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Under 90<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">Review these quarterly with the owner, security and finance in the same room. If a number moves the wrong way, you&#8217;ve found a problem on your own schedule, which is far cheaper than finding it on the carrier&#8217;s.<\/span><\/p>\n<h2><b>How Capanicus Designs VoIP Platforms to Minimize Toll Fraud Risks<\/b><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2517\" src=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Capanicus-Designs-VoIP-Platforms-to-Minimize-Toll-Fraud-Risks.webp\" alt=\"Capanicus Designs VoIP Platforms to Minimize Toll Fraud Risks\" width=\"1000\" height=\"562\" srcset=\"https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Capanicus-Designs-VoIP-Platforms-to-Minimize-Toll-Fraud-Risks.webp 1000w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Capanicus-Designs-VoIP-Platforms-to-Minimize-Toll-Fraud-Risks-300x169.webp 300w, https:\/\/www.capanicus.com\/blog\/wp-content\/uploads\/2026\/10\/Capanicus-Designs-VoIP-Platforms-to-Minimize-Toll-Fraud-Risks-768x432.webp 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Preventing toll fraud VOIP starts with how a VoIP platform is designed, configured, and secured. While individual security controls can be added later, building them into the platform from the beginning helps reduce vulnerabilities before attackers can exploit them.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At Capanicus, we approach the <a href=\"https:\/\/www.capanicus.com\/voip-telephony-software-app-development\">development of VoIP platform solutions<\/a> with an emphasis on the prevention of toll fraud. This means that regardless of whether we are working with <a href=\"https:\/\/www.capanicus.com\/asterisk-freeswitch-development\">Asterisk, FreeSWITCH<\/a>, or a custom VoIP solution, we place a primary emphasis on limiting the options available for attackers. The implementation of our approach consists of the following four steps.<\/span><\/p>\n<h3><b>1. Secure Platform Architecture<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">We assess SIP toll fraud vulnerabilities, administrative access, authentication policies, dial plan switching, and carrier limitations during the architectural design. Identifying vulnerabilities early also allows us to lay a solid foundation to minimize unauthorized access.<\/span><\/p>\n<h3><b>2. Preventive Security Controls<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Access controls, secure signaling and media protocols such as TLS and SRTP when workable, endpoint constraints, destination permit lists, limitations for call initiation, etc. also play a significant role in keeping the calls free from being conducted through the use of unauthorized devices or stolen credentials.<\/span><\/p>\n<h3><b>3. Monitoring and Anomaly Detection<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Specifically, using Call Detail Records, SIP signaling and alerts allows the identification of suspicious calling behavior, unexpected directory numbers, and increase in call volume.<\/span><\/p>\n<h3><b>4. Continuous Security Improvements<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">VoIP systems are dynamic, especially as organizations bring new employees, locations, destinations, and service providers into their fold. Consistent review of access policies, upgrades of destination policy as well as updates of fraud detection mechanisms ensures the effectiveness of preventative measures as systems change.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The overall aim is to make toll fraud almost impossible by alleviating security deficiencies at the design, settings and monitoring stages. By embedding these factors into the VoIP architecture design, Capanicus allows organizations to keep their telephone systems as secure as possible.<\/span><\/p>\n<h2><b>When It Happens Anyway: A Response Plan<\/b><\/h2>\n<h3><b>First 15 minutes<\/b><\/h3>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Disable international and premium routing at the SBC or in the dialplan.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">If you cannot tell which accounts are compromised, cut outbound trunks to essential traffic and restore selectively.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Then call the carrier&#8217;s fraud desk, report suspected fraud, and request blocks on the affected destinations.<\/span><\/li>\n<\/ol>\n<h3><b>First 24 hours<\/b><\/h3>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Export CDRs, SIP logs, and carrier usage records before you change anything.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Find the way in: successful logins from unfamiliar sources, new extensions or trunks, changes to the dialplan or forwarding, admin access logs.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Rotate SIP secrets, voicemail PINs, admin credentials, provisioning credentials, and API tokens. Also, delete anything the attacker created.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Fix the root cause before restoring normal routing.<\/span><\/li>\n<\/ol>\n<h3><b>Within two weeks<\/b><\/h3>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Review your carrier contract and any insurance policy. Toll fraud VOIP is often capped or excluded.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Finally, write a short post-incident review and feed the findings into thresholds, policy, and training.<\/span><\/li>\n<\/ol>\n<h2><b>A 90-Day Rollout<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Days 1 to 30: lower your exposure. Inventory every SIP-facing address and management interface you have. Allowlist trunk sources. Move admin access behind a VPN. Then get spend limits set with your carrier.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Days 31 to 60: tighten identity and policy. Rotate every SIP secret under a real standard. Make authentication failures uniform. Bind fixed endpoints to known networks. Then roll out destination allowlists with concurrency caps per endpoint.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Days 61 to 90: build real detection. Centralize your CDRs and signaling logs. Deploy and tune alert rules against actual traffic. Write a runbook. Finally, put a quarterly review permanently on the calendar.<\/span><\/p>\n<h2><b>Final Thoughts<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">SIP toll fraud keeps working because it&#8217;s automated, it&#8217;s profitable, and it&#8217;s aimed at systems nobody&#8217;s really watching. The pipeline barely changes, find something reachable, map the extensions, guess a credential, test it quietly, then burn through charges as fast as the system allows before anyone notices.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Two changes if that&#8217;s all you have time for this week. Pull international dialing from every extension that doesn&#8217;t actually need it. Set spend and concurrency limits with your carrier so even your absolute worst weekend has a hard ceiling. Everything else here builds on those two moves.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you&#8217;d rather hand this to a team that deals with it constantly, Capanicus runs VoIP development and PBX security audits built specifically around this kind of fraud prevention. <a href=\"https:\/\/www.capanicus.com\/contact-us\">Reach out<\/a> and we&#8217;ll go through exactly where your current setup stands.<\/span><\/p>\n<h2><b>Frequently Asked Questions<\/b><\/h2>\n<h3><b>What is toll fraud in VoIP?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">It&#8217;s the unauthorized use of a company&#8217;s phone system to place chargeable calls, usually to premium-rate or high-cost international numbers, while the business that owns the system pays for calls it never approved.<\/span><\/p>\n<h3><b>How does SIP toll fraud usually begin?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">It usually starts with automated tools searching for exposed SIP services, after which the hacker conducts some reconnaissance to gain access to valid SIP credentials, runs some test calls, and enters the so-called fraud stage after that.<\/span><\/p>\n<h3><b>How much can a toll fraud incident cost?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">That depends on the call charges used, the concurrency and also the duration of the calls! The most expensive destinations charge quite a lot per minute, and the hacker may open many channels at the same time, so losing tens of thousands of dollars over one bad weekend is very much possible, provided that carriers do not have spending limits on their side.<\/span><\/p>\n<h3><b>How do I secure FreePBX or Asterisk against toll fraud?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Keep it off direct public exposure. Use strong random secrets. Turn on automatic banning for failed logins. Also, disable guest calling. Apply per-extension calling restrictions and concurrent call limits. Patch on a schedule, and keep the admin interface off the open internet entirely.<\/span><\/p>\n<h3><b>Is toll fraud covered by insurance?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">There is a potential for insurance coverage to apply to toll as some telecommunication or cyber policies offer coverage while others don&#8217;t. To understand how toll situations apply to your policy, be sure to check the fine print of your insurance purchase contract.<\/span><\/p>\n<h3><b>Can SIP trunks be hacked?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The trunk is an access point but can still have IP authentication and credentials exposed. A trunk can generate bad calls if it is linked to a vulnerable PBX telephone system. Therefore, to secure trunks, use strong authentication from the carrier company and limit calls made through the trunk.<\/span><\/p>\n<h3><b>Should I block port 5060 to prevent toll fraud?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Blocking port 5060 is a good step if SIP access is not needed and using the trunk only from limited channels. However, just changing the 5060 port won\u2019t provide much protection in itself.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone gets into your SIP-based PBX. They place calls you never approved. Then you pay for them. That&#8217;s SIP toll fraud in one sentence, and it&#8217;s usually built around premium-rate numbers somewhere the attacker has a revenue-share deal, so every minute your system burns, they&#8217;re getting paid on the other end. CFCA&#8217;s 2019 survey put<\/p>\n","protected":false},"author":1,"featured_media":2514,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[149,151,150],"class_list":["post-2511","post","type-post","status-publish","format-standard","has-post-thumbnail","category-uncategorized","tag-sip-toll-fraud","tag-toll-fraud-voip","tag-voip-toll-fraud-prevention"],"_links":{"self":[{"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/posts\/2511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/comments?post=2511"}],"version-history":[{"count":5,"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/posts\/2511\/revisions"}],"predecessor-version":[{"id":2527,"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/posts\/2511\/revisions\/2527"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/media\/2514"}],"wp:attachment":[{"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/media?parent=2511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/categories?post=2511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.capanicus.com\/blog\/wp-json\/wp\/v2\/tags?post=2511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}