Welcome to the annual DEF CON convention. This meeting was held in exciting Las Vegas, Nevada from July 9th through the 11th, 1999. This is video tape number 5. Weak and TVX Trace. We're talking about doing scans, detecting scans and break-ins. This is meant as to take you from the beginning to moderate levels so you understand what we're talking about. Without further ado, here's Ghost. He's going to lecture you about phone phreaking. Well, I don't have any fancy PowerPoint presentations or anything like that because I'm a very serious procrastinist, so I'm just going to ramble on. Well, to start off towards the beginning, it was in the middle to late 80s. AT&T got banned. AT&T broke up into RBOX, Regional Bell Operating Companies. Basically, they're local dial tone. They own all the facilities, copper, things like that. Actually, it's been about five years. Local service could be provided by anybody, and those were C-Lex, competitive local exchange carriers. Basically, C-Lex are a little easier to get to. I think for phreaking, they borrow all their facilities from an RBOX or they lease their own or they run their own. I work for a C-Lex. I'm not going to give you a name because I don't want to get in trouble. But we, as a C-Lex, use the 5 ESS switch, Lucent. It's a nice piece of gear. Most C-Lex use the Nortel DFMS 250, which is originally used for long distance carrier, but it's been upgraded for local. I was going to have manuals to give out, but once again, procrastination. Starting off with the basics, in telco terms, you have what's known as a DS0, which is your everyday average phone line. That's DS0. If you go up one step, you have a DS1, also referred to as a T1. It's 24 channels, which is 24 DS0s. If you go up one more step, you have a DS3, which is 28 T1s, and I believe it's 684 regular lines. And that can be run over fiber or coax. And the next step up would be an OC1, which is optical carrier 1. It's one DS3 being transported over single mode fiber. Next step up is an OC3, three DS3s, OC12, OC48, OC192. Recently, there has been an addition of dense wave division multiplexing, which is basically running the lasers for fiber through a prism, breaking it into different wavelengths so you can run multiple optical gear over the same piece of single mode fiber. In most central offices, you'll have a switch, which is 5 ESS the majority of the time if it's an RBOC, or a DFMS 250 if it's a CLAB. You'll also have some sort of digital cross-connect system to do your cross-connects inside the CO. Between COs, they use what is known as A-Links, which uses the SS7 protocol. SS7 is essentially the... ... It's essentially the commands to initiate a phone call. Basically, one switch sends the information to the switch of the number that you're calling. It says, we're calling this number. Is it busy? Whatever. Is it open? And then it sends the information back. The specifications on the SS7, I believe it can carry the control information for... ... One SS7 link, which is a DS0, can carry 1,275 actual phone call information for it. I haven't done much research on that. I'm sure there's probably some way to manipulate it. Moving on to equipment and techniques for phreaking. Red-boxing doesn't really work anymore, unless you're in some rural backcountry that has a older switch. Basically, the essential tools are... For example, a B-Box key. And a B-Box is those boxes you see on the side of the road. Green. Normal B-Boxs will carry about 1,500 lines. A B-Box key, pair needle nip pliers works too. And a butt set, or a bridge box. I use a butt set. Bridge boxes are easy enough. of basically the cabling system for the B boxes run in pairs of 25 color-coded going through color codes and once you get past 25 it just duplicates but you have binders around it so you know which one we're dealing with certain numbers known as the furtives I can't think of any other term for it but basically what it is is it's a number that you dial that asks you for a access code and once you enter the access code you get dial tone again and basically what they're used for is say a lineman was at a B box clipped onto your line and needed to make a long distance call he'd call this diverter get dial tone and dial out from there so it wouldn't show up on your bill I've found that there's usually three to four in every area code so they're pretty easy to find getting the code sometimes you can social engineer it out of the line sometimes not test equipment if you can get your hands on it it's a good thing to have certain t1 test equipments that you can clip on to a t1 line and actually break it out from there so you can break down each individual channel okay PBX's the two types of systems used for PBX's and they get confused quite a lot quite often there is a what's known as a key system which if you look at the phone you'll have buttons with the actual phone numbers on them and you can select whatever numbers on the phone that's known as a key system it's smaller for smaller businesses homes, whatever. Then there's a PBX, public branch exchange. Basically, you pick up the line, hit line one, and it picks a line out of a pool. Those are a lot bigger, a lot more lines, easier to deal with. Probably the easiest way to hack a PBX would be through the first mailbox system. Most mailboxes, when they're set up, are the access code to get into the PBX. This is when they're put in. It's either the number of the voice mailbox or all zeros. Normally, people don't make a habit of changing that. That would probably be the easiest way to get in. Once you get in, you can change it to dial out once you get into the mailbox. Another thing, if you can find them, is what's known as direct trunk access codes. Basically, what that is, is you dial into the switch. You enter your code, and basically, it gives you dial tone. Normally, most places have long distance restricted. It just depends on the tech who installed it. Most of the time, it's pretty default. Another way to get calls out of a PBX is social engineering. For instance, calling up, getting the receptionist, and asking to transfer to extension 9024. When she transfers you, it dials nine, which grabs the outside line, then dials zero, which grabs you the operator, and it truncates the last two numbers. So, basically, that's one of the easier ways to get to it. For the most part, most key system and PBX installation techs leave things default. I know this because I was one. As far as your high-speed data lines, ISDN, DSL, T1s, for the most part, if you try and clip onto the lines that they're on, you're not going to hear anything. For certain T1s, if you clip onto the line, you'll take them down. Without the test equipment. Nextel. Nextel actually uses DMS-250s to route their traffic. Are there any questions? Anything I can elaborate on? I'm sorry, I'm out of it. What about programs that use brute force and have PBX? How does it work? For the most part, when certain PBXs are set up that if a certain number of attempts are tried on the voicemail box, it hangs up, and a lot of the systems now have caller ID included on their voicemail box, and normally they won't let any calls from that number be transferred into the voicemail box after a certain number of attempts. Does that apply to a group of attempts? Uh-huh. Is the right access to the PBX for the mode of access for the speaker usually to be a sequential number in the right-to-voice response? No. Usually the trunk access numbers are either default, or they're set by the tech who installed them. Most of the time they're default, which would be all zeros, one, two, three, four, five, things like that. Actually, it depends on the PBX. Some PBXs are four digits, some PBXs are eight, and the most I've ever seen was on a Rome switch, and it was twelve. As far as a program to use for getting the password, there really isn't one that I can think of. Most passwords are default. Um... Admin, admin, things like that. Um, once you're inside, most of the software on PBXs is menu-driven, so it's pretty self-explanatory once you're inside. You just kind of have to cruise around a little. Yes? I have a question. What is the, uh... Some kind of legal term that involves none of this, such as the type of product, or... You'll see that on their office. It's over here. Kill all of their, uh... default entities and passwords, which would make them get the password. Mm-hmm. And if they see that, it's just changed from two to none. Right. Um, that was probably installed by the technician, or, um... administration told everybody to change their passwords that way? Um... It was, um... I've noticed... I've noticed that, uh... certainly, our internet is not good. If it's three digits committed, it'll just drop in, and it'll just have to go back and repeat several, three, and, uh, seven, or three, and if it's two, three, two, it's expected to drop three to six, and it'll drop in and drop four, and that's just a regular point that's dropped, and the whole series of other tests, it'll drop in and just repeat the same thing. Are you familiar with this? Um... I mean, I don't know. That's probably programming in the Phi VSS. Um... I'm... I know that on certain lines that the payphones are on, that it's actually set in the Phi VSS as a payphone class line, so some... I see this on lower-parametric... Well, not a payphone. Well, not a payphone. It's actually a sort of payphone test. Hmm. I've... Uh... I've never run into that. Question. You mentioned dialing in. Mm-hmm. Now, this is probably a very stupid basic question, but you're not going to be doing this from your phone call. What's the speed of dialing in? Um... For the most part, all the newer PBXs are being installed with caller ID, so they can tell what number's being dialed and they do get logged. Um... I wouldn't really suggest doing it from your home. Um... Beige boxing would work. Um... Payphones would work. Um... Sometimes on certain PBXs, um... On the NEC-2000, for instance, uh, trunk number 11, if you let it ring for... I believe it's ten times, you'll automatically pick... The, uh, internal modem will automatically pick up. It's a programming feature. Yeah. Programming feature. Um... Um... Yeah, it pretty much lets you dial in. It automatically picks up. Most PBXs are installed with internal modems, usually 2400 or... 2400 or 9600. Sometimes 12, depending on the age. But you won't see many past 9600. Um... The Millennium Payphones, the new ones with all the fancy LCD displays where you can change... You can hang up, make a new call, or whatever. Things like that. Um... If you dial it... If you dial one of those, and I think if it rings 14 times, it has an internal modem that picks up. And... Once you get inside the phone, you can actually change the amount for a local call, local call, things like that. You can change... You can change what the display reads out. You can change everything. Uh... Uh... Uh... Uh... Uh... Uh... Uh... That depends on the way the line itself is set up in the switch. Um... Some of the switch techs kind of leave that out, and let the payphones accept phone calls. ... I'm sorry? ... ... you would probably have to open up the phone to get to it i don't think you could do it through the handset because all that's doing is picking up dial tone um for the most part they're they are customer owned customer operated um sometimes you'll find like where i live uh pacbell owns them gte owns them um and with those those are the ones that if you let it ring long enough um and then you can get to it and then you can get to it and then you can get to it and then the modem picks up the easiest way of doing it um oh i'm sorry um he said if you wanted to go about acquiring a payphone how would you do it um well um my suggestion no don't hijack a van um my suggestion would be um sit in a park for about a week and wait for the person to come around and actually check the payphones he'll put his key in open up the box pull out the change um have one of your buddies come and distract him and nine out of ten times they'll leave the key in the phone you just come up and pick it up and then from there once you open up the payphone you just unbolt it from where it is what was that oh hypothetically sorry now i i'm not condoning that we steal payphones or anything this is all hypothetical Yeah, but if you want to pay $2,500 for a payphone that's six years old. Very large pickup truck. Hypothetically. No, they're actually set up. It used to be that you could. They were set up as ground start lines, which means in order to pull dial tone, ground has to be applied to the table. That's the tip of the pair, and now they actually have a line class for payphone, so even if you were clipped on the line, you applied ground, you dialed the number, it'd still wait for the tone. The red box tone, 25 cent deposit tone. Oh, I'm sorry. Is that true for, is that true for Pac Bell telephones as well as co-cots? He said, is that true for Pac Bell as well as co-cots? For the most part, if it's a co-cot, the owner of the payphone just gets a ground start line and puts it up. As far as the telephone company goes, they normally put it in as line class of a payphone. Yes? . Yes, when you initially connect to the Millennium Payphone it asks password and then you get it in and it's menu-driven. Hypothetical default passwords, Millennium, actually if you look on the phone, there's, I think there's three different manufacturers, it's hypothetically an abbreviation of the manufacturer's name. Okay. Admin. Password. All zeroes. I haven't found one that says secret, but yeah, just your plain default passwords. How long does it take to write it? The password is generally six characters, four to six characters. Okay. How many different passwords have you broken? I think we've been I didn't see any that are any longer. Yes. Do those companies do the access pickup just for me or Anne and I, as well? If you were dialing into it? Okay. Yeah, it's a lot. Right. Some of the... Yeah. He asked, if you call into a PBX, do they collect just caller ID or ANI information as well? Some of the older PBXs, a lot of your Rome switches, the older, bulkier PBXs, they don't have caller ID or ANI. They just accept the phone call. Some of the new ones, the NEC 2000s, 2400s, the Nortel Option 11s, they have caller ID. They don't take ANI information. I'm sorry? Star 67? That doesn't always actually work. Star 67 is funny because what it's doing is it's telling your switch, that... You don't want your caller ID information sent to the next switch over that you're calling. And it sends the information anyways. Basically, what the switch on the receiving end is doing is saying, okay, they don't want the information sent, so we won't send it any farther. Basically, what it tells is the caller ID box to ignore this information. Yes? Yeah, when the 800 number, on 800 numbers, I believe it's the phone number. I'm not sure if it's the ANI information, but that's definitely recorded and sent as part of the bill. I believe it's the phone number, but I can't see it. Okay. Okay. Yes? Yes? On the newer phones, I've heard of it. I've heard of techs actually having to go out and plug their laptops into it to upgrade firmware. Yeah, or new releases, things like that. Do any parts of the system want to get you upgraded? Not that I know of. I don't think they download it from the 5DSS. Yes? Yes? , I think the new PC has a better connection. You're asking if the older PVXs actually had normally DIDs, direct inward dial numbers, that basically all you could do was dial in from them. You couldn't clip on them and dial out. You wouldn't get anything. And then they had separate lines for dialing out. they're not really separated I mean they're not really connected anymore a lot of people go with the IDs and then a group of maybe ten twelve trunks to dial out depending on the size of the company most PBX is that are being set up now the DID number like outside of the PBX you'll dial a number and they'll hit an extension inside the PBX because that's the way it's supposed to route and then they can do in internal PBX calls but those are simply the ID you can't dial out from those and then they have a group of chunks usually a t1 to dial out on no yes they keep it standardized standard connection basically when it picks up you handshake and then it comes up there I believe it's software it's all like one chip like I said hypothetically I haven't taken one apart and looked at it yeah I'm sure it has the capability to be logged but then again I don't know if that payphone's receiving quite a few calls a day from different numbers eventually it'd run out of space because I don't think they're putting like hard drives or anything in them to log numbers that are calling yes it's really a future yeah so um future for the video phones um she asked if there was a future in the video phones video conferencing things like that um there's a company vivex that's actually doing video conferencing over fiber and it's it's very good bandwidth it's just you got to have the bandwidth to be able to do it and once fibers to every house then yeah they'll be feasible but until then it's still very choppy and not practical are there any signs interesting things to look forward to he asked if um once you're into one of the millennium phones if there was any um indication that um the telephone company knew that you were in there and were sending men after you um as far as i know they can only be it's a single line it can only be accessed one person at a time um i don't really think that a telephone company would put the resources to put in multiple trunks on a single payphone line so they can monitor things like that yes he's asking on the millennium phones um if something's wrong with the phone if it actually automatically dials out to the phone company and says hey something's wrong um yes they do um when their coin box is full they call a computer and say hey i need to be emptied if there's something wrong with the line if they can get if they can call they do as far as attempts to log on to it i don't know about that i'm sure that's probably a feature do you know if there's any possibility of that setting the payphone up so it logs off and then calls back to mom for communication like a callback system for security um i he's asking if there's like a callback system on the millennium phones if you call them up log into them and then disconnect if they actually call back to their central computer and double check it's a possibility i don't think they would just because of if that happened there are so many millennium phones out there now that that would just be too much too much resources the telephone companies try to do as much as they can with as little as possible yes laptop laptop is there any way to hook up your laptop to a payphone yeah um you can actually there's a um an acoustic coupler out there that connects at i think it's 26 or no it's uh 28 8 it'll connect and you can uh it's a handset coupler that's one way to do it another way would be taking a regular foam cord snipping the end off like you're making a beige box put an alligator clips on it and either putting it on the line at the b box or actually cutting through the metal sheath of the handset hypothetically thank you yes of all platforms that monitor it um no um he's asking if there's devices that um when the coin box is full correct me if i'm wrong the device is a it's um private payphone companies it's right um thousands other there's actually No, no, the phone companies don't do things like that. On the older style pay phones, they actually have a guy go out there once a week. Right, the phone companies won't put anything like that in their phones. Like I said, the phone companies try to do as much as they can with as little as possible. Resources and manpower. What were they screaming? As far as that's concerned, that might be something internal for anti-red box device, something like that. But as far as messing with the handset, messing with the keypad, things like that, hypothetically, I know somebody who's actually demolished a phone and nothing's happened. So that might be like an anti-red box device. Yes? Okay, he's asking on credit card calls. You mean like on the ones where you slide your credit card in? Yeah. He's asking how the sequence of events goes. It reads the information off the magnetic strip, dials out real quick, sends a burst of information to a computer, and then gets... It's a reply, yes or no, based on whether or not the card is valid, things like that. Yes? Yes. Do the PBXs or pay phones actually store credit card information that goes through there? Or numbers that are dialed, you mean? Um... I've seen certain... I've seen certain external voicemail systems that are connected as a secondary thought to PBXs that will actually record what gets dialed out. And on a PBX point of view, it usually logs all traffic going through it. So you can access the... Yes, you can access the logs. Yes? Is that a... I'm saying SS7? Is that a... The format for the transmission is not SS7. SS7 is simply a control protocol that basically says, we want to dial this number, and the responding switch says, okay, it's clear, go ahead. Send the information through. It's not really meant to send anything. I'm not sure there's any specific protocol for it. As far as I know, it's just plain text, the number, the credit card number, expiration date, name, and waits for authorization. Yes? Yes. Okay. I haven't done that much research on SS7, but I've seen it work, and it's got real flexibility, so it's a possibility. Uh-huh. Yeah. Okay, if you're in an office, and you see a hardwired line, but they also have a PBX, how would you tell which one's hardwired? Is that what you're asking? You probably have to trace it through the 66 blocks. Most of the time, though, unless it's a modem line, or something that doesn't need to go through the PBX, it will. And some of the newer PBXs, you actually plug your computer into the side of the phone, and it dials out from there through the PBX. Yes? I don't know if you can make this before we wrap this, but it's a different kind of box. It could be a lot of different types of . Okay. The Blue Box was a device that duplicated the 2600 megahertz, tone that was used to grab trunks. That doesn't work anymore, because it's all digital signaling between switches. Red Boxing duplicates the sound that change makes when it's deposited into a payphone. That doesn't really work much anymore. It depends on the switch that the line's on. If it's an older switch, I've heard of it working. I've never been in an area where it has worked, but I hear some of the 1A switches, you can still red box off of, but I'm not sure. The Beige Box is simply a phone with alligator clips on it. It's basically a lineman's headset, $20 version instead of 250 bucks. There used to be a time where tones were sent like, say you deposited money in a payphone, and you're called and go through and it kept your change. You could call the operator and say, you know, I just made a call, I kept my change, and she'd send tones back down the line, and it'd give you your money back. Those were the Green Box, I believe. Yes. Yes. Oh, okay. One second. Sorry, how can you tell the difference now? I mean, what choices are made when you start? Yeah, like the Green Box, some of it is oiled in and so on and so forth, because we went to Southern Illinois, believe it or not, the majority of the phones were essential for my outlaw, and he just dialed in with it. Either it's on a 50-50 change, he dialed in, the other girl's was in a gray area, it was, you know, high, you put in, and there he says, or it goes to a 40-50, please, the box starts, we go to the recording, it opens up the mic, this is going somewhere, and it works. What, yeah, theoretically, what switches don't work, what switches do? Um, as far as the recording that opens up the mic, that happens where I live, too, and we have five ESSs, and, um, even though it opens up the mic, it doesn't accept the tones. . . . . . . . . . . . . . . . . I've never run into something like that. Most companies usually either use the AT&T 5ESS switch, the Nortel DMS-100 for long distance, or the Nortel DMS-250 for local. Some of the more rural areas still use the older switches, the 1A, things like that. So, that might be what it is. You were mentioning headphones. Now let's say you're running into something like a short cord. I've heard all kinds of ways to get those cords out. I've been wired to town. What are the different ways to get that out? Theoretically? Theoretically, yeah. Jackpotting a payphone. He's saying, hypothetically, if there are any ways to rob a payphone of all its change without actually having to have the key or lockpicking the lock open. Okay. Basically, what happens is when you deposit your money, it slides between two contacts and creates an electrical charge. That's the first mechanism that actually tells that you've deposited money, and then it goes through weight and magnetics and all this to determine what kind of coin it was. A piece of very thin coax, or two pieces of wire, something to differentiate positive and negative. I'm sure if you were to hook it up to, say, a nine-volt battery and slide it into the coin slot and play with it a little. Hypothetically, of course, I've never tried this. You could probably get it to register that you're putting in more money than you are, and then it would probably be giving you change for it. Yes? . I'm sorry? . Oh. He's asking, there was an old trick where you could dial an 800 number, wait for them to hang out, and then get dial tone again, and dial out. Yes, actually, that still works on quite a few lines. Basically, what's happening is when you first deposit your money and dial the number, well, for an 800 number, you don't have to, but when it hits the switch that you're dialing an 800 number, it opens up the line. And when they hang up and then the line resets itself, it still keeps the line open. Yes? . . . Okay. He's talking about the new millennium phones where they have a slot for credit cards or smart cards. From what I understand, the way that works, the PCS style phones where they use the smart cards, I know Pacific Bell uses them, I believe it charges the call to your account. I haven't seen any actual credit cards or anything that use smart cards yet, so I'm not sure how that would go about working. . . . . . . . . . . . . .