WEBVTT

00:00.000 --> 00:03.040
Welcome to the wireless capture the flag gear talk.

00:03.360 --> 00:05.700
I'm Rick and this is Rick.

00:05.700 --> 00:06.720
I'll be Rick today.

00:06.720 --> 00:10.440
And we're just a couple of dicks who play with our hardware a lot.

00:10.440 --> 00:11.920
So we're going to talk about that.

00:12.300 --> 00:13.480
You all get to watch.

00:16.000 --> 00:16.880
Oh!

00:16.920 --> 00:18.000
You can announce this time.

00:18.000 --> 00:19.760
I got to announce it last time.

00:19.760 --> 00:26.940
So we decided that maybe if we've been doing this for 12 years, we should become like a company or something.

00:26.940 --> 00:29.100
So we officially formed a non-profit.

00:29.100 --> 00:31.160
We are now the RF Hacker Sanctuary.

00:31.700 --> 00:32.700
So it's exciting.

00:34.600 --> 00:40.920
That means for the rest of the weekend, I expect all of you to arch your back as you walk in the door and scream sanctuary.

00:41.460 --> 00:42.820
I would really make my day.

00:42.820 --> 00:45.580
So thank you all of you on Disney.

00:45.900 --> 00:47.180
I'm not that old.

00:47.180 --> 00:48.620
Some of you saw this movie.

00:48.620 --> 00:48.800
No.

00:48.800 --> 00:49.380
Okay.

00:49.560 --> 00:54.020
So yeah, we spent a whole lot of our time doing that and not a whole lot of our time on slides.

00:54.020 --> 00:55.660
So that's going to be my excuse.

00:57.600 --> 01:00.440
So this asshole over here is Zero Chaos.

01:00.820 --> 01:03.580
You may know him from the famous distro Pentoo.

01:03.920 --> 01:09.860
If you don't know him from the famous distro Pentoo, it's because it's really not that famous, but it is absolutely amazing.

01:10.180 --> 01:17.380
And the basis of a lot of the work that we do, a lot of the work that we do for testing and a lot of the work we do for teaching, training, etc.

01:18.020 --> 01:24.860
Most of the people that are doing well have either used Pentoo or are trying to use Pentoo over in the Capture the Flag.

01:25.340 --> 01:31.120
Main reason is radios work all the time, almost all the time.

01:32.460 --> 01:36.220
It works 100% of the time, at least 80% of the time.

01:36.220 --> 01:37.140
Exactly.

01:37.140 --> 01:39.780
And the reason that's important is because we're talking about gear.

01:39.780 --> 01:46.340
And we're talking about gear for Wireless Capture the Flag because that's the easy thing to say that's legal that everybody can do.

01:46.340 --> 01:50.100
Who in here is a Wireless Pentester?

01:51.180 --> 01:54.780
Who in here tests more than Bluetooth and Wi-Fi?

01:55.460 --> 01:56.720
Who in here tests more than Wi-Fi?

01:56.720 --> 01:57.760
Okay, keep going.

01:57.760 --> 02:00.040
Who in here tests Zigbee?

02:00.800 --> 02:03.260
Who in here tests AMR?

02:04.420 --> 02:05.620
ADS-B?

02:07.180 --> 02:08.020
Okay.

02:08.360 --> 02:14.840
The reason that we run Pentoo as opposed to some of these other distros, we're going to get a little deeper into it as we go.

02:14.840 --> 02:26.300
And actually part of Zero's intro is he spends like all of the time he's not working for the company that pays him working on this distro so that radios work all the time.

02:26.300 --> 02:31.120
Who's had trouble loading a driver in anything but Windows or Mac?

02:31.880 --> 02:33.860
Yeah, wireless drivers suck.

02:33.860 --> 02:37.500
Who's tried to load the Realtek driver by themselves with the new AC card?

02:38.040 --> 02:39.900
Any of you have a smile on your face right now?

02:39.900 --> 02:42.120
Nope, just the people with their hands down laughing at you.

02:42.120 --> 02:43.380
Yep, that's exactly right.

02:43.380 --> 02:53.100
And those that got it working, who had the actual driver working with full injection and the ability to sniff with 90% or better efficiency when you're getting your packets?

02:53.640 --> 03:01.140
Okay, so some of what we are going to do today is talk about not just the gear, because the gear's really cool and we have a lot of it.

03:01.140 --> 03:09.300
I mean, what, eight to ten, fifteen radios at any one time in our bags and I think the bag of antennas I carry weighs more than some of your backpacks.

03:09.300 --> 03:14.480
But we use that because we like how these radios work in certain circumstances.

03:14.880 --> 03:21.940
There aren't a lot of people that raised their hand that said that they're Wi-Fi pen testers or Bluetooth pen testers.

03:21.940 --> 03:27.760
One of the things we push people to do as best as we can is to start being RF pen testers.

03:27.760 --> 03:37.140
Because there's a lot of other stuff, as we're going to discuss in this talk and then kind of as we freeform a little bit, there's a lot more signals out there that can make somebody very vulnerable.

03:37.140 --> 03:45.860
So if you're a bad guy and you're attacking, red team, blue team, purple team, I don't care, yellow team, if you're attacking a network, you need a vulnerability to get in.

03:45.960 --> 03:47.360
Firewalls are pretty good.

03:47.620 --> 03:52.600
How many people have had to beat an IPS before over WIPS, over wireless?

03:53.180 --> 03:55.260
It's because there aren't that many that are any good.

03:55.640 --> 04:00.700
So, that's the really way too long intro to Rick.

04:01.460 --> 04:02.980
Yeah, sure, I'll be me now.

04:03.260 --> 04:03.940
Oh, man.

04:03.940 --> 04:04.920
Don't even read it.

04:04.920 --> 04:06.820
Oh, can I read the whole thing?

04:06.820 --> 04:08.020
It's word for word.

04:08.020 --> 04:09.340
And watch everybody leave.

04:09.360 --> 04:10.760
They're going to fall asleep.

04:11.340 --> 04:19.880
But seriously, this guy has been doing wireless since wireless wasn't even cool and he's part of the crew that has made it cool.

04:20.360 --> 04:22.400
I'll never forget my introduction to him.

04:22.500 --> 04:25.380
Yeah, I know what he looks like, but he really knows what he's doing.

04:25.700 --> 04:28.420
And he really plays all of it, right?

04:28.420 --> 04:31.520
So, he's been doing this since, what was it, DEF CON 10?

04:31.520 --> 04:32.020
Yeah.

04:32.020 --> 04:39.060
And competing in the wireless competitions and kind of helped found the wireless village and did found the wireless cap for the flag.

04:39.060 --> 04:43.060
So , yeah, he looks like he's been around the block because he has.

04:43.060 --> 04:46.360
And, yeah, we should definitely go over some of that experience.

04:47.060 --> 04:51.760
So, one of my favorite parts of all of RF and wireless is finding things.

04:52.060 --> 04:57.000
So, we've really gone way out of our way and we apologize to the contestants.

04:57.000 --> 05:03.040
In fact, I let them go home early last night, which was really weird of me because I was like, hey, it's 11 o'clock, go home.

05:03.600 --> 05:10.040
If you can't find a rogue device, you can't do RF anything.

05:10.480 --> 05:21.980
If you don't know where it is and you can't get close enough to inject into it, take down the packets that are coming from it or find the signal, you're not close enough to do the work you're trying to do.

05:21.980 --> 05:24.620
So, let's just say, you know, easy example.

05:24.620 --> 05:33.020
There's a rogue access point in a 100,000 square foot floor in New York City on the 35th floor.

05:33.040 --> 05:33.720
Go.

05:34.760 --> 05:39.120
Who would feel relatively comfortable going and finding that access point?

05:40.280 --> 05:41.460
Okay, what would you do?

05:42.140 --> 05:47.120
I am going to call on people in the stand, so feel free to not raise your hand if you don't care.

05:47.120 --> 05:48.120
What would you do?

05:51.360 --> 05:53.780
Okay, so he said use a spectrum analyzer.

05:53.780 --> 05:54.700
Good answer.

05:54.700 --> 05:58.080
Or a Wi-Fi radio and walk around and find it.

05:58.640 --> 06:05.280
One of the things we try and teach as best as we can is a repeatable process for everything we do.

06:05.420 --> 06:13.020
By having a repeatable process, I know what appears to be rogue versus what appears to be real versus what appears to be broken.

06:13.360 --> 06:15.380
And by knowing that, we have the ability to find things.

06:15.380 --> 06:23.000
Because typically, if somebody is going to quick plant something, they're going to use a Raspberry Pi, they're going to use a NUC, they're going to use a rogue access point of some sort.

06:25.160 --> 06:28.400
Hey Scoot, wave to everybody.

06:28.880 --> 06:31.040
How did your implant go last night?

06:33.980 --> 06:42.480
They attempted to put an implant in the village and they did a really good job of masking it and had we not been truly looking for things, we wouldn't have found it.

06:42.480 --> 06:44.800
He took the shell... Do you mind if I tell this story?

06:45.300 --> 06:49.600
He took the shell of an Aruba device...

06:49.600 --> 06:51.360
Ah, the Aruba devices aren't here.

06:51.360 --> 06:54.300
You know those white Aruba access points that are all over the place?

06:54.300 --> 06:58.320
Well, he took the shell of one of those, hollowed it out, and put a Raspberry Pi inside.

06:58.600 --> 07:05.000
He didn't encrypt it, but he put a Raspberry Pi inside trying to capture more information.

07:05.180 --> 07:13.160
Well, by doing that, he hit a device, it was coming over RF, and it was actually doing a really good job, but it was loud.

07:13.160 --> 07:15.080
So Spectrum Analyzer, great answer.

07:15.400 --> 07:23.720
The problem is, if somebody is only trying to attack an office and they do it correctly, your Spec-An is only going to find it if you get close enough to where that signal is.

07:23.720 --> 07:28.120
So, working with people on how to make really shitty antennas...

07:28.120 --> 07:30.420
Hey Wasabi, do you have your shitty antenna anywhere?

07:31.780 --> 07:38.140
Teaching people how to make really shitty antennas so that when you're really close to a signal you know you're right on top of it.

07:38.140 --> 07:38.880
Oh, look at that.

07:38.880 --> 07:40.400
He happened to have it.

07:41.380 --> 07:46.620
SMA connector into a BNC connector with a paper clip and hot glue.

07:47.620 --> 07:51.360
It is also classified as a weapon at TSA, so be careful.

07:51.360 --> 07:54.140
Why is this work?

07:55.000 --> 07:56.800
Somebody, why does it work?

07:58.640 --> 07:59.240
What?

07:59.240 --> 07:59.880
One more time?

08:01.640 --> 08:02.480
Exactly.

08:02.480 --> 08:06.280
All it's doing is taking the energy coming out of the radio and dispersing it.

08:06.280 --> 08:10.480
It's not doing jack and shit to help you with a good signal.

08:10.480 --> 08:13.460
But what it's doing is it's going to alert you when a signal is close.

08:13.700 --> 08:18.480
Hence why we do the wireless capture the flag and the CTF and we make people go find stuff.

08:18.480 --> 08:23.500
But we don't just stop at Wi-Fi, we move across the spectrum and that's kind of how we're going to get into this a little bit.

08:23.640 --> 08:26.820
I'm going to let you talk to this next one because this is pretty.

08:28.320 --> 08:33.560
Oh, this is my favorite part because he does most of the work.

08:34.760 --> 08:47.220
So we build this thing that we have to carry around with us so I want to say half of my testing is literally how do we cram all of this stuff together in a very tight space?

08:47.220 --> 08:57.280
So the box on the right is actually the box that we're using to run the capture the flag right now and it's all of the transmissions more or less replicated out.

08:57.280 --> 09:18.620
So we've got 20 Wi-Fi radios in it we've got 4 RF cats and we've got 3 Blade RFs with amplifiers and all of that stuff has to fit in there and be powered in there and why did we pick those things and how did we get them to fit and oh my goodness how did the NUC not fall over with 50 USB devices on it.

09:18.620 --> 09:38.340
So the testing and the building of this stuff is really what allows you to figure out how all of this works just making the kit on the left the kit on the left is a Kismet fully loaded box basically that's actually a picture of us on the high roller on Tuesday we took that while up in the air over Vegas collecting everything.

09:38.340 --> 09:40.660
Security did not like us at all.

09:40.660 --> 09:41.740
They let us on.

09:41.740 --> 10:06.680
They decided during the ride that they didn't like us The part of that picture that's cut out is me handcuffed to that kit which also we have a video going through We have a 2 minute video of security checking it out He never took off the handcuffs and they never said anything about it and I almost peed So inside of that box we actually have 6 RTL SDRs tuned to different frequencies picking up ADS-B car clickers,

10:06.680 --> 10:23.060
tires driving by, all kinds of weird stuff We've also got 3 Wi-Fi radios 2 Bluetooth radios, 2 Zigbee 1 2.4, 1 900 We've got 2 mouse jack dongles and GPS I think that's about it.

10:23.060 --> 10:54.480
But just building that kit we found several bugs in Kismet We found several bugs in RTL 433, we found several bugs in the Linux kernel that we've been spending time reporting and trying to get fixed so that this device which was a 4 core processor running with a load of 12 when we started actually got down to a load of about 3 when we were done and functioned rather than all of the devices falling off of the bus and only one time did the power supply crap itself and do a wideband jamming attack before finally failing.

10:54.580 --> 11:05.460
Driving down the road and I called Zero and I was like, hey dude what could possibly be messing with our GPS, the satellite radio and our phones?

11:06.220 --> 11:26.200
It's all passive We got to where we were going and realized that there was a 5 amp power supply that literally was shitting the bed all over the place So we found a absolute denial of service attack on a car just take a really bad Chinese 5 amp 12 volt power supply and just cut the wire a little bit.

11:26.720 --> 11:34.160
Apparently everything goes to hell and back and he did gloss over that a lot I know this is scheduled as a 2 hour talk.

11:34.160 --> 11:42.660
It may or may not be 2 hours We've got some folks here to help us out with some of the other areas that they are much, much, much smarter than us in.

11:42.740 --> 11:52.920
But I will say that we are going to go into each one of those and we're going to talk through how the testing of Kismet went how the testing of Linux went and the testing of USB buses.

11:52.920 --> 12:00.180
I know more about USB buses than I ever wanted to know and the fact that some of these really crappy computers can do a really good job.

12:00.180 --> 12:22.420
So that's kind of how this is going to work We're going to talk to you guys about what exists and what can be done but also how we can test because in some places where you may go some of you may not be native to a place where Amazon can deliver in an hour and a half like I am where you may only get this radio and this radio and this radio or you may be in another country where you can only have these three things.

12:22.740 --> 12:40.800
Showing you how to test them to get the absolute most out of them is going to make you more efficient as you're trying to do this work And the other piece that I wanted to really highlight on The Red Team Alliance has worked with us very closely and the core group Is Bhavik over there?

12:41.300 --> 12:42.060
Bhavik?

12:42.580 --> 12:57.580
Brett, stand up and represent your company Brett, stand up and say hi Thank you That gentleman in the TSA security uniform He's not TSA Well, I mean, he could be If I give you $5 will you pretend to be the TSA?

12:58.300 --> 13:11.660
That box in the bottom they've created for us working in conjunction with us for the Capture the Flag RFID is also an extremely important piece of this if you've ever done... so we talk wireless Who's a physical pen tester?

13:12.540 --> 13:14.760
Who's used an under the door tool?

13:15.140 --> 13:17.440
Who knows what a DDT is?

13:17.920 --> 13:20.500
Who has a lockpick set on them right now?

13:21.060 --> 13:25.020
There we go Who's used those lockpicks in the last three hours?

13:25.760 --> 13:36.340
Okay, good So, that kit is a full on... oh, there it goes Aw , it went away And it's really pretty Did they leave the screen grab here?

13:36.940 --> 14:16.020
There we go So , that box at the bottom is literally a building in a box There are four different types of access control cards running into a single controller with a pie in the background taking in all the information and handing out flags If you haven't seen it yet the thing over there on the end of the table that makes you look like the devil is one of the coolest access control capture the flag style devices that I think has ever been built And I know Babik's not here but one of his representatives is Can you raise your hand there?

14:16.020 --> 14:33.400
He already waved I know, but I'm making Deep wave too because he's standing there in his Raman's shirt, which I absolutely love They do some amazing RFID work and they've helped us tremendously to really take this up to another level and I just want to thank them for partnering with us,

14:33.400 --> 14:50.300
but from a learning perspective having the ability to have that many readers in one place is something that we're going to adopt into our CTF and that type of thing is going to start traveling with us thanks to them and we're going to just keep saying thank you to them for a while as it goes We love you too!

14:51.080 --> 14:53.360
So those are the three pieces.

14:53.360 --> 15:00.680
So from this set of devices we've literally hit from 3... 16?

15:01.740 --> 15:11.720
315 to 6 gig and all of the low frequency and high frequency cards that exist in three Pelican cases that we can travel just about anywhere with.

15:11.720 --> 15:19.120
Now I wouldn't expect anybody else to do that insanity because that's about a year's worth of work but the testing methodology That's good.

15:19.120 --> 15:21.780
You could travel with a Kismet box for years That's true.

15:22.260 --> 15:33.380
The technology and the testing that goes into that is really what we want to impart on you So, moving on This is a PSA Please stay out of the casinos with any radios that you may have.

15:33.380 --> 15:36.220
They do put you in jail The jail is underneath of this building.

15:36.220 --> 15:44.480
It's very big and you're not getting out without any bruises And, by the way, if you came into this room, who has an Apple phone?

15:44.480 --> 15:50.940
Don't raise your hand if you don't want to If you have your Bluetooth on, this isn't a burner phone discussion.

15:50.940 --> 15:56.620
This isn't a Apple versus Android discussion Please turn your Bluetooth off .

15:56.620 --> 16:00.360
You are ridiculously vulnerable to a whole lot of things .

16:00.360 --> 16:02.960
I'm an Apple user when it comes to phones.

16:02.960 --> 16:06.500
I have a watch It is in watch mode You know what it's doing?

16:06.500 --> 16:09.260
It's being a watch Cool ?

16:09.360 --> 16:11.160
But my phone has Bluetooth off.

16:11.160 --> 16:15.800
The reason behind that is Apple has not fixed the vulnerability that has come out with Apple BLE

16:19.160 --> 16:24.980
We'll have hopefully a demo of that tomorrow and start talking to people about their phones.

16:24.980 --> 16:32.980
But essentially from your Bluetooth, your phone number, the power of your phone the Wi-Fi What else?

16:33.360 --> 16:58.160
If the screen is on, if the screen is locked, phone number All can be pulled off Bluetooth SSID So very discreetly, no embarrassment here just turn your Bluetooth off if you have an Apple device and that's an iPad, iPhone iPod Enema, I don't know But Apple leaves those on for watches for pencils,

16:58.160 --> 17:02.000
for connectivity to all kinds of things Just turn it off, please.

17:02.040 --> 17:05.960
Because all your RF does belong to us and we've been capturing since we got here.

17:05.960 --> 17:07.620
We're going to review all that when we get home.

17:07.620 --> 17:17.980
We're going to look at it and we're going to say Huh, this dude had his Bluetooth on and this lady had this on and moving on Yeah You read that.

17:18.100 --> 17:19.380
Yay!

17:19.460 --> 17:22.860
Okay, so how do we test radios?

17:22.860 --> 17:29.320
This is actually a really really wild thing First we buy lots and lots of radios.

17:29.320 --> 17:32.080
Then we buy lots and lots of USB hubs.

17:32.120 --> 17:45.660
Mostly USB because it's so much easier than taking apart laptops Maybe 10 years ago companies started introducing BIOS lockouts to stop you from putting in Wi-Fi cards that they didn't sell.

17:45.920 --> 17:55.200
And that sucks because you had to go and customize your BIOS and do those kinds of things and at that point the community pretty much said F all this, we're just going to use USB stuff.

17:55.460 --> 18:05.140
So we just started doing USB stuff and it's not a big deal when you put 8 radios in a box and try to play with them It is a pretty big deal when you put 30 in.

18:05.220 --> 18:10.800
So if you go back and talk to our good friend Alex who makes a whole bunch of crazy radio stuff that's really awesome.

18:10.800 --> 18:15.900
Hey Alex, stand up and raise your hand and put that thing down Yeah, stop waving that around.

18:15.900 --> 18:17.260
The casino is going to stop you.

18:17.400 --> 18:20.000
Alex Alex, raise your hand.

18:20.000 --> 18:25.760
Wave high Stand up and hold up one of your big put that down please.

18:25.760 --> 18:26.720
Put that down.

18:26.720 --> 18:27.540
Don't point that at me.

18:27.540 --> 18:53.500
Put that down Please put that down Pick up the other thing with all the radios on it So Alex makes these devices No, those are antennas Alex, radios That's PCI radios USB 1.2 He actually discovered, he was the first one of us to figure out that the new Intel USB 3 chips could only handle 11 Wi-Fi cards at a time and the 12th one didn't work.

18:53.680 --> 18:59.520
We figured that out just after him when we plugged 12 Wi-Fi cards into our NUC and it didn't work.

18:59.760 --> 19:09.180
The part where we actually figured it out first is that we bought a newer NUC and the newer USB controller could handle more So my current record is 31.

19:09.220 --> 19:17.720
I've got 31 connected to my test box at home which I'm actually out of outlets and spaces to put things in the little corner where I do my testing.

19:17.720 --> 19:21.120
So I have to buy a table or something to keep going.

19:21.360 --> 19:33.920
So you find the weirdest things when you test this stuff The things that you never expected to find be the problem are the problem So the Realtek driver was released last year about this time.

19:34.200 --> 19:38.040
New 802.11ac monitor mode proper injection.

19:38.080 --> 20:21.620
Theoretically the driver crashed horrifically and so we started testing So I went on to Amazon and I bought every single Wi-Fi card that had the Realtek chip set to see which one was any good Lots of money later I plugged them all into my system and realized it didn't work and then I plugged it into multiple systems and started spreading out load because stupid limitations and then we bought Nux and fixed that problem But the point is you find really weird issues when you go to test these things At the time I was testing with a tool called Kismet Shootout and what Kismet Shootout does is it actually you give Kismet all of the Wi-Fi cards and you say put them all on channel 1 or channel 2 or channel 6 or whatever and then it counts how many packets are seen.

