My name's Ed, or Faz, and this is a talk on exploring the 802.15.4 attack surface. So the talk I have for today is really more of an exploration from knowing absolutely nothing to knowing enough to get a bit of a familiarity and understanding with what's out there and start driving follow-on activities. So I run my own cybersecurity practice in Sydney, Australia, which I've been doing for the last few years. I've been pen testing for a number of years as well. But I'm also now lecturing down at the Defence Force Academy in Canberra. So this was a photo a friend of mine sent through a little bit earlier this morning where we had the minister visit. And that's kind of the guy that heads up stuff around cybersecurity in Australia from the government side of the house. Funnily enough, we had our labs and, of course, we had things going ping. So everyone that attended was very interested in some of the stuff that we were doing. So I took over the course for wireless and IoT security in 2017, and it's been evolving. Ever since. And a couple parts of that evolution have been what do we really want to get out of the course, as well as even some student contributions. So I think we've found a bunch of ODA in a number of our classes, in that students have just purchased equipment and brought it in. Earlier this year, we had a device from Costco that I decided to pick up that we found a couple of bugs. And it was on the HTP interface. This was a home alarm system that the arm and disarm commands were sent via an app to a HTP interface that could be sent without authentication. So a little late last year, one of my students was like, hey, look, it's awesome we're working in the 802.11 space. It's awesome we're working in 433 to 435 megahertz. Can we start doing ZigBee? And it was, well... Yeah, okay. What's ZigBee? So as I was starting to go through a lot of my prep activity for this, it was, well, there's heaps of ZigBee stuff out there, but this really starts to form part of the 802.15.4 standard, which deals with networks that are designed for low power, high interoperability and reliability, of which... during the explorations, and you'll see a few of those a little bit later, there are different networks out there. LWMesh is one I've seen a lot of. MyWi not so much. LowPair not so much. But ZigBee all of a sudden started to become, of course, the common one and the one that was fairly widely adopted. So what are some characteristics about this? It does operate on the 900 megahertz and 2.4 gigahertz ISM bands. That being said, that doesn't mean your network cards will actually connect with it. It was funny, I was actually doing a heap of write-ups on some of the research I was doing, to which a student had... to which an observer had just said, well, yeah, you can just do this with a pineapple, right? Yeah, okay. Other factors, well, you'll typically find that there's a bridge to a control point or an internet connection off the back of which you'll probably find somewhere on that hub or that bridge some sort of HTTP interface that's probably going to be vulnerable. You also note that there's actually limited user interaction on the hardware. So it could just be something as simple as a button push or a couple of buttons, and that's it with a lot of the other control features taking place in other parts. You also find that they're low power devices, low interaction, low traffic as well, which of course can lead to low security. The low traffic one I think was quite interesting from a discovery standpoint for the places I was researching around in that actual capture and identification proved to be difficult as we were trying to do wall drives and map out all sorts of networks. So yeah, as I noted there, picking stuff up started to become quite difficult. But at the end of the day, it's a wireless network, and we will have the exact same issues in this same environment as we've had for the last 115 years, which will either be we can impersonate, we can monitor, we can replay, we can jam. All those same fundamental issues that we have with wireless security are still there. So this was a little map I drew up to get my head around, alright, what can we do and how can we start doing any sort of targeted stuff on this network. So power consumption was one that came up quite interesting in that because a lot of these networks have independent power sources, either they're operated by battery and are quite constrained by that. Any sort of heavy interaction could drain power and that could actually present a risk. The fry one was interesting in that this came up in a discussion I had with someone who does research in electronic warfare. He's like, well, if you think about it, the nature of the devices means that it's quite, they can only really receive so much power. Anything above that could actually damage the devices. Off the back of this, we then still have our same consistent attacks of things such as jamming, monitoring, even locating networks as well. And these will all stay quite consistent. So whilst I was trying to prepare for this, hey, let's do ZigBee and let's actually start writing into the course, I was struggling to find a lot of information out there. So there's some really cool stuff by way of the Killer Bee framework and some of the research Josh Wright has done. But identifying products that we can research outside of light bulbs started to prove difficult. And then even getting an understanding of what these were was where I started to find things were falling short. I also had to start practicing some of the tool sets that I wanted to introduce to a lot of my students. It was also another piece of getting my head around capture and analysis as well of what would that look like and how could that be structured into a course. And also at the end of the day, I wanted to do something practical and relevant and fun that wasn't some sort of theoretical literature review or something that could be Googled. So I kind of started resorting to, well, let's start actually exploring what is out there so that we could start evolving a piece of, so that we could actually start evolving something for students to train with. So in terms of software, you have the existing Killer Bee platform, which is actually pretty cool. And then you also have the heap of software that you get from manufacturers, things such as Texas Instruments have some pretty decent stuff out there. In terms of the hardware, so you'll see the RZ Raven, which allows us to transmit and receive, which is pretty cool. But funnily enough, the easiest piece of hardware I found to play with was this Texas Instruments receiver on the top left of the screen there. Now I've also procured another device from Europe, which is a Siwu OpenSniffer. So I'm going to be playing with that as things start to evolve. That will allow us to also work in the 900 MHz ISM band, whereas the other two devices are really only focused on 2.4 GHz. So what did this start to look like? As I was doing research. So my first setup was simply a Nexus 5 with the RZ Raven. All I was doing was walking around, polling out for networks. Now the issue I have here is, or one of the issues I did start to discover, was that only a handful of networks would actually respond to any sort of polling out that the actual that was actually getting done. The other problem you have as well is, if you think about it, your device is also having to do channel hopping. It's having to do it across up to 16 frequencies. So if you're walking along an urban environment where you may only have a couple of where you may only have a couple of meters to actually transmit and also receive on, you're probably not going to be able to capture everything. This was really cool from an introductory standpoint. Just walking up one of the main streets in Sydney in Australia, there was an air conditioning unit outside of a rather large financial institution. There was also a heap of shopping malls as well. So there were actually a fair few devices that responded to beaconing. So, what became evident off the back of that was, well, what if we did a proof of concept where we were able to set up with even just a couple of the Texas Instruments dongles and just receive off them. Also at this time I was playing with receiving off both the RZ Raven and the CC2531 dongles off Texas Instruments, and I was identifying that the TI kit was actually quite reliable. For doing captures off. And at five dollars, it's actually a far better, the five dollars I picked it off from somewhere, it was far more reliable at receiving than the RZ Raven I purchased. So, off the back of this I decided to put together a very simple proof of concept for capture. Now the software I was using, I was still using the, so I was using both software from TI, as well as the killer B framework to, to start going around and hunting for networks. And just off this setup alone, a couple of the issues I was encountering was around power. So, being able to power all the USBs started to prove quite difficult. Another issue I was having was just having the software remain stable and reliable on either the, the Nexus or on the, the Pis was also proving quite, quite irritating, relative to stuff I was doing off the back of a laptop. But, off the back of this we were able to say, hey, well, we've been able to map out a few spaces, just within the, the vicinity of our office. So things, things actually worked quite well, and off the back of this we were able to start building things out a little bit more. So this is where I decided to get 16 dongles, one for each channel. There's also a really cool tool I discovered on GitHub whilst I was going through. However, I did notice that being able to, to, the, the outputs from the, the tool set were starting to prove a little bit frustrating, so I had to actually start writing up a few scripts to convert that, so that we could do some proper analysis. Also, the, the actual Pi and the Nexus were struggling to support all 16, all 16 dongles, so I decided to go back to my laptop to, to support all these dongles, which actually worked out quite, quite well. So, off the back of this, I started doing a, a whole heap of wall driving around Canberra and Sydney. This was the results for about 90 minutes in Canberra. I've just popped up a QR code if, if you want to check it out. Um, I'll, I'll leave that up there for a bit, but just to, to give you a bit of an explanation of, uh, Canberra and what's actually around Canberra, you'll, you'll see you've got the lake there, uh, to the south of which you have the parliamentary triangle, uh, and a, a whole heap of, uh, federal government buildings, uh, and to the north of it, you, you kind of have the, the commercial centre, uh, of Canberra. So, what was quite interesting, uh, around this, and it was a, a consistent thing I was noticing, uh, across, uh, both Sydney and Canberra, was that a lot of hotels and hotel locks, uh, all were baking out, all, all were, were transmitting, and transmitting quite a lot. So, this actually became a really interesting characteristic to, uh, to track, uh, was a, a hotel lock would be communicating and, and, and just sending stuff out. And in this case, you could actually, uh, you could actually see two different hotels. Uh, this one here, uh, is also a little bit interesting. Um, and I'm getting someone shaking their head at me, uh, in the audience right now. Um, so, one of the, so, one of those buildings is Department of Foreign Affairs, which is also our, our Department of State. Um, the, the problem is, though, if you would have a look, if you have a look, I also did a, a couple of loops around this building, because I was seeing a lot of traffic on the, the, uh, south, east side of it, uh, which I'm pretty sure is associated with the three or four hotels, uh, that are, are nearby. Uh, and then, also, some, somewhere around Parliament House, I, I started picking up a few, a few more of these. So, how did Sydney look? Um, so, I thought it would be a fantastic date night, uh, to go for a bit of a, a war drive, and, uh, introduce my girlfriend to, well, this is war driving. Um, so, we managed to pick out, uh, 3,698 packets over three and a half hours before, uh, before dinner. Um, what was interesting here was, uh, Star City, which is the only casino in, in Sydney, was, uh, there, there was a heap of traffic we saw around there, but there was also Harris Street. So, Harris Street is also where there's a whole heap of data centers, uh, in Sydney. Uh, I believe, uh, say again? Global Switch. Thank you. Uh, so, Global Switch and, and, uh, two or three others, uh, are, are down there. So, this is also a brand new, uh, precinct that's also been built in Sydney recently. So, we can see with, uh, new construction development, um, uh, some new facilities being put up, and they've obviously got the latest and greatest tech. Uh, so there was a, a lot of traffic around here that, that was, um, uh, that we identified. Be mindful though, this is only after a, a, about a few minutes driving past each of these that we're, we're able to at least just identify some of these networks. So, off the back of this and saying, um, we can start saying, well, this is what we understand is occurring in these buildings, based on what we know about the physical premises. Off the back of this, we can start doing things such as, as much larger collection, uh, and mapping out what is occurring, and then maybe notionally planning for any attack or, or exploitation, which, at the end of the day, this is stuff that I don't actually own. So, um, one of the things I have been doing a lot of, uh, off the back of this, is building out, uh, databases. So, uh, this is a solar power plant in New South Wales, um, and this is a, a Raspberry Pi, uh, with a battery pack and a, a couple of, um, a couple of dongles connected to it, which, um, and a, a note for anyone who decided to find it, just say, hey, call me if you see this. Um, but, yeah, we were able to just leave this setting outside a, a solar power plant for, for, about 24, 36 hours, um, to, to see what we could actually see. So, I managed to get, uh, about a, a 60 megabyte PCAP off the back of this. Found some cool stuff, nothing major, but it's, you know, enough for us to start thinking through, alright, well, what can we identify here? Off the back of this, what can we start doing? So, after all of this identification and, and large scale capture, um, I've now started to identify as much tech as I can, um, online to start purchasing and start building out labs and stuff. So, uh, a simple typing into Alibaba of Zigbee, uh, has brought up a, a whole heap of devices, uh, for subsequent research. So, um, I'm probably going to be doing a, a lot more large scale, what I would call large scale capture and analysis, throwing out a lot more pies to actually collect information on. Um, now that I have a bunch of devices that I've purchased, I should actually start to, uh, do a, do a few more targeted attacks on them. Um, I'm also trying to work out, can I actually have four students in emulated environment off the, the back of Raspberry Pis? Will we just replaying traffic that we've, uh, either captured or simulated? Um, and even probably building out, uh, a few more of the, the tools that, I mean, at the end of the day, um, there's a lot of existing tool sets out there. It's turning into how do you apply the, uh, apply those to the environments, uh, that you're testing. Uh, that, um, that I think really became one of the, the things I started doing over the last six months to work out, well, this is what we'll be doing, uh, for our students. So, um, this is very much still an evolving piece for me. So hopefully I'll, uh, I will be having a lot more over the next six to 12 months. Um, if you have any questions, if you have any thoughts or, uh, or, you know, even any suggestions, um, feel free to email me. Uh, also, uh, my, uh, business is, uh, available via the QR code as well if you want to touch base or, uh, or, uh, or chat. Guys, thanks for having me. Um, yeah, are, are there any questions? Nope. everyone's tied. Thank you. Thank you. Thank you.