Good morning, welcome to the Wired Village. My name is Zero Chaos and I'm an arrogant prick. Excellent. I have decided to commandeer the beginning of this talk just to give this fine man behind me an introduction. This fine gentleman is Simon Jay, the winner of last year's Fox Hunt, if I'm not mistaken. And Hide and Seek in all of our hearts. And the trainer of this year's winner of the Hide and Seek. Because apparently he was too tired last night and had to party. 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. 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. 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. Is this mic actually on? No, it goes to the recording. Well, I'll just project then, like you do. Hi, thank you very much for the introduction there, Rick. So, as he said, I'm Simon Jay Adamworth. I want to make a quick shout out to my company here, Masterpiece Solutions, who kindly paid for me to come to the conference. So, thanks to them. Let me know, by the way, if anybody has trouble hearing me in the back. So, okay. All right. I'm going to step forward. You can follow me on Twitter at Simon Jay underscore DC if you want to. I'm actually not that interesting, but, you know, maybe some all caps news, maybe some hints if you're in the CTF. All right. A little bit about me is going to come first. 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. So, who am I? As Rick mentioned, I was in the CTF last year. I had a great time. I learned a ton of stuff. 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. 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. 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. But I love it. So with that, let's just get right into it because I've got a lot of slides. What is fox hunting? 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. 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. And then you're talking about things that the military does. It's a little more expensive for most of us regular folks. 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. It's just a completely different activity involving detailed wireless surveys, non-linear junction detectors, all kinds of craziness. 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. 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. But the techniques are applicable really to all wireless emitters. Melissa Elliott, I believe her name was, gave a talk at DEFCON 21. 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. All the unintended RF emissions that come out of the various electronic devices we carry around with us. And those emissions can be used to track you. If someone has the right antenna, the right radio, and knows what they're doing, they can follow you around with... You're all carrying tracking devices. You probably have them on you right now, right? So be aware that these techniques aren't that hard and you can definitely be followed just based on, say, your phone. So as I was starting to allude to, really the only equipment you need to be fox hunting is antennas, radios, and some visualization. So you can see what your antennas and radios are picking up. Antennas, usually we're talking about... there's two real basic classes of antennas. And there was a great talk yesterday on antenna theory and all sorts of... He was way beyond me on how antennas work, to be honest. But omnidirectionals and directionals. And within those two groupings, there's all sorts of different types of antennas that all have slightly different performance characteristics. But the basic idea is omnidirectionals detect in every direction and directionals detect in a focused pattern. So we'll get into that a little later. Radios, you need a radio that's capable of receiving the signal. 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... 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. That sort of thing. Finally, visualization software. Really important. A caveat here, because I know the audience in the wireless village is maybe a little more sophisticated. At least the guys back there, if I don't say this, might point something out. Not necessarily visualization. I like visualization. I like to see it. But in a lot of the classic ham fox hunting, oftentimes you're listening to a signal that indicates the strength. The tone will increase in volume or beeps go faster. Basically having some way of knowing that you're pointed in the right direction based on feedback from your radios and antennas. And we'll get into the particulars of visualization software here in a minute. 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. So, how do we pick what antennas we want? Let's talk about antennas. When you're dealing with antennas, there's really two things you want to focus on. Aperture and gain. Aperture is the angle of incidence for detecting energy. How much the... We'll get into the pattern here in a second. Actually, it's the next slide, right? I'll get there in a moment. As a rule, the more sensitive an antenna is, the more focused and directional its radiation pattern. So, gain varies inversely with directionality. So, if my antenna has a really high gain, it's probably really, really narrowly focused. And that's just sort of a general rule. It's not always the case. And too much gain can actually be a bad thing. You know, you would think, oh, it's really great to be able to detect signals really far away. However, high gain, because it has that narrow aperture, requires accurate pointing. It also... I'll get... I have, again, another slide. We'll get into this a little more. But, power... RF emitted power degrades over space in an inverse square. So, if you have a really high gain antenna, and a sensitive receiver behind it, as you get really close to your target, the... You're going to end up peaking your receiver. You're going to be at the top end of your range. So, and as you get closer, the power is going to go up exponentially. 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. So, high gain is good, but it's also a double-edged sword if you don't know how to deal with it. Omnidirectional antennas. The word... the term omni, which implies that they pick up energy in every direction, is actually relatively inaccurate. Really, the higher gain an antenna is, the... Again, even with omnidirectional antennas, it's still more directional. So, omnidirectional antennas have that donut or toroidal radiation pattern, and as the gain increases, it's squishing that donut and spreading it out. So, this is the cross-section here. The donut is squished out, but we get really high gain. In my opinion, fox hunting, high gain is good. It gives you a greater detection distance, which is really the purpose of your omnidirectional antenna. And when we talk about using your equipment, I'll get into that. Gain is good, and high gain, in my opinion. 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. And we'll talk about those in a minute. Directional antennas... The talk is practical fox hunting, right? 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. And that's really based on the availability and the cost. You can go into the vendor area, hit up Simple Wi-Fi. They make... They make this antenna right here. It's a mini 8 dB panel. It's a great antenna. It's not expensive, and it's inconspicuous. We'll talk about why that's important in a bit. And it's cheap. Panels, however, vary way more than Yagis in their performance standards. So, a Yagi is... A Yagi is great for certain things. It's very high gain, but it only receives a really narrow bandwidth. So it can't pick up signals that are, say, DC or 0 Hz, right? All the way to 20 GHz. It just can't do that. It's going to be very focused. But it's high gain, so there's a trade-off there. Panel antennas, much harder to characterize, because there's a lot of different types of panel antennas. 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. There's Alpha Radio. Alpha makes great wireless radios. We'll talk about wireless radios in a minute. They make a panel antenna that looks exactly like this, and it sucks. Because they just have the same case, but the actual antenna inside it is completely different. Know your antenna. Know your gear. That's just common good sense. Some of the other types of antennas... I have one over here. This is a log-periodic antenna. Hey, Dan. I know you said you know who manufactures this. I do not remember who manufactures this antenna. Do you? I don't mind. I don't know. It doesn't matter. So, I got this. Mike Osmond sent these out with the HackRF prototypes. It's actually a really nice log-periodic antenna. It has... hold it up a little for the people in the back. It has a very wide bandwidth that it can receive. Well, spectrum that it can receive. It can receive from 850 MHz up to 6.5 GHz, which is pretty broad. And it's a directional antenna. Pretty broad. It has good performance. It's much broader than, say, an equivalently sized Yagi. But they're a little less common. You can buy those on the Internet, but I don't know that they're selling them in the vendor area. Yeah. That's just his call sign? Okay. WA5VJB. Yeah. It's a cool log-periodic. And I'm going to use it for the demo here in a minute. We'll see exactly how it performs. So, I'll show you that. Also, I'm sure a lot of people have heard from years and years of just it being out there, a cantenna, right? Buy a Pringles can or find the right can and just stick a radiating element inside it and suddenly you have an antenna. It totally works. That's called a waveguide antenna. And they're straightforward to make. 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. And now you can, you know, put a... get a walk, make a walk-fi and put a radio right in front of a walk. It's a directional radiator. It'll reflect that energy right back. You're not going to have the same performance characteristics as a professionally manufactured antenna, but you can do it on the cheap. So, you know, there's not really... there doesn't need to be a barrier of entry to getting an antenna that has decent performance. And that's really what you want to focus on is the performance versus the form factor. Right? 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. 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. Next... There we go. 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? No. Okay. 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. Great talk. But what I'm going to boil it down to is the fact that even a directional antenna is not strictly directional. It tends to radiate in multiple directions. 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. The perfect radiator sphere. So they say, well we have 5 dBi that's decibels isotropic relative... plus 5 dBi isotropic. That means you're 5 decibels better on your main lobe than you are with an isotropic antenna. And that's really important because unless they're also providing you with what the overall radiation pattern looks like your antenna might suck. Right? Or it might just suck for what you want to do, but it might not suck at all for other applications. 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. I don't know if they're in the room... yeah, they're over there. Those guys in the back corner there have some cool antennas. I don't know where they're from. I don't know if they make them themselves. But... 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, and the fox was having fun with it. 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. Another type of antenna is the multi-antenna array, or a phased array. They're generally proprietary. You don't find a lot of people making their own and if they do, they're probably not attending my talk. Being proprietary antenna phased arrays are generally expensive if you're trying to buy one, and they're also hard to find. I was trying to find a good inexpensive sort of man-packed portable phased array for Defcon, and I just couldn't. So if anybody knows where I can get one, let me know. That'd be great. So here's the thing with a phased array. The spacing of your antennas is very important when you then try to evaluate the received signal. 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. So they're really tricky. Yeah, you can build yourself one, and that's actually one of the things I'd love to see next year. I keep pushing the wrong button. I'd love to see next year is somebody create a HackRF based direction finding array. I think it's probably a straightforward project. I haven't seen anybody do it yet, but software defined radios with HackRF now are cheap, and simple antennas are cheap. Let's do this. 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. Rick was saying before the CTF this year, evolve or die. 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. Alright. Moving on to radios. When you're thinking about radios, really what you want to focus on in my opinion, again, all my opinion. If something else works for you, do it your way. Cost versus performance. RF equipment gets expensive really fast. 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. 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. Software defined radios, again, you're just adding on to that cost. Fortunately, software defined radios are really starting to become a reality at a low cost point, and it's entirely thanks to HackRF. It's a great device. 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. 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. 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. 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. Do you have one right there? Yeah, this little white radio, the TP-Link TLWN722N, great radio, $15 on Amazon. It's excellent. And... the Alpha 1 is a silver radio. I don't know if they still sell that one, actually. They do still sell it? Okay. Yeah? Okay, so maybe don't buy the Alpha 1 anymore. Thank you. My Alpha 1's awesome, I don't know. There you go. Rick knows better than I. Another thing that's really helpful for fox hunting that not a lot of people are going to have is a variable attenuator. I'm going to move over here, so you might want to point the camera. I don't know if you're... I'm going to step out of the... okay. A variable attenuator looks usually about like this. It's a little box. There's actually a bunch of different types of variable attenuators. This is a rotary manual step attenuator. It's an HP 8495 Alpha, 70 dB in 10 dB increments from DC to 4 GHz. Great performance. I got this I guess about a year and a half ago, maybe not, about a year ago on Amazon for... excuse me, eBay, for about $130. 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. 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. I have it tied in directly to my antenna, right, so my antenna gain is what I'm attenuating. 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. 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. So if you really know your radiation pattern, you can attenuate your antenna by just turning. 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. Signal displays, that's how we visualize what we're getting from our radios. 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. This has frequency, excuse me, frequency along the x-axis and received power along the y-axis. 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. I want to find out what frequency I need to tune to to continue to track my target. They're not always strictly needed if you have other ways of finding the signal of interest. 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. to avoid colliding and interfering with each other. 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. You don't really need a power spectral display to find a Wi-Fi radio. 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. Power time domain, however, for foxhunting is way more useful in my opinion. 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. 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. 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. Maybe go back where you came from or turn back in that direction. And it really just keeps you from having to try to remember all that. 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. Just look at the thing, right? It tells you. 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. It's just, you know, practice, learn what you like and do it however you prefer it. So I consider this really the fox hunting tool of choice. When you're out doing the job, that's what you want to be looking at. The downside of these is that there are no good software tools to do it. I'll mention a couple later and we'll talk about them then, but we'll get into that. 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. There are all kinds of words for it. Basically, it's a combination of the last two diagrams. 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. That's neat and all. 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. So, they're neat, but eh, whatever. Alright, so we've talked about the gear, the displays. How do we use it? What's the plan? First of all, be prepared. Don't try to throw it together. Know and be comfortable with your equipment, and this is something Rick was telling everybody last year. Know how long your batteries will last. They probably even mentioned that again in one of the other talks about the CTF. 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. Get out there. Try it. Try it at home. Yeah, just be prepared. Direction. Detection ranges for your particular setup. 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. If you swap out either piece, you swap out your antenna, yeah, you might get 3 dB better. But if you swap out your radio and your antenna, you might get 6 dB better because that radio was more sensitive. So, for the setup you're using, you really need to know exactly how it's going to perform. 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. Right? 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. And become fluent in the software you're using. Know how to adjust the frequencies, know how to adjust the signal you're tuned to, etc. And then just practice. 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. 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. If I'm carrying around an antenna on a pole, no one wants to come near me. There you go, 30 minute brief to the fox before it starts, basically on all the people to stay away from. 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. And that's a lovely picture of Egon doing exactly what I said not to do. When you get out there and you're prepared, you're ready to go, what do you do? Well, one thing, be aggressive, keep moving. If you're not moving, you're losing. The fox is probably moving away from you. Standing in one place and just hoping to pick it up, not going to work. You need to be out there moving around, know your environment, plan ahead. 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. 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. And remember what you saw when you were in certain places. 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, 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. Maybe he's on the other side of this wall. Snuck into the room, and hey, what do you know, the signal got way stronger. 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? 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. 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? I've narrowed it down to this group of people. And rather than walk over to them with my radio and say, hey, okay, well, it's not really strong over here. 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? 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? Maybe that person who left was your fox. 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? That person's probably your fox. So, don't just trust your equipment. Look around. Now I want to talk about something called multipath. Generally, you don't really need to worry about multipath, but it is important to know what multipath is. RF emanations, wireless power, bounces off of things, and depending on the frequency, it'll bounce off differently. 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. 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. This is called multipath fading. Multipath fading can be both constructive and destructive. 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. I did not plan for that, but I was able to explain it because, hey, multipath fading, right? I'm getting some constructive interference. Just be aware of that. In a fox hunt, to avoid and mitigate multipath interference, keep moving. 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. So, the signals you receive are going to fluctuate naturally, just for a multitude of reasons. 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. But, I'll make another point real quick, but don't move too fast, and I'll talk about that in a minute. I thought it was on this slide, but it's not. So, what do we do with an omnidirectional antenna? 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? That's the whole point. It is possible to successfully hunt with just an omnidirectional antenna, we were talking about varying the attenuation, keeping moving, you can do it. 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. 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, but with an omni, you need to move. And keep that mental map, as we were just talking about, to perform sort of on-the-fly triangulation. 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. You can do that, it's just, it takes a little practice. 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. 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. 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, but it kind of brings it all together. And it reduces your effective gain when you get close. 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, 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. 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. Once you have all that set up, you're ready to go, you know how to use it. Basic strategy, and I've been alluding to this throughout the talk, but what do you do? Well, tune your radios to the target emitter. 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. That way you're not getting confused and interfered with from other things. 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. 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. He has been doing this way longer than I have, and he knows way more about it than I do. 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. Start to walk your search pattern. And I want to be very specific on pattern. Don't just be random. As you're walking your search pattern, be watching your power time domain display, because that's really just the best thing for it. 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. 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. 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. 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. Then if you start to peak your signal, add attenuation. I said before, be aggressive. 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. If I move really quickly, I'm getting a lot of change in my receiver and my antenna. 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. 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. And look around, as I said before, the emitter may become obvious once you get close. I have a particular affinity for a couple pieces of equipment for Wi-Fi. I was talking about the simple Wi-Fi antenna earlier and the radios. I think those are really great. And my manual step attenuator. I also usually use a 5 or, to be honest, a 7 dB omnidirectional rubber duck antenna that comes with many wireless routers. Not all antennas are created equal, even in those omnis that all look the same. 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. Those TP-Link antennas that come on that radio are actually really nice 4 dB antennas. 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. I wouldn't have guessed. I thought it was going to really be terrible and it turns out it was the great one. So I use that one all the time. 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. Get one of those TP-Links or something. Get a decent radio. 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. Whereas the Alpha 1 is more of a pure radio so I use it for directional antenna. 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. But I don't care. Because I'm just using that to figure out what the power of that particular emitter is. Oh yeah, that's a very good point. The old Alpha 1 does not cover 802.11n. So be aware. And that's again, know your gear. Know what you're using. Know the signal that you're looking for. Make sure you have a radio that's capable of receiving the signal of interest. As I was saying earlier, for power time domain displays, there is no good free software. All of the ones I list here are okay. But they have different problems in different ways. Kismet is pretty decent. Just stand alone. But stand alone, it's a text based interface. So that's really annoying. If you add the Kismon UI that you can download, it becomes a little better. 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. It'll just drop out. You won't get another update that says you're not actually receiving anything. It just doesn't update. And that's really frustrating. I'd rather average it out over time or something. WiFi Analyzer for Android is the best one of these that I have listed. That's what I used last year. It's actually a really great program. The problem with it is it's only available for Android. I wish it were available for something else. Net Surveyor on Windows is okay. I've never used it, but it looks pretty decent. But it's Windows, right? So again, they all have a problem. And then Wireless Diagnostics on Mac are actually really good too. 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. It auto-ranges the power. So it can be hard as you get closer. You're not getting an absolute indicator. It becomes relative as it changes, and you have to pay attention to it a lot more. But otherwise, it's actually really good. But again, they all have a problem. So if anyone is super motivated, write some good software for doing this. It would be really amazing. And people would use it. That's it for my main talk. Here's a lovely picture of people foxhunting. This is public domain image actual foxhunting. And I have a little bit of a demo where I'm going to show some of those things. Do I still have time? I'm good. Alright, cool. I didn't know if I needed to end earlier or whatever. Cool. Yes. Find him and find out. Alright, so real quick. Okay. I have here and I just reset it. Always do that. Yeah. I have a HackRF1, which I'm about to reset. Stop. Ignore. That's what I get for touching it. Go. Okay. I have here a HackRF1 prototype transmitting a signal in an ISM band on an unlicensed frequency at a very low power. It's in an ISM band, I promise. 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. 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. We're at DEF CON. There's a lot of signal floating around. So, what I'm going to show you is just some of the things I was talking about. 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. We'll see. Okay, so the signal that I'm transmitting is that one right there. So I'm just going to put that as sort of a reference level of where we saw it when I was close. I'm a little farther away now. I'm pointing in a different direction. I'm moving my antenna. We see the signal fall off. As I turn it, this antenna has a radiation pattern. This is actually technically the main lobe. It's coming out this way. 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. Like this top lobe here is actually pretty good. I actually get better signal that way. It also has a really strong back lobe. I just turned it around completely, for those who can't see in the back. And I'm receiving about the same power. Just the nature of this antenna, which is why you need to know your gear. But if I turn it down and away, I'm not looking. My top lobe is going that way. My bottom lobe is going that way. Front and back. It's much lower. And as I get closer, I'm noticing my signal. I'm walking toward it. It's peaking up. It's getting really high. I'm going to dial out some attenuation, dial in some attenuation, get myself back down into that range where I can get discrimination. That variable attenuator makes it really easy to very quickly alter your attenuation without having to worry about the orientation of your antenna. 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. One of the things I didn't talk about is low noise amplifiers. They can be very helpful for certain circumstances, but I was talking about general RF equipment. They can get pretty pricey. There is a piece of gear I just want to mention called LNA4, the number 4 ALL. LNA4ALL, somebody, I think he's in Europe somewhere, I don't know, has made a low cost, low noise amplifier. It's actually a really nice piece of gear. Dan in the back has one. I should have warned you ahead of time I was going to talk about it, Dan. It's a little square, about that big. You can buy them in an aluminum enclosure. They're really useful for certain things. It looks about like this. It's just a tiny square. This amplifies signals. 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. I wish someone would make a variable attenuator for all. Variable attenuators are stupid expensive and they're hard to find. 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. Please do it. People will buy it. You can sell it in the vendor area next year. People want this stuff. That's really about all I had. Does anyone have any questions? You would need, depending on the cell tower, something like this. This is a 900 MHz antenna. It will pick up certain GSM bands. There are an unfortunately large number of cellular bands. 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. You'll have multi-band radios in your phone. And when you switch over from 3G to 2G you're going to be in a different band entirely. 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. 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. 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. Other questions? Yes? 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? 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 So yes there are some things out there. Metageeks It's Metageeks yeah? Somebody knows It's Metageeks, I promise They're supposed to be here They're supposed to be here? 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? 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? Oh that's a really great question 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, 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? 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 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? Yes What is the most common band for plot-summing? 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, 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? 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, 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? Questions? Alright Thank you all so much for being here I really appreciate it Have a good time