20:21.760 --> 20:38.960
That's all it does it counts how many packets each device sees and that allows me to say if this device sees this many packets but this device only sees 86% of those packets thereby this one's better So I connect a whole bunch of Wi-Fi cards to the system once,

20:38.960 --> 20:53.280
I put them on different channels and I meter them against each other to see who picks up the most packets Once I get a fairly good cream these 10 are pretty decent I go through and I do injection testing.

20:53.280 --> 20:57.240
Go through with Aircrack and I say ok does this one work, does this one work, does this one work.

20:57.240 --> 21:14.100
And it's actually really interesting to find out that the minor differences in the chipsets often make one suck and one work great or even worse like some of them receive really well and they can't transmit for crap they'll go 3 feet but they just don't have a good radio chain on the TX side and they don't go very far at all.

21:14.100 --> 21:37.740
So the ones that we're using in our kit are actually TP-Link T2Us and they totally go a solid 35 feet I mean just absolutely garbage on the transmit and pretty much on the receive side but all we do is we put them right next to each other and we have this little area for capture the flag and that's as far as they need to go and they're the tiniest thing on earth.

21:37.740 --> 21:42.600
Yeah, every time we do testing, Rick's like, did you get it within like 16 feet?

21:42.600 --> 21:43.640
I was like, well, yeah.

21:43.640 --> 21:45.900
He's like, good enough Alright, we're moving on.

21:45.920 --> 21:51.880
Yeah, so the ones we actually like are actually the Alpha 036 ACMs They're a monster card.

21:51.880 --> 21:53.940
They have two antenna connectors to mount the side.

21:53.940 --> 22:03.780
They have these giant eye surrender antennas on top of them and they're much longer range, they're much better transmit power, but they're enormous and we didn't want that kind of thing in our kit.

22:03.780 --> 22:14.440
So we actually go through and do testing to see that kind of level like, okay, this is good enough for what we are doing, but these are the ones that we recommend for like putting in your kit and going out and doing whatever.

22:14.460 --> 22:25.740
So one of the big things that Rick said but probably didn't hit on, so I'm doing the whole, this might be on the test later is you've got to log everything.

22:25.740 --> 22:32.680
If you're not logging, you're not getting errors you're not getting packet captures you're not getting data, you're not getting transmissions.

22:32.680 --> 22:37.720
You're not getting anything if you just plug a radio in and say, oh, this one works, this one doesn't.

22:37.720 --> 22:40.840
You need empirical data to be able to go back to.

22:40.840 --> 22:54.980
Now, it doesn't mean you've got the best of the best or the worst of the worst it means that you have your own level of subjective quantity identification that says, this is one this is two, this is three, this is seven.

22:55.600 --> 23:02.700
At that point you know that what you have is the best that you have when you're going out to do whatever it is you're trying to do.

23:02.720 --> 23:18.280
And that could be literally going to the beach and wanting to have your laptop connect to the Wi-Fi or getting on a boat and having your Wi-Fi connect to the dock or you're doing a full-on you know, red team where you need radios involved and you need to be able to get them from the parking lot.

23:18.280 --> 23:29.140
And so I know this radio is great, it's got SMA connectors, so I can hit you know, I can use my panel antenna and I can hit 150 yards solid with injection.

23:29.140 --> 23:33.480
But until you've tested and you've gotten the unempirical data, you really can't say that.

23:33.480 --> 23:44.780
What we find the most and we tell people in the CTF because we want them to take this back into their real world, if you don't test your stuff you don't know what it does.

23:45.220 --> 23:49.260
How many of you have ever played in any type of CTF?

23:51.800 --> 23:53.680
A few people over there could raise their hand.

23:53.680 --> 23:59.420
Did you spend a week beforehand testing your equipment to know exactly how it's supposed to react?

23:59.760 --> 24:01.340
Nobody ever does.

24:01.340 --> 24:04.560
Because every time we get there, they're like, oh, my kernel's broken.

24:04.560 --> 24:05.700
Oh, I have to update.

24:05.700 --> 24:07.180
Do you have internet so I can update?

24:07.180 --> 24:08.560
I didn't check this driver.

24:08.560 --> 24:10.140
Which kernel is this?

24:10.600 --> 24:17.540
Tools like Kismet and some of the others that are very helpful in data collection literally update, what, every six hours?

24:17.680 --> 24:19.240
I mean, at the long side.

24:19.920 --> 24:21.540
Jaguar doesn't even sleep, I don't think.

24:22.740 --> 24:28.920
They're updating the software that you're relying on to do what you're trying to do hourly.

24:29.360 --> 24:32.960
Some of you may or may not have tested your stuff yearly.

24:34.180 --> 24:36.420
Do you guys go to more than one con a year?

24:38.340 --> 24:42.820
How often do you test your stuff to know how it's supposed to react?

24:42.820 --> 24:46.640
To know what the baseline is, so when something's different, you know it changed.

24:46.640 --> 24:47.860
Every day, Rick.

24:48.260 --> 24:50.340
But we're idiots.

24:50.340 --> 24:51.400
Every single day.

24:51.760 --> 24:54.640
The Kismet shootout's running at my house right now.

24:54.720 --> 24:56.220
It's a long-term test.

24:56.220 --> 24:58.180
Again, we've got ends of the spectrum.

24:58.180 --> 25:00.000
We're all on the spectrum, we're here.

25:00.000 --> 25:01.800
But we've got ends of the spectrum.

25:02.080 --> 25:07.080
We've got the I test shit, and, oh my god, I'm going out tomorrow.

25:07.180 --> 25:11.100
Let me get a laptop at Fry's, throw a new hard drive in it, and throw a live distro on it.

25:11.940 --> 25:17.040
Part of this, and again, hey, good segue, by accident, platform selection.

25:17.640 --> 25:23.620
You're going to work, or you're going to CTF, and you guys decide which scenario you want to sit in.

25:23.820 --> 25:25.700
You need something to type on.

25:25.700 --> 25:29.520
I don't know how many people we've had come into the CTF and be like, hey, I want to play.

25:29.540 --> 25:30.500
What do I need?

25:30.860 --> 25:33.800
Well, you need a radio, and a laptop, and a home.

25:33.800 --> 25:36.080
I didn't bring a laptop.

25:36.540 --> 25:38.300
Well, what do you want to do?

25:38.340 --> 25:39.440
Well, I want to learn.

25:40.180 --> 25:41.460
Why didn't you bring a laptop?

25:42.460 --> 25:43.400
I'm going to do this.

25:43.400 --> 25:43.960
I'm going to do it.

25:43.960 --> 25:45.680
I'm going to hold a paper clip in my teeth.

25:45.680 --> 25:48.020
I'm going to stand up on my soapbox for a second.

25:49.800 --> 25:54.060
Who read all the stuff coming out on Twitter about the burner phones for DEF CON?

25:55.560 --> 26:04.000
Who read all the stuff about, turn off all your radios, turn off your Wi-Fi, turn off your Bluetooth, hide your kids, hide your wife, they're coming to get you, right?

26:04.000 --> 26:04.800
Okay.

26:05.700 --> 26:10.900
Who's been to Starbucks, Dunkin Donuts, or a Panera in the last six months?

26:11.400 --> 26:12.200
Okay.

26:12.680 --> 26:17.780
Who did all this worry before they went to Starbucks, Panera, or Dunkin Donuts?

26:18.500 --> 26:19.220
Right?

26:19.220 --> 26:19.820
Right.

26:19.820 --> 26:21.060
And you should.

26:21.060 --> 26:27.800
Who was at work last week , or the week before, because it's summertime, and was worried about this ?

26:28.380 --> 26:29.180
Huh?

26:30.280 --> 26:31.960
You're a developer, huh?

26:31.960 --> 26:33.500
He turns off his phone before...

26:33.500 --> 26:35.380
You're either a writer or a developer.

26:37.440 --> 26:38.360
Okay.

26:38.480 --> 26:54.200
So, where your protection posture is for your device when you take it anywhere should not matter if you're coming to DEF CON, which, by the way, in the last way too many years, geez whiz, 17 years, it's gotten a lot easier.

26:54.200 --> 26:59.340
You used to not be able to come to DEF CON with something that had a device that you connected to anything else with.

26:59.360 --> 27:06.860
Now, you could have a Windows XP box online at DEF CON right now, and you might make it home fine.

27:07.320 --> 27:08.640
It's different.

27:08.700 --> 27:10.160
But everybody worries about it.

27:10.160 --> 27:12.100
They worry about... The Vegas worries about it.

27:12.100 --> 27:12.940
They worry about Black Hat.

27:12.940 --> 27:14.360
They worry about DEF CON.

27:14.440 --> 27:23.340
Well, I promise you that you have more issues if you're working in, and I'm just going to name three cities randomly, L.A., New York, and Baltimore, and D.C.

27:23.340 --> 27:24.280
That's four.

27:24.740 --> 27:32.120
You have more to worry about going into a Starbucks or a Panera and connecting to their Wi-Fi than you do coming to DEF CON.

27:32.620 --> 27:39.740
How often are you stressed out about going to Panera or Starbucks or the train station or wherever?

27:40.400 --> 27:42.760
Just let that settle in for a second.

27:42.900 --> 27:46.820
This is why testing and knowing what your stuff does matters.

27:47.140 --> 27:48.660
Have you seen the bars at night?

27:48.660 --> 27:51.680
The good hackers are all way too drunk to be hacking you right now.

27:51.680 --> 27:54.020
I'm stepping on my soapbox.

27:54.020 --> 27:58.780
We're going to talk about platform selection because there are some platforms to select from.

27:59.220 --> 28:00.540
Rick, do you know...

28:03.520 --> 28:05.220
We're a little biased here.

28:05.220 --> 28:10.360
The dude that creates one of those operating systems is here, and this is Bill Gates.

28:10.740 --> 28:18.820
Actually, I'd like to talk to you about developers, developers, developers, developers, developers, developers.

28:19.540 --> 28:21.160
You got it.

28:21.160 --> 28:22.260
There we go.

28:22.740 --> 28:24.600
I like this.

28:24.980 --> 28:27.040
You're perfect for the front row.

28:27.040 --> 28:28.760
He hasn't heard these jokes before.

28:29.100 --> 28:30.860
They're funny for us.

28:31.020 --> 28:32.900
Windows is an operating system.

28:32.900 --> 28:34.060
Do we all agree?

28:34.880 --> 28:36.000
Yeah.

28:36.380 --> 28:38.760
How many have to use Windows?

28:39.920 --> 28:40.740
Okay.

28:41.160 --> 28:51.040
It's either because Office 365 sucks, or because Open Office doesn't quite work well, or because you were given a laptop at work to use Windows.

28:51.500 --> 28:54.120
There are tools that Windows works with.

28:54.320 --> 28:57.000
I can name five or six off the top of my head.

28:57.000 --> 28:58.100
There's Spike.

28:58.140 --> 29:00.480
There's Insider.

29:00.600 --> 29:04.620
There's Metageek's entire suite of stuff.

29:05.680 --> 29:07.360
There's a snipping program.

29:07.360 --> 29:08.960
I can't remember what it's called anymore.

29:09.680 --> 29:10.280
WinPCAP ?

29:10.420 --> 29:13.660
WinPCAP , yeah, but you have to have the right driver and the right radio.

29:13.660 --> 29:18.000
And I think I just mentioned $65,000 worth of equipment.

29:18.900 --> 29:23.060
So, you have to pay for Windows stuff, but it's not bad.

29:23.060 --> 29:23.760
It's gooey.

29:23.760 --> 29:24.440
It's pretty.

29:24.440 --> 29:28.840
I can give this to a CXO and say, hey, here's your stuff.

29:28.840 --> 29:30.140
Here's your heat maps.

29:30.500 --> 29:33.960
But for doing this type of stuff we do, it's not ideal.

29:33.960 --> 29:40.540
And it's not ideal because I can't manipulate the way that I'm going to affect the physics of the RF.

29:41.760 --> 29:43.120
Virtual machines are cool.

29:43.120 --> 29:44.240
Who uses them?

29:45.120 --> 29:50.340
Ever tried to do RF over a VM with EIEIO?

29:50.980 --> 29:51.740
Okay.

29:52.480 --> 29:57.760
80% of you can say yes and it worked fine and the other 20% can say, oh my god, why doesn't it work?

29:57.760 --> 30:00.180
And the answer is, you will never know.

30:00.680 --> 30:06.360
VMs are fabulous until they don't work and then there's nothing you can do about it.

30:06.840 --> 30:08.120
So, yes.

30:08.120 --> 30:12.100
There is an operating system missing from this screen.

30:12.100 --> 30:13.240
Which is it?

30:15.580 --> 30:16.640
Crapple.

30:16.640 --> 30:17.300
Okay.

30:17.300 --> 30:18.200
Steve died.

30:18.200 --> 30:19.460
Moment of silence.

30:20.120 --> 30:21.200
Moving on.

30:21.200 --> 30:27.620
So, he died and the entire vision of Apple changed when it came to usability of their operating systems.

30:27.780 --> 30:34.900
5, 6, 12 years ago, God, Kahuna and I, we gave a talk and we gave a talk on wireless.

30:34.900 --> 30:37.840
We gave a talk on wireless using VMs using Apple.

30:37.840 --> 30:42.860
Because Apple at that time actually had kernel-ish type stuff.

30:42.860 --> 30:44.300
Rick still hated it.

30:44.300 --> 30:47.400
But it had kernel-ish type stuff.

30:47.400 --> 30:50.680
It had the ability to write to the HAL more appropriately.

30:50.680 --> 30:53.140
It had the ability to run 3 or 4 VMs.

30:53.140 --> 30:55.460
It had the ability to pass that data through.

30:56.200 --> 30:57.640
Well, things have changed.

30:57.640 --> 30:58.700
It doesn't anymore.

30:58.700 --> 31:12.500
In fact, there are articles out there about USB 2 to USB 3 conversion on Apple and contention on the USB bus because of the screen and the way the WiFi works to make Apple almost unusable.

31:12.720 --> 31:18.040
So, in the last 2 or 3 years, in this type of talk we've given, we've taken Apple off the list.

31:18.040 --> 31:20.900
It is a viable operating system if you have to use Office.

31:20.900 --> 31:29.880
It is a viable operating system for Adobe or development or music or I'm sure, you know, there are tons of people that have real good uses for it.

31:29.880 --> 31:32.140
In this space, it's not ideal.

31:32.140 --> 31:38.140
The cost of an Apple outweighs the absolute horror that you have to go through to make it work.

31:38.360 --> 31:39.880
So, we move on to Raspberry Pi.

31:39.880 --> 31:41.140
I'm going to skip over the middle one.

31:41.140 --> 31:41.840
Yes.

31:42.940 --> 31:43.580
Yeah.

31:43.820 --> 31:44.780
Right.

31:49.680 --> 31:53.140
So, the question is like doing separate boots on it.

31:53.140 --> 31:59.580
So, it's not the hardware on Mac that's necessarily the problem, although they tend to implement the standard their own special way.

31:59.580 --> 32:01.780
We're talking about the operating system itself.

32:01.780 --> 32:09.500
So, we're skipping over Pentium in the middle, but the point is any hardware that you can live boot into Linux, the answer is do that, right?

32:09.560 --> 32:19.380
Even if you don't want to reinstall your operating system and kill your Windows box or kill your Mac box, if you can boot into Linux, you can do all this stuff with direct access to the hardware.

32:19.400 --> 32:22.740
And if you're super spooked about that, just yank the hard drive before you do it.

32:22.760 --> 32:25.640
Probably not with a magnetic screwdriver, but you get my point.

32:26.160 --> 32:30.240
Easily enough, just not format your hard drive if you don't want to do that.

32:30.240 --> 32:34.380
And you can do all of these things and save to a USB stick and it's no big deal.

32:34.380 --> 32:47.120
But the ease of use with Linux, aside from trying to actually use Linux, the tools are there and the tools roughly work as well as open source ever works, and the support's there as much as open source ever has support.

32:47.120 --> 32:54.000
But to get these things, the only way you're going to do it is with Linux or with millions of dollars.

32:54.000 --> 32:59.940
You can buy a $10,000 to $15,000 Bluetooth snipper or you can buy an Uber Tooth One.

32:59.940 --> 33:01.980
And they both do exactly the same thing.

33:01.980 --> 33:06.000
One works in Windows and the other pretty much doesn't work in Windows.

33:06.000 --> 33:07.060
But you can choose.

33:07.060 --> 33:10.380
Do I want to run Linux or do I have $10,000 extra dollars laying around?

33:10.600 --> 33:13.260
And if the answer is the second one, could you please be a sponsor?

33:14.860 --> 33:16.980
Did I mention we're a non -profit now?

33:17.480 --> 33:19.240
So Raspberry Pi is on there.

33:19.540 --> 33:23.240
Raspberry Pi is on there because Raspberry Pi runs Linux.

33:23.440 --> 33:24.800
It'll run Gentoo .

33:24.800 --> 33:25.840
It'll run Debian.

33:25.840 --> 33:27.200
It'll run Raspbian.

33:27.200 --> 33:29.260
It'll run a whole lot of operating systems.

33:29.260 --> 33:30.100
It'll run Kali.

33:30.100 --> 33:30.920
It'll run Kali.

33:30.920 --> 33:31.960
It'll run NetHunter.

33:31.960 --> 33:32.720
Kali?

33:32.720 --> 33:33.140
No, no.

33:33.140 --> 33:33.920
Kali, Kali.

33:33.920 --> 33:37.460
With all the Nexmod patches and everything included.

33:37.460 --> 33:40.160
We haven't gotten there yet, but Windows runs Kali too.

33:41.120 --> 33:41.900
Yeah.

33:41.920 --> 33:43.660
Kali's an operating system.

33:43.660 --> 33:45.480
Alright, so Raspberry Pi.

33:45.480 --> 33:57.580
So as a dropper, as a leave behind, as a pass through , as a bridge, Raspberry Pi's do a great job because if you lose it, you lost $35.

33:57.580 --> 33:59.900
I don't care what your budget is.

33:59.900 --> 34:01.880
People care about the bottom line.

34:02.120 --> 34:10.760
Now, there's a team that will be made, you know, not named right now because Scoot left, that left a Raspberry Pi on site.

34:10.920 --> 34:12.980
They left it on site unencrypted.

34:12.980 --> 34:18.260
So whoever found it was able to pull all their data off and look at it and review what they were doing.

34:18.400 --> 34:21.600
Adversary, Red Team, Pentester, whatever have you.

34:21.800 --> 34:25.800
We're able to pull everything you did off that information.

34:25.800 --> 34:26.640
You guys can sit down.

34:26.640 --> 34:27.340
There are seats.

34:27.340 --> 34:28.220
We don't bite.

34:28.260 --> 34:29.140
I promise.

34:29.180 --> 34:30.580
Lots of them up front.

34:30.580 --> 34:31.820
We both showered this morning.

34:31.820 --> 34:32.280
We did.

34:32.280 --> 34:32.520
Separately.

34:32.520 --> 34:33.040
We did.

34:33.140 --> 34:33.900
Separately.

34:33.900 --> 34:35.200
Well, sort of.

34:35.380 --> 34:36.400
Wasabi did walk in on me.

34:36.400 --> 34:39.960
Yeah, Wasabi kind of was in the middle, but that's a different story.

34:40.300 --> 34:47.840
So the fact that we have the ability to take a $35, okay, we've got what, Pi 4's now, they're $50.

34:48.000 --> 34:53.680
But that's an nth of a percentage of the cost of a lot of these engagements.

34:53.900 --> 34:57.700
Raspberry Pi W, what are they, $10, $12 now?

34:58.120 --> 35:03.180
You have the ability to do a lot of the things we're going to talk about, and we're going to back them 100%.

35:03.720 --> 35:07.860
But it's a tool, not your main device.

35:07.860 --> 35:11.360
If you need a laptop to do work, use a laptop or a computer.

35:11.420 --> 35:15.820
Don't use a leave behind or a dropper to do the work that a laptop should do.

35:15.960 --> 35:17.520
We're going to talk a little bit about that.

35:17.520 --> 35:20.280
Rick was talking about workloads a little bit ago.

35:20.280 --> 35:28.860
As a single source server that you're leaving in as an RF forwarder, Bluetooth, Wi-Fi, whatever have you, they work great.

35:29.300 --> 35:33.840
They're not going to be your primary OS or your primary device.

35:33.840 --> 35:37.840
Yeah, again, going back to the, if you didn't test it first, it doesn't work.

35:38.500 --> 35:47.560
We've got only like 18 things plugged into the Kismet box, and that compute stick is chugging real, real hard.

35:47.560 --> 36:03.500
That's based on a design from much earlier where I built a 7 radio rig, and I built a little clipboard with two lithium ion batteries that did not look like a bomb at all, and we snuck onto a trolley and sniffed a bunch of sea level traffic and then got interviewed about it.

36:03.500 --> 36:15.700
But that one ran for a total of five minutes before the RAM completely filled up and the box decided to crash because it couldn't write to the disk fast enough to put the captures on.

36:15.700 --> 36:16.980
Ran all the radios great.

36:17.000 --> 36:18.480
No problems there.

36:18.480 --> 36:19.880
Captured lots and lots of data.

36:19.880 --> 36:20.980
Really fast.

36:21.180 --> 36:24.600
Battery, hours of battery life.

36:24.600 --> 36:26.520
I charged my phone off the battery after we were done.

36:26.520 --> 36:27.540
Yeah, it was amazing.

36:27.680 --> 36:29.000
But yeah, five minutes.

36:29.000 --> 36:31.660
Five minutes of capture time, and then the RAM was full.

36:32.040 --> 36:33.940
Bigger RAM would not have helped me there.

36:33.940 --> 36:42.680
Sometimes you just, you run into these weird problems, and it's really important to test these things because the thing you don't expect to break is always what breaks.

36:42.680 --> 36:46.540
All of our challenges pretty much are running, and our status page is broken.

36:46.540 --> 36:49.280
So people keep coming over to us saying, the challenge isn't running.

36:49.280 --> 36:50.080
How do you know?

36:50.140 --> 36:51.700
Scoreboard says it's not running.

