start	end	text
0	1600	Good afternoon everyone.
1600	3780	Welcome to our presentation.
3780	12180	So what we're going to discuss is a new critical vulnerability that we have discovered and essentially it's a new critical crypto vulnerability.
12180	16620	Where we found this is in Gotenna Pro device that is located right there.
16680	31640	However this process is very unique to what we discovered and it can be more generalized and we advise other people as you go through this if you're designing your own RF systems or something like that, look and see if you have vulnerabilities similar like these.
31640	40160	Our presentation is titled One Key, Two Key, I Just Stole Your Gotenna Key and Woody and I would also like to thank Clayton Smith for his assistance in this project.
45760	50720	So now that we go into this, like first question is why does this matter?
50720	64640	Why does often... when natural disasters like hurricanes and earthquakes happen, you have things that traditionally infrastructure completely goes down and first responders cannot rely on 5G or LTE.
64640	65780	That is where radios come in.
65780	69200	They create their own network device to device, no infrastructure required.
69200	76000	So when these big disasters like Hurricane Katrina, Hurricane Helene happen, they use these radios to communicate.
76020	86200	However, if an attacker can compromise the encryption, they can essentially modify the messages, spoof messages or shut down communications entirely.
86400	95100	These radios, like the lives literally depend on them and radio security is the thin line between success and failure of these operations.
95240	103020	So one of the other things that we want to make sure that we cover here because people always say, well, why would we have to worry about people attacking first responders?
103680	114440	When you have a terrorist attack, when you have an event or anything that happens that could have first responders be intentionally targeted , this happens with arsonists, terrorism events, things like that.
114440	121720	Now by being able to inject into this, you have the ability to affect not only medical first responders, law enforcement, military and other organizations.
121860	125440	So these are the things that we want you to understand that this isn't an obscurity.
125440	135040	These are things that have been done in the past, different kinds of attacks and we want to make sure that whatever equipment is out there, everyone is testing it and finding ways to make sure they can make it as secure as possible.
135040	136440	And that's why we've done this.
136460	138520	This talk and to be able to show this.
140520	143820	Now in this specific case, we'll be talking about mobile mesh networks.
143820	146860	So these are different than your traditional push to talk radios.
147060	156880	So what these are, think of them as a web of devices that all talk to each other and every node is a relay and they pass messages until they get to final destination.
156920	162240	Now that you're here at DEFCON, you've seen many mesh testing devices, that is another form of mesh network.
162380	171200	Gotenna in this specific case uses Aspen Grove Mesh, which is their own proprietary mesh that combines data and control packets to make it more efficient.
171200	173100	Their protocol is definitely efficient.
173760	179840	And this is also one of the protocols that we mentioned, first responders and law enforcement use.
180760	190720	So our team has been working, we were assessing Gotenna products for a number of years and we have found a total of 29 vulnerabilities.
190720	198300	So 6 in V1 Gotenna, 4 in the mesh and then we have the Gotenna ATAC and the Gotenna Pro.
198300	205940	What we're specifically talking here is one of the vulnerabilities that we have discussed with the vendor late last year.
205940	214540	And this is a 9 .6 severity that compromises full integrity and availability and confidentiality with ease of access.
214540	217900	Like this is a very simple exploit that we have discovered.
219360	227000	So our mission is essentially to analyze RF signals, find exploitable vulnerabilities , teach these techniques to grow security talent .
227000	233080	We do this with goals of making communication safer for critical operations and we do this to make your future safer.
233080	233980	I'm Erwin.
233980	235620	I'm a security researcher.
235620	244260	I analyze various protocols, finding vulnerabilities in them, whether that is TCP IP based or RF based.
244260	254000	I have a background in designing antennas and software defined radios and essentially sending exploits against either of those two mediums.
254000	258100	I'm also a student at Virginia Commonwealth University where I'm pursuing my Ph.D.
258160	260480	and essentially just furthering this.
261040	263760	My name is Woody.
263760	284420	I own Weathered Security and I have a 20 years active duty background in special operations before I got into the things that I do now with software defined radios, the RF spectrum and teaching people how to understand what their digital persona looks like and how it can be used for or against them in ways to protect against attacks and tracking.
285180	288700	And lastly we're also staff at RF Village.
289540	291240	This will be a challenge.
291240	294700	So if you want points in the village, we're releasing the software.
294700	295720	Come get some points.
296000	296480	100%.
296480	302660	So now we'll talk about the timeline of overall Gotenna vulnerabilities that we have discovered regarding Gotenna Pro.
302660	309220	So in February 2024 we made initial contact with a vendor to discuss the initial vulnerabilities that we have discovered.
309220	315340	We worked with them and CISA together in order for them to address these vulnerabilities.
315380	319020	We presented them last year in August 2024 at DEF CON.
319100	340300	After DEF CON I started sort of checking, tried to use the phones essentially because the way Gotenna Pro radios work so you have a radio like this that is connected to a phone and together essentially they allow you to send text messages between two people or multiple people who are using this.
340300	342120	Again like this can scale.
342240	351080	So after we've developed our initial proof of concept that compromises pretty much all kinds of vulnerabilities, I noticed that okay, they don't work anymore.
351300	352680	This is really odd.
353000	354580	And like why don't they work?
354580	361400	I pull up the software, like using the software to find radio and I can see the messages in my computer but they don't work together.
361700	367240	So I went in and okay, I did factory research on everything and then okay, they work now.
367360	373600	So then I re-ran all the attacks that we presented last year and then I observed, like it happened again.
373600	389440	Then I re-set it again and then I had root on one of the phones to be able to observe like the key changes and things like that and I observed when I sent one specific message that we'll be discussing shortly, it essentially like just changed the keys remotely.
389960	394760	It was a key remote key update, unauthenticated.
394760	397020	And this is an existing encrypted medium.
397020	403220	They're using public key cryptography, ECDH, all of the things but it changed.
403600	405700	So that's what this presentation is about.
405700	413220	So we reported this right after Defcon and then we worked with the vendor and then in September, October there were patches released and everything like that.
413220	419760	And now in 2025 we're specifically talking about this one vulnerability and discussing all the details from it.
419760	422840	And then of course we'll be releasing the software called the GOAT.
423120	430920	And this, after our talk last year, working with the vendor, they have released a patch that should resolve this.
430920	442000	We have not done any further research to see how that works but per the standard that's out there, this should be patched so this shouldn't be a vulnerability that you have to worry about as long as you're using the most updated application of this program.
443600	447760	So now, like, I mean, the biggest part is really the implementation.
447760	452160	It's always the implementation, not the cryptography and that's what we're looking for here.
452480	459980	So this is the wording that we've all agreed upon is essentially it allows unauthenticated attackers to remotely update public keys.
459980	461160	But this doesn't really tell you much.
461160	462500	Just like every other CVE.
462500	465300	It basically tells you some general stuff and like, oh, you have a critical?
465300	466440	Like, okay, so what?
466540	475140	So what the really detailed impact of this is, is that this allows full man in the middle within like completely undetected.
475600	485080	An attacker can go in a group of people using Gotenna pros and essentially stop any message, change any message, or just observe.
485380	489480	And all of this is done without any knowledge to the user.
489540	493580	Like, somebody going in forensically cannot see that anything changed.
493580	495040	Nothing changed.
495520	500480	So we're going to kind of describe this in like almost like an academic manner.
500480	503920	So we're going to use fictional characters, Alice, Bob and Mallory.
503920	510740	Invented by Ron Rivest, Adi Shamir and Leonard Edelman in their 1978 paper.
510740	516060	And Alice and Bob are going to be our Gotenna pro operators and those are the call signs that we're going to be using.
516060	517440	And then Mallory is the attacker.
517440	520020	That's what we're representing with this computer right here.
520180	533760	So for those not familiar with man in the middle attack, it's essentially a person who is listening in between and is able to essentially take information from both sides and then either decide to pass them through or not.
533760	540700	So the specific vulnerability we identified was the implementation of their elliptic curve Dippy Hellman.
540920	543160	So their specific implementation of it.
543220	546620	And again, Alice and Bob are the operators and then Mallory is the attacker.
547160	555260	So we want to make this general so that you can take this and assess your other assessment whether you're a designer or a developer .
555380	559300	But we still need to discuss some things so that everything makes sense from here.
559300	561980	So we have Gotenna identifiers , think of that as a MAC address.
561980	567020	It's uniquely identifying the pair, the phone and the radio.
567320	576840	Then of course you have the public key, private key that's stored privately on the phone and then you have the shared key that's being derived by ECDH and then of course they're using ASGCM.
576840	579800	And all of this is going to be stored in Gotenna key encryption on XML.
579800	584040	This is a local file on the phone that will be just describing how stuff changed.
584880	588120	So here we have point-to-point peer-to-peer encryption.
588120	589840	So this is what we looked at last year.
589840	603120	So essentially if Alice wants to send a message to Bob, she takes her private key, Bob's public key, they run that through ECDH, they generate the shared key and that shared key along with the GID and HMAC SHA256 is going to generate the encryption key.
603120	605760	And that is what they're using to encrypt things.
605760	609680	So what we discovered last year, we implemented this algorithm in full.
609680	618240	We made an assumption if somebody compromises an Android phone, which is absolutely possible, and they will be able to pull these keys from there.
618240	626680	We found a vulnerability in being able to decrypt the Gotenna pro XML file because it was not rotating the IV so we broke that.
626680	631740	And then that has a significant impact but not as much of this impact that we found here.
631900	638740	Essentially we were able to change these public keys and of course that's the associated public key without any authentication.
639120	645760	So to demonstrate this, first we go for example on our computer and we generate public and private key pairs.
645760	647720	So this is just regular cryptography.
647720	651140	And then Alice and Bob do this automatically on their Gotenna pro devices.
651400	655080	So Mallory first starts observing the radio spectrum.
655080	656540	So this is GQRX.
656580	663240	Essentially from this point, we're looking, we're finding the signal, whether it's frequency hopping or doing anything like that, we're locating the signal.
663580	671280	Once that is done, the software that they released last year allows people to essentially look at the metadata and be able to decode it.
671340	674960	So for example, what that metadata looks like is this right here.
674960	679780	So this gives you the information on the call signs and the sender GID and all of this information.
679780	681720	It gives us that it's encrypted.
681720	683540	Just like many people say mesh task is encrypted.
683540	684380	Yes, this is encrypted.
684380	686220	But does this tell us a lot of information?
686220	687440	It tells us who is talking.
687440	689240	It tells us like who they are.
689380	691680	Like call signs tell us a lot of information.
692580	694840	So now we're looking at Alice's key database.
694840	698980	So they have already been communicating, Alice and Bob, and this only happens the first time.
698980	702480	And this can be done in a secure environment where nobody can intercept you.
702480	709160	So here, like let's look at just last couple hex bytes right here just to see if anything changed.
709160	711080	So now we run this key injection.
711080	712160	This is what we observe.
712160	713360	So public key request.
713360	715480	We request a public key.
715620	719520	We spoof the ID in the metadata that's assigned to Bob .
719520	720420	So think of that as a magnet.
720420	724280	And we just change the number because this is completely unencrypted and we can see it.
724820	727120	And then we put the public key that we own.
727280	730740	And now this will update in the other device.
730740	733280	Like this is not supposed to happen, but it did.
733360	737320	And this was also never a test case for us, which is why we're sharing this.
737360	743880	And now after that, like we see okay, the key absolutely changed after sending this one unauthenticated message.
745020	753920	So in some different types of implementations of this, you might not be able to catch the public key in the back because you need two sides, public and private key.
753940	758480	So we just flip the GID on there, like do something that Alice would not know.
758480	761600	And then we send a public key request and we get the appropriate response.
761940	763840	So now we have the full key exchange done.
763840	769000	We have done the key replacement , we have the identity capture, encryption bypass and Bob is excluded.
769000	774940	Now Bob can't send it like anything or see anything because his keys are changed in the other device.
775600	777400	So what do we have as an attacker?
777400	784320	So first line and last line are keys that we generated and now those are associated both public and private with Bob.
784320	786160	Bob's ID, GID.
786160	792820	And then of course we have the Alice's key that we have just requested and obtained.
793240	800780	And at this point, we have full message interception like using this information, going through the algorithm before, we can do full message interception.
800780	802940	So now these are pictures directly from the phone.
802980	811500	So now that we look here, Bob sent hi from Bob and then Alice said okay, test from Alice from Bob, test again from Alice, but then these were never received by Bob.
811500	813340	And here's the best part.
813340	815820	There's a check mark there showing that it was delivered.
816100	817880	And the phones were right next to each other.
817880	819180	It was not delivered.
819200	820960	But not delivered to Bob.
820960	822080	Guess who it was delivered to?
822640	823520	Us.
823560	824520	Look at that.
824520	829680	We have full decryption of this, remotely updated without any authentication.
835660	840420	So from this perspective, we definitely saw that Gotenki exchange was broken.
840420	844140	We saw lack of authentication on public key request and public key response.
844140	850580	So both request and response had the same form factor of like updating the keys remotely.
850640	853760	And the impact radius of this is anybody in the RF range.
853760	859640	And based on the documentation that they provided, like on their website for VHF, it's 55 miles.
860780	862740	And users could not perceive tampering.
862740	873960	We ran through the analysis whether or not this was the first ever non-academic analysis of real protocols that performed this key update.
873960	875060	And there were a couple.
875060	880880	In 2018, there was a Z-Wave downgrade and then in 2020, there was a Philips Hue light bulb.
880880	883300	Both of those used default horror coded keys.
883300	887240	So that's not really a fair example because this is all completely unique.
887240	889880	So we're not compromising anything static.
890160	892300	So those don't really count.
892300	901380	So the only ones that we have seen is there are two Bluetooth attacks in 2019, 2020, where they were able to compromise this.
901380	904240	But Bluetooth is only accessible over short distance.
904240	907480	So 55 miles is a lot better from in person.
907480	912460	So this is like possibly one of the first that are actually impactful.
912640	914200	So now we go into the rest.
915780	918200	So why is this important and how does it really matter?
918200	922480	So as we look at this, one, this can be done from a distance , which means you have no idea.
922480	925460	You can't have, you don't have visual confirmation that somebody's doing this.
925460	927300	They may not even be within visual range.
927300	928960	They can be doing this through walls .
928960	931640	This can all be done without you having any idea that it's happening.
931660	933420	And it doesn't require any interaction.
933420	937140	You can have this in your pocket going through your normal thing and now this interaction happens.
937140	944400	I literally send a key and it takes the key you had, rewrites that new key in there and now I have the ability to control.
945000	947960	The other thing about this is we can now reverse it.
947960	969040	So I could man in the middle, make you think that you're having a communication with somebody and I'm sending both sides of the conversation so that you have no idea what each side is actually saying and then I can send your original key back so when you guys get back together you're able to communicate again and you have no idea that for a segment of time I had actually taken over communication,
969040	973800	controlled each side of it and then I give your keys back and it looks like everything's fine.
973800	979080	So I can not only take over but then I can replace and make everything good to go again so you don't even see that it's happened.
979120	990920	And because of this, when you start looking at the devices and you start digging into your information, if I reverse this and change it back, you have no way of being able to look at this and tell that this has happened.
995200	999380	So, building this, what does it take to really be able to do it?
999840	1002140	Well, we need a way to capture it.
1002180	1006640	To do that, GNU radio, the GRT block is what we put into here.
1006700	1010100	We have one radio to receive and we have one radio to transmit.
1010320	1013120	Now, the reason we do this is it makes life a lot easier.
1013260	1020500	I'm able to receive, now I can control, I see what you send me, now I dictate who it goes to and what I say.
1020540	1025160	Do I allow the message to go through or do I change the message and make it say what I want?
1025160	1027000	And we're going to see how this can be impacted.
1027140	1028060	And it's that simple.
1028060	1035460	And by using two software defined radios, we're able to now create this entire gap in your communication and control what's being said and done.
1038380	1043180	So, we're going to talk about a real exploitation that could happen.
1043660	1056420	So, if you were to go through and say, hey, I need to meet somebody at a certain location and know where they're going to be, we now have the ability to change that.
1056840	1067940	So, right now, Erwin is going to go through and he's actually going to set the phones up and he's going to go through the steps and show you how he actually changes the keys so that we're able to manipulate this.
1068140	1070020	So, what do we mean by doing that?
1070040	1074380	So, imagine that you're out and you tell somebody, hey, I need to know where you are.
1074480	1079460	That person takes their GPS coordinates and they send them to you.
1079460	1088300	But what if I caught those GPS coordinates where you're supposed to do a medevac, where you're supposed to pick up supplies, where you're supposed to have a humanitarian drop off.
1088580	1098360	And now I change a few digits so that I send you somewhere compromised where I know I can have an ambush set up, where I know that I have the ability to steal whatever it is that you have.
1098360	1104660	Or, I make sure it's in a location where you can't get resupply or you can't get reinforcements .
1104660	1106100	That's what this allows.
1106100	1124400	So, in this scenario that we're talking about, by going through the scenario, Erwin's going to set the phones up, he's going to actually catch these signals and then he's going to replace and send a geo coordinate, change it and then send the wrong geo coordinate to you.
1124540	1137040	Any of you who've worked in search and rescue, military or anything that involves having to meet up at set times and set locations, this becomes a huge game changer and it can be extremely dangerous.
1137040	1138680	And that's what we want to talk about.
1139080	1153520	The point of this talk, as we're going through this again, isn't to hammer one manufacturer, it's for people that do any type of communications to understand how important it is to protect your infrastructure and make sure that it's safe.
1153680	1153940	Right?
1153940	1157360	False security is worse than no security, quite honestly.
1157360	1159260	So that's what we really want to focus on.
1159260	1165680	So, what we have here in this case, we're showing that, okay, we have no keys in our local database, so everything is fine.
1165680	1177060	So, we're going to run to the Gotenna Pro RX, USRP, and we're going to start listening in on the, on all of this.
1177060	1180220	So, this is using our original GQRX, so.
1188220	1188980	Hello?
1188980	1190320	Okay, sorry, we lost it.
1190320	1199680	So, now, what we're going to do is just by listening with these radios, you're going to live see one message be sent from the phone.
1199680	1203560	So, one thing that we want to let you know is that as we're doing this, we're having to use a hub.
1203560	1204680	We had some issues setting this up.
1204680	1206220	So, you may see the screen go black.
1206220	1208500	That's just because we're having to run everything through hubs.
1208500	1213220	But we actually have these phones that we're using, communicating, using these antennas.
1213220	1215260	So, I want you to make note of watching on here.
1215260	1225840	This light shows you whenever there's a communication between the two of these and it gives you a confirmation that something has happened or you've had a, an update or that you've actually communicated with something.
1226240	1228160	So, we take it, we send a message.
1229300	1230500	There we go.
1231800	1232280	Yeah.
1233320	1234080	Okay.
1234080	1235480	So, we'll, we'll put it here.
1235920	1245060	So, as you can see here, we, we fully captured their, um, their messages.
1245060	1247480	So, we, we get the, the GID from Alice.
1247480	1249140	So, we'll copy that right here.
1249460	1250240	Save that.
1250240	1251400	So, this is Alice.
1251460	1253380	So, that was a live capture right there.
1253380	1254740	Sent a message from one phone.
1254740	1256440	We caught it with a software defined radio.
1256440	1258500	And now, we have that information we need.
1258500	1259240	We have a hash.
1259240	1260040	We have a GID.
1260040	1267800	We have the ability to now make our own key and then be able to send back and make that key their key.
1271320	1272560	And now, we got Bob.
1279860	1283960	So, we're doing this manually, but obviously, you understand that this could be scripted quite easily.
1283960	1288600	So, as we go through this, we see the original keys they have because we want to keep those.
1288600	1292300	Because we're going to replace those later so that you don't know that any of this ever actually happened.
1292400	1298940	So, so, to make this more challenging, so, when they do the first communication right here, they would exchange the keys.
1298940	1300280	And our script will pick that up.
1300280	1303660	We're going to stop the script to make sure that this happens later on.
1303660	1306360	Because if you try to reproduce it, you'll be like, okay, this was the first setup.
1306360	1313000	So, we're going to send messages between them and ensure that the key change happens and that we don't capture it so that we can resend the messages.
1326980	1334340	So, a couple of the steps as we're going through this and you start thinking about, hey, how do you find these kinds of vulnerabilities and how do you get in this?
1334340	1343040	One of the things that I want you to think about is as you are looking or testing protocols to figure things out and they're encrypted, a lot of people are like, well, there's nothing I can do with this.
1343140	1356520	Some of the simple steps to be able to start figuring this out once you can demodulate and at least see there's something there, even if it's encrypted, is I can send 20 of the exact same character and then I can look at the bits and if I get 20 of the same character in a row and then I do it again,
1356520	1357640	I get the same ones.
1357640	1362840	While they may be encrypting, I now know that, okay, that is where that segment of the message is.
1362840	1366160	Then I can change the name, send the same thing, multiple bits there.
1366160	1367960	Now I can say, okay, that's where the name is.
1367960	1375220	So these are some of the small steps that we do over and over to start breaking down protocols that aren't documented or that we don't know.
1375420	1380420	Yeah, so, so, so in this specific case here, so we had them exchange public keys.
1380420	1382420	So they're already set up securely.
1382620	1392240	So what we're going to do here is we're going to send a message , so this is using the transmit side and we're listening here and we're going to ask the, the, the first of the GIDs for their public keys.
1392240	1393920	So let's see what happens here.
1394180	1396380	And then let's look at these flashing.
1396400	1403240	I'm not sure which one of these is going to flash, but we have to make sure they do because we have to make sure that the counters are up high.
1403240	1405120	So we may need to do this a couple of times.
1405480	1406640	Did that one flash?
1406800	1410240	Oh, actually, yeah, we, we, we got the public key right here so that we can see.
1410540	1414760	So it retransmitted that and now we're going to do the same thing for the other GID.
1415200	1419180	So we're going to fire it off here, increment our counter.
1422440	1430840	So the counter is important because we have to make sure that as we do this, we have to have a count higher than the last message that was sent.
1430840	1433280	So that is one of the things that's built in this protocol that's good.
1433280	1437440	If you try to replay a message that it's already seen that count for, it won't accept it.
1437440	1443280	But all we have to do is have a higher number each time we send something and now we can make it believe that that's a new message.
1443280	1443760	Exactly.
1443760	1446180	So, so here we have, we have captured all these.
1446180	1450880	So, so I can do control C to kind of look at the list of the keys.
1450880	1457380	So if we zoom in into here, we can see that we have public keys associated with these.
1457380	1463980	So now we're going into the goat directory and we're going to update these GIDs to make sure that they are ready for poisoning.
1467540	1473740	So our first target here is going to be the, the first phone.
1473740	1475560	So we're going to put Alice there.
1476340	1483160	And the second one is going to be Bob right here.
1483160	1485200	So we're going to update that one there.
1487140	1488900	So now we have those saved.
1488900	1492000	So those, those are going to be ready for our script when we execute that.
1492000	1499240	And then we're also going to run through a key gen to generate our, our keys, just like what we showed in the slides for 01 and 02.
1499240	1502620	And now we're going to go through and check out the list of keys.
1502620	1507380	So now we have the public and private keys that we're trying to poison both of the sides of the communication.
1507700	1511480	And we have these public keys so that we can restore the communication.
1511480	1513800	Because in this case, we actually want to restore it.
1514640	1517820	So from this point, we're going to go into our scenario.
1517820	1520480	So we're going to have Bob send a message.
1520480	1521780	So Bob right here.
1521780	1524640	So we have Alice on the phone.
1525540	1527620	So it's talking to Bob.
1528540	1531160	So this is Bob right here.
1531420	1545120	And Bob is going to send a private message to Alice saying, Alice need your GPS coordinates.
1546500	1550920	And then that flashed and then we can see here that Bob sent that.
1551020	1555320	So now at this point, Alice will of course try to send these coordinates right now.
1555320	1559440	But while she does that, before she does that, we're, we're going to intercept the communication.
1559440	1561380	So we're going to go, go directory.
1561540	1571860	We're going to go, go replace key and we're going to go with poison target 1, target 2 and we're going to give it a count of 8.
1572820	1575980	So here it tells us to stop the thread.
1577380	1579500	Which it is stopped .
1580440	1582360	Now we're going to restart it.
1584060	1586700	Actually, we're in the wrong side.
1608530	1610290	So here we're listening again.
1610870	1613970	This is to make sure that we fully capture the signal.
1614670	1616810	So we have restarted it and now we're going to send it.
1616810	1620070	Make sure that it gets visible.
1620310	1621450	No, no flash.
1621450	1621730	Okay.
1621730	1623830	So we're going to run it with a different counter.
1643980	1644780	Okay.
1646860	1647440	Okay.
1647440	1648720	We have a flash.
1649140	1651140	So now we stop it again.
1653780	1655960	And then we restart it.
1657520	1669030	And then, so now this one is done, but just because we're, we're doing a full demo here for you, we're going to poison target 1 as well.
1669030	1671210	So we're going to do both, both sides of the communication.
1671810	1673670	So we're going to stop this here.
1684000	1684580	Okay.
1684580	1686520	We're listening back again.
1687080	1690780	Our next thread has been restarted to watch.
1691260	1691360	Okay.
1691360	1693160	They flashed
1696540	1696940	.
1697420	1701100	And now we have completed the poisoning of both of the sides.
1701560	1708100	So now as we start communicating with these phones and these actual devices, you're going to see they no longer communicate with each other.
1708100	1711720	They communicate with us and we dictate what will go to each device.
1711720	1716580	So, so here we got Alice talking to Bob and we're going to paste these coordinates.
1716580	1718380	These are the coordinates that we want to see.
1718600	1719820	So now we fired this off.
1719820	1725100	We get check mark that it was seen and we can decrypt it fully here.
1725100	1730980	Now let's plug in Bob here just to show what Bob saw.
1732160	1734220	And then Bob never saw anything.
1734320	1737900	And this shows it's delivered and we have here the encrypted part.
1737900	1742640	So now we're going to send the message by encrypting it.
1742640	1745640	So we have here sending as Alice.
1745640	1747480	So we're going to go here sending as Alice.
1747480	1748860	We have the counter.
1748960	1751820	We're going to do counter 16.
1752940	1754800	Make sure we send this.
1755300	1757280	And we're still listening here.
1757960	1760580	Going to put this up.
1764420	1766420	And then we, we have sent it.
1766420	1769820	Now this encoder here, because like we have that part.
1770080	1780640	And if we look at what we can see here in this phone, we can see the exact coordinate that we have sent here.
1780640	1787560	Because as you can see here in this file, we sent 122 and the original was then 121.
1787560	1789840	So we have sent somebody to a wrong location.
1789840	1790180	Yeah.
1790180	1795020	So we caught the middle and we completely changed the GPS coordinates that the end user received .
1795020	1801920	That they're using for whatever they need to pick someone up, find out where somebody is, send a search and rescue or anything else.
1802220	1803380	Changing those.
1803380	1816240	So from them communicating to each other, to us controlling the communication, they can no longer communicate with each other and now we've actually injected and made whatever we want them to hear, they can only hear what we say.
1816280	1820840	So a complete ownership of the conversation has now occurred because of what we just did.
1821260	1822060	Exactly.
1826320	1835720	And I know that the demonstration is a little bit slow as we're moving through this, but we thought it would be more beneficial to actually let you see us do it live than just show you a PowerPoint for it.
1835720	1838740	So you can see that this is actually real and this is how it happens.
1838920	1841220	And then here's the cool part about this.
1841220	1844700	So as you can see here, we have a full decryption.
1844700	1848200	So this is encrypted but we can see it in our messaging.
1848200	1851100	So now we have exchanged this bar.
1851100	1853100	So let's fix their communication.
1853100	1857000	Like we leave the area of operation and we let them do their thing.
1857000	1858640	So now let's do that.
1859120	1862600	So we're going to go back to the poisoning and we're going to do
1870790	1871150	this .
1871150	1885590	So at this point we've manipulated, we have the ability to inject, we're controlling the conversation, they're in an operational area and we've dictated where we can move troops, where we can move individuals, where resupply is going to come, where a support element is going to go to.
1885590	1900530	And now because we want to make sure that they don't realize this has happened because we want to be able to have future operations that they don't know that we've been able to control the communications, we're now going to put everything back so they can communicate with each other so they would have no idea that we were manipulating their comms during this entire time.
1900530	1903890	So now we're replacing everything back to the way it was in the beginning.
1904690	1907570	So that's what we're going to set up and go through.
1908110	1909910	So again, why is this important?
1910690	1915750	You have the ability to take comms over, you have the ability to manipulate and then you have the ability to restore.
1915850	1918450	And that's what's really important about this and what we wanted to say.
1918450	1929290	And again, when you're making protocols, you can have the best encryption out there, you can have the best ability to have keys that you use for whatever you're doing.
1929290	1935410	But if you don't manage it correctly and you take shortcuts, this is what can start happening, right?
1935650	1937750	And again, this causes compromise.
1937750	1941990	So we want this to be a learning point for other manufacturers and for other elements.
1942730	1945610	If you find these things, let the manufacturers know.
1945610	1949390	Help them understand what they've done and what can be done to fix this.
1949390	1955370	But again, if you're manufacturing and making these things, these are things that should be tested, right?
1955370	1957890	You shouldn't just assume that there's no way this could happen.
1957890	1959390	You need to test it and see.
1959390	1961670	We had no idea that this would be possible.
1961670	1963750	We were like, there's no way that we can actually do this.
1963750	1971190	That's why the errors we kept running into because we were like, there's no way over the air that it will just wipe its own key and accept anything we send it.
1971190	1972270	But it did.
1973370	1975130	Then we found a way to manipulate.
1976170	1981570	So as we're going through here, what we're seeing, restoring the communications.
1981770	1982370	Here we go.
1982370	1982730	Yep.
1982730	1985870	So it said hi from Alice, back to Bob, received.
1986030	1987990	And then we're going to do back to hi.
1988530	1992230	Now of course we're running over a hub so we're having some power issues.
1992290	1995630	But as you can see here, we got both hi's on both of the sides.
1995630	1999650	So we fully restored the comms on both sides of the communication.
2004770	2013870	So we're going to talk about a couple different scenarios so that you can think through how this could be done.
2013870	2018570	We're not going to do demos for all this just because of the amount of time it takes.
2018570	2020130	But we want to think about this.
2020670	2025210	So having the ability to do all of these different elements.
2027490	2031250	The first one , I let most of your communications pass right through.
2031250	2031410	Right?
2031410	2035110	I take them, they pass right through me so you think that everything is good to go.
2035110	2037030	But occasionally I just slip something in.
2037030	2040130	It could be something that seems semi offensive.
2040130	2045410	It could be something where I can take your mind out of the game because I make an obscure comment.
2045550	2064050	But all these things make you still feel like you have a trusted communication network but we're slowly degrading the integrity of the team because we just inject little small things to make people think somebody is incompetent or to make somebody go to the wrong place and you slowly have the ability to degrade the capabilities of an element.
2064290	2071830	And that's where as we go through this, each one of these scenarios that we did we picked because these are things that we've seen happen.
2071830	2074910	We've seen how an element is able to do this.
2075690	2080130	Not necessarily with this device but using other forms that are out there.
2080130	2091510	The other thing we can do with this is I can force you to not trust something you have so that I can get you to move to a piece of communications that I know that I can manipulate or that I know that's easier to track.
2091510	2095050	So that's another reason that we would do this and intentionally degrade it, right?
2095170	2112890	So as you look at this, if I had 15 people that were all communicating over a network using this similar capability, I could now go ahead and just replace their keys with anything I wanted and nobody has the ability to communicate anymore.
2112930	2117150	Everybody is shut down and nobody has the ability to communicate at all.
2117770	2120450	That means you're going to have to go to a secondary communication platform.
2120450	2133050	You're going to have to find another way to be able to do what you want and it also is going to start having mission capability issues because if you're in an area that nothing else is working, I've now taken away one of the elements that you were relying on,
2133050	2135620	especially when it comes to search and rescue type missions.
2137900	2155520	So, the reason that we have to be really careful in making these things is because detecting this, being able to find out did this happen or not, is going to be very difficult for you to do.
2155520	2166660	Because if I replace everything at the end of it, when you get back, other than looking at your two phones side by side and showing, oh, that didn't leave my phone but it showed up in yours, that would be the only way you'd be able to see this.
2166660	2169780	If you looked at your keys, everything would look normal.
2169920	2172100	And that's where we really want to understand that.
2172200	2183740	You're not going to be able to just look at the RF spectrum unless you have some really amazing tools with you to be able to see that there's somebody using a different Resi value from a different area that's injecting into your communications.
2184940	2191640	And then the other part to that, like, if you're just comparing the two phones, that's only possible if somebody actually changed it.
2191640	2197400	If the attacker just wanted to see what you were talking about, they can just listen and you'd never see that.
2197780	2198660	Exactly.
2199100	2205160	So now, what are some things we can do to protect against this, regardless of what communication platform you're using is?
2205300	2207620	Coming up with an operational playbook.
2207620	2214520	So, pre mission, I know what my keys are, I know what my device looks like, I know certain key aspects of what I have.
2214640	2217640	Now, after the mission's over, I go back and I look at that.
2217640	2221280	Now, that works unless they replace the key back.
2221280	2225820	If they replace the key back, then the compromise is going to be there and you may never know what happened.
2225920	2233880	But, if I'm just replacing everyone's keys so I can continue to monitor and listen to what's going on, that would be a way that you could figure this out.
2235580	2238980	You need to make sure that you're implementing proper key authentication.
2239220	2245520	Your keys should never update without letting you know, hey, you have a key update, do you want to do this, yes or no?
2245520	2247860	Or at least give you a notification of when it's happened.
2248380	2250200	Making sure that you have versions of your keys.
2250200	2253120	Hey, this is the third time that this same key has been used.
2253120	2253500	Why?
2253500	2256580	Well, because I put two versions in there before and then I brought you back.
2256580	2258120	So, making sure that you do that.
2258200	2271000	And this error telemetry, that is something, a higher end technique of being able to say, hey, it looks like I was getting signals with different power strengths that should have had a very solid power strength.
2271000	2276460	If we were both at two static locations , we shouldn't start having influxes in the power of how strong that signal is.
2276460	2279120	So, those are things that we want to look at there as well.
2280620	2282320	So, our key takeaways.
2282320	2285960	Key management, critical for secure communications, absolutely.
2286000	2289000	Authentication of key exchange, again.
2290580	2295440	The visibility of potential tampering, these are things you need to know your equipment.
2297840	2310240	Having pro words built into something where if you think something suspicious is happening, being able to say things in a format that you may be able to give hidden codes is another technique that you can do to see whether or not somebody's manipulating.
2311040	2325840	So, as we go through this, one of the things we really want to do is we want to thank, um, the CISA team who, you know, when we first started doing this, they were really instrumental, um, in helping us be able to talk to the vendor and be able to communicate with them.
2326000	2332660	All the people who did research with us and everyone who's helped us be able to put this together and be able to find this.
2332660	2335520	The people in the wireless village are a huge benefit to us.
2335520	2343740	We're both staff there as well, but the other individuals in there and some of the competitors that are in there that do some amazing work all help with this kind of research.
2343920	2349620	And those are the areas that you should find people that play in those areas that play in those worlds to be able to communicate with.
2349640	2351940	We are going to be releasing all of this code.
2351940	2354040	This is the GitHub page right here for Erwin.
2354900	2359420	Yeah, this is from Clayton, the guy who we've been working with.
2359420	2361640	So this is going to be released after DEF CON.
2361660	2364800	We won't release it like right now, but we're going to release it very soon.
2364940	2379660	All of this code that you have seen, like the updates of the keys, the script to send the keys, restore the keys, as well as the entire encryption parts that allow you to encrypt it and use it at different stages of the communication.
2379660	2383840	So all of that will be released and you'll be able to experiment this at your own.
2383980	2393180	And that's one of the reasons too that we wanted to do at least one real live demo is so you can go back, watch this video when you download the code, and actually be able to see how it happens.
2393180	2401740	So you're not just trying to use the struggle bus to get through this, you can actually have a visual aid to do it because I know that's a problem I have sometimes just going off the GitHub page.
2401740	2406180	Now you have a visual reference with him typing the actual code for you to be able to do this yourself.
2406260	2409680	Again, to an unpatched item is the only way that this works.
2409820	2420980	And then lastly, like, we really want to have a community call like looking at more of over the key authentication mechanisms and, and all of these updates, all of this should be checked.
2420980	2429400	This is the first of its kind, like at the distance, other devices should be checked against this because this was never part of our assessment part.
2429400	2433400	Like this is pretty much a brand new type of thing where somebody can do this.
2433400	2435740	Now, can somebody do this in a different protocol?
2435740	2442560	Like you can't say no, because we had that same assumption that no, it's not, it's not going to be possible to be changed, but then it was.
2442980	2447000	So you need to test these assumptions and you need to test the protocols.
2447000	2455520	And this goes both to security assessors, as well as the designers of these equipment to make sure that all of these vulnerabilities are checked, like don't assume actually check.
2456500	2461580	So now are there any questions about what we've done or anything we have?
2463060	2465440	Could you come up or?
2465440	2466700	Yeah, we can't hear you.
2466700	2466880	Yeah.
2466880	2468260	Can you come up here?
2468640	2469360	Or the mic?
2469360	2470780	There's a mic right there.
2471660	2473540	We've got about five minutes.
2481150	2482570	The mic is not working.
2482570	2483030	Yeah .
2484930	2487290	Just come on up and I'll repeat your question.
2502920	2512260	So, so the question that he asked was for us doing this, we wanted to get the visual of the flashing lights happening for us to be able to know that this was happening.
2512260	2516380	We were doing that because in this scenario, we wanted to save time and do it.
2516440	2524240	Remember, one of the things is because we're able to capture it, we can actually see in our program when that has actually happened and done that.
2524240	2530580	We use the lights because it was easier and it also gives you a demonstration, but you don't have to have that, especially if you know that you need to have that progressive count.
2530580	2537680	And that's where that tack in the number, the count becomes important to make sure that you're increasing that, which you can actually see that count number, which will assist.
2537940	2540320	And you can also just send a really large number.
2540320	2542760	I mean, not super large, but a very large number.
2542760	2544380	And that's always visible in the metadata.
2544380	2547880	You can tell what it is, but you can just elect to send a really large number.
2547880	2555720	The reason why we just didn't send one large number initially is because we're doing all kinds of changes and we wanted to make sure that all those get sent appropriately.
2556940	2558720	Are there any other questions?
2561840	2562780	All right.
2563260	2564200	Well, thank you very much.
2564200	2565500	We appreciate you being here.
2565500	2566200	Thank you.
