1 00:00:10,730 --> 00:00:12,790 Good morning, welcome to the Wired Village. 2 00:00:12,790 --> 00:00:15,370 My name is Zero Chaos and I'm an arrogant prick. 3 00:00:16,330 --> 00:00:17,190 Excellent. 4 00:00:17,190 --> 00:00:21,990 I have decided to commandeer the beginning of this talk just to give this fine man behind me an introduction. 5 00:00:22,130 --> 00:00:26,790 This fine gentleman is Simon Jay, the winner of last year's Fox Hunt, if I'm not mistaken. 6 00:00:27,070 --> 00:00:30,430 And Hide and Seek in all of our hearts. 7 00:00:32,290 --> 00:00:34,850 And the trainer of this year's winner of the Hide and Seek. 8 00:00:34,850 --> 00:00:37,890 Because apparently he was too tired last night and had to party. 9 00:00:38,730 --> 00:00:47,450 This fine gentleman has been accused of many things in his life, including war driving our houses and walking into the Wireless Village before it was open and taking pictures of all of the gear. 10 00:00:47,450 --> 00:00:55,590 You could all learn a thing or two from this gentleman, because again, all offense and defense is in play and if we forgot to lock the door, then it's probably our fault. 11 00:00:55,590 --> 00:01:02,410 So, without further ado, I present to you the man that you should all be listening and learning from because his team's in the lead. 12 00:01:02,410 --> 00:01:05,790 Is this mic actually on? 13 00:01:06,110 --> 00:01:07,930 No, it goes to the recording. 14 00:01:09,050 --> 00:01:11,530 Well, I'll just project then, like you do. 15 00:01:11,930 --> 00:01:16,370 Hi, thank you very much for the introduction there, Rick. 16 00:01:17,210 --> 00:01:20,530 So, as he said, I'm Simon Jay Adamworth. 17 00:01:20,530 --> 00:01:26,870 I want to make a quick shout out to my company here, Masterpiece Solutions, who kindly paid for me to come to the conference. 18 00:01:26,870 --> 00:01:29,430 So, thanks to them. 19 00:01:29,870 --> 00:01:32,730 Let me know, by the way, if anybody has trouble hearing me in the back. 20 00:01:32,830 --> 00:01:33,470 So, okay. 21 00:01:33,750 --> 00:01:34,390 All right. 22 00:01:34,470 --> 00:01:35,970 I'm going to step forward. 23 00:01:36,110 --> 00:01:36,330 You 24 00:01:39,810 --> 00:01:44,830 can follow me on Twitter at Simon Jay underscore DC if you want to. 25 00:01:44,830 --> 00:01:50,910 I'm actually not that interesting, but, you know, maybe some all caps news, maybe some hints if you're in the CTF. 26 00:01:51,710 --> 00:01:52,610 All right. 27 00:01:53,130 --> 00:01:55,010 A little bit about me is going to come first. 28 00:01:55,010 --> 00:02:09,030 Then we're going to go over what fox hunting is and really what sort of things you need in your repertoire to get into fox hunting, how to do it, and how to prepare to do it. 29 00:02:09,030 --> 00:02:11,050 So , who am I? 30 00:02:11,370 --> 00:02:15,590 As Rick mentioned, I was in the CTF last year. 31 00:02:15,590 --> 00:02:16,890 I had a great time. 32 00:02:16,890 --> 00:02:18,530 I learned a ton of stuff. 33 00:02:18,530 --> 00:02:39,710 It was my first year at DEF CON, actually, and I had so much fun doing the CTF and was actually really surprised then that I did so well in those two events that I thought, hey, you know, maybe other people can learn a little bit about what I was doing and then maybe the competition will be a little better next year. 34 00:02:40,470 --> 00:02:50,790 I'm hoping that we have a little bit of challenge in the fox hunt this year and some people really work hard to find it and apply some different techniques. 35 00:02:51,670 --> 00:03:11,170 Most of my career I have spent working in wireless communications, particularly dealing with geolocation of wireless emitters and sort of other esoteric wireless communication systems, which is how I found myself here and spending nearly all of my time in the wireless village. 36 00:03:11,170 --> 00:03:12,110 But I love it. 37 00:03:12,110 --> 00:03:17,950 So with that, let's just get right into it because I've got a lot of slides. 38 00:03:18,270 --> 00:03:19,550 What is fox hunting? 39 00:03:20,270 --> 00:03:27,910 Really, when we think of fox hunting, we're talking about the last mile or the last couple of miles down to the last few feet. 40 00:03:27,910 --> 00:03:39,390 So if you are outside of, say, a mile or two, you're going to really want different techniques like airborne direction finding to cover a wide area. 41 00:03:39,390 --> 00:03:41,410 And then you're talking about things that the military does. 42 00:03:41,410 --> 00:03:44,570 It's a little more expensive for most of us regular folks. 43 00:03:44,570 --> 00:03:51,110 And then if you're trying to find, say, a bug that's planted in a wall, you're going to have to do a lot more. 44 00:03:51,110 --> 00:04:01,990 It's just a completely different activity involving detailed wireless surveys, non-linear junction detectors, all kinds of craziness. 45 00:04:02,010 --> 00:04:11,650 So fox hunting is really between those two simple techniques using radios and antennas to find wireless emitters and just kind of be able to point at them. 46 00:04:14,110 --> 00:04:22,970 Particularly applicable reason why I'm here talking is because I want people in the wireless CTF to have a little more fun fox hunting this year. 47 00:04:23,050 --> 00:04:27,370 But the techniques are applicable really to all wireless emitters. 48 00:04:27,690 --> 00:04:32,270 Melissa Elliott, I believe her name was, gave a talk at DEFCON 21. 49 00:04:32,270 --> 00:04:38,390 So they gave a talk last year on... and I think there might actually be another talk this year by someone else on the same topic. 50 00:04:38,390 --> 00:04:45,190 All the unintended RF emissions that come out of the various electronic devices we carry around with us. 51 00:04:45,250 --> 00:04:49,150 And those emissions can be used to track you. 52 00:04:49,150 --> 00:04:54,670 If someone has the right antenna, the right radio, and knows what they're doing, they can follow you around with... 53 00:04:54,670 --> 00:04:56,130 You're all carrying tracking devices. 54 00:04:56,130 --> 00:04:57,690 You probably have them on you right now, right? 55 00:04:57,690 --> 00:05:06,170 So be aware that these techniques aren't that hard and you can definitely be followed just based on, say, your phone. 56 00:05:08,390 --> 00:05:18,130 So as I was starting to allude to, really the only equipment you need to be fox hunting is antennas, radios, and some visualization. 57 00:05:18,130 --> 00:05:22,370 So you can see what your antennas and radios are picking up. 58 00:05:23,090 --> 00:05:28,370 Antennas, usually we're talking about... there's two real basic classes of antennas. 59 00:05:28,370 --> 00:05:33,330 And there was a great talk yesterday on antenna theory and all sorts of... 60 00:05:33,330 --> 00:05:36,670 He was way beyond me on how antennas work, to be honest. 61 00:05:36,670 --> 00:05:39,650 But omnidirectionals and directionals. 62 00:05:39,650 --> 00:05:46,350 And within those two groupings, there's all sorts of different types of antennas that all have slightly different performance characteristics. 63 00:05:46,350 --> 00:05:53,750 But the basic idea is omnidirectionals detect in every direction and directionals detect in a focused pattern. 64 00:05:53,750 --> 00:05:55,450 So we'll get into that a little later. 65 00:05:55,850 --> 00:05:59,110 Radios, you need a radio that's capable of receiving the signal. 66 00:05:59,110 --> 00:06:08,950 I feel like that sounds intuitive, but if you don't have the right radio and the right antenna coupled with it, you may be just on the edge of actually... 67 00:06:08,950 --> 00:06:15,830 You might think you're having the right performance, but if you're on the bottom edge of your radio's performance, then your performance isn't going to be as great. 68 00:06:15,830 --> 00:06:16,910 That sort of thing. 69 00:06:18,230 --> 00:06:21,090 Finally, visualization software. 70 00:06:21,850 --> 00:06:23,410 Really important. 71 00:06:26,310 --> 00:06:31,250 A caveat here, because I know the audience in the wireless village is maybe a little more sophisticated. 72 00:06:31,250 --> 00:06:35,150 At least the guys back there, if I don't say this, might point something out. 73 00:06:35,150 --> 00:06:37,170 Not necessarily visualization. 74 00:06:37,530 --> 00:06:38,650 I like visualization. 75 00:06:38,650 --> 00:06:39,830 I like to see it. 76 00:06:39,830 --> 00:06:47,150 But in a lot of the classic ham fox hunting, oftentimes you're listening to a signal that indicates the strength. 77 00:06:47,150 --> 00:06:50,570 The tone will increase in volume or beeps go faster. 78 00:06:50,570 --> 00:06:58,730 Basically having some way of knowing that you're pointed in the right direction based on feedback from your radios and antennas. 79 00:06:58,730 --> 00:07:01,970 And we'll get into the particulars of visualization software here in a minute. 80 00:07:02,770 --> 00:07:09,910 By the way, I try to be informal when I'm talking, so if anybody has any questions, just raise your hand and we'll do them as we go. 81 00:07:11,730 --> 00:07:15,450 So, how do we pick what antennas we want? 82 00:07:15,450 --> 00:07:16,710 Let's talk about antennas. 83 00:07:16,710 --> 00:07:21,010 When you're dealing with antennas, there's really two things you want to focus on. 84 00:07:21,070 --> 00:07:22,550 Aperture and gain. 85 00:07:22,650 --> 00:07:29,070 Aperture is the angle of incidence for detecting energy. 86 00:07:29,070 --> 00:07:31,270 How much the... 87 00:07:31,270 --> 00:07:33,710 We'll get into the pattern here in a second. 88 00:07:33,710 --> 00:07:35,210 Actually, it's the next slide, right? 89 00:07:35,650 --> 00:07:37,450 I'll get there in a moment. 90 00:07:37,950 --> 00:07:46,270 As a rule, the more sensitive an antenna is, the more focused and directional its radiation pattern. 91 00:07:46,270 --> 00:07:52,810 So, gain varies inversely with directionality. 92 00:07:52,810 --> 00:07:58,110 So, if my antenna has a really high gain, it's probably really, really narrowly focused. 93 00:07:58,630 --> 00:08:00,530 And that's just sort of a general rule. 94 00:08:00,530 --> 00:08:01,830 It's not always the case. 95 00:08:02,070 --> 00:08:04,330 And too much gain can actually be a bad thing. 96 00:08:04,330 --> 00:08:07,630 You know, you would think, oh, it's really great to be able to detect signals really far away. 97 00:08:07,630 --> 00:08:12,630 However, high gain, because it has that narrow aperture, requires accurate pointing. 98 00:08:12,630 --> 00:08:15,330 It also... 99 00:08:15,330 --> 00:08:17,770 I'll get... I have, again, another slide. 100 00:08:17,770 --> 00:08:19,110 We'll get into this a little more. 101 00:08:19,110 --> 00:08:26,970 But, power... RF emitted power degrades over space in an inverse square. 102 00:08:26,970 --> 00:08:37,870 So, if you have a really high gain antenna, and a sensitive receiver behind it, as you get really close to your target, the... 103 00:08:38,590 --> 00:08:40,290 You're going to end up peaking your receiver. 104 00:08:40,290 --> 00:08:42,050 You're going to be at the top end of your range. 105 00:08:42,050 --> 00:08:46,310 So, and as you get closer, the power is going to go up exponentially. 106 00:08:46,310 --> 00:08:54,530 So, you're going to lose distance, you're going to lose that range discrimination as you get close, unless you have a way of attenuating that gain out. 107 00:08:54,670 --> 00:09:01,510 So, high gain is good, but it's also a double-edged sword if you don't know how to deal with it. 108 00:09:04,510 --> 00:09:05,830 Omnidirectional antennas. 109 00:09:05,830 --> 00:09:15,010 The word... the term omni, which implies that they pick up energy in every direction, is actually relatively inaccurate. 110 00:09:15,590 --> 00:09:19,490 Really, the higher gain an antenna is, the... 111 00:09:19,490 --> 00:09:24,050 Again, even with omnidirectional antennas, it's still more directional. 112 00:09:24,050 --> 00:09:35,490 So, omnidirectional antennas have that donut or toroidal radiation pattern, and as the gain increases, it's squishing that donut and spreading it out. 113 00:09:35,490 --> 00:09:39,910 So, this is the cross-section here. 114 00:09:39,910 --> 00:09:42,910 The donut is squished out, but we get really high gain. 115 00:09:44,470 --> 00:09:48,850 In my opinion, fox hunting, high gain is good. 116 00:09:48,870 --> 00:09:53,590 It gives you a greater detection distance, which is really the purpose of your omnidirectional antenna. 117 00:09:53,590 --> 00:09:56,350 And when we talk about using your equipment, I'll get into that. 118 00:09:56,670 --> 00:09:59,030 Gain is good, and high gain, in my opinion. 119 00:09:59,110 --> 00:10:14,150 And, in fact, if you're confident with your antenna and know what you're doing, you can actually, because this is pointed this way, you can actually tilt that antenna, and you're effectively attenuating it, even if you don't have, say, a variable attenuator. 120 00:10:14,150 --> 00:10:15,670 And we'll talk about those in a minute. 121 00:10:18,790 --> 00:10:19,710 Directional antennas... 122 00:10:19,710 --> 00:10:23,170 The talk is practical fox hunting, right? 123 00:10:23,170 --> 00:10:38,110 So, practically speaking, the only two good choices for directional antennas for the majority of fox hunting, and particularly in the wireless CTF when we're dealing with Wi-Fi, are Yagis and panels. 124 00:10:38,150 --> 00:10:41,450 And that's really based on the availability and the cost. 125 00:10:41,790 --> 00:10:44,970 You can go into the vendor area, hit up Simple Wi-Fi. 126 00:10:44,970 --> 00:10:45,910 They make... 127 00:10:46,830 --> 00:10:49,110 They make this antenna right here. 128 00:10:49,110 --> 00:10:51,070 It's a mini 8 dB panel. 129 00:10:51,070 --> 00:10:52,190 It's a great antenna. 130 00:10:52,190 --> 00:10:55,510 It's not expensive, and it's inconspicuous. 131 00:10:55,510 --> 00:10:57,310 We'll talk about why that's important in a bit. 132 00:10:57,530 --> 00:10:58,950 And it's cheap. 133 00:10:59,610 --> 00:11:05,010 Panels, however, vary way more than Yagis in their performance standards. 134 00:11:05,010 --> 00:11:07,550 So , a Yagi is... 135 00:11:08,670 --> 00:11:11,830 A Yagi is great for certain things. 136 00:11:11,830 --> 00:11:17,850 It's very high gain, but it only receives a really narrow bandwidth. 137 00:11:17,850 --> 00:11:22,730 So it can't pick up signals that are, say, DC or 0 Hz, right? 138 00:11:22,730 --> 00:11:24,190 All the way to 20 GHz. 139 00:11:24,190 --> 00:11:25,010 It just can't do that. 140 00:11:25,010 --> 00:11:26,790 It's going to be very focused. 141 00:11:28,070 --> 00:11:31,430 But it's high gain, so there's a trade-off there. 142 00:11:31,790 --> 00:11:36,850 Panel antennas, much harder to characterize, because there's a lot of different types of panel antennas. 143 00:11:36,950 --> 00:11:45,150 And it's really... if you're looking at a panel antenna, I would suggest you do a little more research on the various types of panels. 144 00:11:46,850 --> 00:11:49,190 There's Alpha Radio. 145 00:11:49,350 --> 00:11:51,310 Alpha makes great wireless radios. 146 00:11:51,310 --> 00:11:52,790 We'll talk about wireless radios in a minute. 147 00:11:52,790 --> 00:11:57,570 They make a panel antenna that looks exactly like this, and it sucks. 148 00:11:57,770 --> 00:12:03,750 Because they just have the same case, but the actual antenna inside it is completely different. 149 00:12:05,770 --> 00:12:07,250 Know your antenna. 150 00:12:07,250 --> 00:12:08,090 Know your gear. 151 00:12:08,090 --> 00:12:12,070 That's just common good sense. 152 00:12:12,710 --> 00:12:14,710 Some of the other types of antennas... 153 00:12:14,710 --> 00:12:16,350 I have one over here. 154 00:12:17,010 --> 00:12:20,250 This is a log-periodic antenna. 155 00:12:21,770 --> 00:12:22,970 Hey, Dan. 156 00:12:23,650 --> 00:12:26,090 I know you said you know who manufactures this. 157 00:12:26,090 --> 00:12:28,590 I do not remember who manufactures this antenna. 158 00:12:28,590 --> 00:12:29,230 Do you? 159 00:12:31,910 --> 00:12:32,870 I don't mind. 160 00:12:32,890 --> 00:12:33,610 I don't know. 161 00:12:33,610 --> 00:12:34,490 It doesn't matter. 162 00:12:34,490 --> 00:12:36,330 So , I got this. 163 00:12:36,330 --> 00:12:39,130 Mike Osmond sent these out with the HackRF prototypes. 164 00:12:40,170 --> 00:12:42,970 It's actually a really nice log-periodic antenna. 165 00:12:43,010 --> 00:12:45,530 It has... hold it up a little for the people in the back. 166 00:12:46,270 --> 00:12:50,430 It has a very wide bandwidth that it can receive. 167 00:12:51,990 --> 00:12:54,090 Well, spectrum that it can receive. 168 00:12:54,090 --> 00:13:00,970 It can receive from 850 MHz up to 6.5 GHz, which is pretty broad. 169 00:13:00,970 --> 00:13:02,210 And it's a directional antenna. 170 00:13:02,210 --> 00:13:02,790 Pretty broad. 171 00:13:02,790 --> 00:13:03,990 It has good performance. 172 00:13:04,070 --> 00:13:08,990 It's much broader than, say, an equivalently sized Yagi. 173 00:13:11,070 --> 00:13:12,730 But they're a little less common. 174 00:13:12,730 --> 00:13:17,350 You can buy those on the Internet, but I don't know that they're selling them in the vendor area. 175 00:13:17,350 --> 00:13:18,130 Yeah. 176 00:13:19,890 --> 00:13:21,350 That's just his call sign? 177 00:13:21,670 --> 00:13:22,030 Okay . 178 00:13:27,050 --> 00:13:27,650 WA5VJB. 179 00:13:27,650 --> 00:13:28,150 Yeah. 180 00:13:28,310 --> 00:13:29,470 It's a cool log-periodic. 181 00:13:29,470 --> 00:13:31,210 And I'm going to use it for the demo here in a minute. 182 00:13:31,210 --> 00:13:34,730 We'll see exactly how it performs. 183 00:13:34,730 --> 00:13:35,650 So, I'll show you that. 184 00:13:36,390 --> 00:13:42,630 Also, I'm sure a lot of people have heard from years and years of just it being out there, a cantenna, right? 185 00:13:42,630 --> 00:13:48,230 Buy a Pringles can or find the right can and just stick a radiating element inside it and suddenly you have an antenna. 186 00:13:48,230 --> 00:13:48,990 It totally works. 187 00:13:48,990 --> 00:13:50,570 That's called a waveguide antenna. 188 00:13:51,070 --> 00:13:52,970 And they're straightforward to make. 189 00:13:52,970 --> 00:13:58,110 I'm not going to say that they're necessarily easy because it's easy to get that, sort of, all the tuning a little bit off. 190 00:13:58,710 --> 00:14:01,010 And now you can, you know, put a... 191 00:14:01,010 --> 00:14:05,050 get a walk, make a walk-fi and put a radio right in front of a walk. 192 00:14:05,170 --> 00:14:06,910 It's a directional radiator. 193 00:14:06,910 --> 00:14:08,770 It'll reflect that energy right back. 194 00:14:08,830 --> 00:14:14,450 You're not going to have the same performance characteristics as a professionally manufactured antenna, but you can do it on the cheap. 195 00:14:14,450 --> 00:14:16,170 So, you know, there's not really... 196 00:14:16,170 --> 00:14:20,130 there doesn't need to be a barrier of entry to getting an antenna that has decent performance. 197 00:14:20,570 --> 00:14:25,470 And that's really what you want to focus on is the performance versus the form factor. 198 00:14:25,470 --> 00:14:25,530 Right? 199 00:14:25,530 --> 00:14:32,830 If you have a small antenna that performs great, that's going to be a lot better than an antenna that has the equivalent performance and is this big. 200 00:14:32,830 --> 00:14:40,030 Because when you're trying to carry it around and find people, it's going to be a lot easier to have something small that's inconspicuous. 201 00:14:42,490 --> 00:14:42,930 Next... 202 00:14:42,930 --> 00:14:44,150 There we go. 203 00:14:44,150 --> 00:14:54,650 As I was alluding to, directional antennas, while they have a focused aperture, and the guy who was talking yesterday, I don't know if... is he by any chance here? 204 00:14:54,650 --> 00:14:54,950 No. 205 00:14:54,950 --> 00:14:55,470 Okay. 206 00:14:55,470 --> 00:15:04,250 His talk was outstanding on radiation patterns and why they do what they do and how to tune antennas to get them to radiate in certain directions. 207 00:15:04,250 --> 00:15:05,030 Great talk. 208 00:15:05,030 --> 00:15:10,510 But what I'm going to boil it down to is the fact that even a directional antenna is not strictly directional. 209 00:15:10,510 --> 00:15:13,910 It tends to radiate in multiple directions. 210 00:15:13,910 --> 00:15:26,270 And when you are evaluating the performance of an antenna, they're really usually just going to tell you the performance of the main lobe relative to what's known as an isotropic antenna. 211 00:15:26,270 --> 00:15:28,850 The perfect radiator sphere. 212 00:15:28,850 --> 00:15:36,950 So they say, well we have 5 dBi that's decibels isotropic relative... plus 5 dBi isotropic. 213 00:15:36,950 --> 00:15:43,650 That means you're 5 decibels better on your main lobe than you are with an isotropic antenna. 214 00:15:43,650 --> 00:15:52,770 And that's really important because unless they're also providing you with what the overall radiation pattern looks like your antenna might suck. 215 00:15:52,970 --> 00:15:53,570 Right ? 216 00:15:53,950 --> 00:16:00,630 Or it might just suck for what you want to do, but it might not suck at all for other applications. 217 00:16:00,890 --> 00:16:11,730 The main lobe performance is really important, but you also have to be aware of the fact that you have other lobes in your antenna that are going to pick up energy as you're trying to foxhunt. 218 00:16:12,450 --> 00:16:14,930 I don't know if they're in the room... yeah, they're over there. 219 00:16:15,430 --> 00:16:19,390 Those guys in the back corner there have some cool antennas. 220 00:16:19,390 --> 00:16:20,690 I don't know where they're from. 221 00:16:20,690 --> 00:16:22,370 I don't know if they make them themselves. 222 00:16:24,210 --> 00:16:24,610 But... 223 00:16:26,550 --> 00:16:43,450 I swear I'm not picking on you, but it was really funny in the foxhunt last year because the antennas have very high gain from just looking at them which meant that they had some lobes that the fox was really just following around in their side and back lobes, 224 00:16:43,450 --> 00:16:45,890 and the fox was having fun with it. 225 00:16:46,670 --> 00:16:56,730 And it's one of those things you really have to pay attention to and know how to deal with if you're trying to effectively determine the direction that a signal is coming from. 226 00:16:59,330 --> 00:17:04,630 Another type of antenna is the multi-antenna array, or a phased array. 227 00:17:04,970 --> 00:17:06,870 They're generally proprietary. 228 00:17:06,870 --> 00:17:12,090 You don't find a lot of people making their own and if they do, they're probably not attending my talk. 229 00:17:13,710 --> 00:17:21,710 Being proprietary antenna phased arrays are generally expensive if you're trying to buy one, and they're also hard to find. 230 00:17:21,710 --> 00:17:30,450 I was trying to find a good inexpensive sort of man-packed portable phased array for Defcon, and I just couldn't. 231 00:17:30,450 --> 00:17:32,590 So if anybody knows where I can get one, let me know. 232 00:17:32,590 --> 00:17:33,230 That'd be great. 233 00:17:35,330 --> 00:17:37,570 So here's the thing with a phased array. 234 00:17:38,250 --> 00:17:45,330 The spacing of your antennas is very important when you then try to evaluate the received signal. 235 00:17:45,330 --> 00:18:09,190 So the way a phased array works, you're essentially having a set of antennas that are spaced at a known distance and then you use custom software to do a time difference of arrival calculation, knowing that spacing, and that spacing pattern is needs to be tuned dependent on the signals you're trying to receive. 236 00:18:09,190 --> 00:18:10,670 So they're really tricky. 237 00:18:12,410 --> 00:18:16,270 Yeah, you can build yourself one, and that's actually one of the things I'd love to see next year. 238 00:18:16,270 --> 00:18:17,370 I keep pushing the wrong button. 239 00:18:17,370 --> 00:18:22,830 I'd love to see next year is somebody create a HackRF based direction finding array. 240 00:18:22,830 --> 00:18:25,850 I think it's probably a straightforward project. 241 00:18:25,850 --> 00:18:33,110 I haven't seen anybody do it yet, but software defined radios with HackRF now are cheap, and simple antennas are cheap. 242 00:18:33,110 --> 00:18:33,910 Let's do this. 243 00:18:33,910 --> 00:18:41,110 Next year, let's come to DEF CON with some phased arrays that we have in our backpacks, and we're looking at lines of bearing and some custom software. 244 00:18:41,890 --> 00:18:45,750 Rick was saying before the CTF this year, evolve or die. 245 00:18:45,750 --> 00:18:51,790 And I think that next year, I expect it to be even harder than it was this year, so we're going to need cool stuff like that. 246 00:18:51,790 --> 00:18:53,230 Alright. 247 00:18:54,070 --> 00:18:55,550 Moving on to radios. 248 00:18:56,850 --> 00:19:02,390 When you're thinking about radios, really what you want to focus on in my opinion, again, all my opinion. 249 00:19:02,450 --> 00:19:04,670 If something else works for you, do it your way. 250 00:19:04,670 --> 00:19:06,290 Cost versus performance. 251 00:19:06,290 --> 00:19:08,850 RF equipment gets expensive really fast. 252 00:19:08,850 --> 00:19:16,950 I don't honestly want to know how much all the stuff on that back blue table costs, but I'm sure it's scary. 253 00:19:19,090 --> 00:19:33,730 Broadband radios, things that can receive a very wide spectrum, a very broad swath of the spectrum, or a high instantaneous, but they can see more of the spectrum at one time, they get expensive really really fast. 254 00:19:34,050 --> 00:19:37,710 Software defined radios, again, you're just adding on to that cost. 255 00:19:37,990 --> 00:19:45,090 Fortunately, software defined radios are really starting to become a reality at a low cost point, and it's entirely thanks to HackRF. 256 00:19:45,670 --> 00:19:47,170 It's a great device. 257 00:19:47,170 --> 00:19:56,790 It doesn't have necessarily the same performance characteristics as some of the devices that are more expensive, but those devices are at least twice as expensive. 258 00:19:56,790 --> 00:20:02,410 So, it's a trade-off and I think it's totally worth it because for what you're getting at the price, it's amazing. 259 00:20:03,610 --> 00:20:12,490 Also, we're really focused in this room a lot on Wi-Fi, and Wi-Fi radios are particularly inexpensive because they're so mass-market. 260 00:20:12,550 --> 00:20:30,290 Some of the really good ones, and you can expect to find these in the vendor area as well, are the Alpha radios, and I don't have one in front of me, but basically, if you walk around here and look at the radios that everybody in the CTF is using, those are the things that are pretty inexpensive. 261 00:20:30,290 --> 00:20:31,330 Do you have one right there? 262 00:20:31,330 --> 00:20:39,470 Yeah, this little white radio, the TP-Link TLWN722N, great radio, $15 on Amazon. 263 00:20:39,890 --> 00:20:41,210 It's excellent. 264 00:20:45,490 --> 00:20:45,970 And... 265 00:20:45,970 --> 00:20:48,070 the Alpha 1 is a silver radio. 266 00:20:48,070 --> 00:20:49,890 I don't know if they still sell that one, actually. 267 00:20:49,970 --> 00:20:50,930 They do still sell it? 268 00:20:50,930 --> 00:20:51,090 Okay. 269 00:20:52,830 --> 00:20:53,550 Yeah? 270 00:20:55,770 --> 00:20:58,050 Okay, so maybe don't buy the Alpha 1 anymore. 271 00:20:58,570 --> 00:20:59,530 Thank you. 272 00:21:00,410 --> 00:21:02,330 My Alpha 1's awesome, I don't know. 273 00:21:05,430 --> 00:21:06,450 There you go. 274 00:21:06,930 --> 00:21:08,110 Rick knows better than I. 275 00:21:12,930 --> 00:21:20,010 Another thing that's really helpful for fox hunting that not a lot of people are going to have is a variable attenuator. 276 00:21:20,010 --> 00:21:22,710 I'm going to move over here, so you might want to point the camera. 277 00:21:22,710 --> 00:21:25,450 I don't know if you're... I'm going to step out of the... okay. 278 00:21:27,970 --> 00:21:31,630 A variable attenuator looks usually about like this. 279 00:21:31,630 --> 00:21:33,370 It's a little box. 280 00:21:33,370 --> 00:21:36,290 There's actually a bunch of different types of variable attenuators. 281 00:21:36,350 --> 00:21:39,810 This is a rotary manual step attenuator. 282 00:21:39,810 --> 00:21:47,590 It's an HP 8495 Alpha, 70 dB in 10 dB increments from DC to 4 GHz. 283 00:21:47,590 --> 00:21:48,950 Great performance. 284 00:21:49,030 --> 00:21:55,770 I got this I guess about a year and a half ago, maybe not, about a year ago on Amazon for... 285 00:21:55,770 --> 00:21:58,250 excuse me, eBay, for about $130. 286 00:21:58,890 --> 00:22:08,690 I just checked before the con, I haven't looked now, but they were going for somewhere north of $200, so your mileage may vary, but I think they're really useful. 287 00:22:08,690 --> 00:22:26,750 They're not strictly necessary, but as we were talking before about high gain directional antennas and needing a way to attenuate that gain as you get closer to your target, a variable attenuator makes that really easy because as I get closer I can just flip a switch and suddenly I'm 10 dB down on my receiver. 288 00:22:27,150 --> 00:22:33,330 I have it tied in directly to my antenna, right, so my antenna gain is what I'm attenuating. 289 00:22:33,330 --> 00:22:44,890 I'm dropping the performance of my antenna intentionally as I get closer so that I can get myself back, my radio back into its sort of what I'll call the butter zone for where it really loves to receive signals. 290 00:22:46,470 --> 00:22:58,030 Again, they're not cheap and as I was saying before, if you have an omnidirectional antenna or a directional antenna, the old-fashioned attenuator is just to rotate it because we have that radiation pattern. 291 00:22:58,030 --> 00:23:04,110 So if you really know your radiation pattern, you can attenuate your antenna by just turning. 292 00:23:04,250 --> 00:23:12,150 And that's a lot of what we're going to be doing in fox hunting anyway is turning from side to side to try to find where our signals are the strongest and then go in that direction. 293 00:23:14,450 --> 00:23:19,530 Signal displays, that's how we visualize what we're getting from our radios. 294 00:23:20,170 --> 00:23:27,730 One of the ones that most people are familiar with and it's fairly intuitive, you see them a lot, are the power spectral displays. 295 00:23:27,910 --> 00:23:37,090 This has frequency, excuse me, frequency along the x-axis and received power along the y-axis. 296 00:23:37,150 --> 00:23:51,310 This is actually the FM band, so here's a handful of signals in the FM band that I'm receiving at different strengths and that's helpful if I need to locate my emitter in the RF spectrum. 297 00:23:51,310 --> 00:23:57,830 I want to find out what frequency I need to tune to to continue to track my target. 298 00:23:58,270 --> 00:24:02,970 They're not always strictly needed if you have other ways of finding the signal of interest. 299 00:24:02,970 --> 00:24:19,410 When I say signal of interest, that's distinct from the RF frequency because, say for example with Wi-Fi, you have a lot of radios, a lot of emitters sharing the same frequency and doing other types of multiplexing, time division, multiple access, etc. 300 00:24:19,510 --> 00:24:23,310 to avoid colliding and interfering with each other. 301 00:24:23,730 --> 00:24:36,330 Wi-Fi radios and the software behind them are going to help you tune those signals of interest because there's that whole software stack that says, this is the radio I'm interested in, these are the MAC and the SID, etc. 302 00:24:36,710 --> 00:24:42,090 You don't really need a power spectral display to find a Wi-Fi radio. 303 00:24:43,470 --> 00:24:53,570 Except for all the software-defined radio challenges, you're not going to see them using power spectral display to find the emitters that are on the blue table for Wi-Fi. 304 00:24:55,130 --> 00:24:59,950 Power time domain, however, for foxhunting is way more useful in my opinion. 305 00:25:00,650 --> 00:25:13,130 This has time running on the x-axis and power, again, still power on that y-axis, but time on the x-axis and we're constantly tuned to a single frequency. 306 00:25:13,130 --> 00:25:21,050 So once we've located our signal using the power spectral display, we tune to it and we look at our received power over time. 307 00:25:21,150 --> 00:25:38,670 And this is really helpful because if I'm standing in one place and I have my directional antenna pointed ahead of me and I'm receiving power and the emitter's not over there, I turn or say I walk in another direction, this tells me that 30 seconds ago you were way hotter than you were now. 308 00:25:38,670 --> 00:25:41,550 Maybe go back where you came from or turn back in that direction. 309 00:25:41,690 --> 00:25:45,130 And it really just keeps you from having to try to remember all that. 310 00:25:45,130 --> 00:25:57,270 It's a memory aid and it's really useful because with all the other stuff you're looking at and trying to pay attention to, the last thing you need is, okay, when it was, you know, about twice as strong a signal when I was in that room. 311 00:25:57,290 --> 00:25:58,510 Just look at the thing, right? 312 00:25:58,510 --> 00:25:59,470 It tells you. 313 00:26:01,370 --> 00:26:13,370 Configuring these is really, it becomes a personal preference as far as the update rate and amount of time you want to display in the past. 314 00:26:13,510 --> 00:26:17,790 It's just, you know, practice, learn what you like and do it however you prefer it. 315 00:26:17,790 --> 00:26:19,810 So I consider this really the fox hunting tool of choice. 316 00:26:19,810 --> 00:26:23,050 When you're out doing the job, that's what you want to be looking at. 317 00:26:24,830 --> 00:26:30,590 The downside of these is that there are no good software tools to do it. 318 00:26:32,270 --> 00:26:36,750 I'll mention a couple later and we'll talk about them then, but we'll get into that. 319 00:26:37,350 --> 00:26:50,410 The other thing you might see from time to time is a spectrogram or cumulative spectral display, decay, excuse me, or a waterfall, you might hear it called, or even if you're old school like me, you might call it a waterfall raster sometimes. 320 00:26:50,510 --> 00:26:51,790 There are all kinds of words for it. 321 00:26:51,790 --> 00:26:55,070 Basically, it's a combination of the last two diagrams. 322 00:26:55,070 --> 00:27:06,090 So in here, we have still frequency on the x-axis, now time on the y-axis, and the received power is indicated by variations in the color. 323 00:27:06,430 --> 00:27:08,270 That's neat and all. 324 00:27:08,490 --> 00:27:17,450 It's great if you want to track the strength of different emitters simultaneously, but it's kind of information overload if you're just trying to find one thing. 325 00:27:17,450 --> 00:27:20,770 So, they're neat, but eh, whatever. 326 00:27:21,250 --> 00:27:23,870 Alright, so we've talked about the gear, the displays. 327 00:27:23,870 --> 00:27:24,650 How do we use it? 328 00:27:24,650 --> 00:27:26,050 What's the plan? 329 00:27:26,430 --> 00:27:28,110 First of all, be prepared. 330 00:27:28,130 --> 00:27:29,650 Don't try to throw it together. 331 00:27:31,370 --> 00:27:36,110 Know and be comfortable with your equipment, and this is something Rick was telling everybody last year. 332 00:27:36,570 --> 00:27:38,110 Know how long your batteries will last. 333 00:27:38,110 --> 00:27:41,690 They probably even mentioned that again in one of the other talks about the CTF. 334 00:27:41,890 --> 00:27:55,230 It would be really terrible to be getting closer and closer and just all your equipment dies because you didn't prepare ahead of time, or to not really understand necessarily the performance characteristics of your antenna because you hadn't practiced with it. 335 00:27:55,230 --> 00:27:56,670 Get out there. 336 00:27:56,670 --> 00:27:57,110 Try it. 337 00:27:57,110 --> 00:27:58,350 Try it at home. 338 00:27:59,170 --> 00:28:01,310 Yeah, just be prepared. 339 00:28:01,510 --> 00:28:02,390 Direction. 340 00:28:02,390 --> 00:28:05,450 Detection ranges for your particular setup. 341 00:28:05,450 --> 00:28:21,350 So, just because you have an antenna and a radio together doesn't mean that if you swap out that antenna that you're going to say you have an antenna that has 3 dB better performance than the antenna you had on there. 342 00:28:21,850 --> 00:28:26,350 If you swap out either piece, you swap out your antenna, yeah, you might get 3 dB better. 343 00:28:27,050 --> 00:28:33,190 But if you swap out your radio and your antenna, you might get 6 dB better because that radio was more sensitive. 344 00:28:33,190 --> 00:28:38,230 So, for the setup you're using, you really need to know exactly how it's going to perform. 345 00:28:39,270 --> 00:28:54,370 And as I mentioned before, know about your lobes on your antenna because you're going to be using a directional antenna and if you're not aware of the fact that you have two strong side lobes coming off, you could be walking in the wrong direction or in a circle. 346 00:28:54,650 --> 00:28:54,870 Right? 347 00:28:54,870 --> 00:29:01,190 If you have a really strong side lobe, I'm really close, I'm really close, well, it's because you're spinning around, he's right beside you. 348 00:29:02,130 --> 00:29:04,310 And become fluent in the software you're using. 349 00:29:04,310 --> 00:29:10,290 Know how to adjust the frequencies, know how to adjust the signal you're tuned to, etc. 350 00:29:10,310 --> 00:29:11,450 And then just practice. 351 00:29:12,250 --> 00:29:22,490 Also, this is something I really, I'm trying, I don't want to pick on you guys, but it was such a funny story last year that he was just following me around, be inconspicuous. 352 00:29:23,510 --> 00:29:35,370 If you have a bunch of obvious equipment and someone that you're looking for knows you're looking for you, knows you're looking for them, or even if they don't know that you're looking for them, they're going to avoid you because you look weird. 353 00:29:35,970 --> 00:29:40,810 If I'm carrying around an antenna on a pole, no one wants to come near me. 354 00:29:46,690 --> 00:29:52,090 There you go, 30 minute brief to the fox before it starts, basically on all the people to stay away from. 355 00:29:52,810 --> 00:30:01,810 So I don't know that necessarily I'll be able to fox hunt this year since I'm here doing this and he would know to avoid me maybe, but we'll see. 356 00:30:02,710 --> 00:30:06,610 And that's a lovely picture of Egon doing exactly what I said not to do. 357 00:30:08,370 --> 00:30:12,890 When you get out there and you're prepared, you're ready to go, what do you do? 358 00:30:12,890 --> 00:30:16,490 Well, one thing, be aggressive, keep moving. 359 00:30:16,610 --> 00:30:18,890 If you're not moving, you're losing. 360 00:30:19,230 --> 00:30:21,810 The fox is probably moving away from you. 361 00:30:21,970 --> 00:30:25,290 Standing in one place and just hoping to pick it up, not going to work. 362 00:30:25,290 --> 00:30:30,630 You need to be out there moving around, know your environment, plan ahead. 363 00:30:30,650 --> 00:30:39,230 Say if you're fox hunting in a hotel, you might want to start at the bottom floor and work your way up, start at the top floor and work your way down. 364 00:30:39,370 --> 00:30:55,730 Either way, just approach it systematically, don't wander randomly, keep track of where you've been, and a lot of times you're moving pretty quickly, so this may not be keeping a detailed map or notes or anything, but just try to remember. 365 00:30:56,490 --> 00:31:00,730 And remember what you saw when you were in certain places. 366 00:31:00,730 --> 00:31:19,910 There was, last year in the fox hunt, when I was getting really close to the fox, it was right outside the Sky Talks room at the time, and I kept going around this corner, and I would approach the corner, my signal would get strong, and then I would walk around the corner, 367 00:31:19,910 --> 00:31:29,790 and it would fade off, and so I'd turn around and come back and say, oh, well, I was over here, it was strong, I was over there, it was strong, and then I kind of moved in either direction and got weaker. 368 00:31:29,850 --> 00:31:31,570 Maybe he's on the other side of this wall. 369 00:31:31,570 --> 00:31:34,930 Snuck into the room, and hey, what do you know, the signal got way stronger. 370 00:31:36,970 --> 00:31:49,330 At that point, when you're starting to get close, keep your head up, don't just, hey, you can't really expect your radio, if you're looking at it, to just, like, walk you right up to the fox and poke him, right? 371 00:31:49,530 --> 00:32:01,510 Because no one wants to get poked with a radio, and you're clearly, obviously, looking at something you may miss, you may have an opportunity based on secondary indicators to know that someone's your fox. 372 00:32:01,510 --> 00:32:10,150 So, for example, if I were fox hunting, and I said, oh, my signal's in this direction, I know it's probably, it's either you, you, you, or you, right? 373 00:32:10,210 --> 00:32:12,310 I've narrowed it down to this group of people. 374 00:32:14,110 --> 00:32:20,130 And rather than walk over to them with my radio and say, hey, okay, well, it's not really strong over here. 375 00:32:20,150 --> 00:32:28,590 If I just look at them, and I watch the guy who's fiddling in his pocket, maybe pulls out a radio for a sec, hey, that's probably my guy, right? 376 00:32:30,590 --> 00:32:44,330 So, one of the other things, last year was really useful, if you're walking around and you have a strong signal, look around, see who's in the room, when your signal falls off, maybe it's because somebody left, right? 377 00:32:44,330 --> 00:32:46,330 Maybe that person who left was your fox. 378 00:32:46,870 --> 00:32:54,290 Or, if you're then in another room later, you didn't see them leave, but now your signal's strong again, do you recognize any faces? 379 00:32:54,290 --> 00:32:55,930 That person's probably your fox. 380 00:32:55,930 --> 00:32:59,410 So, don't just trust your equipment. 381 00:32:59,410 --> 00:33:00,430 Look around. 382 00:33:03,080 --> 00:33:05,720 Now I want to talk about something called multipath. 383 00:33:05,760 --> 00:33:12,020 Generally, you don't really need to worry about multipath, but it is important to know what multipath is. 384 00:33:12,500 --> 00:33:20,260 RF emanations, wireless power, bounces off of things, and depending on the frequency, it'll bounce off differently. 385 00:33:21,720 --> 00:33:32,720 What that means is that that same signal that is being emitted is going to be potentially received by your radio at a different time and from a different direction. 386 00:33:33,260 --> 00:33:44,100 And, the difference in time is phase shift and the difference in direction, if you have an omni, it's not really that important, but you can lose some power or gain some power. 387 00:33:44,100 --> 00:33:45,860 This is called multipath fading. 388 00:33:45,960 --> 00:33:48,960 Multipath fading can be both constructive and destructive. 389 00:33:49,160 --> 00:34:01,380 So, I was doing this demo, I was doing the demo I'm about to do yesterday, and I had my antenna pointed directly at the radio and I turned it away toward the wall, and the signal got stronger. 390 00:34:01,380 --> 00:34:05,500 I did not plan for that, but I was able to explain it because, hey, multipath fading, right? 391 00:34:05,620 --> 00:34:07,780 I'm getting some constructive interference. 392 00:34:08,060 --> 00:34:09,440 Just be aware of that. 393 00:34:09,440 --> 00:34:14,940 In a fox hunt, to avoid and mitigate multipath interference, keep moving. 394 00:34:15,340 --> 00:34:28,680 Because, if a signal is bouncing off of that wall and into my radio, if I move over here, it's going to be bouncing at a different angle, and I'm going to get kind of different power measurements varying over time as I move. 395 00:34:28,680 --> 00:34:35,040 So, the signals you receive are going to fluctuate naturally, just for a multitude of reasons. 396 00:34:35,040 --> 00:34:49,300 Your radio's performance varies over time, there's multipath to deal with, but just keep moving, and that'll help you get sort of a feel for the average power that you're receiving from the general area that you're in. 397 00:34:54,250 --> 00:34:58,830 But, I'll make another point real quick, but don't move too fast, and I'll talk about that in a minute. 398 00:34:58,930 --> 00:35:00,570 I thought it was on this slide, but it's not. 399 00:35:01,130 --> 00:35:02,850 So, what do we do with an omnidirectional antenna? 400 00:35:02,850 --> 00:35:11,250 Generally speaking, it's just for proximity detection to answer the yes or no question of, am I close to my fox, and am I getting closer? 401 00:35:13,930 --> 00:35:15,470 That's the whole point. 402 00:35:15,950 --> 00:35:23,230 It is possible to successfully hunt with just an omnidirectional antenna, we were talking about varying the attenuation, keeping moving, you can do it. 403 00:35:23,230 --> 00:35:31,870 And that's, I was lucky enough last year, that's what I managed to do by applying all those other techniques because I was wholly unprepared with the right equipment. 404 00:35:33,870 --> 00:35:43,670 If you're doing that, you've got to move around a lot, more so than if you have a directional antenna, because with a directional antenna you can just kind of turn, say, yep, you have it stronger, you can home yourself in, I'll talk about that in a moment, 405 00:35:43,670 --> 00:35:45,790 but with an omni, you need to move. 406 00:35:46,650 --> 00:35:52,310 And keep that mental map, as we were just talking about , to perform sort of on-the-fly triangulation. 407 00:35:52,310 --> 00:35:58,970 Oh, I was over here, it was strong, I was over here, it was strong, I was over here, it was weak, it's probably between those two other points in that direction. 408 00:35:58,970 --> 00:36:01,730 You can do that, it's just, it takes a little practice. 409 00:36:03,330 --> 00:36:12,950 Directional antenna makes that sort of thing a little easier because once, with your omnidirectional antenna, you know that you're close to your emitter, the directional can help you steer. 410 00:36:12,950 --> 00:36:19,230 You say, oh, I picked it up, now I'm going to spin around for a little bit and see which direction it is stronger. 411 00:36:20,730 --> 00:36:37,030 This is where I think it's helpful to have that variable attenuator is on your directional antenna, not so much your omni, because that reduces your lobes, it helps you get the, basically attenuate out some of your lobes at the cost of main lobe performance too, 412 00:36:37,030 --> 00:36:38,870 but it kind of brings it all together. 413 00:36:40,570 --> 00:36:43,670 And it reduces your effective gain when you get close. 414 00:36:43,670 --> 00:36:58,530 And that sounds like a bad thing, but as I explained earlier, there's reasons you want to reduce your gain, because your receiver on your radio has a range that it prefers to have a signal in, and if your antenna has a really high gain, you could blow out, 415 00:36:58,530 --> 00:37:09,530 and actually you could even damage your receiver, damage your radio, so being able to attenuate that gain can be really important, especially if you're using an expensive radio. 416 00:37:09,670 --> 00:37:20,310 If you're trying to fox hunt on signals that require an expensive radio, spend just a little more money and get a variable attenuator to protect your investment. 417 00:37:23,260 --> 00:37:27,640 Once you have all that set up, you're ready to go, you know how to use it. 418 00:37:27,880 --> 00:37:31,580 Basic strategy, and I've been alluding to this throughout the talk, but what do you do? 419 00:37:31,580 --> 00:37:34,060 Well, tune your radios to the target emitter. 420 00:37:34,060 --> 00:37:43,020 So that means find your target emitter in the RF environment, and set up your radio to receive that signal, and preferably only that signal. 421 00:37:43,280 --> 00:37:46,820 That way you're not getting confused and interfered with from other things. 422 00:37:48,260 --> 00:37:57,400 If you're really getting technical and you have some high quality RF equipment, you can actually maybe even filter your band down so you're not getting as much noise. 423 00:37:57,400 --> 00:38:06,080 There's some really smart RF guys in the room, and if you want to know more about the detailed RF stuff, just talk to them, because they have been doing this. 424 00:38:06,080 --> 00:38:09,780 He has been doing this way longer than I have, and he knows way more about it than I do. 425 00:38:10,920 --> 00:38:19,340 Once you have all that set up, you've found your emitter, you're tuned to it, you may not actually be receiving it at that time, but you know that when you get close to it, you're going to pick it up. 426 00:38:19,560 --> 00:38:21,220 Start to walk your search pattern. 427 00:38:21,540 --> 00:38:24,380 And I want to be very specific on pattern. 428 00:38:24,420 --> 00:38:25,980 Don't just be random. 429 00:38:27,080 --> 00:38:34,520 As you're walking your search pattern, be watching your power time domain display, because that's really just the best thing for it. 430 00:38:34,560 --> 00:38:47,600 There is some software out there, commercial software, that you can set up a map of your environment, and as you walk around, you can say where you are on the map, and it will generate these sort of signal heat maps. 431 00:38:47,620 --> 00:38:58,640 That's neat and all, but it costs money, and I kind of feel like it's impractical, because now you're walking around with a display that you have to be touching all the time. 432 00:38:59,100 --> 00:39:04,840 If you have something simple that can show you a power time domain display of your signal, that's really all you're going to need. 433 00:39:06,440 --> 00:39:19,120 Walking your search pattern, your omnidirectional antenna tells you if you're close, your directional antenna, and your historical direction of travel, so keep track of where you've been, tells you if you're getting closer, and which way to go. 434 00:39:19,600 --> 00:39:22,040 Then if you start to peak your signal, add attenuation. 435 00:39:23,380 --> 00:39:25,200 I said before, be aggressive. 436 00:39:25,440 --> 00:39:33,340 I also need to say, don't go too fast, receive power fluctuates, so you need to give time as you move for that to settle. 437 00:39:33,720 --> 00:39:41,420 If I move really quickly, I'm getting a lot of change in my receiver and my antenna. 438 00:39:41,560 --> 00:39:52,740 If my radios aren't well shielded, or if I jostle them too much, I can actually affect the performance of my radio just by moving it. 439 00:39:53,480 --> 00:40:05,100 Cheaper radios, that's extra true, so go a little slow, pay attention, let yourself get a feel for the signal in a particular location before you move on. 440 00:40:05,100 --> 00:40:11,220 And look around, as I said before, the emitter may become obvious once you get close. 441 00:40:12,200 --> 00:40:17,740 I have a particular affinity for a couple pieces of equipment for Wi-Fi. 442 00:40:17,740 --> 00:40:23,520 I was talking about the simple Wi-Fi antenna earlier and the radios. 443 00:40:23,520 --> 00:40:25,200 I think those are really great. 444 00:40:25,620 --> 00:40:27,640 And my manual step attenuator. 445 00:40:27,640 --> 00:40:38,160 I also usually use a 5 or, to be honest, a 7 dB omnidirectional rubber duck antenna that comes with many wireless routers. 446 00:40:38,400 --> 00:40:43,380 Not all antennas are created equal, even in those omnis that all look the same. 447 00:40:43,380 --> 00:40:54,320 So one of the things I like to do is, if you yank hard enough, that rubber sheath will just pop right off, and you can look at the construction quality of that antenna and decide whether or not you like it more than another one. 448 00:40:54,580 --> 00:41:00,720 Those TP-Link antennas that come on that radio are actually really nice 4 dB antennas. 449 00:41:00,720 --> 00:41:12,180 I have one old I forget the manufacturer but it's just a crappy looking 3 dB omni but you pop the thing off and it's actually really well built inside. 450 00:41:12,180 --> 00:41:12,860 I wouldn't have guessed. 451 00:41:12,860 --> 00:41:15,900 I thought it was going to really be terrible and it turns out it was the great one. 452 00:41:16,100 --> 00:41:17,620 So I use that one all the time. 453 00:41:19,740 --> 00:41:24,760 I have, as I said before, one of the old Alpha 1's so maybe don't listen to me on the Alpha 1 anymore. 454 00:41:24,760 --> 00:41:26,500 Get one of those TP-Links or something. 455 00:41:26,520 --> 00:41:28,520 Get a decent radio. 456 00:41:28,520 --> 00:41:43,240 I like my Alpha N on my omni directional antenna because when I'm hunting Wi-Fi if I'm able to connect and actually associate with the access point I'm hunting, it'll really hold that connection better. 457 00:41:43,240 --> 00:41:49,960 Whereas the Alpha 1 is more of a pure radio so I use it for directional antenna. 458 00:41:50,160 --> 00:41:57,440 I use it with my directional antenna because I'm not always going to be tuned to the signal if I'm pointing in the wrong direction. 459 00:41:57,440 --> 00:41:58,540 But I don't care. 460 00:41:58,720 --> 00:42:03,400 Because I'm just using that to figure out what the power of that particular emitter is. 461 00:42:07,540 --> 00:42:09,620 Oh yeah, that's a very good point. 462 00:42:09,620 --> 00:42:13,280 The old Alpha 1 does not cover 802.11n. 463 00:42:14,000 --> 00:42:16,060 So be aware. 464 00:42:16,060 --> 00:42:17,240 And that's again, know your gear. 465 00:42:17,240 --> 00:42:18,000 Know what you're using. 466 00:42:18,000 --> 00:42:19,880 Know the signal that you're looking for. 467 00:42:19,880 --> 00:42:23,500 Make sure you have a radio that's capable of receiving the signal of interest. 468 00:42:24,760 --> 00:42:30,620 As I was saying earlier, for power time domain displays, there is no good free software. 469 00:42:30,720 --> 00:42:32,680 All of the ones I list here are okay. 470 00:42:32,680 --> 00:42:35,100 But they have different problems in different ways. 471 00:42:36,040 --> 00:42:38,100 Kismet is pretty decent. 472 00:42:38,100 --> 00:42:39,800 Just stand alone. 473 00:42:39,800 --> 00:42:45,060 But stand alone, it's a text based interface. 474 00:42:45,060 --> 00:42:46,860 So that's really annoying. 475 00:42:46,860 --> 00:42:51,580 If you add the Kismon UI that you can download, it becomes a little better. 476 00:42:51,620 --> 00:43:05,600 But one of the problems with well, WiFi in general, but the way Kismet displays this stuff in particular is that if it is not receiving the signal in the Kismon UI, it just won't update. 477 00:43:05,600 --> 00:43:06,600 It'll just drop out. 478 00:43:06,600 --> 00:43:10,420 You won't get another update that says you're not actually receiving anything. 479 00:43:10,420 --> 00:43:12,360 It just doesn't update. 480 00:43:12,360 --> 00:43:13,340 And that's really frustrating. 481 00:43:13,340 --> 00:43:16,420 I'd rather average it out over time or something. 482 00:43:17,440 --> 00:43:22,420 WiFi Analyzer for Android is the best one of these that I have listed. 483 00:43:22,780 --> 00:43:24,360 That's what I used last year. 484 00:43:24,360 --> 00:43:26,000 It's actually a really great program. 485 00:43:26,000 --> 00:43:28,460 The problem with it is it's only available for Android. 486 00:43:29,080 --> 00:43:32,020 I wish it were available for something else. 487 00:43:32,720 --> 00:43:34,220 Net Surveyor on Windows is okay. 488 00:43:34,220 --> 00:43:36,520 I've never used it, but it looks pretty decent. 489 00:43:37,340 --> 00:43:38,860 But it's Windows, right? 490 00:43:38,860 --> 00:43:40,840 So again, they all have a problem. 491 00:43:40,940 --> 00:43:46,320 And then Wireless Diagnostics on Mac are actually really good too. 492 00:43:46,820 --> 00:43:58,360 They're kind of close to WiFi Analyzer in quality here, but the problem with that one is that it auto-ranges the y-axis. 493 00:43:58,620 --> 00:44:01,000 It auto-ranges the power. 494 00:44:01,020 --> 00:44:02,680 So it can be hard as you get closer. 495 00:44:02,680 --> 00:44:06,340 You're not getting an absolute indicator. 496 00:44:06,340 --> 00:44:09,860 It becomes relative as it changes, and you have to pay attention to it a lot more. 497 00:44:10,800 --> 00:44:12,480 But otherwise, it's actually really good. 498 00:44:12,480 --> 00:44:13,920 But again, they all have a problem. 499 00:44:13,920 --> 00:44:18,060 So if anyone is super motivated, write some good software for doing this. 500 00:44:18,060 --> 00:44:19,160 It would be really amazing. 501 00:44:19,820 --> 00:44:21,260 And people would use it. 502 00:44:22,060 --> 00:44:23,880 That's it for my main talk. 503 00:44:23,880 --> 00:44:25,500 Here's a lovely picture of people foxhunting. 504 00:44:25,500 --> 00:44:28,180 This is public domain image actual foxhunting. 505 00:44:28,240 --> 00:44:32,000 And I have a little bit of a demo where I'm going to show some of those things. 506 00:44:32,000 --> 00:44:33,120 Do I still have time? 507 00:44:33,400 --> 00:44:34,360 I'm good. 508 00:44:34,640 --> 00:44:35,300 Alright, cool. 509 00:44:35,300 --> 00:44:37,320 I didn't know if I needed to end earlier or whatever. 510 00:44:39,700 --> 00:44:40,500 Cool. 511 00:44:41,280 --> 00:44:41,980 Yes. 512 00:44:46,520 --> 00:44:48,620 Find him and find out. 513 00:44:49,460 --> 00:44:52,140 Alright, so real quick. 514 00:44:54,690 --> 00:44:56,130 Okay. 515 00:44:57,030 --> 00:45:01,530 I have here and I just reset it. 516 00:45:02,910 --> 00:45:06,810 Always do that. 517 00:45:08,270 --> 00:45:09,430 Yeah. 518 00:45:09,590 --> 00:45:13,390 I have a HackRF1, which I'm about to reset. 519 00:45:14,510 --> 00:45:15,970 Stop. 520 00:45:15,990 --> 00:45:17,510 Ignore. 521 00:45:18,950 --> 00:45:21,650 That's what I get for touching it. 522 00:45:25,860 --> 00:45:26,600 Go. 523 00:45:26,600 --> 00:45:26,960 Okay. 524 00:45:26,960 --> 00:45:36,240 I have here a HackRF1 prototype transmitting a signal in an ISM band on an unlicensed frequency at a very low power. 525 00:45:37,320 --> 00:45:39,460 It's in an ISM band, I promise. 526 00:45:40,320 --> 00:45:49,520 And I have over there, which I was holding up earlier, an antenna capable of receiving a signal in that range and a variable attenuator attached to it. 527 00:45:49,520 --> 00:45:59,560 Attached to my RTL-SDR on the floor here in a static bag to try to reduce the noise floor that I'm receiving because we're in the wireless village and there's a lot of signal floating around. 528 00:45:59,560 --> 00:46:00,260 We're at DEF CON. 529 00:46:00,260 --> 00:46:01,920 There's a lot of signal floating around. 530 00:46:03,100 --> 00:46:07,380 So, what I'm going to show you is just some of the things I was talking about. 531 00:46:07,500 --> 00:46:12,920 And I'm going to have to drop the mic to do it, so hopefully it'll pick up a little bit on the recording, but maybe not. 532 00:46:12,920 --> 00:46:13,640 We'll see. 533 00:46:18,030 --> 00:46:24,690 Okay, so the signal that I'm transmitting is that one right there. 534 00:46:24,850 --> 00:46:28,710 So I'm just going to put that as sort of a reference level of where we saw it when I was close. 535 00:46:28,950 --> 00:46:30,510 I'm a little farther away now. 536 00:46:30,510 --> 00:46:32,090 I'm pointing in a different direction. 537 00:46:32,210 --> 00:46:33,270 I'm moving my antenna. 538 00:46:33,270 --> 00:46:35,010 We see the signal fall off. 539 00:46:36,330 --> 00:46:41,770 As I turn it, this antenna has a radiation pattern. 540 00:46:41,890 --> 00:46:46,370 This is actually technically the main lobe. 541 00:46:46,590 --> 00:46:48,770 It's coming out this way. 542 00:46:49,770 --> 00:47:00,130 What I found with this particular antenna in this particular portion of its range in the spectrum is that it actually has a lot of other lobes. 543 00:47:00,330 --> 00:47:03,190 Like this top lobe here is actually pretty good. 544 00:47:03,190 --> 00:47:05,170 I actually get better signal that way. 545 00:47:06,370 --> 00:47:08,490 It also has a really strong back lobe. 546 00:47:08,490 --> 00:47:10,950 I just turned it around completely, for those who can't see in the back. 547 00:47:10,950 --> 00:47:12,770 And I'm receiving about the same power. 548 00:47:13,430 --> 00:47:16,530 Just the nature of this antenna, which is why you need to know your gear. 549 00:47:17,170 --> 00:47:21,330 But if I turn it down and away, I'm not looking. 550 00:47:21,330 --> 00:47:23,350 My top lobe is going that way. 551 00:47:23,350 --> 00:47:25,150 My bottom lobe is going that way. 552 00:47:25,190 --> 00:47:26,490 Front and back. 553 00:47:27,050 --> 00:47:28,550 It's much lower. 554 00:47:29,050 --> 00:47:32,930 And as I get closer, I'm noticing my signal. 555 00:47:32,930 --> 00:47:34,050 I'm walking toward it. 556 00:47:34,050 --> 00:47:35,290 It's peaking up. 557 00:47:35,350 --> 00:47:36,850 It's getting really high. 558 00:47:38,050 --> 00:47:44,930 I'm going to dial out some attenuation, dial in some attenuation, get myself back down into that range where I can get discrimination. 559 00:47:44,930 --> 00:47:53,890 That variable attenuator makes it really easy to very quickly alter your attenuation without having to worry about the orientation of your antenna. 560 00:47:53,890 --> 00:48:01,730 I just think it's super helpful and unfortunately, they're not as available as some of the other gear you might want to use. 561 00:48:02,550 --> 00:48:06,310 One of the things I didn't talk about is low noise amplifiers. 562 00:48:07,510 --> 00:48:12,750 They can be very helpful for certain circumstances, but I was talking about general RF equipment. 563 00:48:12,750 --> 00:48:14,070 They can get pretty pricey. 564 00:48:14,450 --> 00:48:20,230 There is a piece of gear I just want to mention called LNA4, the number 4 ALL. 565 00:48:21,750 --> 00:48:30,990 LNA4ALL, somebody, I think he's in Europe somewhere, I don't know, has made a low cost, low noise amplifier. 566 00:48:31,290 --> 00:48:33,750 It's actually a really nice piece of gear. 567 00:48:33,750 --> 00:48:35,490 Dan in the back has one. 568 00:48:36,150 --> 00:48:38,770 I should have warned you ahead of time I was going to talk about it, Dan. 569 00:48:40,110 --> 00:48:42,450 It's a little square, about that big. 570 00:48:42,450 --> 00:48:45,590 You can buy them in an aluminum enclosure. 571 00:48:46,850 --> 00:48:50,070 They're really useful for certain things. 572 00:48:50,810 --> 00:48:54,930 It looks about like this. 573 00:48:55,390 --> 00:48:58,590 It's just a tiny square. 574 00:48:58,950 --> 00:49:00,710 This amplifies signals. 575 00:49:01,050 --> 00:49:10,210 It's great that someone made a low noise amplifier at a low cost, because from some of the big suppliers, these used to be really expensive. 576 00:49:11,570 --> 00:49:17,450 I wish someone would make a variable attenuator for all. 577 00:49:18,290 --> 00:49:21,590 Variable attenuators are stupid expensive and they're hard to find. 578 00:49:21,690 --> 00:49:31,990 If anyone is interested in another project, I'm talking about projects, the HackRF-based EFRA, some good visualization software and a variable attenuator for all. 579 00:49:31,990 --> 00:49:33,190 Please do it. 580 00:49:33,230 --> 00:49:34,390 People will buy it. 581 00:49:34,390 --> 00:49:36,150 You can sell it in the vendor area next year. 582 00:49:36,150 --> 00:49:37,510 People want this stuff. 583 00:49:38,590 --> 00:49:40,630 That's really about all I had. 584 00:49:41,290 --> 00:49:42,630 Does anyone have any questions? 585 00:49:53,670 --> 00:49:59,710 You would need, depending on the cell tower, something like this. 586 00:49:59,710 --> 00:50:01,490 This is a 900 MHz antenna. 587 00:50:01,490 --> 00:50:04,570 It will pick up certain GSM bands. 588 00:50:05,250 --> 00:50:11,210 There are an unfortunately large number of cellular bands. 589 00:50:11,250 --> 00:50:31,590 You really need to know which carrier that your target is on and which of the bands that carrier uses and which of the variety of signals that a cell phone can emit you intend to target. 590 00:50:32,010 --> 00:50:36,470 You'll have multi-band radios in your phone. 591 00:50:36,470 --> 00:50:44,550 And when you switch over from 3G to 2G you're going to be in a different band entirely. 592 00:50:44,650 --> 00:50:59,530 That actually can be helpful if you're doing as opposed to a passive reception if you're doing a more intrusive fox hunt where you're soliciting signal from your target by interfering with them in some way. 593 00:50:59,770 --> 00:51:09,730 Basically you can in some cases degrade the quality of their 3G connection to force them back into 2G which may be a little easier to receive in certain cases. 594 00:51:09,730 --> 00:51:18,190 So it really depends and that's why you have to know what you're after so you can tailor your equipment and your setup to that particular target. 595 00:51:20,130 --> 00:51:21,330 Other questions? 596 00:51:21,330 --> 00:51:21,950 Yes? 597 00:51:30,720 --> 00:51:40,800 So the question for those who couldn't hear I'm sorry I didn't repeat this question but the question for those who couldn't hear is I mentioned there's no good free software are there any commercial software are there any good commercial options? 598 00:51:41,060 --> 00:52:00,340 Yes in fact I now have one because we just won the Hide and Seek the Wi-Fi DDX and Channelizer 5 which she's holding up in the back there they're expensive I would have loved to have bought one before Defcon and I'm glad I didn't because now I have one so I don't need to waste the money I'm stealing it from you 599 00:52:03,500 --> 00:52:06,140 So yes there are some things out there. 600 00:52:06,500 --> 00:52:08,200 Metageeks It's Metageeks yeah? 601 00:52:08,480 --> 00:52:15,820 Somebody knows It's Metageeks, I promise They're supposed to be here They're supposed to be here? 602 00:52:16,580 --> 00:52:47,280 At the villa In the vendor area RIV They're one of our sponsors so they're linked on our website And Reverb Reverb, sure There are definitely some commercial options out there but you're looking at a price point that's at least $400 or something that you really want Again RF stuff can get expensive quickly Say again? 603 00:52:47,280 --> 00:53:06,160 Build your own You'll learn a lot more doing it that way Wi-Fi is great It'll show you not just the wireless signals in a particular area of the spectrum It'll actually show you everything else in that spectrum too for potential interference etc So it's great but the price point starts to go up There was a question over here? 604 00:53:06,540 --> 00:53:15,620 Oh that's a really great question 605 00:53:21,060 --> 00:53:39,340 So the question for those who couldn't hear it is if I'm familiar with any Wi-Fi antennas that have a really strong null or basically an area where they don't receive well in their radiation pattern because there are other Ham, you do this a lot and there's a lot of different techniques involved as opposed to peaking your signal, 606 00:53:39,340 --> 00:53:51,260 finding the minimum Honestly, no I really haven't looked because that's not just how I tend to do things I haven't seen anything outside the HF range I'm sorry? 607 00:53:51,280 --> 00:54:05,200 I haven't seen anything outside high frequency So the man who knows a lot more said he hasn't seen anything like that outside the HF range So, there you go But it's just not typically what I prefer to do, so I haven't even bothered to look 608 00:54:09,540 --> 00:54:35,160 Yeah, that's a great point Thank you for making it So, finding nulls can help is another way to help you get multi-path in certain frequency ranges But then you're getting a little more advanced, I like that Yeah But that's one of those things, as you get into this and you start learning what you're doing you find and learn about new techniques that can make you even more effective Any other questions? 609 00:54:35,260 --> 00:54:35,480 Yes 610 00:54:39,600 --> 00:54:42,360 What is the most common band for plot-summing? 611 00:54:42,640 --> 00:55:07,220 So That's a tough question for me because the type of plot-summing I'm familiar with is more focused on finding things for not necessarily just fun So the people who are out doing this like Ham plot-sums for fun they're going to be in the HF, UHF type ranges Whereas Wi-Fi, 612 00:55:07,220 --> 00:55:20,940 you're in the 2.4 GHz range It's all over the place It's easier to say what frequencies aren't which is frequencies that are reserved for special purposes by the government, right? 613 00:55:20,940 --> 00:55:36,820 So if you go on FCC.gov, you will get a big spectrum map Anything that's not an ISM band is going to be a little less common for, say, fun plot-summing But if you're looking for, say, cellular radios, you're going to need a cellular band If you're looking for wireless, 614 00:55:36,820 --> 00:55:49,180 you're going to need a Wi-Fi band So it really varies because the spectrum is just huge and you can track any frequency So it does really vary Anything else? 615 00:55:49,180 --> 00:55:50,020 Questions? 616 00:55:51,200 --> 00:55:56,800 Alright Thank you all so much for being here I really appreciate it Have a good time