36:51.700 --> 36:54.040
Like, well, did you look in the air?

36:54.040 --> 36:55.600
All of them are up.

36:55.620 --> 36:56.340
Oh.

36:57.000 --> 37:01.940
Yeah, so it's always the thing that you wish was simple that breaks, and the complex stuff is what works fine.

37:01.940 --> 37:04.500
Hey Blunderbuss, you're still in third.

37:05.080 --> 37:05.780
Sorry.

37:05.960 --> 37:07.000
Just had to.

37:08.120 --> 37:12.120
So, we're doing this in a weird order on purpose.

37:13.100 --> 37:17.960
We talk, if you've ever heard us, who's ever listened to us travel on, ever?

37:17.960 --> 37:18.780
Anyone?

37:18.780 --> 37:19.420
Okay.

37:19.420 --> 37:20.060
Wow.

37:20.120 --> 37:21.860
This counts now.

37:23.240 --> 37:27.360
So, Kali is a great operating system.

37:27.580 --> 37:30.480
Kali has an absolute place in the world.

37:32.640 --> 37:34.820
Kali has a place in the world.

37:35.100 --> 37:40.520
But every operating system and every device that those operating systems are on are tools.

37:42.240 --> 37:47.040
I am really, really, really bad with physical tools.

37:47.040 --> 37:50.800
My father-in-law can build a mansion with, like, Home Depot.

37:50.900 --> 37:57.720
If I go to Home Depot and buy a hammer , I've got three broken thumbs, yes , three, and the nail never went in.

37:57.860 --> 38:00.840
But it's the same tool used by a different person.

38:01.300 --> 38:22.800
People that are really good at wired pen testing, reverse engineering, database exploitation, web exploitation, general networking stuff, or anything that, God love him, Dave Kennedy has written, or his team has written, works amazingly in Kali.

38:22.800 --> 38:27.220
So if that's your gig, and that's what you're doing, Kali is a great operating system.

38:28.240 --> 38:34.120
Try and do wireless work and be really effective using Kali.

38:34.680 --> 38:45.080
The difference between, and again, we're going back to logs, empirical data, the difference and the loss in packets with Kali to Pentoo are enormous.

38:45.340 --> 38:48.180
So many, many times we will disparage Kali.

38:48.180 --> 38:54.320
We have built stickers and written stickers that say hey, ha ha ha, you used Kali, ha, you suck.

38:55.460 --> 39:05.640
But because they're doing the capture the flag, and we absolutely, 100% of the time, denote that on the sticker or the discussion that we're having.

39:05.640 --> 39:09.000
If you're doing wireless work, these are going to be your problems.

39:09.760 --> 39:17.680
We could have a flame war in Linux on Debian versus Slack versus Gen2 versus BSD.

39:17.680 --> 39:19.700
Immediately following this talk, we can meet over there.

39:19.700 --> 39:20.500
Yeah, we can meet over there.

39:20.500 --> 39:22.300
We'll have an absolute flame war.

39:22.580 --> 39:33.640
But until you can tell me in this instance, using this device, using this type of test, I hate this operating system, I still am going to call bullshit on you.

39:33.640 --> 39:37.500
Because until you've done that, Windows is the right tool for certain things.

39:37.800 --> 39:40.220
Mac is the right tool for certain things.

39:40.220 --> 39:41.100
Alright, you've gone too far.

39:41.100 --> 39:42.340
Don't we have another slide?

39:42.380 --> 39:43.180
Nope.

39:43.580 --> 39:44.620
I'm pretty sure we do.

39:44.620 --> 39:45.180
Nope.

39:45.180 --> 39:45.760
This is it.

39:45.760 --> 39:46.900
This is the last slide.

39:47.560 --> 39:48.260
Please.

39:48.260 --> 39:51.360
So, I want you to talk about Pen2.

39:51.760 --> 39:52.200
So...

39:52.880 --> 39:54.040
Yeah, go ahead.

39:54.040 --> 39:55.360
I like Pen2.

39:55.860 --> 39:57.380
It's a lot of fun.

39:57.960 --> 40:01.200
So, the truth is, when you're using a live CD...

40:01.200 --> 40:02.400
And the next slide.

40:02.400 --> 40:06.020
The only thing that matters is, does the tool I'm trying to run work?

40:06.020 --> 40:08.060
Does the device I'm plugging in work?

40:08.060 --> 40:09.900
It doesn't matter what the OS base is.

40:09.900 --> 40:12.340
It doesn't matter what schmuck put it together.

40:12.340 --> 40:15.260
It only matters does this work right now, this second.

40:15.380 --> 40:19.380
And if you're trying to install with Pen2, the answer is probably 80% it doesn't.

40:19.380 --> 40:22.700
But if you're trying to use any of the tools, it absolutely does work.

40:22.700 --> 40:26.020
And we spend an enormous amount of time testing our own stuff.

40:26.020 --> 40:27.840
And we use Pen2 to test it.

40:27.840 --> 40:32.380
Which means that we know for a fact that you can break the challenges with the hardware using Pen2.

40:33.140 --> 40:40.740
When you choose what operating system to install, I always suggest that you install the one that you ask the least stupid questions about.

40:40.780 --> 40:42.820
If that happens to be Pen2, that's great.

40:42.820 --> 40:44.220
And I would love to support you.

40:44.220 --> 40:51.600
But the truth is, using Pen2, which is based on Gen2, is enormously painful for new Linux users.

40:51.600 --> 40:54.480
The learning curve is straight backwards.

40:54.620 --> 40:59.200
If this is a normal learning curve, Pen2 is this way.

40:59.440 --> 41:00.520
No joke.

41:01.980 --> 41:03.680
Learning to use Linux...

41:03.680 --> 41:05.000
I started on Red Hat.

41:05.320 --> 41:07.200
I spent two years on Red Hat.

41:07.200 --> 41:10.520
And then I'm like, oh my god, why does this never do what I want it to do?

41:10.600 --> 41:13.800
And the guy I was working with on the InterCAP project is like, oh, I use Gen2.

41:13.800 --> 41:15.220
It's the only way I can make it work.

41:16.200 --> 41:19.960
And then I just... now I'm on Gen2 forever.

41:20.060 --> 41:20.960
Go Gen2.

41:21.100 --> 41:30.500
But the truth is, it is painful to use sometimes when you are trying to do updates and reconfiguring the system and learning how to make Linux work.

41:30.500 --> 41:34.580
So if you have no idea how Linux works and you want the pain, by all means, I will help you.

41:34.580 --> 41:45.900
If you want to start with something a little gentler, honestly, using Debian or Ubuntu, learning how Linux works, or something based on said operating systems, even Kali, you can learn how Linux works.

41:45.900 --> 41:52.220
And when you're a little more comfortable with that, something that's a lot more complex is worth it sometimes.

41:52.220 --> 41:58.680
So, the next slide, please do not go out and buy these tools.

41:58.920 --> 42:07.360
We've had this talk before, and the next thing I know, three days later, I went to Hacker Warehouse, which, by the way, is phenomenal and they've got everything.

42:07.440 --> 42:09.600
But I went to Hacker Warehouse and I bought all these things.

42:09.600 --> 42:11.440
I'm a pen tester now, right?

42:12.620 --> 42:13.820
I went to Home Depot.

42:13.820 --> 42:17.020
I bought a saw , a hammer, a jigsaw, and some nails.

42:17.020 --> 42:18.080
Can I build a house?

42:18.140 --> 42:18.920
Hell no.

42:18.920 --> 42:19.960
I bought a monocle now.

42:19.960 --> 42:20.780
I'm a millionaire.

42:20.780 --> 42:21.440
Yes.

42:21.440 --> 42:21.820
Yes.

42:21.820 --> 42:22.860
Monopoly boy.

42:22.860 --> 42:30.080
So, the Ubertooth is a great tool for portions of Bluetooth that you need it for.

42:30.620 --> 42:35.000
Alpha radios are phenomenal if they have the right chipset.

42:35.360 --> 42:44.060
If you can find the TP-Link TLWN722N version 1, it's golden.

42:44.060 --> 42:48.320
It's about $13 and it will last for years.

42:48.320 --> 42:55.220
It's a $13 Wi-Fi radio that, in 2.4 gigahertz, will do everything you needed to do.

42:55.220 --> 42:56.600
And I see you all taking pictures.

42:56.600 --> 42:59.160
Don't go buy all this because you can't buy some of it.

43:01.300 --> 43:04.720
But version 1 is amazing.

43:04.720 --> 43:06.180
Version 2, they change the chipset.

43:06.180 --> 43:06.980
It doesn't inject.

43:06.980 --> 43:07.920
It's worthless.

43:08.860 --> 43:14.020
HackRF, Mike Ospin, makes an amazing, capable software-defined radio.

43:14.160 --> 43:16.620
There are better, but they're more expensive.

43:16.620 --> 43:22.080
There are worse, and they're cheaper, but they may do exactly what you want them to do.

43:22.540 --> 43:27.480
The Globalstat BU353 GPS is amazing.

43:27.800 --> 43:29.300
We're not even using them.

43:29.300 --> 43:35.460
We're using the Block 7s because they do a better job, they're smaller, and they make better connections.

43:35.880 --> 43:38.400
Crazy Radio PA, who knows what that does?

43:38.740 --> 43:42.180
By the end of this talk, you're going to love these and you're going to go buy them.

43:42.220 --> 43:44.800
The Crazy Radio PA is the mouse jack attack.

43:44.800 --> 43:45.740
Who's heard of that?

43:46.780 --> 43:49.920
Oh, okay, we have to talk about mouse jack a little bit.

43:49.960 --> 43:52.900
So for those of you who know it, just sit back and laugh at everybody else.

43:53.500 --> 43:57.080
The Senna UD100 is an amazing Bluetooth radio.

43:57.360 --> 44:01.420
But one of our guys who does a ton of work, and I'm going to plug him real quick.

44:01.420 --> 44:02.540
Woody, are you over there?

44:03.400 --> 44:07.360
He can't hear low frequency stuff because he's been blown up too many times.

44:07.400 --> 44:07.940
Woody!

44:08.160 --> 44:08.980
Hey, Woody!

44:08.980 --> 44:09.620
Hey, Woody!

44:09.620 --> 44:10.740
It worked, see?

44:11.020 --> 44:12.920
We have a high frequency, we can hear him.

44:12.920 --> 44:20.400
Woody has done a crap ton of Bluetooth testing and has pointed us in some directions on Bluetooth radios that are different from the UD100.

44:20.620 --> 44:23.480
He says he sees like 10 times more things in the same room.

44:23.480 --> 44:25.840
So, hey, cool, let's work with this.

44:26.140 --> 44:27.740
USB-powered hubs.

44:27.740 --> 44:33.860
You'd think this was a really just easy, simple, no worries, I'm going to go buy a USB hub.

44:33.920 --> 44:35.300
How many have we burned up?

44:37.560 --> 44:39.260
I mean, like, literally melted?

44:39.260 --> 44:41.920
Only a few, but most of them break really quick.

44:41.940 --> 44:45.680
The ones that don't break usually don't actually fill all the ports.

44:45.880 --> 44:53.020
So I've got a 7 port at home that's got 3 of those 2 e-links in it because you can't actually fit them next to each other.

44:53.240 --> 44:55.100
Most USB hubs are awful.

44:55.100 --> 45:01.440
Both in throughput and in latency and in heat and in the fact that they just generally break.

45:01.440 --> 45:08.220
So, for instance, if you look in our box, which we encourage you to look but not touch, you'll see 2 different kinds of hubs.

45:08.220 --> 45:18.440
We've got one where they're really, really close to each other and we've got the new model of same said hub where they're actually spaced out enough that you can put devices in every friggin' port.

45:18.440 --> 45:25.000
If you're taking notes, the VanTech 10 port USB 3 hub is absolutely amazing.

45:25.000 --> 45:25.720
It's aluminum.

45:25.720 --> 45:29.000
It is the size of your forearm but... It's not that big.

45:29.040 --> 45:30.560
It's all aluminum.

45:30.560 --> 45:34.160
It's made for bit miners and it disperses heat phenomenally.

45:34.160 --> 45:36.540
And it's got full bandwidth.

45:36.540 --> 45:46.300
So, even something as simple as going to Fry's or on Amazon or Micro Center and finding a USB hub, even that is something we test.

45:46.300 --> 45:49.080
And we're going to talk through some of this testing as we go through this.

45:49.080 --> 45:51.680
Again, we're at 48 minutes of a 2 hour talk.

45:51.780 --> 45:52.960
Can we talk for 2 hours?

45:52.960 --> 45:54.320
I think we can talk for like 6.

45:54.320 --> 45:55.880
I think you can probably talk for 2 hours.

45:55.880 --> 45:57.020
I probably could talk for 2 hours.

45:57.020 --> 45:58.400
I'm going to close though.

45:58.620 --> 45:59.840
It might be now.

45:59.840 --> 46:00.240
I don't know.

46:00.240 --> 46:01.380
I haven't decided yet.

46:02.040 --> 46:03.860
USB to Ethernet controller.

46:03.860 --> 46:09.200
If you've bought a new generation laptop, that is decent.

46:10.040 --> 46:12.300
How many USB ports do you have?

46:12.300 --> 46:12.820
1?

46:12.820 --> 46:13.640
2?

46:13.640 --> 46:14.820
All USB-C?

46:14.820 --> 46:15.460
None?

46:15.460 --> 46:16.300
Love it.

46:16.300 --> 46:18.680
Yeah, that shit sucks.

46:18.800 --> 46:37.840
But you have to be able to plug other things into it because, you know, we talk about how secure WiFi is, but if you're not using client certs and server certs, validating both and having no wildcards and having everything signed, and having your IT department write a GPO that gives you WPA2 only insert form,

46:37.840 --> 46:40.180
you're not really secure using WiFi.

46:40.300 --> 46:44.460
How many years has Defcon's WiFi gone down because of us?

46:45.120 --> 46:48.220
I mean all the way down or just we stole all the passwords?

46:48.320 --> 46:49.280
Both.

46:49.540 --> 46:51.820
Most of the time they don't even notice.

46:51.960 --> 46:56.320
The NOC hates us and we love them and they hate us and we love them.

46:56.360 --> 46:58.740
I want it on record that we love them.

46:58.880 --> 47:00.040
And we try and help.

47:00.040 --> 47:04.880
But essentially every time they create a network, they implement it properly.

47:04.880 --> 47:06.720
Who's a sysadmin in the room?

47:06.720 --> 47:08.760
It's okay to raise your hand if you are.

47:09.080 --> 47:22.040
Who's implemented WiFi and done it correctly and dealt with the absolute hell of dealing with mutual cert authentication and validation and the cert chain and all of everything that goes with that?

47:22.040 --> 47:27.420
I connect my GPD to my phone's hotspot at work so I don't have to do that.

47:27.420 --> 47:30.080
Because people go around it.

47:30.080 --> 47:44.280
So again, if you're not going with the full compliance of what... wow, this is going flat quick... the full compliance of what your enterprise is doing, you're not secure any other time if you're still following the same rules.

47:44.300 --> 47:46.580
So, USB to Ethernet controller.

47:46.580 --> 47:48.700
If you don't use WiFi, you gotta use Ethernet.

47:48.700 --> 47:58.240
We were testing radios in the room before this to get ready for this talk and the CTF and you guys because, you know, Defcon's a bunch of assholes that try and break everything.

47:58.380 --> 48:10.540
And the end goal was Rick had at least one gigabit Ethernet over USB 3 device that's cut in half with his flyers because I was de-authing him with my handheld radio.

48:10.540 --> 48:14.820
Does anybody know what frequency USB works on?

48:15.280 --> 48:19.360
USB 2 transfers at 480 megahertz?

48:20.400 --> 48:23.720
Does anybody know what frequency handband is?

48:23.720 --> 48:25.440
Like 430?

48:25.620 --> 48:28.720
Business band's even worse, like in the 460s.

48:28.720 --> 48:48.720
If you use any of the radios that have the TTY inside the radio, they actually pop up a warning in this radio config software of, for the love of God, don't transmit while you're trying to upload to the radio because it picks up right into the radio and feeds into it and I have bricked a radio that way before.

48:48.720 --> 48:59.840
You can de-auth someone's dongle, you know, we're in dongle gate now, you can de-auth somebody's ethernet connection with a handheld radio regularly.

48:59.840 --> 49:04.460
You can move a mouse because, what bus does the mouse sit on?

49:06.040 --> 49:07.120
U...S...come on...

49:08.320 --> 49:08.980
U...S...

49:08.980 --> 49:09.820
B...

49:09.820 --> 49:15.440
The USB bus is really vulnerable to RF attacks.

49:15.500 --> 49:22.860
Those that are Wi-Fi pen testers, how often do you do USB based frequency RF attacks?

49:22.880 --> 49:31.880
I can move your mouse, I can make your computer do things it's not supposed to do, literally by keying up a 5 watt handheld near you.

49:31.920 --> 49:37.260
Yeah, who's tried to sniff Wi-Fi on a USB 3 hub that is really, really cheap?

49:37.440 --> 49:42.620
Yeah, it leaks energy all over the place and completely ruins your signal.

49:42.740 --> 49:47.880
Like, those big, thick cables that nobody likes, those are the good ones for a reason.

49:47.880 --> 49:48.640
They're good.

49:49.760 --> 49:51.160
Headphones are up here.

49:51.220 --> 49:52.100
Why?

49:52.920 --> 49:56.640
A, because I don't want to listen to other people talk while I'm trying to work.

49:56.780 --> 50:04.720
When you get on a train, headphones, the really big ones, are like the universal, don't talk to me, signal.

50:05.540 --> 50:08.560
But headphones are important if you're trying to listen to RF signals.

50:08.560 --> 50:15.060
So, as you're listening to these RF signals, you're going to hear voices, you're going to get video, you're going to get things that you want to hear.

50:15.060 --> 50:19.580
I had an assessment that we were on in the middle of Trafalgar Square in England.

50:19.900 --> 50:23.960
Well, if you've ever been there, there's a few other embassies around there.

50:24.620 --> 50:26.540
They will be named, unnamed?

50:26.580 --> 50:27.600
Unnamed at this point?

50:27.600 --> 50:28.200
Unnamed.

50:28.200 --> 50:38.840
We were doing an assessment, we found some stuff, and the next thing I know, we're hearing chatter, and I didn't recognize the language, so I called in somebody that might, and he's like, oh, that's not good.

50:39.180 --> 50:40.000
I was like, okay.

50:40.240 --> 50:51.180
So, we, you know, as an intelligent assessor does, we go to the ground, took a Surface that's running Linux because it looks like I'm walking around as a tourist with a tablet, a bunch of shit in my backpack.

50:51.460 --> 51:06.260
Next thing I know, I've got a group of people with earwigs and flags on their chest following me and the guy that I'm working with because they realized that we intercepted their communications and we were down the road trying to triangulate where they were.

51:06.560 --> 51:12.000
Well, this isn't an abnormal situation if you're doing red teaming in America or other countries.

51:12.000 --> 51:13.480
It really doesn't matter where you are.

51:13.760 --> 51:25.040
That happening allowed me to realize that, you know, people see what you're doing, your opsec matters, radios have to be down when you're doing this stuff because they can fingerprint me digitally.

51:25.320 --> 51:33.380
So as we're going through, the headphones were what allowed me to at least look semi touristy and get the work done that I needed to get done.

51:33.600 --> 51:36.000
It also helps in personal relationships.

51:36.160 --> 51:37.920
My wife refers to my radio as Mr.

51:37.920 --> 51:43.040
Crackly, and I am only allowed to use it if I have my earbuds in.

51:43.740 --> 51:45.460
Who has a scanner?

51:45.700 --> 51:47.720
You ever listen to a scanner?

51:47.860 --> 51:50.380
They're not, not quiet.

51:50.620 --> 51:57.020
In fact, they're very loud, and they're usually not well tuned because you're getting a signal from like 60 miles away.

51:57.360 --> 52:05.360
The key to all this is, know what your gear does, know what your signatures look like, and know what other people can see of you as you're walking around.

52:05.440 --> 52:07.180
And then antennas assorted.

52:07.180 --> 52:10.040
How many antennas are you carrying right now?

52:11.460 --> 52:12.500
Me?

52:12.520 --> 52:13.040
Yeah.

52:14.020 --> 52:15.500
About 200.

52:15.500 --> 52:17.120
Just in my pocket?

52:17.120 --> 52:19.140
Yeah, I was going to say, I've got two in my pocket right now.

52:19.140 --> 52:21.520
Here, like, 45 or 50.

52:21.540 --> 52:23.820
Antennas matter, and frequency matters.

52:23.820 --> 52:28.500
And some of the talks you've heard today talk to the frequencies that go on and how they work.

52:28.500 --> 52:37.380
A 2.4 gigahertz antenna on a 433 megahertz transmitter or transceiver isn't going to give you a whole lot of anything good.

52:37.380 --> 52:39.020
It's going to give you a lot of dirty signal.

52:39.280 --> 52:41.880
Understanding what you're doing with antennas is super important.

52:43.220 --> 52:47.700
These are two tools that we live in quite a bit in the WiFi world.

52:48.500 --> 52:51.200
One on the left has pretty colors.

52:51.340 --> 52:53.400
One on the right has more pretty colors.

52:54.080 --> 52:56.160
Which one are you presenting to a CEO?

52:57.580 --> 53:03.440
I hope neither, and I hope you're writing up an assessment of actually what they say and not what that's showing.

53:03.440 --> 53:05.980
But AeroDump and Kismet are pretty much the defect.

53:05.980 --> 53:06.620
Yes?

53:06.780 --> 53:07.600
What, Chris?

53:08.060 --> 53:09.180
He's saying hi.

53:09.180 --> 53:10.200
Are you just saying hi?

53:10.200 --> 53:11.020
Hi, Chris.

53:11.020 --> 53:12.440
Can you say hi to everybody, Chris?

53:12.440 --> 53:15.780
If you don't have enough to share, don't give anything out.

53:16.500 --> 53:17.220
Okay.

53:17.440 --> 53:18.740
He does have enough to share.

53:18.740 --> 53:20.160
Everybody go share with Chris.

53:20.420 --> 53:21.260
Start with hugs.

