1 00:00:00,000 --> 00:00:03,520 I am Pierce. This is Asmig. That's Goldie in the far corner 2 00:00:03,520 --> 00:00:10,140 over there. And our special guest is Sanity Bit. You could 3 00:00:10,140 --> 00:00:13,260 also say my name is Asmig, sort of like you're sneezing, you 4 00:00:13,260 --> 00:00:19,180 know. Asmig. That works pretty well. Just saying. So who here 5 00:00:19,180 --> 00:00:26,160 uses Internet? Yay. A basic overview of the technology. 6 00:00:27,080 --> 00:00:34,200 WiMAX is fast wireless Internet. It's the 802.16 7 00:00:34,200 --> 00:00:37,060 protocol which is sort of similar to the 802.11 protocol 8 00:00:37,600 --> 00:00:40,520 and it's especially interesting because it is under IEEE 9 00:00:40,520 --> 00:00:43,780 control. It's very different from a lot of the other mobile 10 00:00:43,780 --> 00:00:48,200 wireless specs that are under control of different mobile 11 00:00:48,200 --> 00:00:56,140 companies and things like that. LTE is the 4G technology that 12 00:00:56,160 --> 00:00:59,940 was come up with by the cell phone industry and it's another 13 00:00:59,940 --> 00:01:05,820 high speed wireless Internet system and currently with WiMAX 14 00:01:05,820 --> 00:01:10,480 there is a large nationwide network being developed and 15 00:01:10,480 --> 00:01:15,400 deployed by ClearWire and it is branded under the name Clear and 16 00:01:15,400 --> 00:01:19,880 a lot of people have probably seen it or commercials. Closer 17 00:01:19,880 --> 00:01:26,140 to the mic. Okay. God damn it. Yeah. So we have a lot of 18 00:01:30,700 --> 00:01:34,760 questions. So in the U.S. there are a couple of WiMAX networks. 19 00:01:35,340 --> 00:01:38,920 The largest one however is Clear. Founded originally as 20 00:01:38,920 --> 00:01:43,000 ClearWire. They provided proprietary wireless Internet 21 00:01:43,000 --> 00:01:47,260 from Motorola called Expedience and then later on bought up a 22 00:01:47,260 --> 00:01:51,760 lot of 2.5 gigahertz spectrum and started providing 802.16 23 00:01:52,940 --> 00:01:56,140 WiMAX over that network. They're currently deployed by 24 00:01:56,160 --> 00:02:00,000 Android and 79 markets across 21 states and they have a very 25 00:02:00,000 --> 00:02:02,940 aggressive rollout plan. They're hoping to hit all major U.S. 26 00:02:02,980 --> 00:02:06,460 markets by the end of 2012. In the next three months alone they're 27 00:02:06,460 --> 00:02:10,440 planning on hitting another 22 markets including New York, Miami, 28 00:02:10,660 --> 00:02:15,220 San Francisco. They also just opened up in Washington, D.C. and 29 00:02:16,020 --> 00:02:18,480 they're really aggressively rolled out in Texas right now. 30 00:02:26,640 --> 00:02:29,160 They're actually a couple of their services using Clear's 31 00:02:29,160 --> 00:02:31,340 network and these are all investors in Clear's initial 32 00:02:31,340 --> 00:02:36,780 infrastructure. It's Time Warner Cable selling it, rebranded as 33 00:02:36,780 --> 00:02:40,480 Roadrunner Mobile. Comcast selling it as Comcast High 34 00:02:40,480 --> 00:02:43,920 Speed to Go. And Sprint which is one of the larger investors in 35 00:02:43,920 --> 00:02:48,720 Clear which is using it for their 4G service with their HTC 36 00:02:48,720 --> 00:02:51,820 Evo. They're all placed under the same physical network. 37 00:02:52,080 --> 00:02:55,060 There's no difference on the infrastructure as you can see in 38 00:02:55,060 --> 00:02:56,140 this screenshot. They're all in the same physical network. There's no 39 00:02:56,160 --> 00:03:00,860 all of the signals are the same, it's the same tower. The only difference is what portal pages 40 00:03:00,860 --> 00:03:05,160 that are company specific you get redirected to when you get on. 41 00:03:14,100 --> 00:03:20,680 So this is a map. The gray stuff is a couple of the markets that are opening. It's not showing 42 00:03:20,680 --> 00:03:28,520 all of them because of the zoom coverage. And there are a lot of major markets, including 43 00:03:28,520 --> 00:03:32,760 Las Vegas. . 44 00:03:43,560 --> 00:03:50,180 So last year we discussed a couple of ways to bypass their portal page. And apparently 45 00:03:50,180 --> 00:03:50,660 they were. . . 46 00:03:50,660 --> 00:03:53,280 listening because they kind of tried to put a little plug in 47 00:03:53,280 --> 00:03:59,180 it. So last year we told you that you use open VPN over UDP 48 00:03:59,180 --> 00:04:04,320 port 53 and it just blasts right through the portal page. So 49 00:04:04,320 --> 00:04:08,020 their fix to that problem was they blocked large UDP packets 50 00:04:08,020 --> 00:04:12,920 from exiting the network on port 53. The counter fix to that 51 00:04:12,920 --> 00:04:15,640 was we just fragmented the packets to make them a little 52 00:04:15,640 --> 00:04:21,500 bit smaller. It works great. You have to add two options to 53 00:04:21,500 --> 00:04:26,160 your open VPN config file and that's pretty much all she 54 00:04:26,160 --> 00:04:32,680 wrote. So that's an example open VPN config file right there. 55 00:04:33,160 --> 00:04:37,920 And anyone who's configured or played with open VPN, you already 56 00:04:37,920 --> 00:04:41,040 know how easy it is to get that set up and you just got to add 57 00:04:41,040 --> 00:04:44,120 those two options and you can go right through the portal 58 00:04:44,120 --> 00:04:45,500 page from the service provider. 59 00:04:49,680 --> 00:04:52,740 Going into some of the hardware now. This is a picture 60 00:04:52,740 --> 00:04:58,800 of some echo peak hardware which is Y max gear from Intel. The 61 00:04:58,800 --> 00:05:03,440 interesting stuff about this is that it works in Linux unlike a 62 00:05:03,440 --> 00:05:07,700 lot of the more consumer grade Y max gear. A lot of the Y max 63 00:05:07,700 --> 00:05:11,560 stuff that you buy at the store is for consumers and these come 64 00:05:12,320 --> 00:05:15,620 in a lot of I guess some of the newer think pads and some of the 65 00:05:15,620 --> 00:05:17,440 older ones. And there are some companies that are selling 66 00:05:17,440 --> 00:05:21,740 laptops that have these built in. They're tiny PCIe cards and 67 00:05:21,740 --> 00:05:27,700 you can actually buy them on eBay for about $80 now. The 5150 68 00:05:27,700 --> 00:05:31,260 and the 5350 are the best supported in Linux. And you go 69 00:05:31,260 --> 00:05:34,980 to Linux Y max.org and you can download the network tools and 70 00:05:35,600 --> 00:05:39,220 all that. And the version 1.4 is what you're looking for with the 71 00:05:39,220 --> 00:05:41,780 current version of Ubuntu and it actually has the firmware and 72 00:05:41,780 --> 00:05:44,540 the kernel drivers already installed. It just doesn't have 73 00:05:44,540 --> 00:05:45,600 the tools to connect to the network. So you don't have to 74 00:05:45,620 --> 00:05:51,100 worry about that. If you want to use these in an actual 75 00:05:51,100 --> 00:05:55,500 computer, you pretty much need to buy the USB PCIe cradle and 76 00:05:55,500 --> 00:05:58,960 those are about $40 and you can get them online. The PCIe cards, 77 00:05:59,220 --> 00:06:02,480 if you plug them into laptops, they typically don't work. The 78 00:06:02,480 --> 00:06:05,040 wireless part will work because this is actually 802.11 and 79 00:06:05,040 --> 00:06:08,920 802.16 on this card. The 802.11 will work fine in any computer 80 00:06:08,920 --> 00:06:15,480 but the 802.16 is not, we figure that it's not powered 81 00:06:15,620 --> 00:06:18,000 high enough or there's some weird issues like newer PCIe 82 00:06:18,000 --> 00:06:21,340 buses are required. But it hasn't worked in any of the 83 00:06:21,340 --> 00:06:24,620 laptops that we've tested even though there have been some 84 00:06:25,260 --> 00:06:27,640 ThinkPads and stuff that we've seen that it will work on. 85 00:06:33,140 --> 00:06:38,720 Good morning. Good morning. Okay. Cool. So I wasn't 86 00:06:38,720 --> 00:06:42,500 sure if anybody was actually awake this early on Sunday. This 87 00:06:42,500 --> 00:06:45,600 is my first time to DEF CON. No it is earlier than that. But, so 88 00:06:45,620 --> 00:06:52,500 But I got the impression that people would be partying late last night and have a hard 89 00:06:52,500 --> 00:06:54,100 time rolling out of bed this morning. 90 00:06:54,320 --> 00:06:58,160 So anyway, again, my name is Achoo Asmig, just like that. 91 00:06:58,940 --> 00:07:00,980 I'm talking about hardware hacking a little bit. 92 00:07:01,200 --> 00:07:02,620 I don't really know much about it. 93 00:07:02,660 --> 00:07:04,980 I'm just getting started, but I've had some fun with it so far. 94 00:07:05,540 --> 00:07:12,240 And so what we're looking at right now is the Motorola CPE150 and 750 devices. 95 00:07:13,040 --> 00:07:17,820 It's also known as the home router, sort of like a cable modem, but no wires. 96 00:07:18,000 --> 00:07:18,780 It's kind of cool. 97 00:07:19,860 --> 00:07:21,420 Says down there, got root. 98 00:07:21,780 --> 00:07:23,000 And do you? 99 00:07:23,460 --> 00:07:24,480 Well, you could. 100 00:07:24,660 --> 00:07:25,480 They are running Linux. 101 00:07:28,260 --> 00:07:34,700 So inside, 64 megs of RAM, 32 megs of flash, has a Beseem wireless chipset, kind of cool. 102 00:07:34,940 --> 00:07:40,980 It's Texas Instruments TNET V1061 at 213 megahertz. 103 00:07:41,020 --> 00:07:42,120 Pretty awesome stuff there. 104 00:07:42,120 --> 00:07:43,380 Very speedy. 105 00:07:43,780 --> 00:07:44,980 It's a MIPS32 core. 106 00:07:45,500 --> 00:07:49,380 So if you want to know what your instruction set is, there it is, MIPS32, pretty easy. 107 00:07:50,040 --> 00:07:53,340 The debugging is via JTAG, EJTAG in specific. 108 00:07:53,680 --> 00:07:55,840 And so it's all nice standard stuff. 109 00:07:56,320 --> 00:07:58,620 But I didn't know how to use any of that stuff. 110 00:07:58,820 --> 00:08:00,560 So I had to, like, learn from scratch. 111 00:08:00,780 --> 00:08:01,380 It's kind of fun, though. 112 00:08:02,060 --> 00:08:03,680 And yeah, it is actually running Linux. 113 00:08:03,760 --> 00:08:04,600 We weren't sure at first. 114 00:08:04,680 --> 00:08:09,040 We thought it was probably Linux, but, you know, didn't see any source floating around. 115 00:08:09,220 --> 00:08:12,100 So weren't sure until we pulled some stuff out. 116 00:08:12,120 --> 00:08:13,900 Some firmware dumps. 117 00:08:18,780 --> 00:08:26,480 So when you're looking at a device like those, there they are, what do you do to figure out 118 00:08:26,480 --> 00:08:27,480 what it's actually running? 119 00:08:27,940 --> 00:08:29,120 Does anybody have any thoughts? 120 00:08:29,500 --> 00:08:30,080 Take it apart. 121 00:08:30,320 --> 00:08:30,780 Take it apart. 122 00:08:31,020 --> 00:08:31,380 Exactly. 123 00:08:31,740 --> 00:08:32,320 And then what? 124 00:08:33,700 --> 00:08:34,380 Burn it. 125 00:08:34,540 --> 00:08:35,260 Burn it. 126 00:08:36,140 --> 00:08:36,640 Yeah? 127 00:08:36,900 --> 00:08:37,420 It's crap. 128 00:08:37,900 --> 00:08:38,900 Because it's crap. 129 00:08:39,240 --> 00:08:39,360 It is. 130 00:08:39,560 --> 00:08:40,860 Well, okay. 131 00:08:40,920 --> 00:08:41,220 Sure. 132 00:08:41,480 --> 00:08:41,980 Yeah. 133 00:08:42,120 --> 00:08:44,160 Looking at those specs, I might say that, too. 134 00:08:44,820 --> 00:08:47,860 You know, pull off the RAM and chuck the rest. 135 00:08:48,780 --> 00:08:49,520 Any other thoughts? 136 00:08:50,060 --> 00:08:50,720 Serial console. 137 00:08:51,240 --> 00:08:51,920 Serial console. 138 00:08:52,240 --> 00:08:52,420 Good. 139 00:08:52,540 --> 00:08:53,420 Where do you find it, though? 140 00:08:55,300 --> 00:08:55,660 Oscope. 141 00:08:56,780 --> 00:08:57,140 Oscope. 142 00:08:57,560 --> 00:08:57,920 Yeah. 143 00:08:58,080 --> 00:08:59,580 I wish I knew how to use one of those. 144 00:08:59,640 --> 00:09:00,040 That would be cool. 145 00:09:02,360 --> 00:09:03,440 So here's my trick. 146 00:09:04,420 --> 00:09:05,680 This is a logic probe. 147 00:09:06,640 --> 00:09:08,720 And it's kind of like my little magic wand. 148 00:09:08,860 --> 00:09:11,360 I'd be waving it around right now, except that I left it in my hotel room. 149 00:09:13,300 --> 00:09:13,660 Sorry. 150 00:09:14,820 --> 00:09:15,500 It's pretty cool. 151 00:09:15,840 --> 00:09:19,600 I mean, all you have to do is you find the negative, you find the positive, and you clip 152 00:09:19,600 --> 00:09:23,300 those little leads, the color-coded ones, you know, the red one for positive, the black 153 00:09:23,300 --> 00:09:24,120 one for negative. 154 00:09:24,680 --> 00:09:25,760 Really complicated stuff. 155 00:09:26,000 --> 00:09:27,840 Like, took me ages to figure that one out. 156 00:09:28,160 --> 00:09:32,720 And then there's the pointy bit, and you just, like, stab at the device randomly until something 157 00:09:32,720 --> 00:09:33,120 happens. 158 00:09:33,520 --> 00:09:36,260 It's, like, I thought it was pretty cool. 159 00:09:36,400 --> 00:09:36,900 I don't know. 160 00:09:37,140 --> 00:09:42,560 So eventually what I found is that if you put it on this one pad and then you plug in 161 00:09:42,560 --> 00:09:46,160 the device, then all of a sudden the red and green light on this thing would just light 162 00:09:46,160 --> 00:09:47,120 up like a Christmas tree. 163 00:09:47,140 --> 00:09:48,040 I was like, oh, awesome. 164 00:09:48,100 --> 00:09:49,060 Hey, that's doing something. 165 00:09:49,720 --> 00:09:52,000 And it was right next to, you know, a couple other pads. 166 00:09:52,080 --> 00:09:53,420 Seems like maybe that was serial. 167 00:09:53,540 --> 00:09:56,020 So sure enough, I found the serial port. 168 00:09:57,640 --> 00:09:59,420 And you know, I was poking around a little bit more. 169 00:09:59,520 --> 00:10:02,460 I also labeled it processor, flash, RAM, piece one. 170 00:10:02,660 --> 00:10:02,960 Yeah. 171 00:10:03,240 --> 00:10:03,920 Just in case. 172 00:10:04,240 --> 00:10:05,080 What's the header there? 173 00:10:06,300 --> 00:10:08,680 I actually had to solder the headers on myself. 174 00:10:09,900 --> 00:10:12,820 And they are surface mount headers, so they're kind of a hassle. 175 00:10:13,900 --> 00:10:18,500 You've actually all seen them if you've seen the DEF CON badge this year, which I hope 176 00:10:18,500 --> 00:10:18,880 you have. 177 00:10:19,180 --> 00:10:22,760 If you're in this room and you haven't seen the DEF CON badge, get the hell out. 178 00:10:24,780 --> 00:10:30,340 Anyhow, that JTAG connector is actually the exact same connector as used on the DEF CON 179 00:10:30,340 --> 00:10:31,300 badge this year. 180 00:10:31,500 --> 00:10:34,180 And the serial connector is a little bit different but pretty close. 181 00:10:34,620 --> 00:10:35,060 Okay. 182 00:10:38,600 --> 00:10:40,380 So how do you talk to the JTAG? 183 00:10:40,560 --> 00:10:42,960 Well, I stole this from the Internet. 184 00:10:43,440 --> 00:10:50,560 And if Alec at CINCI.org is here, thank you for this fine schematic. 185 00:10:50,820 --> 00:10:52,560 It came in handy. 186 00:10:52,920 --> 00:10:54,340 I built this thing out of it. 187 00:10:54,540 --> 00:10:55,800 And it actually worked. 188 00:10:58,680 --> 00:10:59,800 Nobody else is surprised? 189 00:10:59,940 --> 00:11:00,960 I'm freaking surprised. 190 00:11:02,680 --> 00:11:03,200 Yeah. 191 00:11:03,620 --> 00:11:04,420 Thank you. 192 00:11:04,500 --> 00:11:04,860 Thank you. 193 00:11:04,940 --> 00:11:05,060 Thank you. 194 00:11:07,000 --> 00:11:08,720 And it gave me stuff like this. 195 00:11:09,060 --> 00:11:11,180 Now I know you can't actually read that. 196 00:11:11,260 --> 00:11:12,420 You're not supposed to be able to read that. 197 00:11:12,560 --> 00:11:13,980 This is like the token slide. 198 00:11:14,360 --> 00:11:17,820 Everybody has a presentation with a slide that has so much crap in it you can't actually 199 00:11:17,820 --> 00:11:18,240 read it. 200 00:11:18,460 --> 00:11:19,080 Well, this is that one. 201 00:11:19,660 --> 00:11:23,000 Except that the people that are right next to the projectors might see something in the 202 00:11:23,000 --> 00:11:24,420 bottom two lines that looks interesting. 203 00:11:25,020 --> 00:11:26,540 Anybody just like shout that out? 204 00:11:30,980 --> 00:11:32,420 Yeah, console state locked. 205 00:11:33,140 --> 00:11:34,160 Well, what does that mean? 206 00:11:34,160 --> 00:11:36,300 I don't know. 207 00:11:37,960 --> 00:11:38,660 Well, okay. 208 00:11:39,020 --> 00:11:42,480 So it also has some other information in there that seems pretty handy. 209 00:11:42,620 --> 00:11:43,940 It talks about where the boot loader is. 210 00:11:44,380 --> 00:11:47,360 It talks about where the different images are, the configurations, the certificates 211 00:11:47,360 --> 00:11:48,000 for the device. 212 00:11:48,380 --> 00:11:48,780 Yeah. 213 00:11:48,980 --> 00:11:49,700 X519 certificate. 214 00:11:50,100 --> 00:11:50,820 That's pretty cool. 215 00:11:51,740 --> 00:11:53,180 And factory defaults. 216 00:11:53,180 --> 00:11:54,740 Also this JFFS2. 217 00:11:55,040 --> 00:11:55,800 Has anybody heard of that? 218 00:11:56,560 --> 00:11:56,960 Yeah. 219 00:11:57,140 --> 00:11:57,480 Cool. 220 00:11:57,700 --> 00:12:01,260 Well, for those of you who don't know, that's a partition where you can actually read and 221 00:12:01,260 --> 00:12:01,700 write data. 222 00:12:02,480 --> 00:12:03,400 It's pretty fancy. 223 00:12:04,080 --> 00:12:04,140 Yeah. 224 00:12:04,140 --> 00:12:05,080 It's pretty fancy for flash anyway. 225 00:12:06,200 --> 00:12:07,100 So what about the root? 226 00:12:07,640 --> 00:12:08,020 Yeah. 227 00:12:08,040 --> 00:12:08,340 Yeah. 228 00:12:08,440 --> 00:12:08,520 Yeah. 229 00:12:08,520 --> 00:12:08,760 Okay. 230 00:12:08,840 --> 00:12:10,840 So this device, it can be rooted. 231 00:12:11,700 --> 00:12:13,520 I did it the worst possible way. 232 00:12:13,960 --> 00:12:14,360 Okay. 233 00:12:14,580 --> 00:12:17,280 So this way works, but it sucks. 234 00:12:18,100 --> 00:12:22,080 And I know that it sucks now because I've actually gotten into the device and been able 235 00:12:22,080 --> 00:12:22,620 to play with it. 236 00:12:22,820 --> 00:12:25,680 But for a first approach, you know, it got the job done. 237 00:12:26,180 --> 00:12:29,120 And my approach was, well, let's just jump back a couple slides. 238 00:12:30,320 --> 00:12:33,540 So in the boot loader, we saw that information. 239 00:12:33,540 --> 00:12:35,700 It had the console state locked and all that stuff. 240 00:12:35,920 --> 00:12:39,920 And that's actually the default boot loader configuration that gets dropped into the boot 241 00:12:39,920 --> 00:12:40,860 loader config area. 242 00:12:41,340 --> 00:12:46,300 So if you take the boot loader config area and you delete it, then it reloads from the 243 00:12:46,300 --> 00:12:46,860 boot loader area. 244 00:12:47,100 --> 00:12:50,340 And you can easily modify the boot loader config default. 245 00:12:50,780 --> 00:12:54,580 Have it regenerate a new boot loader config and then let it boot up. 246 00:12:56,300 --> 00:13:01,660 But the problem is once it boots up a little ways, then this fancy program runs. 247 00:13:01,660 --> 00:13:08,080 And what it does, according to the strings here, is basically it says, oh, did the console 248 00:13:08,080 --> 00:13:10,640 state somehow magically get set to unlocked? 249 00:13:10,940 --> 00:13:11,780 We don't want that. 250 00:13:12,200 --> 00:13:13,680 And it resets it to locked. 251 00:13:13,840 --> 00:13:14,800 So that's kind of a hassle. 252 00:13:15,580 --> 00:13:22,840 So my workaround for that was to reset it to unlocked, boot part of the way, freeze 253 00:13:22,840 --> 00:13:28,600 it, reset it back to locked so that it doesn't change anything, and then let it finish booting. 254 00:13:29,200 --> 00:13:30,540 A little trickery. 255 00:13:30,540 --> 00:13:33,640 You know, I have JTAG control so I can control the operation. 256 00:13:33,920 --> 00:13:35,900 And I don't really know how that stuff works. 257 00:13:36,000 --> 00:13:39,000 So I'm taking a poor man's approach and, hey, it got the job done. 258 00:13:40,580 --> 00:13:46,260 Then I found that there's some interesting stuff with this file that's being called from 259 00:13:46,260 --> 00:13:47,200 that previous script. 260 00:13:47,340 --> 00:13:52,540 And it turns out that as long as this file exists, then that previous program doesn't 261 00:13:52,540 --> 00:13:54,800 actually do this relocking thing. 262 00:13:55,160 --> 00:14:00,220 And that makes it really handy to continue having root on the device once you get it. 263 00:14:00,280 --> 00:14:00,520 Okay. 264 00:14:00,540 --> 00:14:04,120 So basically all you'd have to do is just drop in this file as soon as you've got 265 00:14:04,120 --> 00:14:04,800 access to the thing. 266 00:14:04,920 --> 00:14:08,360 And then you can reboot it and you've got complete access for as long as you want. 267 00:14:08,520 --> 00:14:10,200 It enables SSH. 268 00:14:10,300 --> 00:14:14,300 So you can SSH into it with a default user pass, which is pretty cool. 269 00:14:15,460 --> 00:14:17,280 And this file even gets executed. 270 00:14:17,520 --> 00:14:21,380 So if you have anything that you want to have run every time you boot up the device, like 271 00:14:22,820 --> 00:14:28,660 killing SNMPD or changing your firewall rules or changing passwords so that you're not using 272 00:14:28,660 --> 00:14:30,020 default everything for everything. 273 00:14:31,460 --> 00:14:32,720 It's a handy place to do that. 274 00:14:38,760 --> 00:14:42,120 So once you have root, you can go ahead and enable SSH. 275 00:14:43,560 --> 00:14:49,520 And then you can SSH into the device with a default login of admin and password tools. 276 00:14:49,920 --> 00:14:55,640 It drops you into a debug command line, which you can drop out of with the type in shell, 277 00:14:55,940 --> 00:14:58,640 which then drops us to a very old version of busy box. 278 00:15:00,040 --> 00:15:00,520 Okay. 279 00:15:00,540 --> 00:15:06,320 So by exporting the path of all the binary locations, we can see all the system binaries. 280 00:15:06,460 --> 00:15:07,620 There's a lot of stuff there. 281 00:15:08,760 --> 00:15:10,140 There's stuff to control the radio. 282 00:15:10,580 --> 00:15:13,440 There's some debug commands that were built in by the seam. 283 00:15:14,860 --> 00:15:16,820 But there's just way too much to cover here. 284 00:15:17,420 --> 00:15:20,480 What is interesting is that you have direct access to IP tables. 285 00:15:21,780 --> 00:15:28,220 And you can access the CVE tools, which allow you to directly read and write to certain parts 286 00:15:28,220 --> 00:15:29,420 of memory on the device. 287 00:15:30,540 --> 00:15:34,660 And you can adjust radio configuration parameters and possibly break your device if you don't 288 00:15:34,660 --> 00:15:35,200 know what you're doing. 289 00:15:35,600 --> 00:15:36,760 So be careful. 290 00:15:44,220 --> 00:15:48,040 So the devices have a web interface with a default password of Motorola. 291 00:15:48,400 --> 00:15:49,540 You just type in the password. 292 00:15:50,500 --> 00:15:56,660 If you look behind the scenes, though, it's just passing the user name router in the form. 293 00:15:57,760 --> 00:16:00,360 If you change that to admin tools, you log in. 294 00:16:00,360 --> 00:16:03,200 And bypass any password protections on the web interface. 295 00:16:04,760 --> 00:16:08,740 And there's no changing that unless you actually have a shell on the device. 296 00:16:08,980 --> 00:16:14,060 So any default consumer device that hasn't been unlocked is affected by this. 297 00:16:14,560 --> 00:16:16,480 By default, it's not web accessible. 298 00:16:16,780 --> 00:16:20,620 But if anyone gets on your LAN and you change your password on your device, they can get 299 00:16:20,620 --> 00:16:21,720 right back in and change everything. 300 00:16:22,520 --> 00:16:26,020 This year at B-Sides, I logged in and changed the host name to my user name so when people 301 00:16:26,020 --> 00:16:29,320 trace routed out, they would see me and be like, who the fuck is that guy? 302 00:16:29,940 --> 00:16:30,340 Okay. 303 00:16:36,040 --> 00:16:38,300 These are some of the clear mobile devices. 304 00:16:39,480 --> 00:16:44,440 The one that you see in the middle is the basic mobile USB stick. 305 00:16:44,660 --> 00:16:45,540 It's been out for a while. 306 00:16:45,740 --> 00:16:49,920 You plug it into your laptop and you get a 4G connection. 307 00:16:51,040 --> 00:16:55,440 It works in Windows and OS 10 now. 308 00:16:55,680 --> 00:16:59,460 It's got some people working on trying to get Linux support. 309 00:16:59,460 --> 00:17:00,980 But it's still kind of sketchy. 310 00:17:01,840 --> 00:17:08,120 The second device that you see is the 3G, 4G USB stick. 311 00:17:08,300 --> 00:17:14,780 And that will actually downgrade to 3G if you're in an area that doesn't have the 4G, 312 00:17:14,900 --> 00:17:15,560 which is nice. 313 00:17:17,240 --> 00:17:23,460 The next spot that you see here is ‑‑ or the next device at the top is the ClearSpot. 314 00:17:23,960 --> 00:17:28,660 The ClearSpot is essentially a wireless access point, which is really neat. 315 00:17:28,660 --> 00:17:35,480 Because then you can plug in the mobile device and it will use the mobile device to get to 316 00:17:35,480 --> 00:17:40,600 the Internet and distribute out the connection to a local wireless network so anyone can 317 00:17:40,600 --> 00:17:41,060 connect in. 318 00:17:42,740 --> 00:17:49,840 And by default, the ‑‑ or all the passwords for the ClearSpot to log on and to get into 319 00:17:49,840 --> 00:17:55,860 the admin interface is the last three bytes of the MAC address in hex form, so six characters. 320 00:17:57,060 --> 00:17:58,640 And ‑‑ yeah. 321 00:17:58,660 --> 00:18:01,040 You can just see that from the network traffic. 322 00:18:01,560 --> 00:18:05,520 So that's not necessarily the best default password to use if you're going to use a default 323 00:18:05,520 --> 00:18:05,900 password. 324 00:18:06,520 --> 00:18:07,720 But ‑‑ yeah. 325 00:18:11,940 --> 00:18:13,460 You have to listen to me again. 326 00:18:14,060 --> 00:18:18,840 So the mobile device is not quite as exciting. 327 00:18:19,220 --> 00:18:20,420 Less RAM, less flash. 328 00:18:20,760 --> 00:18:22,300 A little bit faster processor. 329 00:18:22,540 --> 00:18:23,240 It's a weird one. 330 00:18:23,440 --> 00:18:28,000 It's a mass or massy ‑‑ I had never actually seen one of these before. 331 00:18:28,140 --> 00:18:28,440 You know. 332 00:18:28,660 --> 00:18:29,660 But not that I've seen much. 333 00:18:31,120 --> 00:18:34,340 The chip debugging is a royal pain in the behind. 334 00:18:34,720 --> 00:18:36,040 It's not using standard JTAG. 335 00:18:36,200 --> 00:18:38,220 It's using SPI. 336 00:18:38,460 --> 00:18:43,900 Now a lot of you are probably familiar with SPI as a method for accessing flash or RAM 337 00:18:43,900 --> 00:18:45,240 or other devices. 338 00:18:45,940 --> 00:18:50,200 But for actually doing debugging, it's kind of a strange thing. 339 00:18:50,340 --> 00:18:51,720 I've never seen it before. 340 00:18:51,840 --> 00:18:53,480 I had to read some articles to figure that one out. 341 00:18:54,900 --> 00:18:57,600 It's using a completely proprietary instruction set. 342 00:18:57,600 --> 00:19:00,900 Which makes it a challenge to figure out exactly what's going on inside. 343 00:19:01,300 --> 00:19:03,180 And it's definitely not running Linux. 344 00:19:04,000 --> 00:19:06,620 So at that point, I became a lot less interested in it. 345 00:19:07,000 --> 00:19:11,500 But in order to figure that out, of course, you have to figure out what's in the board 346 00:19:11,500 --> 00:19:11,680 again. 347 00:19:13,480 --> 00:19:19,280 And since the JTAG interface was nonexistent, and that was really frustrating for me, I 348 00:19:19,280 --> 00:19:23,280 didn't really know how to pull the memory out of the ‑‑ or pull the dumps out 349 00:19:23,280 --> 00:19:23,600 of the flash. 350 00:19:25,440 --> 00:19:26,820 So I got creative. 351 00:19:27,860 --> 00:19:30,540 And ‑‑ oh, I just gave it away. 352 00:19:30,740 --> 00:19:30,980 Shoot. 353 00:19:31,160 --> 00:19:36,000 I was going to show something else which got ‑‑ oh, there it is. 354 00:19:36,100 --> 00:19:36,700 In the wrong order. 355 00:19:36,900 --> 00:19:37,300 Interesting. 356 00:19:38,680 --> 00:19:42,540 So if you look at this chip that's in the red box, and I know you can't actually tell 357 00:19:42,540 --> 00:19:47,300 from where you're sitting most likely, the solder job on that chip looks really horrible. 358 00:19:47,520 --> 00:19:48,940 It's because I did it by hand. 359 00:19:50,020 --> 00:19:54,760 And basically what I did is I just pulled the flash off of the clear spot and I put 360 00:19:54,760 --> 00:19:55,640 it onto a different device. 361 00:19:55,980 --> 00:19:56,520 I'm curious. 362 00:19:57,600 --> 00:19:58,580 I didn't recognize that device. 363 00:20:03,020 --> 00:20:04,320 I heard linksys. 364 00:20:06,380 --> 00:20:08,320 Is it a WR54G? 365 00:20:09,320 --> 00:20:10,060 No, it is not. 366 00:20:11,000 --> 00:20:11,860 It's close, though. 367 00:20:12,320 --> 00:20:13,400 Oh, hand over here. 368 00:20:13,640 --> 00:20:15,700 Motorola surfboard. 369 00:20:15,920 --> 00:20:16,180 That is correct. 370 00:20:16,600 --> 00:20:17,160 What model? 371 00:20:21,260 --> 00:20:22,140 Well, okay. 372 00:20:22,400 --> 00:20:22,840 Cheater. 373 00:20:23,460 --> 00:20:23,900 Yeah. 374 00:20:24,000 --> 00:20:24,180 Okay. 375 00:20:24,220 --> 00:20:24,940 So here's a closer view. 376 00:20:25,660 --> 00:20:26,100 Yes. 377 00:20:26,120 --> 00:20:27,400 It's the surfboard 5120. 378 00:20:27,520 --> 00:20:27,580 Okay. 379 00:20:27,600 --> 00:20:32,560 And yeah, that board has MIPS 32, EJ tag, all the stuff that I'm totally familiar with, 380 00:20:32,660 --> 00:20:36,620 which is basically the same as on the home router. 381 00:20:37,180 --> 00:20:41,760 So I was able to just drop the flash on there and my tool set was already ready for me. 382 00:20:41,960 --> 00:20:43,940 And I was able to pull the flash off like that. 383 00:20:46,000 --> 00:20:51,480 So this is a mod that was done by a friend of ours, Loki, basically just putting a big 384 00:20:51,480 --> 00:20:53,300 antenna onto the USB stick. 385 00:20:53,680 --> 00:20:54,800 And it works great. 386 00:20:55,600 --> 00:20:57,580 So there's a lot of different options. As far as the flash. 387 00:20:57,580 --> 00:21:01,160 As far as the mobile devices and tearing them apart and playing with them. 388 00:21:09,340 --> 00:21:11,260 This is the HTC EVO. 389 00:21:11,460 --> 00:21:14,720 I'm very happy to have gotten mine a couple weeks ago. 390 00:21:15,120 --> 00:21:21,840 It is the first mobile device that has the 4G built into it. 391 00:21:22,140 --> 00:21:23,480 And so it uses WiMAX. 392 00:21:23,580 --> 00:21:25,080 It uses a sequence chip set. 393 00:21:25,240 --> 00:21:27,560 So it's a bit different than anything that we have. 394 00:21:27,580 --> 00:21:28,640 We've really looked at before. 395 00:21:30,120 --> 00:21:36,980 But when I was getting familiar with some of the Android tools, I did the whole ADB 396 00:21:36,980 --> 00:21:43,780 shell and poked around a bit and noticed that if you use get prop and set prop, you 397 00:21:43,780 --> 00:21:54,480 can list out a lot of the variables that are stored in the like environment variables 398 00:21:54,940 --> 00:21:55,520 sort of deal. 399 00:21:55,600 --> 00:21:57,500 That has a lot of the configuration details. 400 00:21:57,580 --> 00:22:04,140 For the WiMAX, which is really interesting, and it will tell you things about the like 401 00:22:04,140 --> 00:22:09,320 towers that you're connected to and like MAC address and just a whole bunch of really 402 00:22:09,320 --> 00:22:10,040 interesting numbers. 403 00:22:11,900 --> 00:22:19,020 When I flashed my modem using Toast's what step two of the how to root your Android, 404 00:22:19,630 --> 00:22:27,140 I noticed that he had modified an engineering build of the EVO firmware, which is really 405 00:22:27,140 --> 00:22:31,140 neat because that came with a bunch of diagnostic tools for WiMAX. 406 00:22:31,760 --> 00:22:37,160 And I ripped those APKs out of that build and put them on the website. 407 00:22:37,820 --> 00:22:44,760 And so now if you download the APKs, you can install them onto whatever version of the 408 00:22:44,760 --> 00:22:45,360 phone that you have. 409 00:22:45,600 --> 00:22:49,540 So that's kind of fancy and it lets you see things like tower connectivity and little 410 00:22:49,540 --> 00:22:51,960 debug logs and all sorts of fun with that. 411 00:22:52,840 --> 00:22:56,420 Also if you have a rooted phone, you can do the WiMAX tether. 412 00:22:57,140 --> 00:22:59,820 Which essentially turns the phone into a clear spot, which is really nice. 413 00:23:00,280 --> 00:23:02,680 And it also has really good access controls. 414 00:23:04,700 --> 00:23:07,380 Yesterday I got to play with a deactivated EVO. 415 00:23:07,440 --> 00:23:12,020 And I noticed that even when it has no service, you get the captive portal page. 416 00:23:12,320 --> 00:23:16,100 And the captive portal page can be bypassed with the same techniques that were discussed 417 00:23:16,100 --> 00:23:18,840 earlier, except it's on a phone, which is nice. 418 00:23:20,440 --> 00:23:25,860 Right now if you want to be using WiMAX on the phone, you pretty much have to be using 419 00:23:25,860 --> 00:23:26,660 2.1. 420 00:23:27,260 --> 00:23:30,580 Which is like Android 2.1, which is the version that comes with the phone. 421 00:23:30,960 --> 00:23:35,100 And I've messed with fresh and I've messed with damage control and they both seem to 422 00:23:35,100 --> 00:23:36,980 work fine for the WiMAX. 423 00:23:38,160 --> 00:23:45,740 Cyanogen does not quite work yet, but ToastCFH and the other guy are working really, really 424 00:23:45,740 --> 00:23:46,840 hard on getting that working. 425 00:23:48,120 --> 00:23:54,020 And they're trying to get it working with the Android WiMAX framework that was released 426 00:23:54,020 --> 00:23:55,740 from clear about a year ago. 427 00:23:56,000 --> 00:23:56,820 Which is neat. 428 00:23:57,140 --> 00:24:01,080 Because then it would all be open source connectivity to the drivers. 429 00:24:01,580 --> 00:24:08,740 And that will allow Cyanogen to continue to have the 4G in their builds from then on. 430 00:24:13,780 --> 00:24:19,660 So by show of hands, how many people here like their privacy when they're using their 431 00:24:20,320 --> 00:24:22,180 wireless devices of any kind? 432 00:24:23,360 --> 00:24:24,040 Very cool. 433 00:24:24,280 --> 00:24:25,880 You guys are going to be upset with this. 434 00:24:27,820 --> 00:24:32,380 They're running location-based services, a lot of the major telcos, wireless telcos 435 00:24:32,380 --> 00:24:36,820 are getting this all ramped up and they're trying to say that this is the next thing 436 00:24:36,820 --> 00:24:41,020 for social networking and that you should just let all your friends know where you're 437 00:24:41,020 --> 00:24:42,780 at with the phone that's in your pocket. 438 00:24:43,160 --> 00:24:45,760 Things like Google Latitude are taking advantage of that and whatnot. 439 00:24:47,100 --> 00:24:51,220 But with location-based services with WiMAX, it's a little bit different. 440 00:24:53,120 --> 00:24:55,340 Basically there's two types of ways. 441 00:24:55,340 --> 00:25:00,000 One is you can get your location with Clear or Sprint or any of them. 442 00:25:01,380 --> 00:25:06,960 The first one is a client-server relationship that is done through AJAX and a web page. 443 00:25:07,360 --> 00:25:11,240 So you go to the web page or the URL that's listed right there. 444 00:25:11,580 --> 00:25:16,520 And it will bring up a pretty little Google Maps and put a dot with a circle around it 445 00:25:16,880 --> 00:25:18,760 of roughly the location that you're in. 446 00:25:19,680 --> 00:25:24,020 The second way is for direct server-to-server communication. 447 00:25:24,360 --> 00:25:25,320 And that's using Google Maps. 448 00:25:27,500 --> 00:25:35,300 And that allows me as a developer or the service provider to put in your IP address 449 00:25:35,300 --> 00:25:38,120 or MAC address and I can just find out where you're at. 450 00:25:39,260 --> 00:25:40,400 No questions asked. 451 00:25:42,600 --> 00:25:53,720 So basically, so after playing around with this a little bit, as soon as I got access 452 00:25:53,720 --> 00:25:55,320 to this, the first thing I wanted to do is, I'm going to show you a little bit of what 453 00:25:55,340 --> 00:25:55,580 I was doing. 454 00:25:55,580 --> 00:25:56,540 You know, I was trying to figure out how accurate this is. 455 00:25:56,740 --> 00:25:59,220 I mean, is this something where they're going to be able to drop a missile on your 456 00:25:59,220 --> 00:26:00,580 head by using LBS or not? 457 00:26:01,140 --> 00:26:07,020 So I set up a script, recorded my location and just drove around town for hours and hours 458 00:26:07,020 --> 00:26:07,340 and hours. 459 00:26:08,080 --> 00:26:11,160 And it was actually pretty impressive driving around. 460 00:26:11,380 --> 00:26:14,220 Like, you maintain connectivity at 60 miles an hour going down the freeway. 461 00:26:14,340 --> 00:26:16,120 So I was pretty impressed by that. 462 00:26:16,860 --> 00:26:24,740 But I started to notice that through the ParallelX API, all the ranges that I was getting seemed 463 00:26:24,740 --> 00:26:25,320 to be predetermined. 464 00:26:25,340 --> 00:26:31,540 defined. It wasn't dynamic. And all the ranges are listed right there that I saw driving 465 00:26:31,540 --> 00:26:37,500 around town and there was nothing in between those numbers. So you can see the level of 466 00:26:37,500 --> 00:26:44,180 accuracy that the location based services has. Now the way they're doing this is based 467 00:26:44,180 --> 00:26:50,480 on the tower and the sector panel location and the orientation of that panel. They keep 468 00:26:50,480 --> 00:26:58,500 track of every panel. They know exactly which degree it is pointing. And then they take 469 00:26:58,500 --> 00:27:06,800 the power reading and basically are determining how far away or how accurate that is. However, 470 00:27:07,380 --> 00:27:14,460 they are working on using multiple towers to help basically triangulate where you are 471 00:27:14,460 --> 00:27:19,600 at and to increase the accuracy of that. It is being worked on but there has not been 472 00:27:19,600 --> 00:27:20,400 an announced ET. 473 00:27:20,480 --> 00:27:25,780 And I'm kind of curious to see how accurate that's going to be and see if the predefined 474 00:27:25,780 --> 00:27:35,040 ranges kind of goes out the window and it gets a little bit more accurate. So this is 475 00:27:35,040 --> 00:27:40,000 the part that really kind of caught my attention was that with the location based services, 476 00:27:40,140 --> 00:27:47,280 if you go sign up or you just buy hardware, you're opted in by default. And if you don't 477 00:27:47,280 --> 00:27:49,220 like that, tough shit. 478 00:27:49,220 --> 00:27:55,180 They don't let you opt out. You have to email engineering. You've got to get a hold of the right 479 00:27:55,180 --> 00:28:01,220 people in the engineering department and say, I want my LBS turned off. Otherwise, it doesn't 480 00:28:01,220 --> 00:28:06,540 matter if you're using sprint, Comcast, Clear, Time Warner, if someone gets your IP address, 481 00:28:06,700 --> 00:28:13,040 they can pop it in there and find out roughly where you're at. And another thing we noticed 482 00:28:13,040 --> 00:28:18,480 driving around is that there seems to be random dead spots throughout the network. And it's 483 00:28:18,480 --> 00:28:23,460 like you're on one tower and you drive into this area and you're gone. Like LBS quits 484 00:28:23,460 --> 00:28:30,880 reporting, gives you back a service error and you just find a dead spot. So that might be 485 00:28:30,880 --> 00:28:36,740 interesting if anyone is doing any fun things over WiMAX. You might want to maybe play around 486 00:28:36,740 --> 00:28:48,460 with that and go find a dead spot. That might be advisable. So. Right now none of the 487 00:28:48,480 --> 00:28:53,020 these WiMAX devices have an open source firmware and that's definitely something that I think 488 00:28:53,020 --> 00:28:59,520 would be really cool to see in the future. We're also looking at trying to put something like 489 00:28:59,520 --> 00:29:04,740 open work on one of these home devices to actually get real control and package management on 490 00:29:05,240 --> 00:29:17,980 what's going on on the system. Also, the future of WiMAX, the 802.16n spec provides one gigabit 491 00:29:17,980 --> 00:29:26,980 fixed bandwidth, which is pretty fast. I don't know how they're going to pull that off. I mean, 492 00:29:27,020 --> 00:29:32,440 I've looked at the spec, but I've seen it in labs and I don't know how they're claiming they're 493 00:29:32,440 --> 00:29:35,980 going to get one gigabit a second over the airwaves. I just don't buy it. I'll believe it 494 00:29:35,980 --> 00:29:46,060 when I see it. So I just posted some stuff to our Google group, which will be listed on a slide 495 00:29:46,060 --> 00:29:47,800 later on. Maybe it's the next one. 496 00:29:48,420 --> 00:29:53,540 What do you know? There it is right there. So there's the WiMAX hacking Google group. That's 497 00:29:53,540 --> 00:29:58,780 second from the bottom down there. And if you go to that list, you'll see the post that I just made 498 00:29:58,780 --> 00:30:07,320 that points to the Google code project. And that has some code for you to play with. The APKs that 499 00:30:07,320 --> 00:30:16,260 Pierce mentioned earlier for your Evo. And also some stuff that I put together for using open OCD 500 00:30:16,260 --> 00:30:17,960 in order to do the JT. 501 00:30:17,980 --> 00:30:26,020 So that's the JT tag with the home router device. And does anybody want to see a demo of the 502 00:30:26,020 --> 00:30:26,700 device getting rooted? 503 00:30:28,740 --> 00:30:34,000 Yeah? Because I think we have a couple of minutes. We could probably set that up. I don't 504 00:30:34,000 --> 00:30:41,860 know. That seems like a medium ‑‑ we could also do it somewhere else. Yeah? Okay. I 505 00:30:41,860 --> 00:30:46,660 hear the bring it. That sounds good. That sounds good. Is there anything else on here? Does 506 00:30:46,660 --> 00:30:47,860 everybody have these URLs? 507 00:30:47,980 --> 00:30:49,180 I'm going to pull the plug. 508 00:30:53,500 --> 00:31:00,740 They're on the interwebs. And the disk points you to the interwebs. So it will get you there 509 00:31:00,740 --> 00:31:01,040 eventually. 510 00:31:05,360 --> 00:31:05,960 . 511 00:31:12,200 --> 00:31:14,000 Pardon our brief changeover. 512 00:31:14,920 --> 00:31:15,520 . 513 00:31:17,360 --> 00:31:17,960 . 514 00:32:37,860 --> 00:32:45,520 I just asked for it. They sent it back. 515 00:32:47,280 --> 00:32:47,680 . 516 00:32:49,440 --> 00:32:51,440 Right now we cannot change our Mac address. 517 00:32:52,480 --> 00:32:53,860 Well, you're not supposed to anyway. 518 00:32:56,560 --> 00:32:56,960 . 519 00:33:02,580 --> 00:33:02,980 . 520 00:33:02,980 --> 00:33:06,260 So is this supposed to just pop up there or does somebody have to push a button somewhere? 521 00:33:06,900 --> 00:33:07,300 No. 522 00:33:07,440 --> 00:33:09,880 Okay. That means I'm doing it wrong. 523 00:33:10,220 --> 00:33:11,740 No, no. The screen is doing something. 524 00:33:11,740 --> 00:33:12,220 Oh. 525 00:33:14,000 --> 00:33:14,500 . 526 00:33:14,500 --> 00:33:15,820 There we go. Yeah, thanks. 527 00:33:18,620 --> 00:33:19,120 . 528 00:33:19,120 --> 00:33:20,440 Hey, Kenny, check screen. 529 00:33:21,260 --> 00:33:21,760 . 530 00:33:22,600 --> 00:33:23,100 . 531 00:33:23,100 --> 00:33:23,160 . 532 00:33:23,160 --> 00:33:23,440 . 533 00:33:23,440 --> 00:33:23,520 . 534 00:33:23,520 --> 00:33:23,660 . 535 00:33:23,660 --> 00:33:23,740 . 536 00:33:23,740 --> 00:33:24,160 . 537 00:33:24,160 --> 00:33:24,660 . 538 00:33:26,400 --> 00:33:26,920 . 539 00:33:40,100 --> 00:33:40,620 . 540 00:33:40,620 --> 00:33:40,820 . 541 00:33:40,820 --> 00:33:41,000 . 542 00:33:41,000 --> 00:33:41,520 . 543 00:33:41,520 --> 00:33:41,740 . 544 00:33:42,640 --> 00:33:43,160 . 545 00:33:43,160 --> 00:33:43,180 . 546 00:33:43,180 --> 00:33:43,240 . 547 00:33:43,240 --> 00:33:43,500 . 548 00:33:51,020 --> 00:33:51,080 . 549 00:34:03,580 --> 00:34:03,640 . 550 00:34:03,640 --> 00:34:03,660 . 551 00:34:03,660 --> 00:34:03,680 . 552 00:34:03,680 --> 00:34:03,700 . 553 00:34:03,700 --> 00:34:03,720 . 554 00:34:03,720 --> 00:34:03,760 . 555 00:34:05,660 --> 00:34:05,720 . 556 00:34:05,800 --> 00:34:05,860 . 557 00:34:05,860 --> 00:34:05,880 . 558 00:34:06,020 --> 00:34:06,080 . 559 00:34:06,080 --> 00:34:06,160 . 560 00:34:06,160 --> 00:34:06,180 . 561 00:34:06,180 --> 00:34:06,200 . 562 00:34:18,640 --> 00:34:28,280 It's still before noon. LBS will work if you're on the tower, if you're connected to the network, 563 00:34:28,460 --> 00:34:32,240 it will be able to tell roughly where you're at. 564 00:34:57,600 --> 00:35:03,280 Kenny, look at this screen. You had a console blinking. I think that one is being chopped 565 00:35:03,280 --> 00:35:13,480 at the top. Hit enter a couple of times. Now it's gone again. All right. I'm going to 566 00:35:13,500 --> 00:35:21,240 keep stalling. So, yeah, right now it's single tower and single panel antenna and that's 567 00:35:21,240 --> 00:35:26,320 really the only way they're determining where you're at. Again, like I said, it's several 568 00:35:26,320 --> 00:35:30,880 hundred meters is generally the distance between each predefined range right now that they 569 00:35:30,880 --> 00:35:36,660 can determine. So it's not horribly accurate, but if I really was determined to go get you, 570 00:35:37,120 --> 00:35:42,220 I could use LBS to narrow down roughly where you're at and kind of go snoop around from 571 00:35:42,220 --> 00:35:42,420 there. 572 00:35:48,160 --> 00:35:49,660 I see a hand. Yeah, go ahead. 573 00:36:00,820 --> 00:36:05,220 Yes. Here's the caveat with that. Location-based services will tell if you're lying. 574 00:36:06,420 --> 00:36:11,260 It works. I've been using it whenever I come to Las Vegas. I've never even managed it. 575 00:36:13,960 --> 00:36:15,320 I don't know if it's working. 576 00:36:19,980 --> 00:36:24,980 So, we've noticed with Clear because we had some friends that we all met when we all 577 00:36:24,980 --> 00:36:29,300 came to DEF CON, we told them buy some gear and they got here and it just started working 578 00:36:29,300 --> 00:36:33,080 for days. I mean, they didn't register, didn't do anything. So it's kind of like they're 579 00:36:33,440 --> 00:36:36,720 giving you a teaser when you buy the gear. It just works for a little bit so you can 580 00:36:36,720 --> 00:36:39,980 get a taste of it and then they're just like, oh, okay, pass. 581 00:36:40,780 --> 00:36:41,140 So. 582 00:36:59,580 --> 00:37:02,100 Ya, no, and they do do that. We've also 583 00:37:02,100 --> 00:37:07,780 noticed that with some of these home routers, they seem to kind of keep tabs on your home 584 00:37:07,780 --> 00:37:11,040 router once it's been turned on. They're like, hey, we've noticed you in this area. 585 00:37:11,040 --> 00:37:14,200 and if your home router starts jumping all over the place, it 586 00:37:15,220 --> 00:37:24,580 quits working in some areas. It doesn't stop LVS. We haven't 587 00:37:24,580 --> 00:37:28,060 had luck yet. I see blinky cursor maybe. Hey, we got a 588 00:37:28,060 --> 00:37:39,600 blinky cursor. That's good. Hey, there we go. That's 589 00:37:40,440 --> 00:37:47,920 good. So what this is doing right now is basically this is 590 00:37:47,920 --> 00:37:50,780 really gross. I'm kind of embarrassed by it. Actually, I'm 591 00:37:50,780 --> 00:37:54,200 really embarrassed by it. It took me a long time to be okay 592 00:37:54,200 --> 00:37:57,460 and settle in with the concept of releasing this code to the 593 00:37:57,460 --> 00:38:03,680 public because it's so awful. But it's effective. So I've got 594 00:38:03,680 --> 00:38:08,440 a shell script that's starting screen that's using open OCD to 595 00:38:09,100 --> 00:38:11,020 load some TCL scripts. So I've got a shell script that's 596 00:38:11,040 --> 00:38:11,180 using open OCD to load some TCL scripts. So I've got a shell 597 00:38:11,180 --> 00:38:13,600 It's a good thing. It's because open OCD uses TCL as its script 598 00:38:13,600 --> 00:38:16,400 interpreter. Man, I haven't touched TCL in like ten years. 599 00:38:16,520 --> 00:38:21,320 You guys remember egg drop bots. Anyway, different story. So 600 00:38:21,320 --> 00:38:24,400 these TCL code bits, they're bringing in some MIPS 32 machine 601 00:38:24,400 --> 00:38:28,660 code and dropping it via JTAG and that's what's actually 602 00:38:28,660 --> 00:38:32,340 transferring data between flash and RAM and moving things around. 603 00:38:32,520 --> 00:38:36,080 So I'm taking ‑‑ hey, I think it's mostly done, actually. 604 00:38:36,880 --> 00:38:41,020 There's a nice little PS listing. That's what's running on 605 00:38:41,040 --> 00:38:50,700 the box and there's root. Takes about a minute and a half to run. So what it did, does 606 00:38:50,700 --> 00:38:55,420 anybody care? Sort of? Because there's the mailing list, too, and there's going to be 607 00:38:55,420 --> 00:39:01,580 documentation there, so I don't want to bore everybody to death here. What the hell did 608 00:39:01,580 --> 00:39:05,880 it do? I don't know. I try to figure it out sometimes, but man, most of this code I wrote 609 00:39:05,880 --> 00:39:10,220 like a year ago, so I've kind of forgotten. But generally, so what it's doing is it goes 610 00:39:10,220 --> 00:39:17,140 in and it transfers the bootloader config to a temporary area, you know, just somewhere else 611 00:39:17,140 --> 00:39:23,020 in Flash where it won't get nuked, and then allows the original bootloader config to be 612 00:39:23,020 --> 00:39:31,340 overwritten or it actually erases it and lets a temporary one be written. I just said um. I'm 613 00:39:31,340 --> 00:39:38,120 trying not to do that. Mental note. Thanks. Have any of you spoken before at one of these 614 00:39:38,120 --> 00:39:39,820 conferences? Show of hands. 615 00:39:40,220 --> 00:39:44,040 Just like, yeah, there's a couple people. Okay. You feel my pain. This is my first 616 00:39:44,040 --> 00:39:48,180 time, so, you know. And it's still 10 a.m. and god damn last night was awesome. 617 00:39:48,180 --> 00:39:53,440 It's not 10 a.m. It's almost 11. Shoot. What time is it anyway? Oh, almost there. 11. 618 00:39:53,680 --> 00:40:00,440 Cool. I should get the hell out of here then. So the gist of the story is it shuffles a bunch of junk 619 00:40:00,440 --> 00:40:06,420 around, lets things get recreated, and then kind of does a little jerry rigging and a little bit of 620 00:40:06,420 --> 00:40:10,200 this and a little bit of that to sneak this console stuff out of the way. And then it's 621 00:40:10,200 --> 00:40:16,660 all unlocked past the scripts that are checking for it and the program that automatically resets 622 00:40:16,660 --> 00:40:23,120 it to locked. I can page up through this stuff, but it's really boring. If you want more detail, 623 00:40:23,280 --> 00:40:27,880 really, I think you should just come and chat with me. Because seriously, the details and the 624 00:40:27,880 --> 00:40:33,340 integrity and looking at the MIPS 32 code is pretty gross. But the code is available for 625 00:40:33,340 --> 00:40:36,740 perusal at this point. And there are some comments in there that probably don't make any sense 626 00:40:36,740 --> 00:40:40,180 because I've been making them for the last, you know, eight hours or so instead of this long 627 00:40:40,200 --> 00:40:46,900 sleeping. Good times. Good times, yeah. And we have the breakout session in 107, I think. 628 00:40:47,020 --> 00:40:52,040 107. So. Be there, be square. If you want any more, you know, intimate question-asking 629 00:40:52,040 --> 00:40:58,240 sessions or anything, then we'll be over there. Are there any questions while we're in here? 630 00:40:58,440 --> 00:41:02,320 Yeah. Any big ones? We had a question over here. 631 00:41:10,680 --> 00:41:16,680 No. Okay. So the question was last year during the talk, we announced that any two modems on the 632 00:41:16,680 --> 00:41:20,760 network, whether they were registered or not, could talk to each other. And so the question was, 633 00:41:21,540 --> 00:41:27,220 did they ever patch that? Did they do anything to it? No, they didn't. If you have the 634 00:41:27,220 --> 00:41:33,520 hardware, it gives you an IP address. It's pretty much like a big, giant, nationwide wireless 635 00:41:33,520 --> 00:41:39,660 LAN party. I mean, if you got your friend's IP address, go nuts. Just tunnel, play video games, 636 00:41:39,660 --> 00:41:43,980 stream movies, do whatever the hell you want. I mean, oh, I didn't say that. Yeah, make sure you 637 00:41:43,980 --> 00:41:48,180 pay for service so you don't get in trouble, you know. Yeah. LBS is a bitch. They will be able to 638 00:41:48,180 --> 00:41:53,200 come find you. It's going to be a lot different than, like, big, giant, shared, wired, you know, 639 00:41:53,200 --> 00:41:59,940 cable networks like Comcast. They'll be able to track you a lot more finite than Comcast could do 640 00:41:59,940 --> 00:42:04,960 on their network with people who are, you know, stealing service. It's always very important 641 00:42:04,960 --> 00:42:09,640 to balance the give and take ratio. How much do you pay? I don't know. I don't know. 642 00:42:09,660 --> 00:42:14,520 Pay them versus how much do you take from them, you know. It's very important to keep that all 643 00:42:14,520 --> 00:42:19,400 in mind. Also, one thing that we did mention last year, apparently, was that the clear spot 644 00:42:19,400 --> 00:42:24,520 runs Linux. And that's not true. It does not run Linux. We learned the hard way. Sorry about 645 00:42:24,520 --> 00:42:29,720 that. But just so you know, it's not Linux. Any other questions? 646 00:42:31,360 --> 00:42:38,940 Can LBS be used for mass surveillance? Can LBS be used for mass surveillance? Ooh. 647 00:42:39,660 --> 00:42:45,540 So I think what you'd be referring to is, like, just drift netting, anything, everything that 648 00:42:45,540 --> 00:42:53,580 comes in there. I believe it could. They have two different servers. They've got a development 649 00:42:53,580 --> 00:42:58,600 server and a production server, but both kind of give you the same results. And with the 650 00:42:58,600 --> 00:43:02,100 development environment, though, they're a little bit more restrictive than the production 651 00:43:02,100 --> 00:43:06,140 environment. The production environment is sitting on some big old servers that just kind of let 652 00:43:06,140 --> 00:43:13,500 you go nuts. And, again, like I said, it's opt-in. You really do not have control of that. 653 00:43:13,740 --> 00:43:19,880 You get on the network. Within a few minutes, someone could look you up on LBS, and there's not a 654 00:43:19,880 --> 00:43:24,440 whole lot you could do. And you could just start going through every possible MAC address or IP 655 00:43:24,440 --> 00:43:29,420 address in the net block and just start pulling people's locations. And you could, after several 656 00:43:29,420 --> 00:43:33,340 hours, probably data mine a good portion of everyone's location going through one of these 657 00:43:33,340 --> 00:43:36,120 networks. So. So I think the short answer to that is, yeah, it's a little bit of a 658 00:43:36,120 --> 00:43:39,700 different version of that is LBS scary. LBS very scary. Yes. 659 00:43:40,560 --> 00:43:43,400 Yes. Any other questions? Yes, sir. 660 00:43:43,980 --> 00:43:47,000 Does Clear tell people that they're being tracked via LBS? 661 00:43:47,520 --> 00:43:53,180 Does Clear tell people that they're being tracked via LBS? Is it in the contract? Has 662 00:43:53,180 --> 00:43:59,380 anybody seen it? I think that's the answer, really. If nobody's noticed that it's in the 663 00:43:59,380 --> 00:44:04,280 contract, then it's not visible enough. Whether they're actually including it or not, it's not 664 00:44:04,280 --> 00:44:06,100 visible enough. And that's if they're actually including it or not, it's not visible enough. And 665 00:44:06,120 --> 00:44:08,380 effectively, a no. Yes. 666 00:44:08,520 --> 00:44:13,000 I'm not sure how that differs very much from the cell phone tracking 667 00:44:13,000 --> 00:44:14,940 that they do for E911 services. 668 00:44:16,320 --> 00:44:18,180 It's that anyone can do it. 669 00:44:19,060 --> 00:44:27,220 Like I said before, I mean, it does require authorized access, but I asked for access. And 670 00:44:27,220 --> 00:44:28,480 they gave it to me for free. 671 00:44:28,760 --> 00:44:34,900 Yeah. So the question comment was, what's the difference here between E911 tracking and this 672 00:44:34,900 --> 00:44:35,640 LBS stuff. 673 00:44:35,640 --> 00:44:41,460 stuff. Well, LBS is available to any developer who wants to sign up for it. E911, you kind 674 00:44:41,460 --> 00:44:47,320 of have to be, like, in 911. I think that's the significant difference is we're giving 675 00:44:47,320 --> 00:44:52,180 our location information in real time to anyone else who wants it. And I'm not cool with that. 676 00:44:55,240 --> 00:45:03,120 Anybody else? Cool. Well, thanks a lot for your time. Again, this is Goldie, Sanity Bit, 677 00:45:04,520 --> 00:45:09,680 Pierce, and I am Asmiq. Have a great day. Thank you. Thank you, guys. Breakout in 107.