Good afternoon everybody. I'm Blake Self. This is Dev Delay, Bite My Taco from Surfboard Hackers. I'm glad to see so many people decided to come out. I figured, you know, you put free and anonymous in a name of a speech at DEF CON, probably a lot of people showing up. So without further ado, I'll go ahead and get started. Normally I start out if I'm talking with corporations, you know, a little more serious. With you guys, I figure you probably like humor. So I said, you know, what Ted Stevens said, you know, the Internet's a series of tubes. Figured maybe he has a bunch of these hacked modems, you know, at his house. Has them all hooked up with a, you know, drop amp and that's why he thought it's a series of tubes. So there's a little bit of humor for you guys. A little bit about me. I was a CIPRNET administrator and red team pen test for the United States Marine Corps. I currently do research with the Software Engineering Research Center, which is located main office at Ball State University. It's an NSF, National Science Foundation, industry university cooperative research. A much shorter version of this speech was given at the search showcase. I'd actually plan to give you guys some of the responses of the companies. Unfortunately, non-disclosure agreement is standing between that, giving that information to you guys. So with this speech had some people like Durandal that have actually taken the methods in this speech and used them. And he's put modems online, kept modems online. So far, you know, he hasn't, you know, the party van hasn't shown up. So seems to be going good. What I'm going to go over, and actually they're going over as well, we'll start out with some requirements for our examples. A network overview, which is the DOCSIS network. Go over anonymous access, cloning, how anonymous you really are basically, like how the ISPs are trying to currently catch people. Firmware overview, and then end with hardware and security. So requirements. What do you need? Well, obviously we're talking about, you know, you're wanting to get internet access through cable modem ISPs, so you've got to have a coax connection to the company. You need a JTAG cable for our example, since we're actually going to be changing the firmware on the modems. You can use either a USB or a parallel JTAG. Now I wouldn't recommend the parallel because it's really, really slow. You need, for these examples, a surfboard 5100 or 5101 cable modem. Other modems can be modified, but just to keep it quick, we only use those two in these examples. You need some soldering skills and a 10-pin header. YouTube's a great reference if you don't know how to solder. There's a ton of videos on there, you know, you can look up and figure it out. You need applications for use for flashing the firmware onto the modem. For the parallel port, a JTAG, which I already said is really slow. They have SchwartzCATS, which is by TC and ISO, or the USB JTAG, which is a lot slower than the USB JTAG, a lot faster. I think it takes maybe 10 seconds to flash a modem. You can get one of those, the software, from usbjtag.com. So, requirements and depth. I kind of already went over that. Here's some pictures. He's already actually shown the real deal. There's the schematics. If you want to do the parallel port, the USB one's a lot more complicated, so I wouldn't really recommend trying to make one of those yourself. I mean, if you can, then you probably, you know, you don't need me to show you how to do it. Here's the 5100. It's on the left. The 5101 is on the right. Now, you can either crack those open and just solder that 10-pin header right there, or you can, you know, buy a pre-mod. They're all over the place. One of the places is sbhacker.net, which is where these guys are from. You can pick one up fairly cheap. When you program it, this is, you know, it's pretty much the software right there. I already mentioned those. And then the features of the firmwares we're going over. You can enable factory mode, change all your associated MAC addresses, change the serial number. You can disable the ISP firmware upgrade, which basically, I mean, if you don't do that, then they could actually, you know, send you a new firmware, overwrite your good hacked firmware with the factory one, which you don't want. You can disable reboots, so, you know, they're not rebooting your modem. Forced network access is basically, in some cases, you can get it. You can get it. You can get it. You can get it. You can get it. You can get it. You can get it. You can get it. You can get it. You can get it. You can get an unauthorized message saying, hey, you're not allowed on this network. Well, if that's all they're using to, you know, for security, you can just ignore that. Yeah. It's working. Forced network access just floods the DHCP server with packets repeatedly until you get in IP address, HFC IP. That's all it does. So disable and set ISP filters. Basically, like, in some cases, you could have ports that are blocked at the modem level. A lot of times, they're actually blocked at the cable modem termination system level, but let's say, like, port 139 is blocked at the modem level. Well, you can remove that. You can specify a config file name. So let's say you don't like the config you're getting, config being your speed. Well, you can specify a TFTP server and IP address. Say, hey, use this one instead. You can basically, on the same lines, you can actually download a config file and then actually upload that to the modem's memory and say, hey, you know, don't even bother grabbing one each time. Just use this one. And it uses that. You can get and set SNMP OID values and factory mode OID values. You have full Broadcom CLI access through serial connection or Telnet. And of course, full shell access to the VXWorks or ECOS UNIX-like operating system that's on the modem. And of course, upload flash and upgrade firmware. So, you know, you need to get a newer version, you can do it fairly easily. Just a little bit. This is a very, very simple diagram of the DOCSIS network. So, you've got your cable and termination systems. You've got operation support, which is really, you know, this is the guys you don't want to, you know, see that you're online if you're not supposed to be. You've got your customer database, which is like, you know, your MAC addresses. And then, you know, what speeds go with those MAC addresses. Or, you know, generally it's a config file. But to make it easy, you could say speeds. Your internet. Then you've got all your nodes, which is, you know, basically going out to all the houses. Whoops. Let's go back. Okay. So, for anonymous internet access, the one we're actually giving like the full, like, you know, walk-through complete, like you could go home and get online anonymously is with Comcast. The reason I chose Comcast, I said, well, according to this ispplanet.com, it's the second most used ISP in the U.S. It's actually the largest ISP that is DOCSIS. The number one was SBC, which is DSL. On Comcast, if you hook a non-provision modem up to the Comcast network, then basically a Comcast page comes up. I don't know if anybody's ever tried that, but you can try to go to a website and, hey, welcome to Comcast. You know, you're either a technician or a member. And they want to know, you know, basically are you just trying to order a service or if you're a technician, you can sign up. An interesting thing, on a side note, which I don't think it's set up this way anymore, is if you had clicked you're a technician, you could actually put a little bit of information up and start doing customer lookups. Without authentication. So you start looking up people's accounts. I think they fixed that, though, but that was about a year ago it was like that. You can connect inbound. Like, let's say you have a regular modem. You want to connect to it. You can see the IP address it pooled, and you can connect to it. You just seem to not be able to connect out. So if you look, actually, you change a DNS server and you find out, oh, well, the only security they really have keeping me offline is it gives me these bogus DNS servers that tell me every site is, you know, Comcast.net. You change that to a DNS server other than that, like, hey, well, I can get online. I mean, there was a modem I know that Durandal had. It was like the first DOCSIS 1 certified modem and hooked it up and was able to get it online just changing the DNS server. So bam, okay, there, you're online. Not really even having to modify the firmware, but as we go on, I'll explain why you would want to change the firmware. If you disable the SNMP filters, then you're able to do, you know, a whole lot of different things like pulling other modems, getting useful information. A big thing I know a lot of people are probably going to be after, say, okay, well, I can get online. You know, I went ahead and modified my modem. So, you know, I want to be faster, you know, of course, because, like, BiteMyTaco, that's from his little thing on the forum. It says, don't forget, kids, the faster you download, the bigger your penis is. So, you know, hey, it seems to be everybody wants speed. So, you know, anonymous access, of course, it's good. But, you know, the faster it is, the better it is. I know that's one of the biggest complaints I've heard with Tor is a lot of people are saying, hey, this is really slow. You know, how do I get it to go faster? So in order to increase speeds, you can force a faster configuration file from the ISP. Essentially, you're always doing one from the ISP, but it can be from their TFTP server or you can store it on a local TFTP server or you can actually flash it to the modem. Comcast uses static instead of digital. So, you know, you can have dynamic configs and really what that means is everyone uses the same config. Like, okay, you get this speed, well, then you get this config. It's not like a special configuration file specifically for, you know, your independent modem. Like, let's say you have a 5100. Well, everyone with a 5100 that's on the basic plan gets, you know, the basic 5100 config. So that just makes it a lot easier, you know, especially if you're, you know, you don't have to mess with a lot of stuff. So here's some example configuration files that Comcast uses. DOCSIS 1, they have, you know, the speed tier 2, which I think actually there's a, maybe on TheoryShare they might talk about that. There's a site where people always seem to refer to that config. 16 down, 2 up. Then you have the Showcase, which is actually generally the best one. It's 55 down and 5 up. And then you've got the NA, which is unrestricted, but an important thing to note is that generally it seems to only pull about 1.5 up, even though it, if you look in the actual config file, you see that it only pulls about 1.5 up. And then you've got the same on the DOCSIS 1.1. If you see the D11 on the far left, or the D10, that's DOCSIS 1, DOCSIS 11. Then you have the model of modem. And the last part, the C0 whatever.cm, that little in part, that's actually your computer IP addresses. So if it says 5, that means you can hook that modem up to a switch and you've got 5 IP addresses. 5 statics versus 5, that's a good thing. Like on the Showcase it has the 1. So changing the configuration file. Here's some example pictures. These slideshows are meant to, basically you can download, it's on the CD and it has the URL, you can go and download this slideshow and then kind of have a lot of nice pictures to walk you through it, make it pretty easy for you to work with this stuff. There's just some example pics from Sigma X2. So if that's the one you choose to use, then those should help you. We have an example from HacksRware, this is a free piece of code you can download on the slide. on the 5101. And then the better part, techniques for remaining anonymous is really what I guess it comes down to why in my mind you're really changing your firmware, and that's disabling SNMP after registration. That's really useful because basically once your modem gets online, it disables SNMP. And if you've ever looked into I guess the Motorola, some of the software they have like Stormwatch, what some of the ISPs use saying, hey, let's see what modems are online and what they're doing, that software is like 100% dependent on SNMP. So if your modem doesn't reply on SNMP, then it's kind of like it's not there. That's one of the downfalls sometimes of visualization software is that a lot of times it gives them this pretty picture. You can hire people for a lot less per hour saying, hey, I know you don't know a whole lot, but this pretty software you can look at and it will tell you exactly what's going on. So if it's not there in their mind, it doesn't, it's not there. You can hide your HFC IP address. You can't hide the CPE IP address, which CPE is the IP address on your computer that you're actually being assigned. And the reason is... CPE is Customer Premise Equipment. Yep. To stand for. Yep. On your computer. And you have to think, though, you, how could you hide that? I mean, if you're wanting to actually, you know, send and receive data, you know, that IP address needs to be out there. And you can hide the reported software version system OID. And these and other settings can be hard coded into or set by firmware, you know, for the desired result. And those actually give the commands right under there, like I said, so you can download this and actually do it at home. Some field results. Have a lot of anonymous people that have said, you know, they've had high success rates with zero signs of detection. I know Durandal, who was originally going to be here, he has a machine on a business configuration and he's had that thing online, I think, maybe a year in the past. He's been here for like three months and it's seeding torrents. And he wanted that information to be out, but he didn't really want to be here in person saying that. He just said, you know, if they want to try to find me, you know, they can, but I'm not going to get up there and make it any easier for them. So there's, of course, like the pictures you saw of all the modems hooked up to the Sunfire server. There's some people have eight or more modems hooked up. I mean, I don't know why you need that many, but, you know, maybe Ted Stevens does. Like, he wants a series of tubes. So now one thing, important thing, in all these scenarios, the individuals are actually paying for service. They do have, you know, an account that they're paying for. They just, you know, hey, splice the, you know, coax line and add some more modems. So then let's go from there. Let's go on and get on to cloning, which you don't have to do on Comcast. But some ISPs, you know, you do have to use cloning. If you, you know, if you don't figure out the way to bypass, you know, how they're trying to restrict your internet, then cloning's a pretty easy way to get an actual, you know, look like you're a valid user. So basic cloning is just taking an HFC MAC address and basically, you know, you go on the firmware and you just change your MAC to that, to match that MAC. Due to the broadcast nature of the network, you have to use an HFC MAC on a, a kModem termination system other than yours. Reason, you know, you can't have two, you know, two modems right there talking the same CMTS saying, saying, hey, I'm this guy, and the other guy is saying, yeah, well, this is, you know, that MAC address is mine also. I mean, that doesn't work. That's kind of basic networking. The method, sorry, this method allows you to force any config file, but it does associate you with that other person's account. So that's kind of the downside versus the total anonymity is you're actually, you are tied to an account. It's just not yours. One of the cool things about Comcast and Charter and some of the other American ISPs, you can clone a MAC address from pretty much any state in the USA that's on their network. Imagine California, you can clone a MAC from New York and it'll work. Yeah, Comcast just seems to have it set up for their one big network. So there's a little nice diagram in case anyone, you know, like, hey, I don't know what he means by CMTS, basically saying, okay, so it's a neighborhood over here on node 3. You're taking their MAC address. And you clone it on node 1. You guys are on different CMTSs, so it works. And obtaining information for cloning, people are like, okay, well, if they're not, you know, right there where I can just sniff the traffic, then how am I supposed to get this information? Well, if you didn't already know, of course, like everything, it's traded privately on forums, IRC, and, you know, whatever other mediums people use to communicate. Finding HFC MAC addresses on your node can be found just by sniffing the DHCP password. And you can get a list of the packets that are sent from the CMTS to the modems. So you can, you know, hook a modem up, run Wireshark, and easily, you know, get a list of that. And you can go trade it with someone else in a, you know, on a different node, different CMTS. There's also programs called, there's one called COAX, the, from TCNISO and DHCP force will do that. And the other method is SNMP scanning, but it only works on certain ISPs. Yeah, certain ISPs, you can actually get HFC MACs, you know, farther away with that. And then we have the exact clones, or some people call them a perfect clone, which are actually taking all the identifying information from the modem, the HFC MAC, the Ether MAC, the USB MAC, serial, and all the BPI plus certificates. And then you're, you know, you're actually basically taking everything from that modem and putting it on another modem. And then, you know, you have a perfect clone that way. Exact clones are usually non-provisioned modems. The, basically, just to be able to pass an initial check, because dev delay is going to get into it a little bit more, but with BPI plus, there starts to be some, some problems where if you just change your MAC and you don't have a certificate that matches it, then your modem, you know, it fails the BPI plus check. But, basically, this is saying, you know, in order to bypass that, you can make these perfect clones. And then, getting into it more, everyone always says, well, you know, how anonymous are you? I mean, there has to be, you know, you have to find something out. Well, I mean, sure, they can pinpoint a modem, but not to an exact location. They can get it to the node and question where the modem is, which is generally, you know, a neighborhood or a few neighborhoods. And, really, that's not, in my mind, that's really not accurate enough. I, I mean, I don't know, I'm not a lawyer, but I would say I don't think it would be really accurate enough to get a conviction if somebody was doing something bad on that, on that network. They can trace it as far as your upstream node, which is usually 100 to 200 modems. And the only way to realize that is if you have a, you know, if you have a, you know, Yeah, so, the only way to really catch someone is to go and unplug every single wire on that, on that HFC plant. Yeah. And, that's what I'm gonna. It takes a lot of time. Yeah, the ISPs, I know some of them will pull for poor signal levels, so, you know, you can, turning off SNMP, if you have that off, they're not actually going to be, you know, getting those signal levels, because your modem is not going to be responding. But let's say you want to leave it on, let it respond, well, you can use, like, a drop amp from Motorola. If you want to put, like, let's say you want eight modems online, and you want them all to have good signal levels. Well, then you can do that. There's, we gave a little bit of information on what your downstream and upstream should be. So, if you're doing this, and you're like, well, are my signal levels good, or are they bad? Well, there they are for you. A lot of ISPs do perform routine audits on lines, saying that if you're not paying for service, let's say you don't pay for it at all, you just go out there, climb the pole, and hook it up. Or, if you're in an apartment complex, you know, you pick the lock on the box, and, you know, okay. Or bribe the maintenance man. Sure, sure. Well. So, I know a lot of ISPs use colored tags to say what kind of service they have, so they, you know, you cut those off, and, you know, there's not a whole lot of information for them. They're like, oh, man, we've got to trace this stuff, and, you know, figure out what account it is, what it's supposed to have. Also, there's going to be, some ISPs have adopted and implemented that at cost, ROC, Regional Operational Centers, which actually look like they're sitting in front of the CMTS and maintain a list of customer MAC addresses. Yeah. And dev delay. I don't know, you're going to touch on that a little bit more. Basically, the ROC just sits on front of the CMTS. They're all independently connected to each other, and it's just a way for them to do better clone detection, so they can basically say, hey, these are all the MACs that have registered with this CMTS, and another ROC will say, well, this one just registered over here, and now we can just go ahead and try to disconnect this guy, because it's obviously been identified as a clone. It's pretty straightforward. But not a lot of ISPs are using it, and really, honestly, American ISPs are really lax with any security measures. Most security measures we've seen being implemented are in Canada, so I don't know why that is exactly, but it's... There's a lot higher penetration rate of hacked modems in Canada than in America, for whatever reason. Sure. Until after this speech. We work with some of the suppliers who work with all the big American cable companies, and what the owners have told me is that the American cable companies aren't very concerned about it right now, because there's so few hacked modems out there, and it's not really costing them anything, so they just kind of ignore us. That's some that I kind of touch on. I'm with CERC, and one of the things before this speech was to be given was, hey, we have to contact these guys. To contact the ISPs, they literally just don't care. They're like, we're not losing that much money. That's a lot of cost to try to fix that stuff. I don't think they really wanted me to talk, but they're not willing to do anything to fix the problem. The cost to enforce the security measures is not worth what it would save them. As well as convenience. They lose a lot of convenience by changing their network to do this sort of thing, to stop it. That's another factor to be discussed. Sure. We're going to just move on with throwing up a red flag. If you don't use the techniques that we've discussed on remaining anonymous, hey, that's going to help throw up a red flag. I listed excessive torrenting, because I would believe that they would notice that. Now, Durandal, like I said, using his server and doing torrenting, has said, hey, nothing. Nothing's happened. Nobody showed up. In my mind, I think that will throw up a flag. But apparently, he's using the techniques that are in this speech, and year and three months, nobody's shown up. Now, maybe someone will show up tomorrow, now that the speech has been given. But right now, it looks good. FTP web servers, I said, hosting, where is porn, things like that. I figure heavily used services would throw up a red flag. Using clone MAC addresses without discretion, committing fraud crimes, et cetera, just sets things up. It seems like if certain MAC addresses, if you're tied to an account and the account's being looked into, then that seems like it would throw up a red flag. Like, hey, who's this guy? Oh, wait, why is he on these two different CMTSs? Splitting the connection too many times, of course, will weaken the signal. And if you don't have SNMP turned off, then that will cause text to come out and look like, hey, why is this signal so low? Comcast doesn't actually poll for poor signal, but one example, Charter Communications polls for poor signals. And if you have a signal that's out of spec, they'll send a tech out to your house to check on it. Yeah, same thing as Time Warner. If you look at the description on the speech, there's a Time Warner network guy that was willing to give out pretty much all the ways they use to try to detect theft of service, and that's where that's coming from. So some precautions, of course. Don't transfer personal information unencrypted ever. Keep an eye out for the party van or cable technicians. How to pretty... I don't know if anybody looks at 4Cham. I had a little picture of a van with Pet-A-Bear and all that stuff in it, but decided not to put that in. Of course, pay for service on one of your modems. You have a bunch of other ones hooked up. If you're paying for service, the ISPs seem pretty content. They don't really seem to really care. It's kind of a gray area with the law in America, some of this stuff. Yeah. I mean, you're paying for service, and so it seems like they don't really want to mess with you. Of course, be careful, like we said already, with which HFC MAC addresses you claim. And if you are stealing service, completely stealing service, remove those line identifiers, so then it gives them a harder time to actually figure out where you're at. If you're at an apartment complex and all these coax lines are running through concrete and everything else, well, you're going to make their job a lot harder if you remove that little identifier and make them have to figure out where that actually goes to. And then, unfortunately, like I said, because the nondisclosure, I can't get into too much detail about the response. I mean, I'm not going to go into too much detail about the response that was given at the showcase. There's Ron Buskey, one of the chief security architects at Motorola, right there watching my speech there. But the big thing they were concerned about that I'm able to say was the lack of privacy, that your connection is actually only encrypted with 56-bit DES, not triple DES, just single DES. So I know Guy Martin has a speech later tonight about sniffing DOCSIS traffic, and it's unencrypted DOCSIS traffic. But if you think about it, well, how secure is 56-bit DOCSIS? It's a 6-bit DOCSIS. So that's all that's protecting you if they even have it turned on. In some cases, like with Charter, they don't have it turned on. Pretty much every ISP in America, most of the world, has BPI or BPI Plus enabled. Charter is the only major ISP in America that doesn't use BPI for whatever reason. They use it for their VOIP service, but cable modems, you can sniff your neighbor's traffic with Wireshark. And this technology has been around since 1998 or so, and they just have not implemented it for whatever reason. Sure. So with that, I'd like to have BiteMyTaco come up here and go on with the speech. Basically, this all started around 2002. A guy named Der Engel runs TCNISO, figured it out that when you get a mobile device, a modem from your cable company, they can upgrade the firmware as soon as you plug it in. He figured out that you can hook it up to your Ethernet and force a firmware update to whatever firmware you want. And that's how they started with the old SB4200 models, the old Motorola surfboards. Then they moved on to 5100s and whatnot. But the way it all starts is this orange modem here is a Motorola fat-rate diagnostic modem. They're not available to the public. They're only leased to ISPs. They have shelled firmware on them, which has, some of them have telnet. They have a little headphone port on the back that goes through a serial cable, and you get full shell access to the modem. And all these hacked firmwares are based on shelled firmware that comes off of these orange modems here. And we take and modify them and add our GUI with the features to make stuff easy to do, like change your MAC address, disable BPI, et cetera. It started out with the old, original Sigma. Ran on the old SB4100 and 4200s. And the scene pretty much stayed underground until 2006. Daringo released a book called Hacking the Cable Modem. You can go buy it at Barnes and Noble. And after that, it kind of went a little more mainstream. But before that, it was a... So from the vendor's area, you can actually buy it here today. He said, yeah, they have the book for sale here, apparently. But yeah, the scene was underground for about four years. And then he released his book, and all the ISPs have read it, and it just got a lot more people into it. So it's kind of the end of the scene. A couple years ago, they released Sigma X for the SB5100, one of the best firmwares ever. And then around October 2006, TCNSO has a forum where you discuss the information that you need to get on your ISP. It wasn't very good. So my partner, his name is SNMPrape. He started surfboardhacker.net for people to come and discuss information freely. And we're basically... We were reselling TCNSO's firmware for a while. They created Sigma X2. Sigma X was DOCSIS 1.0 only. Oh. Give me a second here. Okay. Diagnostic factory firmware. Basically, you can do everything you want to hack a modem with it if you know what you're doing. But everything's command line. Either through telnet or the serial interface. Hyper terminal or DTK term. But the shell firmware is not available to end users. You have to get it through Motorola. Duringle's got some special connection with them where he gets all this stuff. Doesn't like to share it with the public. And there's no GUI for this where you can make changes. And that's what makes it easy. Sigma X2. Very easy to use. Got a lot of features. And it's based on the SP5100 shell firmware. DOCSIS 2.0. Duringle didn't actually code. He has a team of coders who did this for him. And he charges $20 for a license to use Sigma firmware. And supposedly there's some backdoors in there that he created to basically sell to the ISPs if they wanted to shut down all the hacked modems. He was going to sell out his own firmware. So far this hasn't been confirmed. Yeah. We haven't found any. We just assembled it and can't find anything. But he claims there's backdoors in there for all kinds of stuff. Or backdoors for destroying your firmware flash. Like I said, Sigma X is DOCSIS 1.0 only. So it doesn't work on every ISP. But it was very stable. Sigma X2 has a bug where these modems only have 8 megs of RAM. And when you start torrenting and you get too many connections open, too many peers, the modem will actually crash and reboot because it runs out of memory. It has a buffer overflow. The new Sigma X2 has kind of fixed that. And then Surfboard Hacker's new firmware for the SP5101 doesn't crash. Also a guy from Europe named Tom created something recently called SP5100 Mod. The interface looks kind of like DDWRT. It's very easy to use. Same features. And it's free. Also based on the same Motorola data. Diagnostic firmware. But there's a few bugs. And there's so many features that it can be confusing. And a few months ago, we came across a source for these little orange beauties right here. And we got the SP5101 shell firmware, which we've been looking for for a very long time. And found a developer. And he created the firmware called Hackerware. And it was built for the SP5101. But it basically runs on any modem with a Broadcom BCM 3349. Chipset. RCA DCM 425. The Ambit 250. There's some other ones that will run on as well. Webstar DPC 2100 R2. It's got a TFTP enforced bypass. It's got a built-in TFTP server where you can store your configuration file of choice in the flash. And instead of having to pull it off your ISP TFTP or your computer, it just boots the modems and pulls the config from the flash. It's a pretty cool feature. You can set a static HFCIP subnet and gateway instead of using the one that the ISP assigns you. You can spoof the vendor, the model, the firmware version. You can change the SNMP port so the ISP really can't. DOCSIS is completely managed by SNMP. And if you change the SNMP port, the standard port is 161 and 162 for traps. And if you change it, your modem won't respond to the ISP trying to contact it. And they really can't. You can't get any information from it. And of course, when we add to the firmware a GUI, it makes it easy to use. We added a web shell that works kind of like Telnet. It's got very detailed diagnostic output. It's got username and password. You can upgrade the firmware from the web interface. Back up your flash and your non-volatile settings. Your non-volatile settings store your tuner settings, your frequency, other stuff like that. And he also put a feature in to skip the modem config checks. In every config, there's an MD5 hash at the bottom that the CMTS verifies to make sure the config... Back in the day, you could edit the config to have any speed you want. And that hasn't worked for a very long time. And the skip modem configs check basically ignores the MD5 hash so you can use and edit the config. But that only works if the CMTS is not properly configured. It doesn't work in America. There's some ISPs in Europe where it works. We're working on a way to basically ignore the CMTS controls where you have access. We're basically trying to make it so you can ignore the CMTS telling the modem, no, you can't have access, and just force it. Basically, this all started with TC and ISO. Many thanks to Durangle for making this possible for everyone. And Surfboard Hacker is taking it to the next level. We've got the 5101 firmware out. It runs on all these different modems. And we've got a 5102 we're working on. And the next step is DOCSIS 3.0. And Durangle is actually working right now on porting Sigma X2 to the 5101, but that's not out yet. And then it's Dev DeLay's turn to talk about hardware. Sure. Hey, guys. Thanks for coming out. I just want to cover basically stuff listed here. I don't know if all you guys can read that, but basically I'm going to cover some hardware. I'm going to cover some of the encryption authentication measures that the modem uses, why is this possible, and who's at fault. I've got kind of perspectives and objectives here. Just a few. Just to make the topic, you know, a little more honest because, you know, it's a little illegal, some of the stuff we're talking about here. I also want to talk a little bit about the future and some problems and some solutions. Why don't you guys listen to me? I'm cool. I do IT and IS consultant work. I'm actively pursuing CISSP, although I'm hearing that that's null and void soon with the PI requirement. Kind of lame. I'm an active member of Serport Hacker and admin there. I also assist at Rajco Hacker, the Serbian prodigy on development design, debugging, testing of the latest Hackerware firmware, which was financially backed by BiteMyTaco. This kid is 17 years old, and he knows every programming language known to man. His IQ has got to be above 200. But Deb DeLay here did most of the testing and made all this possible. You know, spent a lot of hours and hard work on making it possible. So, anyway, onto our objectives for honest discussions. Basically, I just think it's important that we discuss that we should provide an open forum for users, hackers, professionals, and law enforcement to discuss that, you know, hacked modems exist. Warrantless wiretaps are illegal, I guess. And these modems are used for anonymous free and fast Internet. They're virtually undetectable. They can be used for evil. The other thing that's important, which basically is partly why this is possible, is understanding and evaluating the DOCSIS network as a viable telecommunications protocol. Essentially, part of this is possible because of the nature of the network, security flaws in the network, and also best practices of the ISP. You know, a lot of it is due, really, to the fact that ISPs do not care, and they do not configure their CNPS properly. So that's really improper use and abuse by everyone. Most of their network admins are complete idiots, to be quite honest. Yeah, I'd say. I mean, truth be told, they're morons. And how can we make it better, both from the ISP side or from our side? And can we coexist? I don't even know if that's possible, but it seems to be working out so far for five years. Anybody in this room could configure a CNPS better than these cable company employees and put a stop to it. So what is a DOCSIS cable modem? Well, it's basically just a computer. It's got a Broadcom chipset, either BCM 3348, 3349. It's got a 200 megahertz processor. RAM. It's got 16-bit, 8 megabytes of RAM. It can be upgraded. I actually haven't heard of anyone upgrading past 16 megabytes, but I don't think it's necessary. You can upgrade it to 32, but the bootloader can only address 16 megs. And before the Sigma X2 firmware was fixed to stop the torrent crashing, we actually offered a memory upgrade to 16 megs that eliminated that problem, but now it's kind of obsolete with the Haxware and the new X2 versions. So we've got a 2-megabyte flash ROM. And all of them operate pretty much on a real-time operating system, which is either VXWorks or ECOS. Yeah, I got you. All right, so trust, encryption, authentication. Basically, I'm going to talk about BPI and BPI+. BPI is just a method for encrypting traffic between the CMTS and the modem. It uses 56-bit DES, which is pretty weak. It's not even a problem to crack that. A lot of ISPs don't even use it. Baseline Privacy Interface Plus is basically implemented in DOCSIS 1.1. It's backwards compatible, meaning it uses still encryption between the CMTS and the CM, but it adds X.509 digital certificates, which basically is used for authentication between the modem and the CMTS, basically proving your identity. That's really what it comes down to. Motorola calls this the trust ring. I've heard other companies call it the web of trust. These are stored in the non-vol settings of the modem. They contain a public, private, root key, a CM, and a CA certificate. CA certificate is the manufacturer's certificate. An ISP can actually grab from cable labs. They can require or ask, buy, sorry, a CA certificate for themselves, and issue their own certificates for all of their modems. The one important thing, too, is that on CMTSs, by default, they actually accept self-signed certificates. This is really important because we essentially can create our own certificates and then tell the CMTS, hey, I am who I say I am, even though the MAC is not provisioned at all. Why is hacking cable modems possible? And who's to blame? I basically look at blame for three people. The manufacturers, the developers, and administrators. And really, for the manufacturers, there's no physical security at all. That's probably the most important thing there. Developers, initial hacks, been involved with cable modems. We're using factory modes. And really, you can use SNMP to enable a factory mode. I just wanted to add real quick. Motorola, one thing that can be said is, Ron Buskey actually did write a paper on secure JTAG. But when Motorola wanted to use that, the ISPs, they didn't really want to pay the extra money that it would cost to have that on the modems. So I do know it is the, yeah, the developers did, it is insecure, but they did have a solution that the ISPs didn't want to use. Right. So, and then, we can also blame the ISPs. Because they don't want to spend the money. It's too inconvenient for them. They improperly config their CMTS. And there's also flaws that are in the IOS for the CMTS. Another one of the things with the ISPs is there's still millions of DOCSIS 1.0 modems out in the field. And the cost to replace them all with 1.1 and 2.0 modems is sometimes not worth the benefit to them. So they can't really enforce security when there's still that many 1.0 modems out there in the field they have to replace. And also, I think it's important to discuss the perspectives here. You know, coming from customer, you're a customer, you hate your ISP, all right? Just by default, you probably do. You want them to, you know, protect and respect your privacy. You want quality service. And you want them to stop charging when it doesn't work right. Hackers say, hey, you might expect this to happen. Because we can do it. And we demand anonymous Internet access. And if we can find a way to do it, we'll do it. And it seems like they make it so easy just for the fact that they don't care or they don't do it right. That's another reason why it happens. And it's not our fault. And even when they do try to configure everything properly, they're still not going to stop it. ISPs, I think I basically covered that. You know, they don't want you to have unlimited access. Bandwidth. They lie about being secure or being properly configured. They cut corners. Unofficial bandwidth caps. Yeah, they want to stop your torrents, interfere with that sort of thing. All right. And your information could be sold. So that's just one reason why we want to be anonymous. All right, next I'm going to talk about disassembling the firmware. Basically, there's three types of firmware. Assigned and compressed. Compressed binary image. And RAM dump images. RAM dump images are basically stored in the RAM the last four megabytes. A dump image can be loaded into IDA Pro for reversing or manipulation. And current firmwares use VxWorks or ECOS. Both are coded in MIPS. It's really fun. Here's the anatomy of the flash contents just so you guys can get an idea of what this two megabyte dump actually looks like. There's a bootloader here. 32K. There's also, in some modems, they use another 32K to store settings for that bootloader. The next 960K is the first firmware image. The next 960K is another image. Basically, the reason there's two is so that the ISP can upgrade while the existing firmware is running. The next is dynamic volume. This basically stores logs and that sort of thing. So, reverse into simple tools. You've got an unsigned firmware image. That's basically what you need. If it's signed, you can actually remove the signed header from it. And then you can use LZMA to basically decompress that into a dump. There's other tools that people have made. Next, you're going to need your favorite hex editor. You're going to need IDA Pro Advance. Your favorite compiler. I know RAJCO here. He actually wrote his own specifically to build Hackerware. You're also going to need a serial console cable just so you can get debug output from the fat shell or the shelled factory firmware. And a lot of time and patience. Because it takes a long time to do this stuff. All right. Next, I want to talk about the future. Future, basically, so far, we haven't really seen any interrupts with ISPs making changes. So, what you can expect is better firmware better firmware to stop prevent checks that they might implement. The other thing that we have seen basically in Canada is ISP lockdowns. You know, they are able to lock this stuff down to a certain point. And they give up, you know, the expense of that. And also they give up, you know, basically their convenience of being able to monitor the network. And this is pretty much due to Craigslist. It's full of people trying to sell super modems. Right? $300. People were selling illegally pre-cloned modems on Craigslist in Canada. And Rogers and Shaw control about 90% of the Canadian market. And they both started enforcing BPI+. So everybody with a hat modem got knocked offline unless they really know what they're doing and can clone certs and all that good stuff. And next thing we're going to start seeing soon, maybe, is DOCSIS 3.0. Although I've heard Comcast say, you know, we're going to have DOCSIS 3.0, really all they've been doing is testing DOCSIS 2.0, which just involves channel bonding, which they just take two or more downstream and upstream signals, bond them together, and already get faster speeds. Charter and Cablevision also announced in the past recently that they're rolling out 3.0 this year and following Comcast. The other thing involved with DOCSIS 3.0 is advanced class of service mappings, which basically you can stop, like, you know, hey, I want to grab this config, force this speed, and it tells you no. So really you're kind of stuck at a speed that is assigned specifically to that MAC. And then also maybe in the future we'll see purposely designed anonymous networks. That would be a perfect world, but who knows if we'll ever see it. Some problems we're seeing, too, is BPI+. And I'm actually running out of time, guys, so... Like I said, we can use self-signed certificates with BPI+. We also reversed the BPI Manager, which could be a possibility in the future. And, you know, we talked about ROC, which is Advanced Clone Detection. And like I also said, situation is really that the more that they try to lock it down, the less convenient it is for them. So with that said, we're going to have a question-and-answer session if you guys want to attend. We're going to be giving out some swag and that sort of thing. And if you guys want to get more in-depth, we can talk for hours. Yeah, we've got... If you have your own Motorola modem, or modem with JTAG port, you can mod it yourself with a JTAG cable. If you've got one of these, something like this, use a serial cable or a USB serial cable to flash it. Pretty much any modem with a BraCom chipset can be modified, and we'll talk about more of that in the Q&A. We've got some free Surfboard Hacker and Soldier X T-shirts to give out and answer your questions about how to mod your own modem. Hey, guys, thanks for coming.