53:21.260 --> 53:22.500
He's a very nice guy.

53:22.500 --> 53:24.200
He loves hugs.

53:24.900 --> 53:26.800
Bear looking for a twink in the back.

53:26.800 --> 53:29.080
If everybody's getting up to give him a hug, sit back down.

53:29.440 --> 53:30.300
Or don't.

53:30.300 --> 53:31.180
He might punch you.

53:31.180 --> 53:32.040
Or hug you.

53:32.040 --> 53:32.800
I'm not sure.

53:33.060 --> 53:36.000
So Kismet and AeroDump are the two kind of go-to tools.

53:36.660 --> 53:38.840
AeroDump for Wi-Fi specific.

53:39.060 --> 53:44.960
Kismet, as you see, if you come over and look at some of the work we're doing, Kismet gives you a lot more information.

53:44.960 --> 53:46.940
It gives it to you in a much better form.

53:47.300 --> 53:53.240
And then, Mike, if you could just give us packet captures back and not make us script it, that would be great.

53:53.760 --> 53:57.260
It totally doesn't always crash on the PCAP-NG output.

53:57.820 --> 54:01.780
But these are two really good tools to use these capabilities we're talking about.

54:01.920 --> 54:07.600
So to get to where you're going, you're going to have to pack it out some way.

54:07.600 --> 54:09.380
So you can pack it covert.

54:10.640 --> 54:12.540
The Osprey bag on the right.

54:12.540 --> 54:14.840
You can be totally, I'm a soft guy.

54:14.840 --> 54:15.640
I've got my Oakleys.

54:15.640 --> 54:16.580
I've got my Levi's.

54:16.580 --> 54:19.040
I've got my Hard Rock Cafe shirt on.

54:19.040 --> 54:21.300
And wear your M11 backpack.

54:22.120 --> 54:23.480
You need a Pelican.

54:23.480 --> 54:25.300
You need something to travel with.

54:25.360 --> 54:29.480
Having the ability to get your gear from one place to another is super important.

54:29.640 --> 54:33.680
That MRAP actually happens to be a war driving vehicle.

54:34.300 --> 54:35.600
Ha ha!

54:35.920 --> 54:37.120
See where I went with that?

54:37.120 --> 54:38.280
That was clever.

54:38.280 --> 54:39.200
That was fun.

54:39.200 --> 54:54.620
So, again, if you're putting stuff in your car, the reason that Kismet box was built is I wanted the ability to throw something in the car, plug it in and have it run as opposed to plugging a hub in, plugging things in, getting everything set up, setting up a network and all that other bullshit.

54:54.700 --> 54:58.320
So having the ability to just throw it into the vehicle you're in is very helpful.

54:58.320 --> 55:01.020
You've got to get your shit from one place to another.

55:01.200 --> 55:03.080
One of these will probably help.

55:03.100 --> 55:07.760
I don't have a rental car here because, frankly, rental cars tend to suck.

55:07.760 --> 55:08.780
Just ask Woody.

55:08.980 --> 55:12.740
They've got a lot of flaws to them and your data goes to pretty much everybody.

55:13.840 --> 55:15.740
Who has an Android phone here?

55:16.020 --> 55:18.000
You can raise your hands proudly on that.

55:18.020 --> 55:21.080
Even though iPhones are a better phone, Androids are better devices.

55:21.280 --> 55:23.260
These are devices that you can...

55:23.260 --> 55:24.660
that you can use on Android.

55:24.660 --> 55:28.700
We've kind of talked through this over the years as to what works, what doesn't.

55:29.040 --> 55:34.240
This would be something I would take a picture of or, you know, get the video later.

55:34.240 --> 55:41.720
But these particular tools make your Android device a relatively covert device to do things with.

55:41.720 --> 55:44.820
As long as you have the right OTG cable.

55:45.480 --> 55:55.940
The Nexus 5X's are decent devices but they only work with like three OTG cables, which means that they kind of suck when you're trying to do work.

55:56.560 --> 55:59.040
Understanding how your tools work.

55:59.820 --> 56:05.440
If you're at DEF CON, we used to be really concerned over those things that killed Steve Irwin.

56:05.440 --> 56:06.960
I'll let you Google that one.

56:07.000 --> 56:13.140
But Open Signal and LTE Discovery do an amazing job of telling you when cell towers move.

56:13.480 --> 56:16.640
Why would it be a problem when cell towers move?

56:18.220 --> 56:20.120
Discuss amongst yourselves.

56:21.640 --> 56:26.980
Having the ability to see them is very helpful and Open Signal and LTE Discovery do a really good job for that.

56:27.340 --> 56:29.360
Anything else you want to talk about on there?

56:30.440 --> 56:32.520
No, but that guy has a question.

56:32.520 --> 56:34.000
Yes, question.

56:34.520 --> 56:35.380
Hi!

56:42.480 --> 56:43.360
No.

56:45.180 --> 56:45.880
Yeah.

56:46.660 --> 56:47.720
Apple, there is...

56:47.720 --> 57:02.180
Real quick, the question was, are there ways without jailbreaking your iDevice, I'll leave it at iDevice instead of phone, to detect moving signals over LTE, GSM, or 4G, or 5G?

57:02.260 --> 57:06.220
I'm going to uncharacteristically say something kind of pro-Apple here.

57:06.220 --> 57:13.220
They are really, really, really bad to the app developers by preserving the user's privacy.

57:13.220 --> 57:20.520
They do things like not allowing you to read the MAC address of the device, not allowing you to read the information of the device, basically at all.

57:20.520 --> 57:26.560
Whereas Android makes all of their money from app developers who are basically stealing all of your private information.

57:26.560 --> 57:28.000
So they give you everything.

57:28.000 --> 57:42.900
If you're an app on Android, you can access the GPS, you can access Wi-Fi's nearby, you can get all the MAC addresses of everything anywhere near you, and things like NRF Connect do exactly that to track the local Bluetooth devices and show them to you.

57:42.900 --> 57:50.720
But Apple locks all of that down, doesn't even make it optionally available to protect you from those companies being evil with your data.

57:51.640 --> 57:55.100
Apple may in fact be secure in that way.

57:55.100 --> 57:57.920
Android may in fact be useful in that way.

57:57.920 --> 58:00.620
And unfortunately your choices are one or the other.

58:00.840 --> 58:03.100
So, you know, whatever.

58:03.180 --> 58:04.640
Personally, I carry two phones.

58:04.640 --> 58:06.380
I carry a device and I carry a phone.

58:06.380 --> 58:08.000
I like Apples as phones.

58:08.240 --> 58:09.980
I like Androids as devices.

58:10.160 --> 58:16.080
Both of which fit in my pockets and they both work really well but you gotta figure out what it is that you're trying to do when you're doing it.

58:16.700 --> 58:19.140
Any questions about those tools?

58:20.900 --> 58:21.960
Excuse me?

58:25.020 --> 58:26.500
Which Android phone do you recommend?

58:26.680 --> 58:33.960
I use a Note because they're bigger screens and if I'm using it as a device I want to be able to see a little bit bigger screen.

58:34.200 --> 58:35.600
You use Pixels, right?

58:35.600 --> 58:43.780
I use whatever Google is selling because they're the only ones that actually get security updates in a timely manner and as it turns out that's very important to me personally.

58:44.500 --> 58:45.780
I know , right?

58:45.780 --> 58:47.340
Good.

58:50.580 --> 58:52.760
Do OTG cables work with every phone?

58:52.760 --> 58:53.360
Maybe?

58:53.360 --> 58:54.780
No, definitely not.

58:54.780 --> 59:05.160
They do work with a lot of phones and USB-C is a lot better about that but you also have to realize that there's not like drivers in these phones for whatever you plug in.

59:05.160 --> 59:21.200
So for example, almost every Android phone, including like the Chromecast sticks, can take a USB Ethernet and will use that as their primary Ethernet but only like two or three chipsets actually work.

59:21.200 --> 59:28.580
It's the most common ones so it feels like oh yeah, like every one of them works but I've got a stack of them that just don't work.

59:28.580 --> 59:30.480
So there's a very limited driver set.

59:30.480 --> 59:35.680
You're not going to plug a Wi -Fi card into your OTG cable and use it on stock Android.

59:35.680 --> 59:47.900
There are products like NetHunter and the Pony Express products that have completely customized the kernel , the operating system to give you those extra drivers that are not available on like stock Android.

59:47.900 --> 59:59.120
But you can get like, you can plug an RTL-SDR into your phone and you can use RF analyzer and that absolutely works because it's a nice user space driver and somebody ported the RTL libs to Android.

59:59.260 --> 01:00:03.040
So there is a lot of capabilities but don't think it's a Linux computer.

01:00:03.040 --> 01:00:04.040
It's not.

01:00:05.360 --> 01:00:09.260
Alright, so the sweet spot of where most people do their work.

01:00:09.260 --> 01:00:11.640
Wi-Fi 2.4 and 5 GHz.

01:00:11.640 --> 01:00:19.240
Who here, especially you people over there, only has 2.4 GHz stuff with them?

01:00:20.440 --> 01:00:21.740
It's okay.

01:00:21.740 --> 01:00:22.800
Yeah, it's okay.

01:00:22.800 --> 01:00:24.900
You don't have to admit it because we all know.

01:00:24.900 --> 01:00:29.200
The truth is nobody only has 2.4 GHz stuff with them.

01:00:29.200 --> 01:00:35.660
Your phone, your laptop, everything that you're not using for hacking is dual band.

01:00:35.800 --> 01:00:46.020
All of the stuff that people are using for hacking, like the sweet deauthing wristband on one of our contestants over there is 2.4 GHz only garbage.

01:00:46.480 --> 01:00:58.000
And the truth is 5 GHz is very, very well utilized here at DEF CON because every schmuck with 50 cents is deauthing Wi-Fi right now but all their stuff is 2.4 GHz only.

01:00:59.420 --> 01:01:04.920
It's shocking that people are actually going around and not sniffing 5 GHz.

01:01:05.480 --> 01:01:10.420
This has been a big complaint of mine for years, especially with AC.

01:01:10.420 --> 01:01:12.940
AC is only 5 GHz.

01:01:12.940 --> 01:01:21.380
There wasn't any enhancement to 2.4 for AC so all of these laptops for several years are predominantly using 5 GHz.

01:01:21.380 --> 01:01:24.780
Even the cheaper devices are now mostly dual band.

01:01:24.780 --> 01:01:28.260
And truthfully, if it's not dual band, stop buying it.

01:01:28.660 --> 01:01:29.960
It's garbage.

01:01:29.960 --> 01:01:37.500
It is the most overused spectrum we have in the world and it's overlapping with your microwave.

01:01:38.160 --> 01:01:40.280
It's the worst spectrum on the planet.

01:01:40.280 --> 01:01:40.960
Stop using it.

01:01:40.960 --> 01:01:42.020
5 GHz is great.

01:01:42.020 --> 01:01:42.960
Oh my god.

01:01:43.300 --> 01:01:45.760
Talk about Wi-Fi testing for now.

01:01:46.280 --> 01:01:47.620
Talk about Wi-Fi testing?

01:01:47.620 --> 01:01:49.360
What kind of Wi-Fi testing should we talk about?

01:01:49.360 --> 01:01:50.420
Oh boy.

01:01:51.700 --> 01:01:53.960
So, Ted, you still here?

01:01:53.960 --> 01:01:54.800
Teddy?

01:01:54.800 --> 01:01:56.580
Ted, no last name?

01:01:56.980 --> 01:01:57.700
Ted!

01:01:57.980 --> 01:01:59.340
Ted, wave hi.

01:01:59.540 --> 01:02:00.320
Thanks.

01:02:00.320 --> 01:02:04.260
So Ted gave a talk earlier called Are You Interested in Kismet?

01:02:04.260 --> 01:02:05.460
It was a great pun.

01:02:05.560 --> 01:02:11.940
But the truth is, Kismet has a wonderful API that gives you all of its information and allows you to kind of poke at it.

01:02:12.000 --> 01:02:14.740
So we used Kismet, mostly him.

01:02:14.740 --> 01:02:17.720
I had the idea and begged for somebody else to write it for me.

01:02:18.040 --> 01:02:28.220
He rewrote my Kismet shootout into a REST API call to the new Kismet and it allows you to test competitively those cards against each other.

01:02:28.220 --> 01:02:32.380
And that is , again, one of my primary ways of testing Wi-Fi cards.

01:02:32.380 --> 01:02:37.140
In addition, testing things very fairly is almost impossible.

01:02:37.140 --> 01:02:40.500
I have a large baggie of really, really crappy antennas.

01:02:40.500 --> 01:02:46.440
Not because I use crappy antennas, but because they're all exactly the same crappy antennas.

01:02:46.440 --> 01:02:52.760
Mostly, I use the little zero DBI ones that come off the Centidongles because I have a bag of like 20 of them.

01:02:52.760 --> 01:03:00.440
And that allows me to test like 10 or 15 cards with exactly identical antennas at once to see what really is what.

01:03:00.440 --> 01:03:03.120
So we spend a lot of time testing with things like that.

01:03:05.180 --> 01:03:07.980
I just feel like this slide is inappropriate.

01:03:07.980 --> 01:03:09.620
I want this one.

01:03:09.620 --> 01:03:10.500
It feels better.

01:03:10.500 --> 01:03:11.800
Talk about Wi-Fi.

01:03:12.420 --> 01:03:18.720
So yeah, testing with things like the new Kismet shootout and testing with especially AirReplayNG.

01:03:19.180 --> 01:03:23.380
AirReplayNG is the primary tool that everyone uses to inject packets.

01:03:23.380 --> 01:03:31.400
It's also the best tested because people complain immediately if something doesn't work with AirCrack because it is kind of the gold standard.

01:03:31.460 --> 01:03:37.380
So the AirCrack guys get all of these bugs, they fix all of these bugs, and they generally have a nice working product.

01:03:37.380 --> 01:03:50.980
So if you test it with Kismet Shootout and it looks like it receives more packets than most of your other cards and you test it with AirReplayNG and it looks like it reasonably high percentage of successful transmissions, that is a damn fine Wi-Fi card.

01:03:51.060 --> 01:03:55.680
If you run one of those tests and it doesn't work out for you, that sucks.

01:03:56.320 --> 01:03:58.860
Also run a lot of connected tests.

01:03:58.860 --> 01:04:03.460
I know it sounds weird because, you know, what does a hacker need to connect to a Wi-Fi network from?

01:04:03.460 --> 01:04:19.360
But the number one thing I used to see, which was the funniest thing on the planet, we were running a Capture the Flag and everybody had those 802.11g only alpha cards that were so popular for so long, the 036H's that everyone loved so much, the 1 watt alphas.

01:04:19.720 --> 01:04:32.380
And they would buy these things and they would crack the web and it would be two minutes later because the thing has great injection support and then they'd try to connect to the network and they couldn't do it because that card's firmware was so light.

01:04:32.520 --> 01:04:34.820
You could do basically anything you wanted with it.

01:04:34.820 --> 01:04:40.780
You could eject raw frames, you could capture raw frames, but man if you tried to connect to the Wi-Fi network, the thing sucked.

01:04:41.060 --> 01:04:44.940
You had to be within like six inches of the access point for them to reliably connect.

01:04:45.020 --> 01:04:47.340
One watt, it was not.

01:04:47.580 --> 01:04:49.620
Successful at connecting, it was not.

01:04:49.620 --> 01:04:55.540
I love the Realtek ones for connecting to be quite honest because they actually have enough firmware on them to do the job correctly.

01:04:55.760 --> 01:04:58.880
So testing things when you're connecting is actually a big deal.

01:04:59.820 --> 01:05:02.300
Do you have any Wi-Fi testing stuff you want to talk about?

01:05:02.300 --> 01:05:06.880
I talked about Shootout, Air Replay and just actually using it as a Wi-Fi card.

01:05:06.980 --> 01:05:08.340
Oh wow, that's crazy.

01:05:08.340 --> 01:05:08.720
I know , right?

01:05:08.720 --> 01:05:10.140
That is absolutely crazy.

01:05:10.140 --> 01:05:15.800
No, I think the biggest thing you've got to look at is what are you trying to do when you're trying to do it?

01:05:15.800 --> 01:05:22.180
If you're trying to hit channels 1, 6, 11 and A-band, you can do that with one radio.

01:05:22.260 --> 01:05:25.560
But you're going to miss handshakes, you're going to miss data, you're going to miss packets.

01:05:25.860 --> 01:05:31.140
Data loss on these radios added to the fact that it's channel hopping is going to give you a hard time.

01:05:31.140 --> 01:05:36.300
So again, testing the best you can to do what you're trying to do.

01:05:36.300 --> 01:05:37.900
Who's ever war driven?

01:05:38.360 --> 01:05:38.920
Who?

01:05:39.540 --> 01:05:43.480
Wiggle's back in the back usually, they left for the day but Wiggle's been here.

01:05:43.480 --> 01:05:46.160
Wiggle's been doing this stuff for like 20...

01:05:46.160 --> 01:05:47.180
17 years?

01:05:47.180 --> 01:05:47.880
18 years?

01:05:47.880 --> 01:05:56.760
As long as like the IPAC and the Proxmark Gold existed, Wiggle's been capturing data all over the world.

01:05:57.120 --> 01:06:04.360
If you've war driven before, or if you just want to guess, what's the optimal speed to drive while war driving?

01:06:04.760 --> 01:06:05.960
90.

01:06:06.920 --> 01:06:08.060
With your rig?

01:06:08.060 --> 01:06:08.880
Yes.

01:06:08.880 --> 01:06:10.400
What is the optimal speed?

01:06:10.400 --> 01:06:11.160
Yeah.

01:06:13.040 --> 01:06:14.740
Zero, park outside.

01:06:14.740 --> 01:06:17.000
Your GPS is going to suck.

01:06:17.380 --> 01:06:19.820
And you'll get like, you know, a couple.

01:06:19.840 --> 01:06:25.820
Seriously, if you're war driving, if you're driving around trying to get access points, you want to be as efficient as possible, what's the speed you drive?

01:06:25.960 --> 01:06:27.780
How many Wi-Fi cards do I have?

01:06:27.780 --> 01:06:29.040
What's the speed?

01:06:29.220 --> 01:06:30.080
5.

01:06:30.400 --> 01:06:31.920
Okay, that's a thing.

01:06:32.520 --> 01:06:33.560
Anyone else?

01:06:33.820 --> 01:06:35.400
Can you drive 10 on most roads?

01:06:35.400 --> 01:06:36.760
Can you drive 5 on most roads?

01:06:37.340 --> 01:06:39.820
5 minutes over the speed limit.

01:06:40.300 --> 01:06:48.120
So, what you read if you Google it, and I've done this before, is 35 miles per hour is the optimal speed to war drive.

01:06:49.180 --> 01:06:54.460
How many channels are you getting in that 35 miles per hour as you're passing?

01:06:54.920 --> 01:06:57.680
If you don't test your equipment, Rick said 90.

01:06:57.680 --> 01:07:00.960
With some of the rigs he uses, he could drive 90 miles an hour.

01:07:01.380 --> 01:07:06.000
There's 1, 2, 3, 4, 5, 6, 7, 14 plus 37...

01:07:06.600 --> 01:07:08.600
220 if you unlock the firmware.

01:07:10.220 --> 01:07:13.820
There's what, 60 channels roughly right now?

01:07:13.820 --> 01:07:14.920
In the U.S., like 44.

01:07:14.920 --> 01:07:15.940
44, okay.

01:07:15.940 --> 01:07:17.280
44 channels.

01:07:17.620 --> 01:07:32.020
If you're driving 35 miles an hour down the road, this is not the algebra train question, if you're driving 35 miles per hour down the road and you have 44 channels to hit, and you don't know how many channels you're going to hit as you're driving, did you get all the Wi-Fi?

01:07:32.280 --> 01:07:33.580
No, you didn't.

01:07:33.580 --> 01:07:44.920
But if you know that you can drive this fast with these 12 radios, 6 radios, 5 radios, and they're locked on channels and not channel hopping, then you can come up with an optimal speed.

01:07:44.920 --> 01:07:49.780
So when you're trying to do the collection and you're trying to do your testing, do that testing.

01:07:49.960 --> 01:07:55.440
Keep this kind of theme coming back, test your stuff before you go out.

01:07:55.440 --> 01:08:05.560
If you just want to collect data, I mean, Aardvark gave a talk on a panel, semi-sober, well, he gave a talk for about 10 minutes and then he just started, you know, being Aardvark.

01:08:06.520 --> 01:08:18.000
He runs around with like 15 Android devices, he drops them onto Ubers, he does all kinds of work to get things up to wiggle, and he does a good job of it because he's dispersed what he's trying to do.

01:08:18.040 --> 01:08:28.700
But if he was trying to drive around with Ellen, Jimmy, Johnny, Jen, and, I don't know, whatever other names he's named his access points, he's not getting the same amount of data that he's trying to get.

01:08:29.600 --> 01:08:33.980
Does anybody here know how many Wi-Fi cards you can channel hop with in Linux at once?

01:08:34.200 --> 01:08:35.840
I found this one out.

01:08:35.840 --> 01:08:36.560
No one?

01:08:36.560 --> 01:08:37.600
Got any guesses?

01:08:37.780 --> 01:08:39.320
How many can you channel hop at once?

01:08:39.320 --> 01:08:39.820
Two?

01:08:39.820 --> 01:08:40.680
That's a guess.

01:08:40.680 --> 01:08:42.000
That's a good guess.

01:08:42.320 --> 01:08:45.000
She's got eight fingers up, I couldn't even tell.

01:08:45.620 --> 01:08:46.580
One.

01:08:47.720 --> 01:08:50.920
One card at a time can channel hop.

01:08:51.020 --> 01:08:56.060
You can only issue a command to one Wi-Fi card at a time in Linux.

01:08:56.060 --> 01:08:58.400
So if you have 30 of them, you have to queue.

01:08:58.700 --> 01:09:01.080
The queuing system is not even fair.

01:09:01.300 --> 01:09:04.320
It's just whoever takes the lock first wins.

01:09:04.720 --> 01:09:13.860
So when you put a bunch of stuff together and you say, well, you know, there's 44 channels and I'm just going to channel hop at five a second and I'm going to put nine cards in there and I'll be great.

