This is the second in a series of posts about application security issues. Application security issues are those which occur whether VoIP or TDM is used. My first post covered social engineering. This time I will cover toll fraud. This post should be very timely, since there have been quite a few recent, publicized toll fraud attacks. I believe toll fraud is one of the biggest, if not the biggest threats facing voice systems today.
Toll fraud takes a number of forms. In general, it covers misuse or theft of voice services, usually long distance toll calling (because these cost money). Minor misuse of toll services may not officially fall into the toll fraud category, but I still want to discuss it. Keep in mind that toll fraud, in any of its forms, can occur with VoIP and traditional TDM systems.
Toll fraud can be broken into two basic categories. The first is limited scope misuse, where say for example, an employee abuses services that they are not authorized to use. For example, many fax machines either bypass the IP PBX or have very limited restrictions (you don’t want to block a key outgoing fax). Employees will take advantage of this and either use the fax machine for calls or just connect an analog phone. Even if the line is serviced by the IP PBX, it doesn’t know that the call is voice, so it allows it. It could block it after some amount of time, but again, this isn’t commonly implemented.
Employees working after hours, perhaps like a cleaning crew, can abuse fax machines or simply use office phones that are authorized to make long distance calls. Virtually all IP PBXs offer class of service features, where different phones are allocated different capabilities, such as access to long distance. A phone in the sales department may have very different calling capabilities than one in the mail room. IP PBXs also offer authorization codes, where a code/password must be entered via the keypad before long distance calls are allowed. If an employee discovers an authorization code that they shouldn’t have, then they will be able to make long distance calls.
Some companies enable services like Direct Inward Services Access (DISA), where if you know a code/password, you can call in and get dial tone to call out. DISA is a useful service for travelers, who can call in and use the company’s long distance facilities, rather than using their cell phone, a hotel phone, or calling card.
With some VoIP architectures, the IP PBX is decomposed into several systems that communicate over the data network. For example, you may have an IP PBX, which communicates with a separate media gateway, sometimes integrated with an edge router. If the media gateway does not have the proper Access Control Lists (ACLs) and security, it is possible to directly connect to it, via a VoIP protocol such as H.323, and make calls without any control from the IP PBX. In this case, the calls will occur and there will be no entries in the IP PBX call accounting database. This isn’t some theoretical attack. We worked with a customer who lost about $250,000 due to an attack like this. Also, I believe some of the scanning reported in the VoIPSA VoipSec mailing list is designed to look for vulnerable gateways.
Limited abuse of long distance services is common and often happens under the radar. The majority of IP PBXs don’t monitor for this sort of activity in real-time and it will only be detected if someone is frequently and carefully reviewing call accounting reports.
If a determined hacker identifies a vulnerable DISA service or media gateway, then they can sell the service to others. This is classic toll fraud, sometimes referred to as “dial-through” fraud. The hacker scans for a vulnerable system and then sells the number/codes to as many people as they can. They will normally start this before a weekend, where the abuse is less likely to be noticed. The attack will continue as long as the enterprise does not notice the abuse. Remember that most service providers will not notify an enterprise of the abuse. If the enterprise only reviews reports at the end of the month or some other infrequent interval, the attack can go on for weeks, resulting in a significant expense to the enterprise. Toll fraud is surprisingly common. Of course much of it goes unnoticed. I have provided a few links to articles describing recent real world toll fraud attacks. Unfortunately, I also know of many more than this, but can’t describe them here.
IP PBXs usually have some basic capability to help address toll fraud. Most have features like class restrictions and authorization codes. Class restrictions are applied to phones/extensions and dictate what services that can be used. They can be used to restrict access to services, such as specific trunk groups, say for long distance. This is useful, but not very granular. IP PBXs also offer authorization codes, which require the user to enter a code before they use a service, like long distance calling. Authorization codes are useful and can be fairly granular, but require a lot of maintenance, depend on use of strong codes, and most critically, for users to protect the codes. These codes can be easily shared, lost, or sold which defeats the purpose. Another issue with these features is that they work differently for all IP PBXs, even with systems from the same vendor. These features are also really difficult to manage if an enterprise has 100s or 1000’s of remote systems.
Virtually all IP PBXs generate call records for each call. These calls records are often saved in a database, from which reports can be generated. One way to deal with toll fraud is to FREQUENTLY generate reports and check to see if there is any unusual activity. The problem with this approach is that it isn’t in real-time and is only useful if it is done often, at least weekly. Even weekly though, say on a Monday, you can still be hit with a lot of toll fraud.
There are also some solutions available that collect call records and monitor for toll fraud. Unfortunately, these systems don’t scale well and do not offer any toll fraud mitigation capability. Honestly, the only solution I am aware of that works with any PBX/IP PBX, scales to 1000’s of sites, and can mitigate toll fraud in real-time, is our ETM System IPS application. This application can monitor 1 to 1000’s of sites, notify you when there is an issue, and terminate calls in real-time if appropriate. You can get more information from our website at www.securelogix.com.
Toll fraud is just about the only voice/VoIP attack you hear about. Toll fraud has been around for many years, but I think it is getting worse. Here are several articles from 2008 and 2009 that describe recent attacks:
Increase in telecoms fraud says Minute Buyer – 1/2009 –
http://businessandleadership.com/news/article/12285/leadership/increase-in-telecoms-fraud-says-minute-buyer
Telecom fraudsters threaten cash-strapped firms – 1/2009 –
http://www.siliconrepublic.com/news/article/12184/cio/telecoms-fraudsters-threaten-cash-strapped-firms
Bell Canada customer billed $207,000 after hacker breach – 1/2009 – http://www.cbc.ca/canada/ottawa/story/2009/01/27/phones-hacked.html
Hacker victim angered by $7,000 phone bill – 1/2009 –
http://www.oakvillebeaver.com/printarticle/232609
VoIP hackers run up $120,000 phone bill at Perth business, http://www.securecomputing.net.au/News/135050,voip-hackers-run-up-120000-phone-bill-at-perth-business.aspx
Police investigate phone hacker spree – 1/2009 –
http://www.thewest.com.au/default.aspx?MenuID=77&ContentID=119462
Hacker makes costly calls - 12/2008 - http://www.winnipegfreepress.com/local/hacker_makes_costly_calls.html
Phreakers seize government phone system – 8/2008 –
http://www.theregister.co.uk/2008/08/21/dhs_phonesystem_hacked/
Hacker breaks into FEMA phone system - 8/2008 –
http://www.msnbc.msn.com/id/26319201
Library phone system hacked - 7/2008 - http://www.boston.com/news/local/articles/2008/07/27/library_phone_system_hacked/
Businesses ignore telecoms fraud - 7/2008 –
http://www.networkworld.com/news/2008/072808-businesses-ignore-telecoms.html
Here are a couple of 2008 articles describing recent scanning attacks, which I believe were designed to find vulnerable gateways, which could later be used for toll fraud:
Analysis of a VoIP attack - 10/2008 - http://www.ipcom.at/fileadmin/public/2008-10-22_Analysis_of_a_VoIP_Attack.pdf
VoIP attacks are escalating - 9/2008 - http://www.usken.no/2008/09/30/voip-attacks-are-escalating/
Finally, here are a couple of recent informative articles/presentations on toll fraud:
Fraudsters return to dial through fraud/PBX hacking: 15 top tips to help beat off attacks - 12/2008 - http://www.btintheloop.com/december_2008/fraudsters_return_to_dial_through_fraud_pbx_hacking_15_top_tips_to_help_beat_off_attacks
Fraud Overview - 1/2008 - http://www.itu.int/ITU-D/finance/work-cost-tariffs/events/tariff-seminars/djibouti-08/Peter%20Hoath-4-EN.PDF