Good afternoon. I'm Strom Carlson, this is Lucky225, and welcome to Phone Freaking in the Age of Voice over IP. We're having a little problem with Lucky's laptop. We're not getting video on it. So, yeah, we have some slides prepared, but hopefully Lucky will be able to get it working before, hopefully he'll be able to get it working, but if not, I'll just try and explain everything to you as best I can. You always have to make up the diagrams in your head. So, anyway, how many of you, let's start off, how many of you consider yourselves phone freaks? Show of hands. All right. How many of you work for a telephone company of some kind? Okay. Okay. How many of you know what signaling system seven is? I noticed the hands that went up typically were not the people who consider themselves phone freaks. So, let's start off. In the old days, of course, during, with the bell system and electromechanical switching, there was, all the signaling was in band, obviously. Multi-frequency, multi-frequency signaling in band. Dial pulsing, cross-bar pulsing, revertive pulsing. Now, when, during the 1970s, the, Bell Labs developed a thing called signaling system seven, which is an out-of-band signaling protocol, which is used to set up calls, tear down calls, and today it's pretty much ubiquitous, which is why things like blue boxing no longer work. Talk louder, what signal? Oh, we have, yay, thank God, we have slides, so. While Lucky sets this up, I'm going to talk about, briefly, I'm going to introduce, you'll see all the stuff on the table. The pay phones are not part of this, so. But, during the speech, what I'm going to be doing is I'm going to randomly ask questions related to what we spoke about, and if someone can answer them, you will win this stuff. So, free stuff, we have, Western Electric line cards, we have weird technical books I found at the used bookstore, and we have an actual phone, which you can win. Yay. This one? Thanks. Do you have a pay phone? Pay pardon? Do you have a pay phone? Yeah, two of them. Do you want to come up all the way here? No, no, no, eBay. Hold on a second. What's going on? I'm trying to look at that screen and it's not working. There we go, now it's not working. Okay. Okay. Put it on. Now we can. Yay. Yay. Yay. Yay. Yay. Yay. Yay. Yay. Now I can see what I'm talking. Okay, so. Introduction to signaling system seven. Now typically, when you dial a call, this is an example call from here at the Alexis Park Hotel, to a restaurant in Pacific Palisades, California, called Gladstone's 4 Fish. And the telephone number is 310-Gladstone-4-Fish. So, typically what you have here, this is Alexis Park Hotel and this is South 7, which is the Sprint local convent. telephone office which gives dial tone to the Alexis Park here. When you pick up the phone and you dial 310 GL4FISH, the local end office analyzes the call, leads it to the DMS 200 tandem in downtown Las Vegas with the main tandem. That tandem analyzes and let's assume for example that this call is going over AT&T's long distance network. So this DMS 200 tandem will pick up a trunk to the nearest number 4 ESS of AT&T's, which in this case is AT&T's San Bernardino 4 ESS, and then hand the call off to AT&T. The 4 ESS to San Bernardino picks up a trunk to the 4 ESS in Los Angeles, in downtown Los Angeles, and routes the call to there. That 4 ESS picks up a trunk to the 5 ESS tandem in Santa Monica, which then picks up a trunk to the GTD5 EAX end office in Pacific Palisades, which then lends the phone of Gladstone's for FISH. Now in the old days, what you would have is all the signaling would be over the same channels that the voice call is going over. So you would have the trunks pick up, you would hear multi-frequency tones going over them, or in some cases, revertive pulsing. But today, you notice when you pick up the phone, you dial a long-distance call, it starts ringing almost immediately. This is due to signal system 7. Lucky, someone's trying to hack you, Lucky. Allow. Turn off sound alarms, Jesus Christ. Why? Why are you running Windows, Lucky? So, signaling system 7 has a network architecture, which uses switches which are not part of the voice traffic. Your voice path is set up over one trunk, but the signaling occurs over different trunks out of band. So the SSPs in this diagram are switching, SSP stands for switching service point, and the SSP is the dial tone office, the office that rings your phone, the office that gives you your dial tone. Basically, it's your standard DMS100 5 ESS office. The STP is the signal transfer point, which is a very fast, very efficient, high volume packet switch. And SS7 is a packet switch network. It's all data and it's, there are a number of packets, the most important of which for call setup is called the initial address message, the IAM. It's a huge packet with potentially hundreds of parameters in it. There are, but we'll get into that in a second. And then we have these things called the SCP, which is the switching point. And then we have the IAM, which is the switching control point. Now, the STPs are switches, but the switching control points are more like computers. Typically, one of the common uses for them is as databases. The switching control points contain things like the 800 number lookup directory. So when you dial a toll-free call, your end office, your SSP, does a database dip into the SCP and finds out which carrier that toll-free call is using. And then so it routes the call to that carrier. Then the carrier dips into their own SSP, finds the ring 2 number for that toll-free call, and then routes the call to that number. The other use for the SCP is, for example, when you have caller ID with name. When the call routes to your end office, then, actually, I'm getting into that later, so let's move on to the next slide. This is a diagram of what happens for a successful ordinary call. This is just the call setup. This is between you dialing the call and the other party answering. This is what happens. You pick it, first here, you pick up the call. And you pick up the phone and you dial your number. Your original exchange completes the backward connection, the audio path, and then transmits the initial address message, which contains all the call setup information, all the way through the various tandems, all the way to the destination switch, and then that switch checks to see whether the called party is available. If the called party is available, then the switch will start ringing that telephone, and will, um, will, will, uh, it, uh, it's, once the, basically, the turning switch, what's going on, like, with your phone? I don't know, which phone is this? So, yeah, hang up. Okay, so, what I'm going to do, I'm going to disconnect this until I need to use it. When the, when the terminating end office has received the IAM packet, then it takes a while for the IAM packet to get to the IAM packet, and it takes a while for the IAM packet to get to the IAM packet. When the department sends an address complete message, which is basically like an acknowledge, all the way back to the originating switch, then it starts ringing the telephone of the called party, and sends call, call progress all the way back to the originating switch, which, in this case, would be a ring back sound, an audible ringtone, and then, once the called party answers, a connect message is sent all the way back to the originating exchange. The call path is completed in the backwards direction so that you can hear that your called party is speaking, and then billing starts, and, uh, and then it, it resets the call pathway on, it resets the call path, and charging begins. So, now the initial address message for signaling system 7 is equivalent. How many of you are familiar with ISDN protocol? Okay. The SS7 initial address message is equivalent to the ISDN setup message. There are dozens and dozens of parameters. If you look at the ITUT specification for SS7, what's going on with your phones? If you look at the ITUT specification for SS7, the initial address message can contain hundreds and hundreds of parameters, things like the geographic location of the calling party and billing number, class of service. But the most important ones for the purpose of this speech are the called party number that has to be in there, the calling party number, which is optional, the billing telephone number, which I believe is not optional, and the class of service, which is referred to as ANIII on the North American Number and Payment Administration's website. So, it's time for the first question. For the Zilog Z8000 family data book, what is the equivalent of the ISDN setup message in SS7? In the back. That's right. Come up and get it. So, the billing telephone number is the charge number. This is what is traditionally referred to as ANI, Automatic Number Identification. Automatic Number Identification. This is set at the switch level for both plain old telephone service and ISDN. This is used for call billing and accounting purposes, and it may be different from the calling party number. This boy. It may be different from the calling party number. And the reason for this is because, say, for example, and, okay, say, for example, you are calling from an office PDX. All the calls are billed to one number, but you want to be able to identify which specific direct or dial line the call is coming from. So, you have the billing telephone number set for the main number, but the calling party number is the number of the station you're calling from. So, they can be different. ANII is an extension to ANI, and this is class of service. Sometimes called flexible ANI by some of the telephone companies. But no one seems to agree what the ANI is. ANII actually stands for. Verizon calls it information indicator. Quest calls it information integers. And NENA, which is the National Emergency Number Association, calls it identification indicators. Identification information. I should read my slides. And this is a summary of some of the digits that the ANII can be. Most of you, when you call from your home phone, will have 00, which is non-coin service requiring no special treatment. Either 02 or 23 can be used for ANI failure. 27 is your typical Western Electric, one single-slot coin phone with coin control signaling. 70 is a COCOT. 61 through 63 are mobile phones. And 30 through 32 are intercept. 29 is prison service. Now, the calling party number is an interesting thing, because for regular plain old telephone service and basic great ISTN instead of the switch level, you need to have an ISTN calling number. However, if you have a primary rate ISTN line, what they do is they allow you to transmit your own calling party number into the network, and this is what is used to generate the caller ID which is displayed on your home telephone. So, and again, this example, and I'm using of the situation where you need this, if you have an office with, you know, 500 people in it, and they're all direct or dialed lines, if all the calls are billed to the main number, then the billing telephone number will be set at that main number. But if you need to display on the person you're calling, call-in number, that number, you can also set it that way. But if you need to display on the person you're calling this call on the phone number, ID box what the directive or dial number you're calling from is, then the switch can set this. The actual PBX will set this. Now even if you block your caller ID by dialing star six seven, this number is always sent to the terminating end office of the party you're dialing. There's a bit set in the IAM which prevents presentation of the number to the called party, but it is sent all the way to the far end of the switch. So there are many cases, I'm lucky to talk about this, where actually even dialing star six seven may not prevent you from blocking your telephone number from the called party. But this doesn't have to be a valid number. It doesn't have to conform to the North American numbering plan at all. For example, a friend of mine was showing me his cell phone, he was troubleshooting something that was going on, and a customer said, well any time I call a cell phone from my PBX, it displays this really weird long number, and he showed me the number, and it was 14 digits long. For North American numbers. It was a number in a planned telephone call. And apparently the person who set up the PLI had actually programmed that into the PBX mistakenly. But the calling party number doesn't actually have to exist in the IAM at all. Now the way calling name delivery works is this. The calling name is not delivered to the called party from the originating end office. When you dial the number, the end office you're dialing, to the end office you're dialing, takes that number. First off, it determines whether or not the person you're calling has calling name delivery at all. If they do, what it does, it does, that switch does a database dip into the SCP with that number, and the SCP returns the name associated with that number. And this can be very useful, as Lucky will demonstrate later. So okay. What is the abbreviation for the packet switch in the SS7 network? I don't know. STP. Okay. You win. Kiss my bell goodbye. All right. Lucky? No, I don't think so. Well, this part, first part, you're explaining VoIP. You explain VoIP. I'll explain it afterwards. All right. Basically, when you're talking about voice over IP, which is a technology that allows telephone calls to be placed over the internet, either from computer to computer, or from computer into the phone system, or with an analog telephone adapter and a VoIP service, you can actually place phone to phone calls using a broadband connection. This is just an example of a VoIP call that routes into the PSTN, which is a public switch telephone network. Basically, it just goes through the internet and... Yeah, go. Okay. All right. The way this routes is, if this is the phone you're dialing from, then you have either an analog terminal adapter or an actual voice over IP phone, which connects to the internet usually through your cable or DSL modem, or if you're in an office, then it'll connect through your T1 line, and it goes through the internet to the VoIP provider's point of presence. From there, it hits the public switch network. In this example, you're dialing into a big city like Los Angeles, and you're dialing a number there. It'll hit a point of presence in Los Angeles. Okay. Then it'll hit the local exchange carrier's access Tandem, so for example, Pacific Bells Tandem on Grand Avenue in downtown Los Angeles, and then it'll go to the end office you're calling and ring the phone. In the second example, if you're calling a more rural area where they don't have a point of presence, it'll route over a standard inter-exchange carrier's long-distance network, but for the most part, it's pretty much the same. All right. Messing around with a lot of these voice over IP services, which is a new technology, basically, we found a few exploits, main one, caller ID spoofing, and also number trapping, which is actually obtaining someone's call party number just by having them call your phone number. Even if they star 67 or block their caller ID, you can still get their phone number just by having them call your phone. The first exploit I'm going to talk about is one with Vonage number portability, and basically, all you have to do is call your phone. All you have to do is call up Vonage at 1-8-Vonage-Help, or no, 1-Vonage-Help, and order their service, and you can tell them, yeah, I'd also like to point my cell phone over there, and you can give them any phone number that's portable to the Vonage network, and they'll go ahead and set it up so that your caller ID is actually that phone number on every outgoing call. They'll give you a virtual number for people to temporarily call you while you're sending in your letter of authorization, which allows them to actually call you. They'll actually port the number over, but even if you don't send in the letter of authorization, they still have your call ID set to your cell phone number, and when you place outgoing calls, that's what it'll say. Not only that, if someone on the Vonage network tries to call your cell phone, instead of giving them their cell phone, it'll actually ring your Vonage phone, which I'm going to demonstrate right here how this works. Oh, wait. Okay. It's on. Is this camera on? Yeah. . It should be. . Okay. As we like to say in the phone business, we're sorry, we're experiencing difficulty. Please try to call in. On second, I have two Vonage lines here, I was going to try and call one and show the caller ID of my first, but I'm currently having the first one forwarded to my cell phone, which is why it kept ringing, but so instead, because I can't show you the caller ID, I'm just going to call 800-444-4444, which will actually read back the phone number to you. Hello, this is his phone number, not mine. You could call NCI. Our system indicates you're calling phone 206. Please try to call 800-444-4444, which will actually read back the phone number to you. 2-0-7-8 Hold on! What was the rest? We're all pretty funny. Keep recalling NCI. Our system indicates your call is 1-42-867-5309. Some of you might have recognized that as 2-1-2-867-5309, Jenny's number, in New York. Did they try to sell that on eBay? Yeah, they tried to sell that on eBay for $80,000, and Vonage won't report it without a letter of authorization. Now, if somebody on Vonage tries to call that, instead of getting the voicemail, which it should be ringing to, if someone's on a Vonage line right now, it'll actually ring my phone like it's ringing right now. And I'll try and demonstrate that with my second Vonage line. Wait, is that plugged in? The white one? No dial tone. Ah, here we go. Is that gonna pick up? For those of you that can decode DTMF, that was 2-1-2-8-6-7-5-3-0-9. So, as you can see, I mean, this can come in pretty useful, because you can basically port anyone's phone number that's portable. And if someone on Vonage tries to call that phone number, instead of reaching the actual person, they'll reach your Vonage line. Um... Okay, I see that's strong. So... We'll leave that. Okay. I'll plug that in real quick, so I'm sure this... Next exploit I'm going to talk about... It doesn't look like we have time to demonstrate this. This one was found by Doug, over there. Um... And this is with a service called VoicePulse, which you can sign up at VoicePulse.com. They offer unlimited long distance, and a whole load of features. One of them, which is called Anonymous Call Rejection with Prompting. Now, what this feature does, is when you turn that feature on, and someone calls to try... Someone tries to call your VoicePulse line, if they call it with their caller ID blocked, it'll say, The number does not accept blocked calls. Why don't you just tell me where you're calling from? And you punch in the phone number, that you want to call from, and that's what'll show up on the caller ID. Now, if you turn on call forwarding, you can actually forward all your calls to the number that you want to spoof to, and you just call up your VoicePulse number with the caller ID blocked, and it'll... It'll ask you what number do you want to call from, and you punch it in, and then it'll call your friend, or whoever you're trying to call, and when they look at their caller ID, it'll see whatever you punched in. Um... We're gonna talk about another exploit with VXML, uh, which is a... basically voice XML, it's a scripting language for phones, it's what TellMe uses, and, uh... Basically, you can go to erase.us slash bvocal.xml and, uh, sign up for bvocal XML service at cafe.bvocal.com and if you upload that script, you can call their 1-800 number, and just punch in, uh, the phone number you want to call from, and the phone number you want to call to, with your caller ID spoofed. Um... I was also gonna talk about back spoofing, which is, uh, basically, you just spoof caller ID back to your home line, and when you look at the caller ID, the name that'll show up is the actual name associated with that phone number. So if you have a phone number, and you don't know what the name or the business is of that number, you can just call yourself, and it'll show the name right on your caller ID. Um... Okay. Yeah, I got three minutes left. This is basically what I was just gonna talk about, trapping your call party number. You can sign up for a voicemail called k7.net, and they'll give you a Seattle 206 number, and it'll... It's just like any other voicemail, but when anyone calls it, even if they block their caller ID and the voicemail message, it'll have their phone number on it. Um... Another example is FreeWorld Dial-Up, which is another VoIP service, and it'll give people your FreeWorld Dial-Up extension, which this is a free service, and anyone that calls 248-724-0700 when they key in your FreeWorld Dial-Up number on the caller ID, it'll show their phone number, whether or not it's blocked. Um... And call forwarding, basically the same thing as K7 or anything else. You can just have your home phone number forwarded to one of these K7 voicemails, and the phone company will automatically forward their call party number to your voicemail, and then it'll get trapped. So you can set your home phone number, have it call forwarded to your K7 voicemail, and when anyone calls and leaves a message, it'll have their phone number in the message. Um, we were gonna talk about asterisk. We don't have our speaker here today, but basically there's some IOX providers that you can just set your call party number to whatever you want, and you can have people call your asterisk number, and it'll show the call party number when they call your asterisk line. And you can have it set up just like a regular phone, and there's all kinds of other neat stuff you can do with asterisk. And that's pretty much the end of our speech. It's 7 o'clock. Okay, so we have a couple minutes left, so let's do one more trivia question for the phone. What's the name of the restaurant I referred to at the beginning of the speech? I can't tell who yelled at first. Okay, um... Okay. Okay. What street in downtown Los Angeles is Pacific Bell's DMS tandem on? Get the phone. And I'm gonna give you this software from some ancient computer from 1982. Yes, you. So any questions quickly? No, sorry. No, sorry. In caller ID unblocking using asterisk, what would be the configuration file that you would need to embed it? In caller ID unblocking using asterisk, what would be the configuration file you would need? Thank you. Basically, you just have to set the caller ID field Let's see, what was that? No, unblocking for incoming, I think, right? Unblocking for incoming? For unblocking. For incoming, right? The provider will automatically send the number and it'll be in your logs. No, no, no. The voice of the IP provider will usually just send the number to you. I have a question! Yes, ask away. How can you unblock a blocked number on a cell phone? Call forward your cell phone to a K7 voicemail and usually it'll get right on you. When they leave a message on the voicemail it'll have their phone number on it. For incoming calls? Yes, for incoming calls. Is it possible to spoof any II? Is it possible to spoof any II? Is it possible to spoof any II? Yes and no. You can spoof You can spoof with some PBXs that will forward your caller ID. Beg your pardon? Yes.