01:09:13.960 --> 01:09:15.740
Except you can't actually do that.

01:09:15.880 --> 01:09:24.660
You end up with wonderful setups like my Kismet box where the load average is 12 because all of the cards are stuck in D state waiting to channel change one at a time.

01:09:25.760 --> 01:09:29.300
It's a really interesting feature of Linux that we're currently working on fixing.

01:09:29.640 --> 01:09:45.700
Well, by we, I mean Johannes Burke, who's actually a god and writes most of the Linux stuff, but he's been helping me through fixing this problem and I've been testing for him to actually allow you to channel hop with more than one card at a time because welcome to 2019 people have more than one Wi-Fi card now.

01:09:46.160 --> 01:09:47.620
So testing's important.

01:09:47.920 --> 01:09:52.220
So understanding how your stuff works matters a lot.

01:09:52.300 --> 01:09:57.480
And if you don't understand it, you can't use it properly, you shouldn't be getting paid to do what you're doing.

01:09:57.480 --> 01:10:00.960
And I am calling everyone out that's getting paid to do this type of work.

01:10:00.980 --> 01:10:04.060
If you don't know how... we don't normally give two hour talks.

01:10:04.060 --> 01:10:08.840
We can talk for like eight or ten hours at a time, but we're never closing.

01:10:09.680 --> 01:10:12.360
But we run the village so we can keep it open as long as we want.

01:10:12.740 --> 01:10:16.240
So you guys can ask as many questions as you feel free to ask.

01:10:17.160 --> 01:10:22.340
With this testing though, understanding where your devices work and how they work is going to be critical.

01:10:22.900 --> 01:10:29.680
The best way that I've found to do testing and it's really, really stupid and it's really basic, get an access point.

01:10:29.680 --> 01:10:32.960
Whether it's your phone, your device, your laptop, whatever it is.

01:10:32.960 --> 01:10:43.840
And go out to a soccer field or a football field or somewhere outside where that big yellow thing is in the sky that burns you and set up that access point at like the zero yard line.

01:10:43.840 --> 01:10:48.240
For those that are, you know, happy with sports ball, that's where the big lines are.

01:10:48.940 --> 01:10:52.480
Put that access point there and walk out a hundred yards.

01:10:52.480 --> 01:10:55.480
And it's nice on a football field because it's already marked for you.

01:10:55.480 --> 01:11:01.280
And stand there and get a reading from your device and see what reading that is.

01:11:01.280 --> 01:11:06.100
Then move to 90, 80, 70, I don't think I have to go all the way down for you.

01:11:06.100 --> 01:11:09.300
And write down what those ranges are.

01:11:09.300 --> 01:11:16.640
At that point, you know that at this distance on a perfect day, my radio works at this efficiency.

01:11:16.640 --> 01:11:24.580
And when you have that ability to have that knowledge, you can move forward with the way you're working because you know exactly what your devices are going to do.

01:11:24.800 --> 01:11:32.820
Now, caveat that with, we're manipulating physics when we're dealing with wireless devices, whether they're RF of any sort.

01:11:33.260 --> 01:11:35.240
It's not going to be perfect.

01:11:35.240 --> 01:11:45.600
But if you compare two or three devices to each other, you have the ability to say, my empirical data says this device is better than this because of this.

01:11:45.940 --> 01:11:49.680
Understanding how that works is critical when you're doing your testing.

01:11:49.680 --> 01:11:51.680
If you're standing, please feel free to sit down.

01:11:51.680 --> 01:11:53.140
We've got lots of seats.

01:11:54.340 --> 01:11:55.420
Bluetooth.

01:11:55.620 --> 01:11:57.660
Some of you said you work with Bluetooth.

01:11:58.720 --> 01:12:01.300
Who has the ability to de-auth Bluetooth?

01:12:01.300 --> 01:12:02.180
Anyone?

01:12:02.820 --> 01:12:04.680
Because if you do, I want to talk to you.

01:12:04.680 --> 01:12:09.900
Bluetooth is a really , really cool capability within the 2.4 GHz spectrum.

01:12:10.460 --> 01:12:17.000
Bluetooth , by design, frequency hops as it goes from connection to connection.

01:12:17.000 --> 01:12:25.540
As it frequency hops, in order to de-auth Bluetooth, you have to jam the 2.4 GHz frequency.

01:12:26.100 --> 01:12:33.320
Who's allowed to jam in any country in the world the entire 2.4 GHz frequency?

01:12:34.260 --> 01:12:35.640
Oh, no Feds here.

01:12:35.640 --> 01:12:36.760
Okay, cool.

01:12:37.800 --> 01:12:48.860
When you have that ability, the reason that they've stopped it, the reason the FCC has gone really strong on it is 2.4 GHz is what also allows you to make cell phone calls over Wi-Fi.

01:12:48.860 --> 01:12:52.760
Who's ever seen, you know, do you want to call over Wi-Fi instead of using cellular?

01:12:52.820 --> 01:13:05.100
If you block 2.4 GHz and you block the ability to get across those signals, you can't call E911, which means you are doing a public safety disservice, and therefore you're breaking rules.

01:13:05.740 --> 01:13:14.140
That being said, Bluetooth will de-auth, it will disconnect, if you jam the entire 2.4 GHz frequency set.

01:13:14.180 --> 01:13:16.240
But it's smart enough to not do that.

01:13:16.240 --> 01:13:21.020
So a lot of the work that we do in Bluetooth has changed over the years.

01:13:21.240 --> 01:13:22.020
Yes?

01:13:41.150 --> 01:13:41.950
Yup.

01:13:42.250 --> 01:13:45.110
Those black helicopters do not joke.

01:13:45.110 --> 01:13:49.630
They are 100% legit 100% of the time.

01:13:50.090 --> 01:13:51.790
Messing with this stuff is really bad.

01:13:51.790 --> 01:13:52.710
It's bad for reasons.

01:13:52.710 --> 01:13:53.230
Yeah?

01:13:55.410 --> 01:13:56.350
Oh, I'm sorry.

01:13:56.350 --> 01:14:05.990
So what he said was, and I'm going to paraphrase a little bit, but there was a guy in California that was taking I-70, I-71, the 71, right?

01:14:05.990 --> 01:14:07.850
The 71 in California.

01:14:07.930 --> 01:14:12.770
And he was jamming Bluetooth because he was sick of people talking on their...

01:14:12.770 --> 01:14:14.690
Oh, GSM.

01:14:14.690 --> 01:14:20.670
He was jamming cell phones from working because he didn't want them to function while they were going forward.

01:14:20.830 --> 01:14:27.870
That being said, he got fined $30,000 and had jail time simply because he was jamming.

01:14:27.870 --> 01:14:29.710
The FCC eventually found him.

01:14:30.550 --> 01:14:32.070
They don't mess around.

01:14:32.070 --> 01:14:32.570
They don't.

01:14:32.570 --> 01:14:34.210
And they don't for a lot of reasons.

01:14:34.210 --> 01:14:35.890
Hey, hack the planet.

01:14:35.910 --> 01:14:37.170
Rock on.

01:14:37.630 --> 01:14:39.550
Some of this stuff is for our own good.

01:14:39.550 --> 01:14:41.310
I mean, it's not all bad.

01:14:41.310 --> 01:14:42.550
Some of it really sucks.

01:14:42.930 --> 01:14:51.550
Legally, in this district, within the United States, because of Google, thank you Google, we can't sniff Wi-Fi outside of a place where you have rules of engagement.

01:14:51.550 --> 01:14:56.190
Which, by the way, because this is on record, we've given a rule of engagement for our wireless capture of the flag.

01:14:56.190 --> 01:15:01.430
Feel free, if it says WCTF in all caps, to beat the living poo out of it.

01:15:02.390 --> 01:15:05.770
But other than that, you're not supposed to do any sniffing within the state of...

01:15:06.930 --> 01:15:08.790
Rick, is it the 9th district?

01:15:09.370 --> 01:15:10.490
Where are we?

01:15:10.930 --> 01:15:13.090
What district are we in in California?

01:15:13.510 --> 01:15:14.530
9th, yeah.

01:15:14.690 --> 01:15:18.650
Within the 9th district, not a...

01:15:20.170 --> 01:15:29.310
not to say that you can't do it with rules, but by legal you are not allowed to sniff traffic within that space because Google did all their Google driving and everything else.

01:15:29.310 --> 01:15:29.790
Yeah.

01:15:32.900 --> 01:15:36.400
How would you catch somebody driving down the highway with a jammer?

01:15:36.400 --> 01:15:40.160
We're going to move on to SDR for a second, which is later in this.

01:15:41.040 --> 01:15:42.360
To jam.

01:15:42.720 --> 01:15:48.760
In order to do broad spectrum jamming, you have to send... let him run, Piero, it's okay.

01:15:49.140 --> 01:15:50.120
That's not Piero.

01:15:50.120 --> 01:15:51.380
Wow, he looks like Piero.

01:15:52.920 --> 01:15:59.280
In order to do broad spectrum jamming or wideband jamming, you have to send out a ton of energy.

01:15:59.560 --> 01:16:02.240
The emission of that energy is a very

01:16:08.660 --> 01:16:09.100
specific...

01:16:09.100 --> 01:16:10.940
There's a word I'm trying to come up with.

01:16:10.940 --> 01:16:10.940
Signature.

01:16:11.060 --> 01:16:12.180
Signature, thank you.

01:16:12.180 --> 01:16:16.640
It's a very specific signature that is very, very easy to find .

01:16:16.820 --> 01:16:20.940
I've done some FCC fox hunting before where we go out and look for jammers.

01:16:21.140 --> 01:16:28.580
Two years ago, we actually put out a request to our wireless people over radio and a bunch of other communications .

01:16:28.800 --> 01:16:34.480
There was a group that was jamming out the ham radio devices that Teleprig was trying to run.

01:16:34.480 --> 01:16:37.100
And we went out into the hotels and found the jammers.

01:16:37.120 --> 01:16:41.620
But we put out enough information that they got scared that we were looking for them that they stopped.

01:16:41.900 --> 01:16:44.860
Finding jammers is really, really easy.

01:16:45.040 --> 01:16:47.080
We're going to get into SDR in a second.

01:16:47.080 --> 01:16:51.160
Thank you to those of you that have walked through this marathon with us.

01:16:51.320 --> 01:16:56.980
That type of testing is really important because you have to find those rogue signals that are giving you a problem.

01:16:57.000 --> 01:16:59.960
And you have to find those devices that are talking too loud.

01:16:59.960 --> 01:17:01.260
And that's how you start to look for them.

01:17:01.260 --> 01:17:05.420
Yeah, we actually got a report of somebody jamming our ham radio repeater just yesterday.

01:17:05.680 --> 01:17:13.680
And we spent a little bit of time looking for the jammer and it turns out that my $40 amplifier had shorted itself and really, really needed a reboot.

01:17:13.880 --> 01:17:17.120
We were jamming ourselves very effectively.

01:17:18.360 --> 01:17:19.780
Pack yourself!

01:17:19.780 --> 01:17:22.860
Did you know that 5 watts reaches the flamingo clearly?

01:17:22.860 --> 01:17:23.840
I didn't.

01:17:23.840 --> 01:17:27.420
But it turns out it does and the amps heatsink works great.

01:17:27.420 --> 01:17:29.700
Yeah, it was really hot.

01:17:30.700 --> 01:17:32.760
Yeah, question in the back.

01:17:53.280 --> 01:17:56.700
Alright, so the question is, what about jammers?

01:17:57.300 --> 01:18:01.860
Yeah, what do we do about jammers for like a home alarm system or whatnot?

01:18:01.860 --> 01:18:06.600
And the truth is if it's wireless, it's not an alarm system, it's not a security system.

01:18:06.600 --> 01:18:14.860
If your cameras are wireless, especially if they're WiFi, if your door sensors are wireless, if your only way to get out is cellular, it's not a security system.

01:18:14.860 --> 01:18:23.020
So I'm not giving up my personal protection, but to be fair, I use one of those devices and they will remain nameless.

01:18:23.180 --> 01:18:28.860
The one I chose has Zigbee, WiFi and hardwired Ethernet.

01:18:29.420 --> 01:18:38.600
If you're that good, you're throwing something through my window or cutting the glass and coming in and then you've got to deal with my dog and guns and a whole lot of other things.

01:18:38.740 --> 01:18:45.820
But your personal protection and how you deal with that, you have to understand what those risks are and you have to be comfortable with them.

01:18:45.820 --> 01:18:52.520
So if you don't want to get jammed in 2.4 and then you jump 2.4 and 9 GHz, cool.

01:18:52.580 --> 01:19:02.260
Then you've got something that's hard-lined in over coax and then you've got Cat5 or Cat6 or whatever it is, you can't do a lot more.

01:19:02.260 --> 01:19:14.460
To be fair, there's probably microwave or satellite technology you could use, but if you've got a triple backup on three different frequencies or four different frequencies, I don't know how much better you can do.

01:19:14.460 --> 01:19:20.480
The truth is, if I cut your phone line and jam cellular, your alarm system is not going to alert nobody.

01:19:21.120 --> 01:19:22.920
But yeah, there's always a risk.

01:19:22.920 --> 01:19:24.780
You have to decide what the risk is.

01:19:24.780 --> 01:19:30.860
But truthfully, the really garbage door sensors are really, really garbage.

01:19:31.320 --> 01:19:32.740
RTL433 decodes a few of them.

01:19:32.740 --> 01:19:33.640
It's pretty funny.

01:19:33.640 --> 01:19:38.160
You watch your neighbor's door bell get rang or their doors open and close or their windows open and close.

01:19:39.000 --> 01:19:42.980
At one of the companies I formerly worked for, they told me everything was wired.

01:19:43.380 --> 01:19:44.340
They were wrong.

01:19:44.340 --> 01:19:50.360
So I wrote a little script that replays door open, door closed, door open, door closed, just in a loop.

01:19:50.480 --> 01:19:51.740
And it turns out you can't arm the security system like that.

01:19:51.740 --> 01:19:53.180
But you're an asshole.

01:19:53.500 --> 01:19:54.060
I am.

01:19:54.060 --> 01:19:56.580
But it turns out you can't arm the security system like that.

01:19:56.580 --> 01:19:58.500
But it does blink like it's party mode.

01:19:58.500 --> 01:19:59.920
So it was fun for one of us.

01:20:00.560 --> 01:20:02.840
So within Bluetooth, there's a couple different things.

01:20:02.840 --> 01:20:04.760
You can have your internal Bluetooth radio.

01:20:04.800 --> 01:20:07.240
If you've got a laptop, this is what it looks like.

01:20:07.240 --> 01:20:08.680
It's the first one on the left.

01:20:08.920 --> 01:20:12.620
We look at, currently, the one that we're using is the Sena UD100.

01:20:12.620 --> 01:20:16.140
It does a really good job for decent distance Bluetooth.

01:20:16.380 --> 01:20:17.920
And then we've got an Ubertooth One.

01:20:17.960 --> 01:20:20.460
Ubertooth One is not a Bluetooth radio at all.

01:20:20.460 --> 01:20:22.900
It's a 2.4 GHz spectrum analyzer.

01:20:22.900 --> 01:20:26.320
But it does an amazing job decoding Bluetooth data.

01:20:26.400 --> 01:20:33.680
So when you start to pair these together and use specific tools that give you the ability to change these, you get good data.

01:20:33.680 --> 01:20:44.300
Now, that being said, that first radio, who takes the radio out of their laptop as soon as they buy it and replaces it with something else that they buy online because they've researched them?

01:20:44.780 --> 01:20:48.060
Man, those new Intels, and the answer is not which model.

01:20:48.060 --> 01:20:49.400
It's literally all of them.

01:20:49.400 --> 01:20:55.200
Like, you can buy new Intel WiFi chips for like $30 usually on Amazon or eBay.

01:20:55.200 --> 01:20:58.680
And you can get the latest wireless card that everybody wants to support.

01:20:58.740 --> 01:21:01.000
And they're really cheap.

01:21:01.000 --> 01:21:07.220
Like, I remember buying $200 WiFi cards, and now I buy stacks of $30 WiFi cards that are way better.

01:21:12.140 --> 01:21:14.360
Could you clear the door, sir?

01:21:14.360 --> 01:21:16.280
You've got to keep the door clear for fire code.

01:21:16.280 --> 01:21:17.260
Thank you, janitor.

01:21:17.260 --> 01:21:22.400
For those that have not been to any con ever before, janitor is usually the loudest voice in the room.

01:21:22.400 --> 01:21:26.260
So the fact that I have 2400 watts to speak into...

01:21:27.100 --> 01:21:27.980
Sorry.

01:21:27.980 --> 01:21:29.740
Yeah, you're a delicate flower and so is Quad.

01:21:29.740 --> 01:21:31.480
Delicate flower, yes , yes.

01:21:31.480 --> 01:21:33.040
Why don't the two of you talk to each other?

01:21:33.040 --> 01:21:34.260
I think he's in Paris right now.

01:21:34.260 --> 01:21:35.500
Just point and talk.

01:21:35.500 --> 01:21:41.880
So, I'm going to jump over a couple slides so we can come back to Bluetooth, but is Iceman still here?

01:21:42.100 --> 01:21:44.320
Is Iceman still here?

01:21:45.500 --> 01:21:46.220
No .

01:21:46.220 --> 01:21:48.740
No , he literally a second ago was here.

01:21:50.140 --> 01:21:51.020
Nope.

01:21:51.360 --> 01:21:51.960
No.

01:21:51.960 --> 01:21:53.040
Okay, we're not going to jump.

01:21:53.040 --> 01:21:57.200
I was going to jump over to RFID, but I think he walked out because we've been talking too long.

01:21:57.200 --> 01:21:57.500
That's fine.

01:21:57.500 --> 01:21:58.660
Let's talk about mouse jacking.

01:21:58.820 --> 01:22:00.400
Mouse jacking is funny as hell.

01:22:00.400 --> 01:22:03.740
Who knows about mouse jacking or lodge attacking?

01:22:04.220 --> 01:22:05.100
Yep.

01:22:05.440 --> 01:22:06.080
No?

01:22:06.120 --> 01:22:06.600
Yes?

01:22:06.600 --> 01:22:07.120
Some?

01:22:07.120 --> 01:22:07.820
Maybe?

01:22:08.000 --> 01:22:13.240
Okay, we're going to give a little bit of teaching here, not a lot, because we are talking about testing.

01:22:13.420 --> 01:22:16.160
Mouse jack, they even have a really cool logo.

01:22:16.160 --> 01:22:17.600
Thank you, Castile.

01:22:17.600 --> 01:22:19.140
Cool logo.

01:22:19.200 --> 01:22:22.640
There is a device that you can buy called a Crazy PA Radio.

01:22:23.180 --> 01:22:24.580
Crazy Radio PA.

01:22:24.580 --> 01:22:25.980
Crazy Radio PA.

01:22:25.980 --> 01:22:26.780
Whatever.

01:22:26.780 --> 01:22:29.140
If you Google it, you'll find it.

01:22:29.140 --> 01:22:40.480
The Crazy Radio has the ability to find and inject into Logitech, Dell, Microsoft, and Amazon wireless mouse and keyboards.

01:22:40.480 --> 01:22:47.500
If somebody can come up off the top of their head with another company that does wireless mice and keyboards, I'd be happy to hear it.

01:22:47.880 --> 01:22:48.580
Anyone?

01:22:48.580 --> 01:22:52.520
It's pretty much every 2.4 gigahertz receiver.

01:22:52.520 --> 01:22:57.100
They're encrypted receivers, which is nice, because they're safe.

01:22:57.160 --> 01:23:10.400
By the way, we gave this talk at B-Sides DC, and Osaka was still running her wireless mouse and may or may not have had her laptop rebooted during a CTF while she's gabbing at the mouth over there and not paying any attention yet again.

01:23:10.880 --> 01:23:12.260
Hi, Osaka.

01:23:13.280 --> 01:23:14.400
Wow.

01:23:14.440 --> 01:23:15.860
It's funny, she's right in front of us.

01:23:15.860 --> 01:23:16.660
She really is.

01:23:16.660 --> 01:23:19.780
Anyway, we tell people this and they still don't listen.

01:23:19.780 --> 01:23:34.100
What I can tell you 100% is this attack allows key injection, code injection, redirection, manipulation into devices that are running these mouse and keyboards.

01:23:34.540 --> 01:23:42.680
For $20, you can check to see if you're a problem or anybody you work with is a problem or anybody you're working for is a problem.

01:23:42.780 --> 01:23:43.880
Forget $20.

01:23:43.880 --> 01:23:46.700
Who here follows Mame82 on Twitter?

01:23:47.360 --> 01:23:49.860
Yeah, I'm pretty sure it's Mame82.

01:23:49.860 --> 01:23:53.740
And if you follow this guy, he's come out with the Logitacker attacks.

01:23:53.740 --> 01:23:58.160
He's been teasing about it for weeks and just really killing all of us.

01:23:58.160 --> 01:24:02.080
He found a way to extract the keys by plugging the receiver in.

01:24:02.080 --> 01:24:07.140
He found a way to inject keystrokes past the whitelisting feature of the clickers.

01:24:07.140 --> 01:24:10.200
So clickers normally can't have keys.

01:24:10.220 --> 01:24:14.660
And he found a way to bypass that and actually inject keys into the new clickers that have the protection.

01:24:14.660 --> 01:24:24.700
He found ways to force pair to the dongle so even if you don't have the keys for something that they're actually using, you can add your own keys and use those.

01:24:24.700 --> 01:24:29.340
I mean, literally every way you could break it, dude found a way to break it.

01:24:29.340 --> 01:24:32.120
And then he released what's called the Logitech unifying...

01:24:33.320 --> 01:24:34.420
Unifying dongle.

01:24:34.440 --> 01:24:35.580
Unifying stuff .

01:24:35.580 --> 01:24:42.640
And he's got another dongle of which he lists a number that he likes that have a newer chipset than the Crazy Radio PA.

01:24:42.760 --> 01:24:47.240
And those are as low as like $9 on Alibaba.

01:24:47.500 --> 01:24:49.580
So you just have to wait six weeks to play with them.

01:24:49.580 --> 01:24:54.100
I was really mad because mine showed up three hours after my flight to Las Vegas.

