At this point, I'd like to welcome Dan and Lucas to present, My Call Sign is My Passport. Thank you, thank you. So, thank you everyone for coming to our talk. My Call Sign is My Passport, Responsible for Testing and Disclosure of Ham Radio Websites. So, I'm Dan Nort. I'm a Senior Security Consultant at NetSpy. I've got three years of experience, a little over three years of experience doing web application penetration testing, X-PEN, Cloud-PEN, API-PEN, so a wide skill set there. I've been licensed for six years and I now have my amateur extra as of May, so. All right, I'm Lucas Scaler. Ten years in InfoSec, did some digital forensics, sensor response, pen testing, phone management, now I run a security operations team. Licensed for 14 years, amateur... what is up with it? It's a bad one. Yeah. Yeah, it's a little jiggly. We don't want to talk about wires here. No. Maybe we'll just skip the mic. Yeah, skip the mic. Yeah, all right, we'll talk loudly. Yeah, so licensed for 14 years, now amateur extra, GLARD V. So start off with the usual disclaimer. Dan and I are doing this on our own volition. It's not anything from our employers. And there is some propensity for getting in trouble if you were to do some of this, so don't necessarily do what we did. Be careful if you decide to. It's not our responsibility if you do. This is how we pota in Minnesota. We're out on a frozen lake, it's zero degrees out, and miserable fun is what we like to do. Miserable fun is the best fun. And if you have an FCDX10 and you like the little protection rails, it's on Thingiverse, he designed them. So this is actually my home QTH. I'm technically portable during the summer. I go and I set up in the backyard. This is how I operate. Well, last year I wanted to be able to operate inside during the winter, because as you saw from our pota slide, in Minnesota it gets cold. I don't know if you guys know that. So Lucas came over, helped me install a ground rod, we got everything grounded, bonded, everything's done right, but that's what hams do. Hams help hams. And the water bottle trick in order to put a ground rod works great. Five minutes? Five minutes. It was amazing. So, how this all started. I accidentally found a vulnerability. I don't know if you guys know this about me, I'm kind of lazy. So I happen to be on my favorite ham radio website. Listening to the radio in the backyard. And I hear an interesting call sign. I'm not going to use the search bar, I'm lazy. So my call sign was already in the URL. So I went ahead and just typed in the interesting call sign in the URL. Next slide. Now, this is what we call an insecure direct object reference, or IDOR for short. It seemed like there was some sensitive information. By the way, all these slides are completely faked because we'll go into that later. But it seemed like there was some sensitive information here that I should not be able to see on someone else's profile. And that's why it was an IDOR. Now I wasn't sure if it was an IDOR or if this was intended functionality. Now we get to kind of the big problem. What do we do? So here's the problem with trying to disclose something. There are many incidences of where it did not go well for the person trying to disclose it. Someone trying to do the right thing. And him and I went back and forth on this for quite a bit before we decided what is the right thing to do in this case. There was the F12 incidents where, hey, you use dev tools, the governor now says, you're a hacker. And it's like, well, if he's a hacker, I want to hire him. But there's other cases. Four students arrested for disclosing a vulnerability. And they were strip searched for disclosing a vulnerability. That's how bad it goes. And when I was looking for these things, it turns out I actually found like an open source project that is tracking this sort of like occurrences. And the fact that there needs to be a project of that scale tells you just how bad of a problem this is. And so it's like, what do you do? Do you do the right thing and disclose? Or do you just say, yeah, it's not my problem? Well, we're hams. So it's Dan. So of course, he's going to full send. And it's me, I'm going to full send. A disclosure to the site owner. So at this point, I emailed the site owner asking him, hey, is this intended functionality? Here is seven steps to replicate this exact behavior. But hey, everything turned out okay. He confirmed it was a problem. Was very, very grateful. Remediated it within just a few days. And then asked me to validate that it was actually fixed. Can't get better than that, right? Didn't go to jail, didn't get strip searched. Now, we were wondering, hey, why did this go so well for me? Obviously, the professional reporting, I write pen test reports all the time. So it's kind of like within my wheelhouse. I believe it might have been because I asked, hey, is this actually a problem? Because I didn't want to assume anything. But the thing that him and I identified, we think, was why it went okay. Because we were licensed, or I was licensed. And so, he comes in later on this. I was licensed, and so it was... The license kind of like gives you a little bit of trust with other hands. Because, I mean, hey, we all care about the call signs. Ending in Lima, come back, you know? We've all been there. So this is great. We helped, at this point, we helped one of my favorite ham radio websites. And we improved their security posture. And we got rid of a vulnerability that actually would impact other users and their data. It wasn't extremely sensitive. But it was still things that I felt were like, people shouldn't be able to see that. But we wanted to be able to do more, too. So Dan and I talked about it a little bit. We decided to approach the owner again and say, hey, what if we do a full assessment of your site? Let's look around for other stuff beyond just what we've stumbled on. We're hams. Here's our call signs. Here's what we're thinking for a scope. We're going to do manual testing only. We're going to keep within these certain testing windows. We're going to not do destructive testing. We're going to provide a report back with the findings. We're going to not disclose specifics prior to remediation. And we're going to de-conflict by, here's the IP addresses we're coming from. Here's the testing windows. We're going to do it. So this way, if anything went wrong, he at least can go like, oh, it wasn't actually them that caused that problem. Because it's like, hey, here's our de-confliction. But yes, absolutely no scanning. It's prod. It's prod. So he was 100% on board. He was very excited to get some more attention on it. So in summary, what we ended up finding, six high vulnerabilities, three mediums, three lows, and one informational. And this was done over a little more than 12 hours of time. Spread out over a couple weekends, an hour here and there. And that's an actual photo of us doing the assessment right there. I think that was weekend two. But yeah, so the important thing is, that was 12.5 hours between two of us, spread over several weekends. It was not any sort of big commitment for us. We weren't burning up our weekends or anything like that. It was, hey, we got a little bit of time, let's send some help. Full send. So you can't come to DEF CON without showing the hacks. As I mentioned earlier, I can't actually show you the real hacks, but we got a mocked up version of the hacks. As we said, don't disclose anything that the owner isn't comfortable with you disclosing. We're here to help. So, I don't know if you know this about hams, we love logs. Yeah, okay, so that tracks. So, obviously most websites you can upload your logs. The other thing we love to do is brag about our logs. I personally like to do a handwritten log and then later upload it. So, now I'm looking at someone else's log, which is intended functionality. Now what happens if I try to upload something to my log? Next slide. So, got a flex of the FT5D here. So, there's my call sign, because it's going to say, hey, it's going to go to my log. What happens if I just go ahead and change that? Does anyone remember the vulnerability from earlier? When you find one, there's usually more. So, what do we have? This is an iDoor. Next slide. Boom, now I'm uploading to someone else's log. I just put him into this very interesting person's log. Not a real call sign, at least I hope not. Don't know, should have checked. Next slide. So, now let's go a little bit further. Instead of actually just uploading a legitimate log to someone else's log, what if we put a cross-site scripting payload into there? And now we have stored cross-site scripting with an iDoor on someone else's log. What can I say? Ham websites need some help. If you've got the skills, volunteer. Next slide. Now, you may have noticed there was an informational finding. You know, we had, what, three highs, three mediums, something like that. But there was one informational finding. I don't know if you guys know this about me. Probably not. I hate TLS findings. My side of the house hates them. His side of the house hates them. Everybody hates TLS findings. This is not your normal TLS finding. So, the TLS certificate in use had an annual cost of over $200 for this website. So, we all know everyone's always asking for donations and donations and donations. Here's another way that we can make an impact. That's why we included this. We recommended that he switches to Let's Encrypt. But then, we also provided the correct installation instructions for the architecture and infrastructure that was in use. And that's just a big impact of saving $200 for that website. That's $200 less in donations that they're going to need. But, how do you feel about TLS findings? I also don't like them. Yeah, everyone hates TLS findings. I hate fixing them because they come back in a month. The second you remediate it... They're bad. There's another bad cipher. So, this got us thinking about, alright, so this one website's like this. How prevalent is this? How common are these kind of things across amateur radio websites? So, we did some research. Turns out, it's a pretty common kind of thing going on. So, 40% of them we found had what we considered to be an excessive number of services open. In many cases, what seemed to be unnecessary. Things like FTP, DNS, RPC, RDP, R-SQL, I mean MySQL. If your SQL server is exposed to the internet, it's not MySQL no more. It's R-SQL. You know, banner grab suggesting versioning was often behind. There's caveats around the accuracy of banners, right? But, it's still pointed to a pattern of, hey, there's probably some patching that we're deficient on here. And then, just seeing a SQL server on there is telling you that you have a database function running on a web server. So, what can we do about it? If we look at the Venn diagram over here, we can see there's a large overlap between InfoSec enthusiasts and licensed amateurs, right? That intersection point in the middle is why we have a ham radio village at DEF CON. So, that's basically you, right there. So, if we were able to do this, why can't other hams in InfoSec do the same thing, right? You know, verifiable identification can go a long ways, right, towards establishing trust. Call sign happens to be a very easily identifiable and verifiable piece of information that we all have. You know, many of these sites are being run by hams as a DIY side quest, right? They're just trying to make a little piece of the hobby work. They need all the help they can get. So, what we're advocating is to reach out to the sites that we care about and that we use, identify yourself as a ham, provide your call sign, and request permission to utilize your skills in whatever way they need. So, to that end, put together some kind of simple general guidelines on how to start, right? Keep this simple, right? Get permission from the site owner. We don't want to be, you know, pushing on stuff that isn't necessarily what they're looking for. Don't go looking for a vulnerability before you get permission. I happened to accidentally stumble upon one, and that's what led to this. But don't start looking until you get, like, permission. So, FriendDA is kind of the name of the game here, right? Honor the scope and constraints that you agreed to originally, right? Because there's still no legal protections here. We still have the CFAA in force. You know, avoid the destructive testing. It's fraud. It's fraud. It's fraud. And, you know, don't disclose the stuff you've been asked to keep private, right? We've built trust around our call sign, so let's keep that trust going. So, really trying, too, to focus on identifying issues and recommending solutions, right? We're just trying to start at a ground floor here. You know, offer to help with fixing if you're inclined, but really we're looking at remediation as the bonus. We just want to identify the problem so that they can figure out where they need to go next with it, right? Many sites are going to have limited resources to be able to actually remediate things. We're really trying to position this in the spirit of amateur radio licensing. How we conduct ourselves, right? Really fostering a collaborative dialogue instead of an adversarial one. So, going along with that, it's important we've got to know our limits, right? We're trying to help, not create more stress for the site owners. So, the key there is to stick to what you know, right? Everything here, we've got to be treating like prod under SLA, right? Because it is prod. Yeah. Probably not the place to try out your new techniques, right? Work on those in your lab and then come back later and do the things that are familiar to you, right? You know, probably skip a little bit of Ion Cannon here as well. Likewise, knowing when to stop, right? There's a very big difference between pulling a random exploit from ExploitDB and reading a banner and looking at the version and looking at vulnerabilities that apply to that one. Because, again, it's really not hard to get in trouble with the CFAA if you're kind of going outside the bounds. Because there's no legal protections and it's prod. So, kind of going back to those common themes before and some examples of ideas we can give as recommendations, right? Limiting attack surface, turning on a firewall, shutting down services you don't need, right? Segmenting those logical functions out. Just getting those databases down into a database tier away from the DMZ. Patching systems, right? Like, even the app stuff, right? Use the OLAF Secure Coding Guide. Applying OLAF, this is all pretty basic stuff to a lot of the industry. But for HAMS, it appears to maybe be an area we can go back and kind of get back to the basics of. Because it's a hobbyist thing and while they... they're running as a DIY side quest, basically. And they need help. So who can help? Cool thing is there's something for everybody, right? As we thought about this, pen testers can go looking for vulns like they usually do. Usually breaking stuff. Try not to do that here. App dev, right? Look for OLAF's top 10 or even just get more involved in some of the open source projects in the HAM community. General tech, they're going to need help with remediation. They need to understand how infrastructure works. How best to apply some of this stuff, right? Even somebody in audit, right? Is going to be able to map against one of the common frameworks that are out there. And the great thing is, if you're new to IT, some of this makes for very good ways to get bullet points for the resume. Hey! I mean, like, if I see a bunch of accepted pull requests on your GitHub, I'm saying that's pretty impressive. It helps, yeah. So, we're really just trying to start a conversation here, right? We've obviously identified a need. But beyond that, this is still a relatively fresh idea, right? You know, some things we're kind of noodling on yet. How do you handle the sites that don't want help, right? And the ones that are unmotivated or not really looking for help, right? As we think about where the industry was 20 years ago with responsible disclosure on its own. I say just pass on them and just help someone that wants help. And we can circle back to the difficult ones later. Yeah, I mean, should your kind of standard responsible disclosure timelines even apply here? Is the data on these sites even important enough to warrant it? I have my opinions at an ethical level, but I think that's a broader question than just what I think. And then as someone from my side of the house, if you find something that's critical, you're going to have to push it. But I don't believe we're going to find too many critical things that are that bad. And we really should just don't go adversarial, keep it as a collaborative thing. But that's my opinion. But this is going to have to be a discussion we all have someday. So kind of looking down the road, some other areas we're interested in trying to dig a little deeper into, too, is seeing if we can carve out some legal perspective for this, right? And finding some ways to make this a little bit easier, right? Some kind of sow-like paper trail would be really beneficial for being able to say, this is what we're up to, here's what we're doing, right? So if there's any attorneys out here, love to hear from you. Got any ideas? An attorney that has a license. You know the idea of a bug bounty, right? We kind of got to stay away from money when it comes to amateur radio. But people love to chase paper. Is there some kind of thing that can get tied into that, right? With how we look at bug bounties normally operating. Found all bones. Develop a community source testing methodology as well, right? Kind of come up with, here are the ten things that the hobby should be looking for, right? You know, standardized community reporting templates, any other supporting reference material we want to come up with. So it's kind of a wide open thing, right? It's a thing we kind of stumbled into and curious what the rest of the hobby thinks. Well that's the thing, hams help hams. So there's a couple of our references. Contact info for us. And we'll put these slides up on github here in a little bit. At least you can find us on QRZ and our proton addresses there. Yeah, I guess I'll update my QRZ. But... So I'd like to, first and foremost, I'd like to thank a very special ham radio website owner who I cannot name because we decided together that we couldn't actually name them yet. But thank you very much, you know who you are. So thank you. I really wish I could. But you know, I just can't. But anyhow, it was wonderful. Thank you to the ham radio village for having us. Thank you for everyone who came up. Big thank you for Ferris for coming and filming. Thank you. We'll be around for questions if there's any after. Come on, give a shout out to your daughters. Come on. Oh, and if Kenwood wants to send us a 75 to test out for security.