01:24:54.100 --> 01:24:56.760
But yeah, these things are really awesome .

01:24:56.760 --> 01:24:58.560
The attacks are really legitimate.

01:24:58.640 --> 01:25:04.880
We like this one because it is supported by Kismet and it will find all of the vulnerable devices.

01:25:04.880 --> 01:25:09.060
The newer attacks do require the newer dongles to run some of the stuff.

01:25:09.060 --> 01:25:09.780
Not all of it.

01:25:09.780 --> 01:25:12.720
You can actually run some of the attacks with the Crazy Radio.

01:25:12.720 --> 01:25:21.080
But this one works with Kismet which means I can just walk around and find vulnerable devices or, you know, park in your parking lot and find vulnerable devices and then go to town.

01:25:21.080 --> 01:25:26.320
So funny story, I was working with a client which obviously is going to remain nameless.

01:25:26.800 --> 01:25:30.160
They had pretty decent security.

01:25:30.500 --> 01:25:32.620
They had triple authentication.

01:25:32.620 --> 01:25:36.120
Somehow I don't know how they did triple, but triple authentication to the Amazon cloud.

01:25:36.120 --> 01:25:37.620
They were jumping through VMs.

01:25:37.620 --> 01:25:39.400
They weren't working off their main desktop.

01:25:39.400 --> 01:25:40.660
They were using VDI.

01:25:40.760 --> 01:25:46.720
If you have a buzzword that exists over at Black Hat, they were using it to get into the Amazon cloud.

01:25:47.080 --> 01:25:48.940
They were using GovCloud.

01:25:48.940 --> 01:25:51.820
Even though they weren't a government agency, they were able to get in.

01:25:51.960 --> 01:25:55.260
So literally as secure as they could possibly be.

01:25:55.700 --> 01:26:01.900
Well, except for the fact that they were using a Logitech mouse and keyboard to do all the work that they were doing.

01:26:01.900 --> 01:26:12.980
From the parking lot, and we measured because they really wanted to know in the op brief how far it was, it was 126 meters away from where the keyboard and mouse were sitting.

01:26:13.240 --> 01:26:18.220
The rated distance on the Logitech mouse and keyboard is 10 meters.

01:26:18.460 --> 01:26:28.360
I was injecting keystrokes into their development cycle into the Amazon cloud from the parking lot well over standard.

01:26:28.360 --> 01:26:30.960
Wasn't it through three VMs?

01:26:30.960 --> 01:26:33.520
Yeah, it was a ridiculous set of connections.

01:26:33.520 --> 01:26:35.260
All kinds of dual authentication.

01:26:35.680 --> 01:26:43.800
The basic bottom line here is whatever your mouse and keyboard have contacts with on your screen is where this will start injecting.

01:26:43.840 --> 01:26:53.420
So when I pulled back my reverse shell, my reverse shell was not within the rules of engagement, was not within the client site, was not even an IP address I recognized.

01:26:53.420 --> 01:26:56.820
So I stopped everything, called them up and said, hey, what's this?

01:26:56.820 --> 01:27:02.940
And they're like, um, um, that's our cloud instance on our secure side.

01:27:03.020 --> 01:27:03.760
Huh.

01:27:03.900 --> 01:27:09.600
So just wanted to let you know, if you look at the netstat on that box, you'll see this IP address.

01:27:09.600 --> 01:27:12.060
And they're like, yeah, what's that?

01:27:12.060 --> 01:27:14.360
I said, okay, watch your screen for a second.

01:27:14.360 --> 01:27:15.600
Click, click, click, click.

01:27:15.640 --> 01:27:16.860
Oh, shit.

01:27:18.080 --> 01:27:22.980
So this attack, even though it's a localized attack, is mitigatable.

01:27:22.980 --> 01:27:28.640
You can actually do a really good job of updating the firmware and making a whole bunch of changes.

01:27:28.640 --> 01:27:31.400
But this attack isn't just an RF attack.

01:27:31.400 --> 01:27:36.540
This is bordering and going across boundaries that should not be crossed with RF.

01:27:39.100 --> 01:27:40.220
Questions?

01:27:42.000 --> 01:27:54.080
So the guys at Simple Wi-Fi, Wireless World, and whatever else they're going to be going by this week, Raul, who's an amazing dude, created antennas a couple years ago that we really, really like.

01:27:54.080 --> 01:28:00.380
It's a 12 dB, dual polarized , four port antenna that's dual band.

01:28:00.380 --> 01:28:03.040
So it's 2.4 and 5 GHz dual polarized.

01:28:03.100 --> 01:28:04.280
Four inputs.

01:28:04.640 --> 01:28:08.500
I've never not been able to get onto a client site with that antenna.

01:28:09.020 --> 01:28:11.060
It's absolutely phenomenal.

01:28:11.180 --> 01:28:12.620
But it gives you a lot of distance.

01:28:12.620 --> 01:28:18.320
12 dB, so it's 12 dBi increase off of this little radio because it's 2.4.

01:28:18.320 --> 01:28:20.320
No, no , it's...

01:28:20.320 --> 01:28:23.660
We call it the Ukrainian EasyPass because that's pretty much what it looks like.

01:28:23.660 --> 01:28:26.160
It's just like it's like this big and white.

01:28:26.700 --> 01:28:30.740
We had one of those amplified log periodics with like a pistol grip.

01:28:30.740 --> 01:28:31.800
Would that have been convenient?

01:28:31.800 --> 01:28:32.760
That might have been convenient.

01:28:32.760 --> 01:28:33.800
You know anybody that makes them?

01:28:33.840 --> 01:28:37.320
I don't know anyone who makes them, but I think Alex might.

01:28:37.320 --> 01:28:42.300
So there's a lot of antennas you can use, but from that distance I was able to hit it really clearly.

01:28:42.680 --> 01:28:44.160
Really cleanly.

01:28:44.740 --> 01:28:46.220
So, alright.

01:28:46.220 --> 01:28:47.660
Software defined radio.

01:28:47.680 --> 01:28:50.660
So we've talked about hardware defined radios.

01:28:51.440 --> 01:28:57.060
Software defined radios give you the ability to, if you can program it, you are that radio.

01:28:57.120 --> 01:29:01.560
So if I want to be a 133 MHz radio, I'm a 133 MHz radio.

01:29:01.560 --> 01:29:04.140
If I want to be a repeater , I'm going to be a repeater.

01:29:04.140 --> 01:29:10.500
If I want to be a GSM cell tower, I'm going to break a billion laws, but I can be a GSM cell repeater.

01:29:10.900 --> 01:29:13.540
And there's all kinds of YouTube videos on...

01:29:13.540 --> 01:29:15.140
Oh, what's he doing?

01:29:15.140 --> 01:29:17.000
Oh, okay.

01:29:17.000 --> 01:29:22.000
On Raspberry Pi with Blade RF becoming a cell repeater.

01:29:22.360 --> 01:29:26.980
Software defined radios are absolutely amazing and game changing.

01:29:27.020 --> 01:29:38.960
Years ago there was a discussion that we had in Wireless Village that we talked about why Bluetooth was not economical to break into because to do the type of work we needed to do, it was way too expensive.

01:29:39.180 --> 01:29:49.680
Well now we can break into anything with an RF signature that is within the oscillating power of that radio just by making some GNU radio blocks and making it do what we want it to do.

01:29:50.500 --> 01:29:55.480
So, if you guys look up front, up on this screen that's been behind us the entire time.

01:29:56.040 --> 01:29:57.500
Do you want to play with the knob?

01:29:57.760 --> 01:29:59.960
Oh yeah, I want to play with the knob.

01:29:59.960 --> 01:30:08.200
So, that is an Edis I don't even know what because none of us can afford it except for people that are buying it with major... How much does that cost?

01:30:09.780 --> 01:30:12.180
How much does the Edis cost?

01:30:12.960 --> 01:30:17.020
To the muggles in the room, how much does the Edis radio that we're using cost?

01:30:17.020 --> 01:30:18.220
How much does this thing cost?

01:30:19.020 --> 01:30:20.380
How much does this cost?

01:30:20.380 --> 01:30:21.520
Can I afford it?

01:30:22.680 --> 01:30:23.560
$10,000.

01:30:23.560 --> 01:30:27.000
So, that $10,000 software-defined radio...

01:30:27.000 --> 01:30:28.020
He's a nice guy.

01:30:28.020 --> 01:30:30.440
Everybody clap for Nate for letting us borrow this.

01:30:30.680 --> 01:30:33.580
He even set it up to print our logo in the screen.

01:30:33.580 --> 01:30:34.600
It's awesome.

01:30:34.660 --> 01:30:38.060
That is pushing... Is it 200 MHz of bandwidth?

01:30:38.060 --> 01:30:38.800
What?

01:30:39.560 --> 01:30:40.940
Oh, it's only 100 today?

01:30:40.940 --> 01:30:42.320
Oh, you cut it in half.

01:30:42.320 --> 01:30:43.500
Nice man, you came back.

01:30:43.500 --> 01:30:44.180
Thank you.

01:30:44.180 --> 01:30:45.500
We're almost there.

01:30:45.820 --> 01:30:56.860
So, that is pushing across 100 MHz of bandwidth simultaneously, allowing us to see everything going on in the space that that screen is showing us.

01:30:58.440 --> 01:31:05.500
If we wanted to program that radio to then inject into those streams using those protocols, we can do that.

01:31:05.500 --> 01:31:11.940
So, this can be a Wi-Fi radio, this can be a Bluetooth radio, a Zigbee radio, this can be all kinds of stuff.

01:31:11.940 --> 01:31:13.560
Nate's going to play with his radio a little bit.

01:31:13.560 --> 01:31:14.700
You want to show us Wi-Fi?

01:31:15.120 --> 01:31:16.920
How about if you show us all of Wi-Fi?

01:31:16.920 --> 01:31:17.940
Oh, you did already.

01:31:18.840 --> 01:31:21.220
So, remember when we were talking about jamming Bluetooth?

01:31:21.720 --> 01:31:23.400
Don't do it, but he could.

01:31:23.700 --> 01:31:24.900
Please don't do it.

01:31:25.660 --> 01:31:29.620
But we have the ability to get all of that spectrum in one spot.

01:31:29.820 --> 01:31:35.520
Software-defined radios, even, I'll be honest, $10,000 is cheap for what this is capable of doing.

01:31:35.520 --> 01:31:40.300
Give us the ability to manipulate RF in a way that we've never been able to in the past.

01:31:40.300 --> 01:31:48.180
Yeah, I really can't stress it enough that, like, most of these software-defined radios we love, the answer is only what makes sense for what you're doing.

01:31:48.180 --> 01:31:59.380
Like I said earlier, we're using the tiny little cheap Wi-Fi dongles that don't go 25 feet because we only need them to go 20 feet and that was the best thing for us, right?

01:31:59.660 --> 01:32:03.700
Edis owns the entire top end of the SDR market.

01:32:03.700 --> 01:32:07.020
There is not a competitor, there is not anything else you want to buy.

01:32:07.020 --> 01:32:08.820
They make all of the good stuff.

01:32:08.820 --> 01:32:13.640
As far as I'm concerned, I'm not you, you don't have to worry, you're not going to get in trouble for this.

01:32:13.640 --> 01:32:15.480
Edis makes all of the good shit.

01:32:15.480 --> 01:32:16.940
Okay, I'll make him feel better.

01:32:16.940 --> 01:32:26.180
So there are other companies out there that are spectrum analyzers that do a really good job, like in Ritsu and others, but they are not software-defined radios and they do not do what this stuff does.

01:32:26.180 --> 01:32:27.060
There, is that good?

01:32:28.620 --> 01:32:31.160
And they go for like $100,000.

01:32:31.280 --> 01:32:34.120
Edis doesn't go for... I'm sorry, what are we calling you now?

01:32:36.480 --> 01:32:36.960
Edis...

01:32:36.960 --> 01:32:37.780
Edis...

01:32:37.780 --> 01:32:40.940
Does that sound familiar to anyone?

01:32:40.940 --> 01:32:41.580
Yeah, that sounds right.

01:32:41.580 --> 01:32:49.380
The point is, if you have never done software-defined radio stuff, go over to the vendor area, buy a $12 RTL-SDR.

01:32:49.380 --> 01:32:54.520
So, that radio in the middle, the one that says NexSmart , I think.

01:32:54.520 --> 01:33:00.640
N-E , that's Nolac, S-D -U-L-A-C S-M-A, that's the connector.

01:33:00.640 --> 01:33:02.540
R-T, that's the Realtek chipset.

01:33:02.540 --> 01:33:03.560
They made a pun.

01:33:03.560 --> 01:33:05.040
They did, they're punny.

01:33:05.160 --> 01:33:07.360
That goes for like $15-$20.

01:33:07.760 --> 01:33:10.820
It does not transmit, it receives only.

01:33:10.860 --> 01:33:17.280
It receives from, if I remember correctly, $300 to $1.1?

01:33:17.280 --> 01:33:20.480
No, I think it's like $50 to $1.7.

01:33:20.480 --> 01:33:28.180
They also have new ones, but the point is, I have like 15 of them, because they are cheap and they are great, and you can always find an excuse to buy one more.

01:33:28.180 --> 01:33:30.120
I only have the one Edis board.

01:33:30.560 --> 01:33:32.440
If you burn it up, it's not a big deal.

01:33:32.440 --> 01:33:34.700
You can test things, you can receive things.

01:33:34.840 --> 01:33:39.640
Most of what we're talking about that's not 2.4 or 5 GHz, you can see with this.

01:33:39.640 --> 01:33:47.320
You can see GSM, you can see ADSP, you can see airplanes flying in the air, you can see seafaring objects going out into the water.

01:33:47.320 --> 01:33:50.500
You can decode the P-25 radios the goons are using right now.

01:33:50.500 --> 01:33:51.920
Yes, you can.

01:33:51.920 --> 01:33:53.480
We tried to help them, too.

01:33:53.560 --> 01:33:57.020
Anyway, moving on to the left is the Edis P-205.

01:33:57.080 --> 01:34:00.420
That is another software defined radio that we use very heavily.

01:34:00.600 --> 01:34:03.920
It's about that big, if you can see that.

01:34:04.080 --> 01:34:08.480
Very small, easy portable, extremely powerful, great fidelity.

01:34:08.480 --> 01:34:13.340
But again, I don't know, what are they, $700-$800 set more?

01:34:13.340 --> 01:34:13.740
Yeah.

01:34:14.080 --> 01:34:17.280
One more time with real fingers.

01:34:17.280 --> 01:34:20.620
Oh, nine, eight, two, really two fours?

01:34:21.560 --> 01:34:24.400
Here, I think that was $11.

01:34:24.400 --> 01:34:25.280
He said it was $11.

01:34:25.820 --> 01:34:27.580
Buy them all now.

01:34:27.580 --> 01:34:29.200
I saw two fingers, that's what I saw.

01:34:29.200 --> 01:34:30.200
So they're like $800.

01:34:30.480 --> 01:34:35.660
Coming down from there, you've got the Nuon Blade RF, Blade RF Micro.

01:34:35.760 --> 01:34:39.760
Does an amazing job for about $500 or $600.

01:34:39.780 --> 01:34:44.400
It does dual band, it does transmit and receive, it has transceive capabilities.

01:34:44.980 --> 01:34:46.720
It's another good radio.

01:34:46.720 --> 01:34:47.980
Below that's the Hack RF.

01:34:47.980 --> 01:34:50.280
It's about, what, $200, $300?

01:34:50.280 --> 01:34:55.800
Hack RFs are a little less than $300, and they have our favorite add-on on the planet, which is the Portapak.

01:34:55.960 --> 01:35:03.680
It's a software-defined radio with basically a Game Boy on it, and you can decode all kinds of things, you can send all kinds of things.

01:35:03.680 --> 01:35:06.060
It's just a really , really useful thing.

01:35:06.080 --> 01:35:09.560
Truthfully, it is one of the lower end of the software-defined radios.

01:35:09.560 --> 01:35:18.280
It's one of the older models of software-defined radios, but the usefulness of an add-on like the Portapak is absolutely groundbreakingly amazing still.

01:35:18.280 --> 01:35:24.640
And of all of these, I mean, Nuon and Great Scott Gadgets do an amazing job working with the open-source community.

01:35:25.000 --> 01:35:29.960
Thank God we know the guys that we know at Edist, because they work amazing with the open-source community, too.

01:35:29.960 --> 01:35:31.700
They happen to all be standing over there.

01:35:32.080 --> 01:35:34.980
But, if they're in a green shirt, say hi to them.

01:35:35.500 --> 01:35:36.400
Hi, guys.

01:35:38.840 --> 01:35:45.360
You've got to find something that's not only supportive, but also easy to use, and has the drivers that you want to work with.

01:35:45.360 --> 01:35:48.820
So, depending on your need, all three of those might be good.

01:35:48.820 --> 01:35:55.580
Some of the work we do, we have no problem using yardsticks and other devices that work for specific frequencies.

01:35:55.580 --> 01:36:02.960
If you're trying to scan this much data, then you're looking at a much different form factor, much different product.

01:36:03.740 --> 01:36:08.660
I'm going to jump over the next one real quick, because I really want to talk about these.

01:36:08.660 --> 01:36:10.420
And we're going to talk about some RFID stuff.

01:36:10.480 --> 01:36:11.480
Here you go.

01:36:11.480 --> 01:36:12.300
You can talk.

01:36:12.300 --> 01:36:15.840
Who has a badge at work Don't raise your hand if you don't feel like it.

01:36:15.840 --> 01:36:17.920
That lets you into the building you're going into.

01:36:17.920 --> 01:36:19.360
It's pretty common, right?

01:36:19.460 --> 01:36:22.160
Most of them have these three weird letters on them.

01:36:22.160 --> 01:36:24.020
H, then I, then D.

01:36:24.840 --> 01:36:31.940
So, HID has some very strict rules on what we can talk about out loud, versus what we can't talk about out loud.

01:36:31.960 --> 01:36:35.360
So, we'll be happy to talk to you about things that can be done.

01:36:35.500 --> 01:36:38.780
But, there's a really cool tool called Approxmark 3.

01:36:39.020 --> 01:36:47.900
There's a branch of development called the Iceman branch, which has been just completely abominated and gotten rid of.

01:36:47.960 --> 01:36:50.900
And now there's an Iceman RRG, correct?

01:36:50.900 --> 01:36:51.680
Oh, yeah.

01:36:51.680 --> 01:36:54.180
Well, guys, this is Iceman.

01:36:54.180 --> 01:36:55.280
Say hi, Iceman.

01:36:55.840 --> 01:36:56.800
Hi!

01:36:57.120 --> 01:37:07.460
So, we figured we would bring up our Swedish friend to help us with this talk, because when it comes to dealing with RFID stuff, this is the guy that's writing the software that you hate right now.

01:37:08.200 --> 01:37:09.140
For sure.

01:37:09.140 --> 01:37:15.960
What are some thoughts you have on product testing, software testing... I'm doing a panel of one.

01:37:15.960 --> 01:37:16.780
This is really fun.

01:37:17.120 --> 01:37:23.100
Product testing and product development when it comes to RFID, as well as access control.

01:37:23.360 --> 01:37:24.100
Oh.

01:37:24.320 --> 01:37:25.000
Wow.

01:37:25.000 --> 01:37:26.460
You weren't prepared for that one, were you?

01:37:26.460 --> 01:37:26.920
No, no.

01:37:26.920 --> 01:37:28.020
I wasn't prepared for that one.

01:37:28.140 --> 01:37:38.740
What I think about that would say that people who are doing that, those companies are doing it quite well, but they do not have a hacker mindset.

01:37:38.740 --> 01:37:43.620
They don't see it in a cloner's way of wanting to do it.

01:37:44.300 --> 01:38:03.120
So they would like to say that, oh, we have a safe cryptology, and they build up the readers and source for it , and then they will have someone to try to hack with crypto , and oh no, we use AS , we use triple DES, and that's safe.

01:38:03.120 --> 01:38:05.120
And they all feel good about it.

01:38:05.120 --> 01:38:21.360
And then comes little people around and goes like, oh yeah, I put your reader in acetone, and I melted out the PCB, and I extracted the firmware from your PIC, and then we decompiled that, and we analyzed that, and we found all your key generation algorithms,

01:38:21.720 --> 01:38:29.160
and then we took that idea and implemented it in the Proxmox source code, and boom goes your cards.

01:38:29.680 --> 01:38:31.360
They don't think like that.

01:38:31.860 --> 01:38:33.560
And that's what I think about that.

01:38:33.560 --> 01:38:43.000
So, the Proxmox is pretty much, if you're doing this professionally, the defacto standard device that you're going to buy to start doing this testing.

01:38:43.000 --> 01:38:46.160
It handles most devices pretty well.

01:38:46.260 --> 01:38:50.380
It does receive and transmit pretty well.

01:38:50.380 --> 01:39:04.100
It's got a really cool new sexy super, which I still need one, Bluetooth add-on with a battery that allows us to go in your pocket and pick up stuff in an elevator, and being realistic, what, from three to five inches?

01:39:04.120 --> 01:39:04.700
Oh, yeah.

01:39:05.700 --> 01:39:07.640
Imperial system, we got that.

01:39:08.440 --> 01:39:09.400
I'm sorry.

01:39:09.740 --> 01:39:11.920
17 to 20 centimeters?

01:39:11.920 --> 01:39:12.920
Oh, no.

01:39:12.920 --> 01:39:13.740
Now, let's see.

01:39:13.740 --> 01:39:16.560
With a large antenna, you would go 14 centimeters.

01:39:16.560 --> 01:39:16.720
14 ?

01:39:16.720 --> 01:39:17.340
Okay.

01:39:17.340 --> 01:39:19.200
So I think I was within that superset.

01:39:19.600 --> 01:39:21.760
Yeah, you have better antennas, I guess.

01:39:22.880 --> 01:39:39.260
That's not the biggest issue, because if you see it as a part of things, if you... other people who do RFID hacking used to combine things, so hardware hackers combine things with other hardware and make something even more worse, or more effective.

01:39:39.320 --> 01:39:47.120
So we take one of those HID readers you see there, and we put a Proxmark in behind of it, so all of a sudden we're reading.

01:39:47.120 --> 01:39:58.600
Because these companies who do these products does a really good well of making a coupling and antenna design, so we have a really long reading range, because that's in the natural habitat of their systems should do.

01:39:58.800 --> 01:40:08.420
But if a weaponizer has a Proxmark in the behind of it, you do that, and you give a possibility of a Proxmark even further, which makes it kind of nasty.

01:40:08.420 --> 01:40:11.700
So that HID reader isn't the one you're used to seeing.

01:40:11.700 --> 01:40:18.600
It's about this size, and it's what you typically see when you're going through like a parking garage, or an easy pass, or something like that.

01:40:18.600 --> 01:40:20.500
It's a big energizing unit.

01:40:20.500 --> 01:40:36.500
If you ever open one of those up, there's like, I don't even, I've never actually measured it, but I'm thinking like 40 feet of copper wrapped around that thing, with a decent power supply that enables that RFID card to get energized, and hand out it's Wigan data,

01:40:36.500 --> 01:40:45.000
which is these ones and zeros that make it all work, which is a different talk that's going to happen tomorrow by Babic, talking about how that Wigan data actually gets translated.

01:40:45.180 --> 01:40:54.040
But when you take something like the Prox, or the ESP keys, or something behind that big reader, again, we're getting into antennas now.

01:40:54.040 --> 01:41:01.260
If you're testing your equipment, if I only need to be this far from zero, that's fine.

01:41:01.340 --> 01:41:05.720
But if I need to be from me to Iceman, I need something that's going to give me that distance.

01:41:05.720 --> 01:41:11.380
The tool itself might do the hardware or the work you need, but it may not have that reach that you need.

01:41:11.380 --> 01:41:26.680
So again, when you're getting into testing, you need to verify your distances, and if you're doing a pen test, or you're trying to steal credentials, or if you're just a really bad guy and you're here to learn how to break into buildings, if you can get onto an elevator and get all the credentials in the elevator,

01:41:26.680 --> 01:41:31.500
versus walking into the elevator, and I've done this, unfortunately, and walk up to each person...

01:41:31.500 --> 01:41:32.240
Oh , excuse me.

01:41:32.240 --> 01:41:33.560
Oh, oh, excuse me.

01:41:33.560 --> 01:41:34.460
Oh, sorry.

01:41:34.460 --> 01:41:35.120
Let me stand over...

01:41:35.120 --> 01:41:36.640
No, I must stand over here.

01:41:36.780 --> 01:41:37.120
Okay.

01:41:37.120 --> 01:41:43.880
Now I've hit everybody, but I look like an absolute fool, and it makes you look like, you know, you start to become a little more obvious.

01:41:43.880 --> 01:41:53.280
Versus sitting there with that big reader inside of a backpack or a side satchel, which is the typical Tiger Team way of doing it, with a satchel, to get that data.

01:41:53.360 --> 01:41:56.140
European carry-all, not a perk.

01:41:56.140 --> 01:41:57.700
Isn't it a fanny pack?

01:41:58.340 --> 01:41:59.440
It's a fanny pack.

01:41:59.440 --> 01:42:01.200
C'est très bien, ma mère.

01:42:01.780 --> 01:42:03.280
It's very beautiful.

01:42:03.280 --> 01:42:04.320
Hey, Babik.

01:42:04.620 --> 01:42:05.740
Come here.

01:42:06.480 --> 01:42:14.900
So, the other person that we were going to bring up on stage for RFID, and I think they went to dinner, because, you know, they've been working like 600 hours straight in all this.

01:42:17.300 --> 01:42:18.160
I'm here, bro.

01:42:18.160 --> 01:42:20.640
Give him a round of applause.

01:42:23.980 --> 01:42:28.500
So, I'm going to be honest about this, and I said this the other night, and I'll repeat it again.

01:42:28.560 --> 01:42:34.340
When it comes to RFID work, the world would end if this stage collapsed right now.

01:42:34.640 --> 01:42:35.920
Or that half of it collapsed.

01:42:35.920 --> 01:42:36.880
Right, right, that half.

01:42:38.400 --> 01:42:55.580
You've got the developer of the tool that almost everybody uses, and one of the best operators and instructors in the business of RFID, when you put those two together, this is why we do testing, because we're trying to beat, as the good guy, them from breaking into our shit.

01:42:55.600 --> 01:43:03.720
If we're the bad guy or being the adversary or putting on the hat of being the adversary, we're using standing on their shoulders to do the shit that we're trying to do.

01:43:03.740 --> 01:43:05.060
Can I add on?

01:43:05.060 --> 01:43:05.860
Yeah, go ahead.

01:43:05.860 --> 01:43:07.600
I brought you on stage for a reason.

01:43:07.600 --> 01:43:15.880
So, spoiler, I don't do testing for the... I have a philosophy thing that I rant on sometimes, but I'm going to keep it really short.

01:43:15.880 --> 01:43:16.480
Go ahead and rant.

01:43:16.480 --> 01:43:16.920
It's okay.

01:43:16.920 --> 01:43:18.140
This is a two-hour talk.

01:43:18.140 --> 01:43:19.020
They've got time.

01:43:19.020 --> 01:43:23.100
In my opinion, DEF CON is not a security conference.

01:43:23.100 --> 01:43:24.860
This is a hacker conference.

01:43:24.960 --> 01:43:27.940
We hack because it's fucking fun and it's fucking cool.

01:43:28.620 --> 01:43:35.860
If we can do it in a way that doesn't harm and creates good, then that's really wonderful, but I don't do it for that.

01:43:35.860 --> 01:43:37.200
I do it for the hack.

01:43:37.200 --> 01:43:37.340
Right ?

01:43:37.400 --> 01:43:39.640
That's why I really enjoy it.

01:43:40.600 --> 01:43:45.160
I do it because... for the sake of the hack, for the love of the hack.

01:43:45.180 --> 01:43:57.860
If I can do it in a way that benefits security in a positive way, then that's really wonderful, but I found years ago that if I focused... It's a little white lie that we came up with.

01:43:57.860 --> 01:43:58.340
That's okay.

01:43:58.340 --> 01:44:00.500
This is the fifth soapbox of the night, so this is awesome.

01:44:00.500 --> 01:44:06.300
It's a little white lie that we came up with to make it easier to talk to other people who don't get us.

01:44:06.300 --> 01:44:08.300
Like, oh my god, why do you do that stuff ?

01:44:08.300 --> 01:44:09.140
Why are you on computers?

01:44:09.140 --> 01:44:10.480
Why are you picking locks?

01:44:10.880 --> 01:44:14.020
And just to get them to shut up, you're like, oh, it's for security.

01:44:14.020 --> 01:44:16.160
We find security problems, and that's why I do it.

01:44:16.160 --> 01:44:17.600
No, you do it because it's fun.

01:44:18.300 --> 01:44:19.740
Like, they don't get it.

01:44:19.820 --> 01:44:23.180
They don't get it, but you do it because it's fun.

01:44:23.400 --> 01:44:24.000
Right?

01:44:28.380 --> 01:44:29.680
So that's it.

01:44:29.720 --> 01:44:33.240
I wasn't going to speak for you, but that's pretty much what we've been saying all night.

01:44:33.340 --> 01:44:35.180
I enjoy it because it's fun.

01:44:35.180 --> 01:44:36.580
I enjoy teaching.

01:44:36.680 --> 01:44:43.660
I enjoy the process of learning that that moment where things begin to click in your brain is really addictive.

01:44:43.940 --> 01:44:48.320
So I like to inspire that and create that as much as possible for other people.

01:44:48.680 --> 01:44:56.260
And that's one of the reasons why we've trained for so many years is because I like doing that and if I can get paid to do it, then yay, right?

01:44:56.980 --> 01:44:58.460
But yeah, that's it.

01:44:58.520 --> 01:45:00.260
So when it comes to...

01:45:00.260 --> 01:45:01.520
I don't do this for security.

01:45:01.520 --> 01:45:02.640
Security is a byproduct.

01:45:02.640 --> 01:45:03.880
I do it for the hack.

01:45:03.880 --> 01:45:05.220
So we'll get back to real then.

01:45:05.220 --> 01:45:11.740
So when you're breaking shit and you're doing your testing, what process do you use?

01:45:11.820 --> 01:45:13.620
Same question I posed to Iceman.

01:45:13.620 --> 01:45:19.860
What process do you use to test that this is better than that and I make this new hardware and this is better than that?

01:45:19.860 --> 01:45:21.120
What am I testing?

01:45:21.420 --> 01:45:22.920
Breaking into a building .

01:45:22.920 --> 01:45:23.960
RFID testing.

01:45:23.960 --> 01:45:24.600
Okay.

01:45:24.600 --> 01:45:28.400
And so the question is, how do I know what type of platform is better?

01:45:28.400 --> 01:45:30.440
What is your process on testing?

01:45:31.320 --> 01:45:32.180
Oh , shit.

01:45:32.180 --> 01:45:35.420
I don't want to buy just because somebody said to buy it.

01:45:35.420 --> 01:45:38.140
I'm going to buy three or four and test them and see which one works best.

01:45:38.140 --> 01:45:46.080
Oh, I look for little hallmarks of how something might be designed, right?

01:45:46.360 --> 01:45:53.300
Like, for example, if I'm comparing... if I'm looking for a box to put stuff in, right?

01:45:53.300 --> 01:45:55.580
I'm like, man, I need something to carry things around.

01:45:55.620 --> 01:45:56.700
I need to buy a box.

01:45:56.700 --> 01:45:57.560
How do I know?

01:45:57.560 --> 01:45:58.800
I don't know a lot about boxes.

01:45:58.800 --> 01:46:00.680
How do I know if one is better than another?

01:46:00.880 --> 01:46:04.500
I'm going to grab a box and I'm going to start looking at it.

01:46:04.520 --> 01:46:06.240
And I'm going to be like, oh, interesting.

01:46:06.240 --> 01:46:08.940
How do they attach the sides together?

01:46:08.940 --> 01:46:10.700
Oh, look, they used adhesive.

01:46:11.100 --> 01:46:13.860
Well, they probably did it this way because it's a little bit cheaper.

01:46:14.000 --> 01:46:15.740
And this looks kind of sloppy.

01:46:15.960 --> 01:46:18.980
So, like, they made a box, but they don't care about boxes.

01:46:19.280 --> 01:46:19.880
Right?

01:46:20.060 --> 01:46:26.440
So now I haven't... I don't know everything that went into it, but I have an idea of the design intent, right?

01:46:26.480 --> 01:46:30.980
But I might look at something else and I go, like, oh, man, look at this.

01:46:30.980 --> 01:46:35.920
This edge is rounded and they, like, did this thing over here that's so interesting.

01:46:35.920 --> 01:46:41.240
Like, look at all the extra work they went through on stuff that doesn't matter to anyone else.

01:46:41.240 --> 01:46:46.900
That tells me that this is a passionate design and engineering team and there was a lot more thought behind it.

01:46:46.900 --> 01:46:50.940
And I applied that same basic idea... I don't know what he's looking at anymore.

01:46:51.100 --> 01:46:55.980
Oh, I applied that same basic idea to evaluating things for security.

01:46:55.980 --> 01:46:59.020
So I don't have to understand how everything is designed.

01:46:59.020 --> 01:47:05.320
I pick the things that I do understand and that I can compare to other things and I go, okay, how well did you do this thing?

01:47:06.000 --> 01:47:12.140
And that, while it's not 100%, there is generally a correlation.

01:47:12.460 --> 01:47:17.260
People who care about one part a lot tend to care about all the other parts as well.

01:47:17.260 --> 01:47:20.700
Because you don't make something beautiful and then put it inside something ugly.

01:47:20.900 --> 01:47:25.400
Like, you want the whole thing to be really holistic and work well together.

01:47:25.400 --> 01:47:26.740
I don't know if that's a good answer.

01:47:26.740 --> 01:47:27.340
No, that's great.

01:47:27.740 --> 01:47:33.320
Because, frankly, a lot of us buy a lot of stuff because people say, hey, go buy this.

01:47:33.320 --> 01:47:46.460
But if you don't have a methodology or a process, whether it's good or bad, it's your process to test what it is you're trying to fix or test what it is you're trying to break, you're just throwing shit at the wall until it sticks.

01:47:46.740 --> 01:48:04.060
I would love it if this industry started to actually take on the corporate mindset of just this, I promise I'm not going to say corporate mindset, but of having a way of doing things that repeats so that you know that you're not wasting your time when you're doing your research.

01:48:04.060 --> 01:48:05.360
Oh, this radio sucks.

01:48:05.360 --> 01:48:09.700
Oh, wait a minute, I'm not using the right driver, the right kernel, or the right tool.

01:48:10.500 --> 01:48:14.140
Versus, oh shit, this works really well because I'm doing what I need to do.

01:48:14.240 --> 01:48:15.800
I'm going to give you a for instance.

01:48:15.800 --> 01:48:16.460
Go ahead.

01:48:16.460 --> 01:48:21.200
For instance, I was looking at recently Cookies?

01:48:21.600 --> 01:48:26.920
A physical token management device.

01:48:27.620 --> 01:48:29.380
Commonly referred to as a key box.

01:48:29.380 --> 01:48:31.380
I was about to say, can you be a little more English?

01:48:31.380 --> 01:48:32.040
Yes, yes.

01:48:32.100 --> 01:48:37.560
I was looking at a key box and I'm like, okay, how do they set this up?

01:48:37.920 --> 01:48:45.960
How do I know how much thought and effort went into the overall architecture behind everything, all the guts inside?

01:48:46.000 --> 01:48:58.220
And I start looking at the instructions and within the first three pages it's talking about how you need to know how to use Telnet because everything is configured using Telnet.

01:48:59.940 --> 01:49:12.820
And so that for me was kind of a red flag because Telnet as a basis for configuring a security device, is that a good best practice?

01:49:13.040 --> 01:49:15.260
Is that what you start with?

01:49:15.440 --> 01:49:15.880
No.

01:49:15.880 --> 01:49:17.020
Thank you, Ross.

01:49:17.020 --> 01:49:24.300
So the fact that even before I looked at anything else, the fact that they started with that was a red flag to me.

01:49:24.300 --> 01:49:30.280
I knew that immediately my level of trust for that product has gone down.

01:49:30.580 --> 01:49:35.100
I was doing an evaluation for something completely different at another project.

01:49:35.140 --> 01:49:43.940
There was some, there was a physical locking device that had an electronic element to it and they were talking about how wonderful and secure it was.

01:49:43.940 --> 01:49:52.560
They were really, really proud of it and how it revoked credentials and how if someone lost the fob, then it would die after a certain amount of time.

01:49:52.560 --> 01:49:58.840
And we started looking at the communication between this very special fob and some thing that it talked to.

01:49:58.840 --> 01:50:00.300
And I have to be vague, unfortunately.

01:50:00.300 --> 01:50:01.280
I apologize.

01:50:01.660 --> 01:50:08.720
And immediately it was unencrypted serial with no replay protection.

01:50:08.720 --> 01:50:12.080
You sound very security-minded right now and not hacker-minded.

01:50:12.080 --> 01:50:13.240
How would you break that?

01:50:16.100 --> 01:50:18.100
How would you break into that?

01:50:18.380 --> 01:50:22.120
Let's break into that device that you saw that you thought was really cool.

01:50:23.500 --> 01:50:24.340
Which device?

01:50:24.340 --> 01:50:24.900
I don't know.

01:50:24.900 --> 01:50:28.520
The one with serial and unencrypted reads.

01:50:28.520 --> 01:50:30.060
What would you do to break that?

01:50:30.060 --> 01:50:32.920
Because this is all part of our testing as a security hacker.

01:50:33.440 --> 01:50:35.060
Wow, we're now security hackers.

01:50:35.060 --> 01:50:36.200
I just made that up.

01:50:36.200 --> 01:50:42.020
I would start recording things and playing them back and see what happens.

01:50:42.240 --> 01:50:42.940
That's it.

01:50:42.940 --> 01:50:44.900
You just start trying things.

01:50:44.900 --> 01:50:48.500
Most of the stuff that I do is just seeing what sticks.

01:50:48.500 --> 01:50:50.000
It's the same stuff that you guys do.

01:50:50.000 --> 01:50:51.480
There's no special sauce.

01:50:51.480 --> 01:50:53.180
I can't stress that enough.

01:50:53.260 --> 01:50:57.860
The whole lot of us are up here and we're clearly a bunch of incompetent jackasses.

01:50:57.960 --> 01:51:02.740
Yet, for some reason, people look up to us and the reason is because we decided we don't know what to do.

01:51:02.740 --> 01:51:04.820
I'm just going to start trying shit.

01:51:04.980 --> 01:51:08.340
And that's literally the entire thing about being a hacker.

01:51:08.360 --> 01:51:11.600
You can't get distracted by the fact that you have no clue what you're doing.

01:51:11.600 --> 01:51:15.900
You just need to start grabbing data that you can read and replaying it to see what happens.

01:51:15.900 --> 01:51:18.620
I didn't hack a security system at my office.

01:51:18.620 --> 01:51:23.120
I replayed the packets that I captured in the air and made a light blink.

01:51:23.120 --> 01:51:24.980
I am a monkey.

01:51:24.980 --> 01:51:28.860
I am a very easily entertained monkey and that was fun.

01:51:28.860 --> 01:51:35.300
It happened to break the security system but I did it for the blinking light and that's what's important.

01:51:35.300 --> 01:51:36.960
You gotta just do it.

01:51:36.960 --> 01:51:39.620
Just jump in and have fun and learn.

01:51:40.240 --> 01:51:42.800
Yeah, I wanted to just flick in, you know.

01:51:43.340 --> 01:51:45.220
Wow, you got...

01:51:45.220 --> 01:51:48.020
My soapbox is the best soapbox.

01:51:48.900 --> 01:51:55.260
Well, I come from the land of IKEA, so when you're assembling things, it's like everything is one page.

01:51:55.260 --> 01:51:58.040
65 pages and some little pieces of wood.

01:51:58.040 --> 01:52:00.740
And then a picture of saying you're missing or something.

01:52:01.020 --> 01:52:06.760
But it comes down to hacking things and the mindset of solving bugs or finding a bug.

01:52:06.760 --> 01:52:11.180
I can just mention as a quick anecdote that...

01:52:11.180 --> 01:52:14.460
You know about the Mifer Darkside attack?

01:52:15.520 --> 01:52:21.640
You know that one where you find the key for Mifer Classic cards?

01:52:22.120 --> 01:52:23.360
Called Darkside?

01:52:23.360 --> 01:52:24.460
Okay, whatever.

01:52:25.080 --> 01:52:27.100
No, if you know the Darkside attack.

01:52:27.960 --> 01:52:29.460
The Darkside attack.

01:52:29.460 --> 01:52:30.840
Does anybody know the Darkside attack?

01:52:30.840 --> 01:52:32.560
I will be the interpreter.

01:52:32.700 --> 01:52:34.200
Yep, let's try another.

01:52:34.200 --> 01:52:35.200
Use your British accent.

01:52:35.200 --> 01:52:40.200
When most people talk about cracking the Mifer key, they're actually referring to the Darkside attack.

01:52:40.200 --> 01:52:42.940
It refers to a very specific type of brute forcing.

01:52:43.000 --> 01:52:44.920
It was the original oldest attack.

01:52:44.920 --> 01:52:46.840
It was kind of a big fucking deal when it came out.

01:52:46.840 --> 01:52:48.300
About 10 years ago.

01:52:48.760 --> 01:52:50.440
We have RFID.

01:52:50.440 --> 01:52:52.820
There is a box of cookies between them too.

01:52:52.820 --> 01:52:55.000
Come to the Darkside, we have cookies.

01:52:55.040 --> 01:52:56.100
Yes, we do.

01:52:56.520 --> 01:53:02.740
And the thing is, on the box market, it triggered...

01:53:02.740 --> 01:53:06.320
You could run an attack, it's in two parts.

01:53:06.320 --> 01:53:12.660
You have a nonce collecting part on the device, and then you have an offline brute force attack on the client.

01:53:13.260 --> 01:53:22.680
And somewhere, sometimes, there was a problem on the device when you're trying to collect the right nonces and trigger the knack bug, and it reset the device.

01:53:22.680 --> 01:53:26.220
You trigger the VTF, the watchdog trigger, and it goes like...

01:53:26.740 --> 01:53:27.460
all the time.

01:53:27.460 --> 01:53:30.100
So people were running an attack and it was like...

01:53:30.100 --> 01:53:37.440
And people were going, I can't hack that key, I can't crack it, I can't run my scripts, whatever.

01:53:38.500 --> 01:53:45.760
So we've hit just about every device type that we're talking about, and we finished each one with...

01:53:45.760 --> 01:53:47.680
What questions do you guys have?

01:53:47.680 --> 01:53:55.700
If you have specific questions about this, and I'm cutting it because I'm a little bit worried about your guys' time, I really don't care that much because we can keep this place open all night.

01:53:56.040 --> 01:54:04.520
But what questions do you have about RFID hacking and testing that basically the heads of state can answer for you?

01:54:08.600 --> 01:54:12.440
The question is, how easy is it to replicate RFID?

01:54:13.000 --> 01:54:14.660
Very easy.

01:54:15.640 --> 01:54:20.480
laughter That is an incomplete answer.

01:54:22.540 --> 01:54:24.260
Homework and stuff.

01:54:24.260 --> 01:54:27.840
So RFID really just refers to a couple of things.

01:54:27.840 --> 01:54:40.600
It refers to the idea of using a very specific physical kind of token that traditionally uses coils for communication as a means of identification.

01:54:40.600 --> 01:54:41.820
That's it, right?

01:54:41.820 --> 01:54:46.940
But there is a billion and one ways that you can create such a platform.

01:54:46.940 --> 01:54:57.100
So the second part of that answer is it depends on what type of RFID you're talking about and how that system was designed.

01:54:57.100 --> 01:55:08.480
The most popular one in the world which is currently referred to as HIDprox that is extremely easy because of the tools that exist today.

01:55:09.060 --> 01:55:09.400
But

01:55:16.510 --> 01:55:19.670
is it one swipe for accessing doors?

01:55:21.990 --> 01:55:23.190
Right?

01:55:26.760 --> 01:55:31.500
Yeah, you're asking me about credentials that you use to get through a door.

01:55:31.540 --> 01:55:36.040
Right, but there's many different kinds of those credentials is what I'm talking about.

01:55:36.200 --> 01:55:43.900
So it is... I can understand why how easy is it to clone RFID sounds like a very simple question.

01:55:44.140 --> 01:55:50.840
And on its face it is, but it doesn't cover all the different possibilities.

01:55:50.840 --> 01:55:55.680
If you were to ask me how easy is it to clone a prox card, I would say very, very easy.

01:55:55.680 --> 01:56:05.860
But if you were to ask me how easy is it to clone a Desfire Evolution 2 credential, I would say I don't know of any publicly known defeat.

01:56:05.900 --> 01:56:12.840
If you have a method for doing so, let me know because I have some people who will pay you lots and lots of dollars to learn that method.

01:56:12.840 --> 01:56:15.720
So you haven't heard about the attack against them yet, have you?

01:56:15.800 --> 01:56:18.020
It's called a sledgehammer on the window.

01:56:18.020 --> 01:56:18.840
Oh yes.

01:56:19.800 --> 01:56:21.000
Yeah, there you go.

01:56:22.020 --> 01:56:28.000
Another thing about this major RFID brands, people know about HID or MyFair, it's the two largest.

01:56:28.480 --> 01:56:40.580
But we have a list on the forum, I think it's an Excel sheet of all the brands and different kinds of tags that's out there in RFID and that list is about 4,000 items.

01:56:41.080 --> 01:56:46.660
So we cover about 20 to 30 of them in the Proxmod source code.

01:56:47.120 --> 01:56:51.600
But there's a lot of different systems out there.

01:56:52.140 --> 01:56:55.440
And many of them haven't been researched.

01:56:56.000 --> 01:56:58.900
Many of them, not anyone has been looking into it.

01:56:58.900 --> 01:57:10.140
That's why the future of SDR is for this ultra-high frequency cards and tags because there's no really genuine interesting research going on onto it because there's no tool for it.

01:57:10.760 --> 01:57:12.240
And that's something to look forward to.

01:57:12.240 --> 01:57:17.700
The future of hacking is people like you listen to this and go like, oh yeah, nobody did this yet.

01:57:18.360 --> 01:57:19.180
Interesting.

01:57:20.380 --> 01:57:21.780
Was there one more question?

01:57:21.780 --> 01:57:24.740
We're going to take one more RFID and then we're going to move on.

01:57:24.740 --> 01:57:30.560
And I'm only moving on because I know the Encore guys are like, I think they're falling asleep because they've been here longer than they should be.

01:57:30.560 --> 01:57:31.540
Yeah, go ahead.

01:57:42.510 --> 01:57:43.810
Repeat the question.

01:57:43.810 --> 01:57:50.130
The question was if I want to learn more about RFID when I go home, what's a good place to start?

01:57:50.450 --> 01:57:52.110
I'll tell you where I started.

01:57:52.110 --> 01:57:53.870
I don't know if it's the best place.

01:57:53.870 --> 01:57:55.170
It's a place.

01:57:55.850 --> 01:57:58.330
I started at the Proxmod forums.

01:57:58.350 --> 01:57:59.350
Me too .

01:57:59.350 --> 01:58:14.830
Like many hacker forums, the signal to noise ratio is less than ideal, but if you are willing to put in the hours and the time, the information is there.

01:58:14.830 --> 01:58:18.690
Your two best friends are the forums and eBay.

01:58:19.190 --> 01:58:27.410
So if you're like, cool, I don't know what that post is talking about, this Prox or Indala reader.

01:58:27.410 --> 01:58:28.310
I've never seen that.

01:58:28.390 --> 01:58:29.490
It looks easy.

01:58:29.490 --> 01:58:30.770
I wonder if it's easy.

01:58:30.810 --> 01:58:33.170
You know how you can do it without screwing with a real building?

01:58:33.170 --> 01:58:36.230
You go on eBay, you type in Indala, and you start buying some stuff.

01:58:36.630 --> 01:58:40.110
And it'll take some time and a few more dollars, but you will get there.

01:58:40.110 --> 01:58:41.790
That's how most of us started.

01:58:42.190 --> 01:58:45.790
And it will take a little bit of a longer time, but that's your best shot.

01:58:45.890 --> 01:58:47.950
Hey, real quick, let me jump in here.

01:58:48.270 --> 01:58:57.630
At this point, we're going to cut the recording, but because we run the village, we can keep it open as late as we want, and we'll just ask the goons to be really kind to us and not lock the doors yet.

01:58:57.810 --> 01:58:59.090
We're going to cut the recording.

01:58:59.150 --> 01:59:00.290
We're not leaving.

01:59:00.290 --> 01:59:01.870
We'll answer a billion questions.

01:59:01.870 --> 01:59:04.650
We're still going to talk about Hammond, Zigbee, and a couple other things.

01:59:04.870 --> 01:59:06.850
If you want to stay, awesome.

01:59:06.870 --> 01:59:08.830
If you want to go, feel free as well.

01:59:09.150 --> 01:59:14.910
We're going to keep going, but we're going to cut the recording at this point, so if you want to take notes, take better notes.

01:59:15.110 --> 01:59:15.850
Is that cool?

01:59:16.610 --> 01:59:17.250
All right.

01:59:17.550 --> 01:59:18.330
Thank you.

01:59:18.330 --> 01:59:19.410
Any more questions?

01:59:22.240 --> 01:59:22.860
Come on, guys.

01:59:22.860 --> 01:59:25.800
You all have access control somewhere.

01:59:26.060 --> 01:59:28.540
Some of you have questions about something.

01:59:28.600 --> 01:59:29.740
Maybe they don't.

01:59:29.740 --> 01:59:31.020
They might not.

01:59:31.280 --> 01:59:33.080
Maybe they don't have the right tools.

01:59:33.080 --> 01:59:34.200
I have a question.

01:59:34.200 --> 01:59:46.400
If I was trying to set up an access control system that made sense for my organization, what would I do to test it against what could possibly happen?

01:59:48.160 --> 01:59:49.740
That's a good question.

01:59:49.740 --> 01:59:50.440
I know.

01:59:50.840 --> 01:59:52.320
I came up with it.

01:59:52.320 --> 01:59:53.820
You just made it up, did you?

01:59:53.880 --> 01:59:54.880
Yeah, you're right.

01:59:54.880 --> 01:59:56.020
You've done this before.

01:59:56.700 --> 01:59:57.220
Let's see.

01:59:57.220 --> 01:59:58.300
The question was...

01:59:58.300 --> 01:59:59.660
I just said the question.

01:59:59.980 --> 02:00:01.120
We're good.

02:00:02.080 --> 02:00:02.940
Yeah.

02:00:02.940 --> 02:00:03.600
All right.

02:00:04.720 --> 02:00:10.520
You think, and I'll start doing some talking.

02:00:12.980 --> 02:00:13.460
That...

02:00:15.440 --> 02:00:17.360
How do you feel about this?

02:00:18.160 --> 02:00:19.580
They're Argentinian cookies.

02:00:19.580 --> 02:00:20.080
They're really good.

02:00:20.080 --> 02:00:20.700
They're really good.

02:00:20.700 --> 02:00:21.520
They're alfajores.

02:00:21.520 --> 02:00:22.280
They're really good.

02:00:23.140 --> 02:00:25.840
The testing piece is a difficult one.

02:00:25.840 --> 02:00:28.420
It's one that everyone is curious about.

02:00:29.120 --> 02:00:31.560
The first thing is...

02:00:32.000 --> 02:00:35.500
How much do you understand about how that system is designed?

02:00:35.560 --> 02:00:35.980
Right ?

02:00:38.360 --> 02:00:39.760
It's good, right?

02:00:39.760 --> 02:00:44.820
One of the things that we teach is how every component works and how they're all connected.

02:00:44.820 --> 02:00:47.060
That's one of the things that I'm going to be talking about tomorrow.

02:00:47.480 --> 02:00:53.040
This will be an easier question to answer tomorrow if you come to my talk at 4pm.

02:00:53.200 --> 02:01:02.220
I'm going to give you a very abridged, but I feel somewhat comprehensive, overview of how a modern access control system is designed and installed.

02:01:02.240 --> 02:01:06.580
But you're going to... the short answer is you're going to take a look at every link in the chain.

02:01:06.580 --> 02:01:12.680
From the point that you have your card, you start with the card and say, okay, what kind of credential is that?

02:01:12.680 --> 02:01:15.960
What is the means of communication and authentication to the reader?

02:01:16.000 --> 02:01:18.560
Once the reader gets that information, what happens?

02:01:18.780 --> 02:01:20.420
Does the reader send it into Clear?

02:01:20.420 --> 02:01:21.980
Does it send it encrypted?

02:01:22.120 --> 02:01:23.060
Where does it go?

02:01:23.060 --> 02:01:25.520
Okay, it goes to this little door controller.

02:01:25.520 --> 02:01:31.680
That's what you see, the blinky green board in the middle of the bright red readers for the CTF.

02:01:31.680 --> 02:01:33.140
That's called a door controller.

02:01:33.140 --> 02:01:34.860
You're going to learn about that tomorrow.

02:01:34.860 --> 02:01:37.320
The door controller is an embedded Linux computer.

02:01:37.320 --> 02:01:40.880
Usually that's really, really out of date because no one ever updates their firmware.

02:01:41.180 --> 02:01:47.240
So then my question is, how well is that door controller segmented from other parts of the network?

02:01:47.240 --> 02:01:50.740
Had they done something stupid like put it directly on the internet?

02:01:50.740 --> 02:01:51.640
Yes, that happens.

02:01:51.640 --> 02:01:55.520
Yes, you could Google for door controllers that are on the internet directly.

02:01:55.920 --> 02:01:57.720
Show Dan, my friend.

02:01:57.720 --> 02:01:58.500
Show Dan.

02:01:58.500 --> 02:02:04.840
You can find door controllers online today that you can log into with Admin Admin.

02:02:05.400 --> 02:02:12.000
So, and then, you know, that door controller has to be connected to a database of users, right?

02:02:12.000 --> 02:02:15.080
Your users live in an SQL database of some kind.

02:02:15.100 --> 02:02:17.720
So then, how is that database secure?

02:02:17.720 --> 02:02:20.260
Has anyone changed the database credentials?

02:02:20.380 --> 02:02:22.400
Is that database on its own segment?

02:02:22.400 --> 02:02:24.640
Like, all of these things are really, really important.

02:02:24.760 --> 02:02:29.160
And it's a more complex issue to look at.

02:02:29.900 --> 02:02:32.820
So, let me just roll back real quick.

02:02:32.820 --> 02:02:35.340
Because I was listening to Bhavik's process.

02:02:35.620 --> 02:02:40.320
And Bhavik has been doing this probably about as long as I have.

02:02:41.020 --> 02:02:44.400
He just described the process of how he would test that.

02:02:44.440 --> 02:02:53.640
What is different about testing door controller to connection to server to outbound connection to internet connection?

02:02:53.640 --> 02:02:57.120
Sounds a lot like network pen testing, doesn't it?

02:02:57.160 --> 02:03:00.080
Sounds a lot like web app pen testing.

02:03:00.080 --> 02:03:02.500
Sounds a lot like RF pen testing.

02:03:02.560 --> 02:03:05.280
Everything we do is a process.

02:03:05.460 --> 02:03:13.660
So if we're a bad guy, and we want to break into shit, we're going to go through and say, huh, front door's locked, let's look at the side door.

02:03:13.660 --> 02:03:15.380
Side door's locked, that sucks.

02:03:15.380 --> 02:03:16.520
Let's look at a window.

02:03:16.520 --> 02:03:17.840
Huh, window's open.

02:03:17.840 --> 02:03:18.960
Let's go through the window.

02:03:18.960 --> 02:03:21.320
We'll go in the window and we'll unlock the front door.

02:03:21.320 --> 02:03:25.960
Take that front door, now, oh, we've got the car keys, we've got the garage keys.

02:03:25.960 --> 02:03:27.980
Now we've got all the keys.

02:03:28.140 --> 02:03:30.640
It's exactly the same.

02:03:30.800 --> 02:03:38.600
The media that we are going after, whether it's prox, does anybody here build prox marks?

02:03:39.580 --> 02:03:40.620
Hey!

02:03:42.060 --> 02:03:45.920
Guys, now if the room explodes, we're done.

02:03:47.340 --> 02:03:52.460
But it's the exact same process and the exact same testing methodology.

02:03:52.620 --> 02:03:59.680
And I hate using big words that have a whole lot of syllables in a hacker con, and I don't have blue hair and most of it's starting to go away.

02:03:59.700 --> 02:04:14.120
But we do the same shit, whether it's RFID, ZigBee, Z-Wave, SDR, Wi-Fi, Bluetooth, or ham, we're looking for that side window that's open that we can break into and come back through and attack.

02:04:14.260 --> 02:04:16.280
Did I say anything wrong?

02:04:18.200 --> 02:04:20.380
I kind of tuned out a little bit.

02:04:21.460 --> 02:04:22.920
So did I.

02:04:23.860 --> 02:04:26.500
But it generally sounded correct.

02:04:26.620 --> 02:04:32.640
I mean, regardless of what you do, test your shit and make sure it works.

02:04:32.640 --> 02:04:39.120
If you don't test your shit and make sure it works, you're an amateur throwing data bits at a problem.

02:04:39.240 --> 02:04:43.540
If you're a professional, you may or may not have gotten paid to do this.

02:04:43.540 --> 02:04:45.420
I hope you're getting paid if you're a pro.

02:04:45.420 --> 02:04:57.660
But you're throwing shit at a block in sequential order waiting for an answer to come back and answering every one of those negative stimuluses with something that's meaningful to that network.

02:04:57.760 --> 02:05:00.980
The negative stimulus is what makes you better.

02:05:00.980 --> 02:05:01.460
Hey , Woody.

02:05:01.460 --> 02:05:02.780
Come here.

02:05:06.440 --> 02:05:13.300
So, Woody has a different non-IT background.

02:05:13.300 --> 02:05:15.280
Am I wrong so far?

02:05:16.720 --> 02:05:22.700
Woody is a redneck hacker that does some shit really cool.

02:05:22.960 --> 02:05:26.320
And I'm not pimping out talks.

02:05:26.320 --> 02:05:39.120
Woody's the dude that took over all the Fords from like 2012 till now and is giving a talk tomorrow on how Fords get taken over and all the key codes get rolled and a whole bunch of other shit that he's going to discuss in depth.

02:05:39.420 --> 02:05:43.220
But Woody finds this shit by going, huh, that's different.

02:05:43.740 --> 02:05:44.540
Huh.

02:05:44.600 --> 02:05:45.980
That doesn't work that way.

02:05:45.980 --> 02:05:47.100
Let me try this.

02:05:47.100 --> 02:05:47.980
Oh, that failed.

02:05:47.980 --> 02:05:48.640
Shit.

02:05:49.160 --> 02:05:49.920
Am I wrong?

02:05:49.920 --> 02:05:51.080
Is that pretty close?

02:05:51.080 --> 02:05:52.060
Is that your process?

02:05:52.280 --> 02:05:53.120
Pretty much.

02:05:53.120 --> 02:05:58.900
And I just try to use simple tools that make it easy and fast so if it doesn't work, I know and then I move forward.

02:05:58.900 --> 02:06:06.380
So, I guess what we're all boiling down to is, you know, this was starting off as a gear talk and we've got a bunch of other shit to cover if we want to.

02:06:06.480 --> 02:06:27.460
But, every single one of us, whether it's classically trained CS, computer science, security people, versus people that literally came out of another completely other world, like a medic and became a fucking published hacker to do shit that breaks every major device.

02:06:27.460 --> 02:06:30.620
It's like 10,000 10 million devices right now.

02:06:30.620 --> 02:06:32.240
How many did you break?

02:06:33.320 --> 02:06:34.920
There's quite a few right now.

02:06:34.920 --> 02:06:36.420
It's millions, right?

02:06:36.820 --> 02:06:38.460
Lots of millions?

02:06:38.640 --> 02:06:39.760
Ford's pretty big.

02:06:39.760 --> 02:06:41.160
We're not being recorded anymore.

02:06:43.260 --> 02:06:52.660
Every Ford I can lock, unlock, denial of service to the key fob, and then I can get in, plug in and pull the door access code.

02:06:52.660 --> 02:07:00.020
So, that being said, hacking is not hard.

02:07:00.280 --> 02:07:08.100
Hacking does require some sort of process that you can repeat that you can make do what you want it to do.

02:07:08.240 --> 02:07:09.820
This was a gear talk.

02:07:09.820 --> 02:07:24.160
So, just one thing I wanted to say with that, I'll hear me say it again, is because I wasn't formally or traditionally trained, I have friends that are really amazing who teach me how to do stuff, and when I find new stuff, they'll be like, hey, look what I found.

02:07:24.160 --> 02:07:26.180
Why would you even run down that road?

02:07:26.420 --> 02:07:27.880
So, one of the things is this.

02:07:28.100 --> 02:07:33.980
I found my first zero day because someone said, oh, yeah, that attack doesn't work against that kind of equipment.

02:07:33.980 --> 02:07:38.680
So, I was like, well, I should probably figure out what not working looks like because I have no idea.

02:07:38.860 --> 02:07:40.260
And all of a sudden, it did work.

02:07:40.260 --> 02:07:42.460
And they were like, wow, it's not supposed to.

02:07:42.460 --> 02:07:48.640
So, because I'm not formally trained, I try stuff that most guys would be like, I'm not going to waste my time looking at that.

02:07:49.240 --> 02:07:55.160
You'd be amazed how many people use that as a security platform to put those flaws in a system.

02:07:56.240 --> 02:08:00.280
But all of it comes back to doing something that's repeatable.

02:08:00.320 --> 02:08:08.140
I don't give a shit if you're the 500 pound dude in your mother's basement that never sees the light of day that types on computers.

02:08:08.400 --> 02:08:12.240
If anybody saw the tweets like two years ago, that was the big joke.

02:08:12.240 --> 02:08:12.900
400 pounds?

02:08:12.900 --> 02:08:14.160
400 pounds, okay.

02:08:14.160 --> 02:08:15.780
400 pound hackers.

02:08:15.960 --> 02:08:17.860
We're all getting there eventually.

02:08:17.860 --> 02:08:20.720
But, you know, hopefully we can cut it like half of that.

02:08:20.720 --> 02:08:23.460
So try to close it out with something gear-related.

02:08:23.740 --> 02:08:24.760
Gear?

02:08:24.780 --> 02:08:25.820
Yes.

02:08:26.200 --> 02:08:29.860
Your iWatch that's connected not to your phone?

02:08:29.880 --> 02:08:30.920
Maybe.

02:08:31.580 --> 02:08:33.300
We'll check that tomorrow.

02:08:34.620 --> 02:08:45.400
Is there a device that someone has in their mind right now that they saw either on a building or online somewhere where they're like, huh, that looks really interesting.

02:08:45.400 --> 02:08:47.460
I wonder how hard it is to hack that.

02:08:48.100 --> 02:08:48.540
Okay.

02:08:48.540 --> 02:08:50.400
What are you thinking of in your head?

02:08:51.380 --> 02:08:52.600
I'm sorry?

02:08:57.600 --> 02:08:58.560
Okay.

02:08:59.660 --> 02:09:00.780
For emergencies?

02:09:00.780 --> 02:09:06.040
So the emergency sirens that make everybody leave a building very quickly if they go off.

02:09:06.100 --> 02:09:06.200
Yes?

02:09:06.820 --> 02:09:07.780
No?

02:09:09.000 --> 02:09:10.820
Yeah, so emergency sirens.

02:09:10.820 --> 02:09:13.000
Alright, so that's actually a pretty cool example.

02:09:13.000 --> 02:09:13.980
They're serial.

02:09:13.980 --> 02:09:20.920
So my question is, okay, I wonder how hard it would be to mess with that emergency siren.

02:09:20.920 --> 02:09:25.980
So the first thing I would do is I would identify manufacturers who make emergency sirens.

02:09:25.980 --> 02:09:27.740
And I would start reading product pages.

02:09:27.740 --> 02:09:31.120
Would you find maybe the physical rooms that they might hold?

02:09:31.200 --> 02:09:31.800
What's that?

02:09:31.800 --> 02:09:33.960
Would you find the room Really?

02:09:34.800 --> 02:09:42.800
Would you find the rooms that those devices might be in, like something that says electrical data or facilities closet?

02:09:43.220 --> 02:09:48.400
Yes, but I'm talking about as a, like, I just want to learn more, right?

02:09:48.400 --> 02:09:50.240
Are we learning more or are we hacking?

02:09:50.460 --> 02:09:52.360
Well, we're getting to the hacking.

02:09:52.580 --> 02:09:53.580
I'll let you go.

02:09:53.580 --> 02:09:54.100
Go ahead, Babak.

02:09:54.200 --> 02:09:55.520
They're connected, right?

02:09:55.520 --> 02:09:58.660
So I would identify who makes them.

02:09:58.660 --> 02:10:02.440
Then I would say, okay, like, how much information can I find about them?

02:10:02.440 --> 02:10:04.220
Do they post wiring diagrams?

02:10:04.220 --> 02:10:08.880
Do they post information about how this device communicates with other things?

02:10:08.920 --> 02:10:12.840
Are there any part numbers that I can look up and buy used on eBay?

02:10:12.840 --> 02:10:14.820
Can I buy a sample from the manufacturer?

02:10:14.820 --> 02:10:20.120
And then I would just start playing with it and trying to set it up the same way that a building would have it set up.

02:10:20.120 --> 02:10:22.820
And then I would start breaking it or messing with it.

02:10:22.820 --> 02:10:24.500
And that's true for anything.

02:10:24.800 --> 02:10:26.420
You know, same thing for RFID.

02:10:26.420 --> 02:10:36.040
When I started with RFID, I just started buying stuff and trying to get it set up the same way that a manufacturer would have it set up or a company would have it set up.

02:10:36.120 --> 02:10:43.360
And then I'd start looking for things that don't make sense to me, things that I can try to manipulate or have weaknesses in.

02:10:44.680 --> 02:10:46.360
That's really what it comes down to.

