WEBVTT

00:00.000 --> 00:01.320
How's everybody doing?

00:02.340 --> 00:05.000
Okay, I want you to, on three, repeat after me the word engage.

00:05.000 --> 00:05.460
Ready?

00:05.460 --> 00:06.820
One, two, three.

00:07.560 --> 00:08.120
Engage.

00:08.120 --> 00:09.720
One, two, three.

00:10.220 --> 00:11.000
Awesome.

00:11.000 --> 00:11.620
Here's our speaker.

00:11.620 --> 00:12.700
Give him a big hand.

00:14.500 --> 00:15.640
Thank you.

00:20.780 --> 00:22.220
It's 1995.

00:22.640 --> 00:24.160
I'm 10 years old.

00:24.160 --> 00:28.560
And my mom just spent everything she had to get me this computer.

00:28.800 --> 00:30.640
And this is the best day of my life.

00:30.640 --> 00:32.180
I dial up to the internet.

00:32.180 --> 00:33.540
Some of you know what that means.

00:33.540 --> 00:38.240
I dial up to my mom's university and I download MIRC.

00:38.680 --> 00:41.460
I go on to Internet Relay Chat IRC.

00:41.560 --> 00:42.240
Oh, no.

00:42.720 --> 00:48.400
And I join a channel and I say, who wants to chat about the X-Files?

00:49.080 --> 00:52.180
And someone says, get out.

00:52.860 --> 00:55.040
And I didn't understand why.

00:55.040 --> 00:57.300
And I said, we can chat about something else.

00:57.300 --> 00:59.600
So what do you, what TV show do you like?

00:59.600 --> 01:02.160
And they say, you have 10 seconds to get out of this chat room.

01:03.200 --> 01:07.660
And I think, my mom told me, don't tell anyone your name on the internet and don't tell them where you live.

01:07.660 --> 01:09.400
So they don't know anything about me.

01:09.640 --> 01:11.140
So I say, no.

01:12.700 --> 01:15.620
And this person says, you have 10 seconds to get out of this chat room.

01:16.000 --> 01:17.000
Like, no.

01:17.500 --> 01:22.260
10 seconds later, the brand new computer that my mom spent everything on does this.

01:23.260 --> 01:25.280
It wasn't running CrowdStrike.

01:25.300 --> 01:26.520
This is 1995.

01:27.980 --> 01:32.920
This person just crashed my computer over the internet without knowing anything about me.

01:32.920 --> 01:34.160
And I freaked out.

01:34.160 --> 01:36.460
I'm going to be grounded for the rest of my life.

01:36.500 --> 01:39.220
I pull all the wires out of the computer.

01:39.360 --> 01:43.760
I wait for the computer to heal, about half an hour.

01:43.780 --> 01:47.680
I plug the wires back in and it comes up.

01:48.280 --> 01:52.680
As it's coming up, everything is okay.

01:52.740 --> 01:57.040
And while the adrenaline is still rushing through my veins, I think, that is the coolest thing ever.

01:57.040 --> 01:58.480
How do I do that?

01:59.260 --> 02:02.220
And I find this, Winuke95.

02:02.300 --> 02:05.940
So a single out-of-band packet will crash Windows 95.

02:05.940 --> 02:07.260
And this was super cool.

02:07.260 --> 02:10.540
I downloaded this program and now I'm an elite hacksaw.

02:11.540 --> 02:15.640
And then Microsoft released Windows Service Pack 2, which resolved this.

02:15.640 --> 02:18.380
And all of a sudden, my magical tool didn't work anymore.

02:18.380 --> 02:22.640
So how do I learn how to create Winuke96?

02:22.720 --> 02:24.720
And that's when I found Frack.

02:25.060 --> 02:27.560
And Frack is a magazine that's still going today.

02:27.560 --> 02:28.740
I believe it started in 85.

02:29.440 --> 02:32.840
And I read, smashing the stack for fun and profit.

02:32.860 --> 02:35.260
And this just blew my mind.

02:35.420 --> 02:38.420
The simplest C program that says, hey, what is your name?

02:38.420 --> 02:41.440
You have to allocate 100 bytes and you say, and you type in your name.

02:41.440 --> 02:44.920
And if it doesn't check, and it just prints, hey, hello, your name.

02:45.320 --> 02:50.700
If you type over that 100 bytes and you're not checking for 100 bytes, you can start overwriting memory and then you can overwrite the stack pointer.

02:50.700 --> 02:52.540
And then you can point back to your, the beginning of your name.

02:52.540 --> 02:54.760
And that can be shellcode and that can execute code on the computer.

02:54.760 --> 02:57.740
And you can take over a computer with an extremely simple program.

02:57.740 --> 03:02.440
And that taught me that the way a system works is not how we think it works.

03:02.440 --> 03:05.280
Like, I want to now understand what is the ground truth.

03:05.280 --> 03:07.040
But how do systems actually work?

03:07.040 --> 03:08.800
How does a computer actually work?

03:08.800 --> 03:18.080
It's only when you understand the CPU architecture and memory and how, when you're compiling your C code into and assembling it and linking it, how you can actually take over the system.

03:18.080 --> 03:26.760
And over time, as I've learned from many of you and from papers and from videos, and just testing things, that ultimately everything boils down to energy.

03:26.760 --> 03:29.100
Like, everything is energy.

03:29.100 --> 03:30.200
Information is energy.

03:30.200 --> 03:33.620
By energy, I'm really talking, we're talking power.

03:33.620 --> 03:35.880
Energy is the capacity to do work.

03:35.880 --> 03:38.060
So, to perform some type of work.

03:38.060 --> 03:40.860
Power is the rate at which that work is done.

03:40.860 --> 03:42.540
So, for example, a horsepower.

03:42.540 --> 03:45.320
Like, a horsepower is actually a unit of power.

03:45.940 --> 03:50.060
One horsepower lifts 550 pounds in one second, by one foot.

03:50.180 --> 03:53.420
I looked it up on Wikipedia, it's actually imperial horsepower.

03:53.660 --> 03:58.800
That means there's also a metric horsepower which lifts 542 pounds, slightly less.

03:58.860 --> 04:00.620
I'm not sure what we're feeding our horses.

04:01.980 --> 04:04.860
Probably HGH, horse growth hormone.

04:06.400 --> 04:08.300
So, energy in power.

04:08.300 --> 04:10.320
And I realize energy is information.

04:10.320 --> 04:14.260
So, if we want to actually move any information around, we must use energy.

04:14.260 --> 04:18.960
An example of that is, we think that there's power in data, but that's not true.

04:19.140 --> 04:21.280
Power is data, and data is power.

04:21.280 --> 04:24.820
If you have a USB 2.0, you plug your USB in, it doesn't work.

04:24.820 --> 04:26.700
So, you plug it in the other way, it doesn't work.

04:26.700 --> 04:28.020
The third time, it always works.

04:28.020 --> 04:29.940
When you plug that in, there are four pins.

04:29.940 --> 04:33.060
There's ground, power, and then two data, differential data.

04:33.340 --> 04:36.280
Now, the ground and power, there's energy moving over that.

04:36.280 --> 04:38.120
But there's also information across that.

04:38.120 --> 04:44.100
If you're plugged into a computer that's encrypting something, there's going to be some information of that encryption about the amount of power that's being...

04:44.100 --> 04:45.840
and that's going to ride on the power.

04:45.840 --> 04:48.920
Like, the power will actually go up and down just a little bit.

04:48.920 --> 04:50.820
That five volts will move up and down.

04:50.820 --> 04:51.860
You can measure that.

04:51.940 --> 04:52.940
And then there's the data.

04:52.940 --> 04:54.180
Well, how does the data work?

04:54.180 --> 04:56.640
Like, what is actually going across data lines?

04:56.640 --> 04:57.480
That's a voltage.

04:57.820 --> 05:02.800
So, there's actually current and voltage, which is power, pushing through those data lines.

05:02.800 --> 05:05.620
So, you can always extract power from this stuff.

05:05.620 --> 05:08.580
And I remember I'm sitting at my computer maybe 15 years ago.

05:09.120 --> 05:12.060
And I had these Dell speakers on my computer.

05:12.400 --> 05:16.120
And I got a text message, or I was about to get a text message.

05:16.120 --> 05:19.600
And I don't know if many of you recall that sometimes you get this interference.

05:19.720 --> 05:21.100
You get a text message or a phone call.

05:21.100 --> 05:23.860
And then your speakers go, do-do-do-do-do-do-do-do-do.

05:24.420 --> 05:26.840
And I was like, wait, my phone's not connected to anything.

05:26.840 --> 05:30.000
Yet, the speakers are actually playing sound.

05:30.280 --> 05:32.180
Like, there is some sort of interference here.

05:32.260 --> 05:33.380
Can I control that?

05:33.380 --> 05:35.040
Like, if my phone can do that.

05:35.040 --> 05:36.720
So , it's not actually the cell towers.

05:36.720 --> 05:40.220
It's actually your phone trying to amplify its signal and get back to the cell tower.

05:40.220 --> 05:42.440
The cell tower is far away, so it amplifies the signal.

05:42.940 --> 05:45.580
And I thought, okay, well, can I open a keyboard?

05:45.580 --> 05:46.920
Can I look at how the keyboard works?

05:46.920 --> 05:51.240
And if my phone can interfere with the speaker, can my phone then interfere with the keyboard?

05:51.420 --> 05:52.900
And can I press keystrokes?

05:53.000 --> 05:54.620
So, I opened up a keyboard.

05:54.720 --> 05:56.200
And it's a USB keyboard.

05:56.200 --> 06:00.220
And when you open it up, you have a circuit board that's PCB, your fiberglass.

06:00.220 --> 06:01.620
And then you have all these conductors.

06:01.620 --> 06:04.760
And every conductor, going to every key, is a unique length.

06:04.760 --> 06:05.880
And they're all copper.

06:05.880 --> 06:06.740
They're all metal.

06:07.000 --> 06:08.740
Any piece of metal is an antenna.

06:09.140 --> 06:12.780
If you measure that antenna, the length of that antenna, that's a monopole antenna.

06:12.820 --> 06:16.040
That measurement is the wavelength, the resonant frequency.

06:16.100 --> 06:19.880
So, you can figure out the resonant frequency of every wire going into that.

06:19.880 --> 06:26.180
And I thought, well, can I create an electromagnetic radio that can then inject keystrokes into this keyboard wirelessly?

06:26.180 --> 06:28.420
And I started to try to do this.

06:28.600 --> 06:31.600
And I started to realize that it's not working.

06:31.600 --> 06:36.340
I tried a couple different software to find radios, like HackRF and the USRP-B210.

06:36.440 --> 06:39.000
And I was never able to inject all the keystrokes I wanted.

06:39.000 --> 06:41.660
With one keyboard, I was able to inject a few keystrokes.

06:41.740 --> 06:44.160
And I'm like, I really just don't understand electromagnetism enough.

06:44.160 --> 06:45.680
So, I started to learn about physics.

06:45.860 --> 06:48.800
And I started to learn about, well, what is electromagnetism?

06:48.800 --> 06:50.000
It's really light.

06:50.260 --> 06:51.460
Light and radio.

06:52.220 --> 06:55.040
And I took a picture of a rainbow on a jog.

06:55.080 --> 06:57.500
And really, electromagnetism is light.

06:58.580 --> 07:02.720
We can split that light up into its constituent wavelengths.

07:02.860 --> 07:04.980
And there's all sorts of other frequencies.

07:05.000 --> 07:06.960
So, radio, for example, is light.

07:06.960 --> 07:10.120
Radio is just colors of light that we can't see with our eyes.

07:10.380 --> 07:16.620
And as I wanted to learn about this and how this stuff works, I started learning about light and EM and radio.

07:16.620 --> 07:17.920
And I need to learn physics.

07:17.920 --> 07:21.700
So, I started to get some physics books and start reading about this stuff.

07:21.700 --> 07:24.280
One of those books was Building Scientific Apparatus.

07:25.140 --> 07:33.220
And I learned, okay, well, a lot of the people who are learning physics, which is really how hardware works and how radio works, they started by, like, J.J.

07:33.220 --> 07:35.520
Thompson, who broke the atom open.

07:35.520 --> 07:38.920
Like, it's called the atom from Greek, atomos, meaning indivisible.

07:38.960 --> 07:40.000
Until this dude, J.J.

07:40.000 --> 07:46.600
Thompson, put a bunch of atoms inside of a glass tube, evacuated, pulled almost everything out, put a high voltage, and then split the atom.

07:46.600 --> 07:47.640
It was divisible.

07:47.640 --> 07:52.000
And then he used magnets and he could move the atoms that were producing light.

07:52.000 --> 07:56.120
And that became our cathode ray tube, our CRT TVs and monitors that we used.

07:56.140 --> 07:57.100
Like, this is super cool.

07:57.100 --> 07:58.420
I should reproduce this.

07:58.440 --> 08:05.680
So, I set up a little glass blowing station at home and I tried to blow glass and do some lamp work, but all my stuff would always break.

08:05.680 --> 08:07.580
Like, I'd make something and then it would crack.

08:07.580 --> 08:10.380
Like, all right, I need to actually learn some glass blowing.

08:10.380 --> 08:14.620
I took some classes in LA, but these are all soft glass.

08:14.620 --> 08:17.520
And I still would come home, I'd try to make some stuff, it would break.

08:17.520 --> 08:25.140
Then I went on the Internet and I found, okay, I found this guy who makes all sorts of borosilicate glass, which is like scientific glass blowing.

08:25.780 --> 08:30.220
And I messaged him and I messaged everyone, every other scientific glass blower in Los Angeles.

08:30.220 --> 08:32.540
Hey, I want to learn how to glass blow.

08:32.540 --> 08:33.720
I will pay you.

08:34.160 --> 08:35.280
Everyone said no.

08:35.280 --> 08:36.840
Like, I have a job.

08:36.840 --> 08:38.440
Can't just come to my work.

08:38.720 --> 08:41.200
And it's probably like illegal or something.

08:41.200 --> 08:44.520
So, I went on LinkedIn and I searched more scientific glass blowers across the U.S.

08:44.520 --> 08:45.880
And I just messaged everyone.

08:45.880 --> 08:47.400
Like, someone has to say yes, right?

08:47.400 --> 08:50.980
Someone will let me pay them for a few hours, so I can just...

08:50.980 --> 08:52.980
And I get a response from Katie.

08:52.980 --> 08:54.320
Hey, I see that you're in LA.

08:54.340 --> 08:55.920
We're in Milwaukee, Wisconsin.

08:55.920 --> 08:58.200
Is this something that you would travel for?

08:58.680 --> 09:03.420
So, a week later, I get, Delta tickets are very cheap to Wisconsin in winter.

09:03.880 --> 09:06.720
It's because it's freezing in Wisconsin in the winter.

09:06.720 --> 09:08.220
It's so cold.

09:08.460 --> 09:11.820
I show up to this place and I say, is Katie here?

09:11.880 --> 09:15.420
And an old woman answers the door and says, there's no one here by that name.

09:15.420 --> 09:16.400
I'm like, what?

09:16.400 --> 09:20.240
Did I just get pwned by someone that I reached out to?

09:20.240 --> 09:21.580
Because I put a deposit.

09:21.580 --> 09:23.280
I flew from Los Angeles to Wisconsin.

09:23.520 --> 09:24.640
And I'm just standing.

09:24.640 --> 09:25.220
I'm cold.

09:25.220 --> 09:26.100
I'm uncomfortable.

09:26.420 --> 09:28.400
And the person that I paid is not here.

09:28.940 --> 09:30.280
I look at my email.

09:30.280 --> 09:31.180
We never contacted.

09:31.180 --> 09:32.000
We never called each other.

09:32.000 --> 09:33.540
We just, like, chatted on LinkedIn.

09:33.800 --> 09:34.840
And then I found her phone number.

09:34.840 --> 09:35.340
I call her.

09:35.340 --> 09:36.200
It says, oh, I'm sorry.

09:36.200 --> 09:37.240
I switched the numbers.

09:37.800 --> 09:39.220
Fortunately, she was down the street.

09:39.220 --> 09:40.340
I walked down the street.

09:40.340 --> 09:43.080
We go into Ian's glass blowing station.

09:43.080 --> 09:49.200
So Ian and Katie are these two scientific glass blowers that work for a big science company out, excuse me, in Wisconsin.

09:49.860 --> 09:51.680
And I go into their shop.

09:51.680 --> 09:54.260
They show me their glass blowing lathe, their fume hood.

09:54.420 --> 09:58.380
Here's Ian showing me a lighter that he made.

09:58.420 --> 09:59.800
Katie with her lightsaber.

09:59.840 --> 10:00.920
That's fire.

10:01.160 --> 10:05.520
If you ever want to learn how to glass blow in your Wisconsin, you can email them, contact them.

10:05.520 --> 10:09.580
And I came back learning a little bit more about how to actually...

10:09.580 --> 10:10.680
You wanted a pic?

10:10.680 --> 10:11.160
Thank you.

10:12.460 --> 10:14.180
I wanted a...

10:14.180 --> 10:18.680
I came back home able to actually blow a little bit more borosilicate glass, which is great.

10:18.920 --> 10:22.180
And when I came home, I was very excited, and I started to reproduce some of these.

10:22.220 --> 10:27.040
I made a little cathode ray tube, and I started to learn more about physics and more about waves.

10:27.080 --> 10:32.320
And one of the biggest realizations, one of the most helpful realizations for me is that I don't...

10:32.320 --> 10:34.780
It's very difficult for me to understand complex things.

10:34.780 --> 10:36.100
I don't understand complex things.

10:36.100 --> 10:37.960
I can only understand simple things.

10:37.960 --> 10:46.800
But I can take simple things and build a simple thing into a module, a block, and then use that block with another simple block, and then build stuff on top of that, right?

10:46.940 --> 10:50.560
And if I can find patterns, then that makes my life much easier.

10:50.560 --> 10:52.200
I don't have to learn X, Y, and Z.

10:52.200 --> 10:57.800
I can just learn an abstract concept of what X, Y, and Z are if they're the same.

10:57.940 --> 11:01.640
And we can interpret everything as waves, as analog signals.

11:01.780 --> 11:03.880
So a wave has three things that are important.

11:03.880 --> 11:06.440
Now, when I say waves, light is a wave.

11:06.540 --> 11:07.680
Sound is a wave.

11:07.680 --> 11:09.200
Water waves are waves.

11:09.200 --> 11:10.480
They all have the same properties.

11:10.480 --> 11:15.220
They have absorption, where they absorb and convert from one type of energy to another energy.

11:15.220 --> 11:16.920
They have reflection.

11:16.920 --> 11:18.720
They have refraction and diffraction.

11:19.420 --> 11:20.680
So a wave has three things.

11:20.680 --> 11:21.700
It has the amplitude.

11:21.860 --> 11:23.380
So with sound, the amplitude...

11:23.920 --> 11:25.380
Amplitude means intensity.

11:25.380 --> 11:27.020
So the sound would be how loud it is.

11:27.020 --> 11:28.040
That's the amplitude.

11:28.040 --> 11:30.260
With light, that's how bright it is.

11:30.320 --> 11:33.280
Then there's the wavelength, which directly relates to frequency.

11:33.280 --> 11:35.660
So a low-frequency light would be red light.

11:35.660 --> 11:38.240
A high-frequency light would be blue light or UV light.

11:38.240 --> 11:40.800
With sound, low-frequency is bass.

11:41.380 --> 11:42.740
High-frequency is higher sounds.

11:42.740 --> 11:43.680
Higher-frequency sounds.

11:43.680 --> 11:50.360
And there's phase, which is where something is in its amplitude, because amplitude is moving up and down.

11:51.120 --> 11:53.420
And when we're dealing with computers, we're digitizing things.

11:53.420 --> 12:08.260
We're quantizing, which just means our microphone, when I'm recording my Metallica CDs or I'm backing up my Metallica audio, of course, I go into my microphone, let's say, and that has a sample rate.

12:08.260 --> 12:10.920
And the sample rate is the number of times per second I record.

12:11.200 --> 12:12.000
Or a frame rate.

12:12.000 --> 12:16.100
When you're taking a video, then if it's 30 frames per second, that's a sample rate.

12:16.100 --> 12:17.800
30 hertz, 30 times per second.

12:17.800 --> 12:19.380
And the bit rate, that's the depth.

12:19.380 --> 12:22.400
So that's how much quality or resolution we have.

12:22.400 --> 12:24.000
And these are really important factors.

12:24.580 --> 12:27.880
Also, waves can do very interesting things like interference.

12:28.000 --> 12:33.760
So with interference, we can do constructive and destructive interference.

12:33.760 --> 12:38.760
So your sound-canceling headphones, when you put those on, they have microphones on the outside.

12:38.760 --> 12:45.100
So that when you're listening to the Metallica that you ripped, I'm backed up, you hear the outside sound.

12:45.100 --> 12:48.080
And the microphone takes that outside sound and it inverts the wave.

12:48.080 --> 12:50.300
And it plays it along with Metallica.

12:50.300 --> 12:51.960
And those two cancel out.

12:51.960 --> 12:55.980
Just like a water wave with a high peak, high amplitude, and a low amplitude.

12:55.980 --> 12:58.120
If they hit, they will cancel out.

12:58.120 --> 12:59.820
So that's destructive interference.

12:59.820 --> 13:06.400
And there's many other places online and on the internet where you can get free tools to learn about physics.

13:06.500 --> 13:09.140
Such as Veritasium's channel.

13:09.440 --> 13:12.140
So Veritasium has amazing videos on physics.

13:12.520 --> 13:15.680
And there's so many interesting attacks that we can do with light.

13:16.780 --> 13:22.400
Here's Newton, actually, designing the cover for Pink Floyd's album, Dark Side of the Moon.

13:22.900 --> 13:26.960
I always thought that it was white light going to the prism and then refracting into the rainbow.

13:26.960 --> 13:34.400
But we're reverse engineers, so how do we know it's the white light going in versus the rainbow going to the prism and converting to white light?

13:34.400 --> 13:35.600
We don't really know.

13:35.600 --> 13:37.220
That's an interesting property of physics.

13:37.620 --> 13:40.840
Physics, almost everything works in reverse as well.

13:40.840 --> 13:44.420
If you have a speaker, then you're playing sound to that speaker.

13:44.420 --> 13:46.440
You have voltage going into the speaker.

13:46.540 --> 13:49.420
And that's electrons moving through a coil.

13:49.420 --> 13:53.880
And every moving charged particle has a magnetic field.

13:53.880 --> 13:57.060
And that magnetic field is pushing the speaker cone back and forth.

13:57.060 --> 14:00.000
That speaker cone is then pushing air back and forth.

14:00.000 --> 14:01.120
And that's what the sound is.

14:01.120 --> 14:03.620
The sound is the movement of matter.

14:03.960 --> 14:05.860
And the reverse is true as well.

14:05.860 --> 14:17.720
So if you have a speaker and you have air moving the speaker cone because the speaker's not on, then the speaker is also pushing electrons back and forth, which then produces a voltage in the coil.

14:17.720 --> 14:19.480
So every speaker is a microphone.

14:19.920 --> 14:21.660
Every microphone is also a speaker.

14:21.660 --> 14:24.580
Now, there are really poor quality versions, but it's true.

14:24.580 --> 14:26.240
And this is true with LEDs, for example.

14:26.240 --> 14:28.360
Every LED can shine light.

14:28.380 --> 14:32.380
But if you monitor the LED, you can actually have the light convert to voltage.

14:32.380 --> 14:34.620
And you can read light from an LED.

14:34.680 --> 14:36.140
Everything works in reverse.

14:36.140 --> 14:37.240
It's an important property.

14:37.600 --> 14:42.140
And these are ways that we can take advantage of energy and energy conversion.

14:42.140 --> 14:44.840
And the way that things actually work at a fundamental level.

14:45.000 --> 14:47.100
Here is a little bit of the electromagnetic spectrum.

14:47.100 --> 14:48.800
We can see the different colors.

14:48.800 --> 14:52.920
It's also important to note that, again, things like UV and IR, those are light.

14:52.920 --> 14:54.960
Radio is also just another type of light.

14:54.960 --> 14:56.160
It's just light we can't see.

14:56.160 --> 14:58.040
It's colors we can't see.

14:58.180 --> 14:59.460
FM radio.

14:59.460 --> 15:01.560
FM radio is frequency modulation.

15:01.660 --> 15:09.240
So when you tune into 102.7, kiss FM, you're listening to 102.7 megahertz on the electromagnetic spectrum.

15:09.300 --> 15:10.600
102.7 megahertz.

15:10.600 --> 15:12.160
And now the frequency is modulating.

15:12.160 --> 15:20.260
All that means is when there's audio, if you have a 10 kilohertz tone, it's a high-pitched tone, that's 102.71.

15:20.780 --> 15:24.740
So 102.7 megahertz plus 10 kilohertz.

15:24.840 --> 15:28.660
So your frequency is actually just moving up and down at 10 kilohertz.

15:28.660 --> 15:31.560
So you can think of an audio wave going like this.

15:31.560 --> 15:37.360
If we just flip it 90 degrees, then it's actually going like this, the frequency of the spectrum.

15:37.380 --> 15:39.160
Amplitude modulation, AM radio.

15:39.160 --> 15:44.580
When you listen to 98.7 AM, that's 98.7 kilohertz in the electromagnetic spectrum.

15:44.600 --> 15:47.200
And the amplitude is going up and down to the sound.

15:47.960 --> 15:49.740
Now, you can do some really cool things with light.

15:49.740 --> 16:00.160
There's the light commands research that people did where they found that if they shine a laser at something like a Google home, they can say, hey, Google, with light.

16:00.160 --> 16:01.720
They just modulate the light.

16:01.720 --> 16:05.820
They turn it on and off, where modulation just means turning on and off or oscillating.

16:05.820 --> 16:08.940
They turn it on and off to the frequency of sound.

16:08.940 --> 16:17.220
And if they record their sound, hey, Google, unlock my door, and they turn that light, that light hitting the microphone is heating up.

16:17.220 --> 16:21.340
It's absorbing inside of the microphone, the MEMS microphone, and that produces heat.

16:21.340 --> 16:23.360
And heat is vibration of particles.

16:23.400 --> 16:26.620
And that microphone then believes that it's hearing sound.

16:26.620 --> 16:32.660
So that means you can shine light through a window and trigger the Google home to do things for you.

16:33.060 --> 16:34.500
There's also infrared light.

16:34.500 --> 16:42.320
This is a Mark Rober did a video showing just a thermal camera where he then pressed a pin, and heat is constantly transferring.

16:43.100 --> 16:47.760
So just by touching these buttons, heat from his finger goes to the button and then leaves a mark.

16:47.760 --> 16:51.380
We don't see it with our eyes, but with a thermal camera like a FLIR camera, you can do that.

16:51.780 --> 16:52.240
Ultraviolet.

16:52.240 --> 16:55.760
So ultra from Latin meaning beyond, on the far side of.

16:55.760 --> 16:57.760
So it's on the far side of the visible spectrum.

16:58.340 --> 17:04.840
Bunny did an amazing example with ultraviolet light where he took a PIC microcontroller that had firmware that he wanted to extract.

17:04.840 --> 17:11.080
But the PIC microcontroller had an e-fuse, an electronic fuse that said, do not allow anyone to debug and access memory from this.

17:11.160 --> 17:12.140
And he opened it up.

17:12.140 --> 17:16.040
He used nitric acid, sulfuric acid to get to the silicon.

17:16.040 --> 17:21.920
He covered up the area other than the electronic fuses, and then he shined UV light, which erased it.

17:21.920 --> 17:24.180
That's how programmable read-only memory used to work.

17:24.180 --> 17:27.420
We would shine UV light to erase it, and then we could program it.

17:28.360 --> 17:31.320
Then there's radio, which, again, is just another part of the spectrum.

17:31.320 --> 17:32.620
We talked about FM a little bit.

17:32.620 --> 17:33.780
We talked about AM.

17:33.780 --> 17:38.920
We're all familiar with, say, 2.4 gigahertz Wi-Fi or Bluetooth, 5 gigahertz Wi-Fi.

17:38.920 --> 17:43.800
Our microwaves, the microwave that you make popcorn at home, that's actually 2.4 gigahertz.

17:43.800 --> 17:45.960
Microwaves and radio are the same exact thing.

17:46.340 --> 17:47.720
There's the Tempest attack.

17:47.720 --> 17:55.820
The NSA found, in the 60s, they knew that a CRT monitor, a cathode ray tube, would constantly emit radio frequency.

17:56.700 --> 18:00.620
And that radio frequency, they could hear in an adjacent room.

18:00.620 --> 18:04.640
They could essentially listen to the radio frequency and see what's on the monitor.

18:04.640 --> 18:07.640
And there are monitor attacks like this today that are happening.

18:08.280 --> 18:10.840
We talked a little bit about the AM and FM.

18:11.420 --> 18:19.680
Then electromagnetism, electro from amber, because the Greeks found that when you rub amber with something like fur, they would attract or repel.

18:20.320 --> 18:30.760
And magnetism from Magnesian stone, because there's a place called Magnesia where they found stone, and the stone was attracted to other Magnesian stones, we realized later as magnetism.

18:30.760 --> 18:33.880
This was an example project a few years ago called MagSpoof.

18:33.880 --> 18:37.200
I was interested in how the MagStripes actually worked within our credit cards.

18:37.300 --> 18:38.480
Oh, that's loud.

18:39.100 --> 18:46.680
And I put my credit card inside of iron oxide filings, and you can actually read the ones and zeros off of my credit card.

18:46.800 --> 18:51.580
I'm not even sure why I put the electrical tape, because you can just read the credit card number off the bits at the top.

18:51.740 --> 18:53.760
And I thought, all right, well, what are all these numbers?

18:53.760 --> 18:54.860
And it's a credit card number.

18:54.860 --> 18:55.740
There's a CVV.

18:55.740 --> 18:57.180
There's actually a separate CVV.

18:57.180 --> 18:59.220
There's a written one, and there's one in the MagStripe.

18:59.240 --> 19:01.180
Now, we think, all right, well, who uses MagStripes, right?

19:01.180 --> 19:02.540
We always chip or NFC.

19:02.660 --> 19:05.640
But have you ever put your credit card in a MagStripe machine?

19:05.640 --> 19:08.080
It's like, hey, this is a chip card.

19:08.080 --> 19:09.800
Well, how does it know that it's a chip card?

19:10.160 --> 19:11.440
Well, the MagStripe tells it.

19:11.440 --> 19:13.060
The MagStripe says, no, this is a chip card.

19:13.060 --> 19:14.280
You need higher security.

19:14.280 --> 19:17.800
So what happens if you turn that one to a zero and say, no, no, no, there's no chip on here.

19:17.800 --> 19:18.840
There's no NFC.

19:19.200 --> 19:21.140
Well, it will...

19:21.140 --> 19:22.040
This is the device.

19:22.040 --> 19:25.880
This is the MagScoop device, and it just produces a magnetic field.

19:27.400 --> 19:29.640
And if you turn... I use the chip card.

19:29.640 --> 19:36.420
I put the MagStripe data onto this, and it was then able to make transactions without the chip.

19:36.840 --> 19:42.040
So if you just have access to a MagStripe temporarily, you can then convert the chip to a non-chip card.

19:42.460 --> 19:44.280
There are some other interesting attacks.

19:45.500 --> 19:46.320
There's sound.

19:46.320 --> 19:48.140
There's so many interesting things that we can do with sound.

19:48.140 --> 19:50.260
There's audible sound, which is what humans can hear.

19:50.400 --> 19:52.800
We can hear 20 to 20 kilohertz.

19:53.180 --> 19:54.180
I'm a little older.

19:54.180 --> 19:56.160
I can maybe hear to 15 kilohertz.

19:56.580 --> 19:59.180
If you listen to a lot of music, you probably hear less.

19:59.680 --> 20:05.740
Berkeley had some amazing research where they used a microphone to listen to the sound from a keyboard.

20:05.740 --> 20:15.640
And there's a lot of research that I was able to fortunately take advantage of in using other people's tools and research to learn how can I understand what's happening on a keyboard.

20:15.640 --> 20:19.380
There's something really interesting about all the information that we are constantly inputting.

20:19.380 --> 20:22.200
Maybe that's because I'm on a computer every single day typing.

20:22.280 --> 20:25.020
I think it's cool to know that what am I typing?

20:25.020 --> 20:29.080
What can someone figure out what someone else is typing?

20:29.100 --> 20:36.660
And they were able to just have a microphone listen to what the sound your computer is making and convert that back to keys.

20:36.880 --> 20:39.640
Ultrasound, again, ultra on the far side of.

20:40.460 --> 20:47.020
The University of Tel Aviv had some awesome research where they were using a microphone from a standard cell phone.

20:47.020 --> 20:50.420
And they would listen to the ultrasound coming from your computer.

20:50.420 --> 20:54.140
As your computer is performing encryption operation, let's say it's using RSA.

20:54.140 --> 20:57.560
If you're encrypting a 1-bit versus 0-bit, it takes different operations.

20:57.560 --> 21:02.100
It might do a multiplication followed by a modular or an exponent followed by a modular versus a multiplication.

21:02.480 --> 21:09.700
And because of those different operations take different amounts of power, that's different amounts of power going through capacitors and inductors of the CPU.

21:09.700 --> 21:13.860
Those capacitors and inductors are producing all of these charged particles.

21:13.860 --> 21:16.440
All these electrons moving is producing magnetism.

21:16.440 --> 21:19.540
That magnetism is then moving things on your CPU.

21:19.540 --> 21:23.160
So these actual caps are moving within your CPU.

21:23.160 --> 21:28.260
And they're producing ultrasound because they're moving at a frequency higher than we can hear, above 20 kilohertz.

21:28.260 --> 21:35.300
So if you can hear that with a microphone in a lab environment, then you can convert that back to 1s and 0s and extract secret keys.

21:35.300 --> 21:36.900
Pretty amazing stuff.

21:36.900 --> 21:39.200
All of this is really just energy conversion.

21:39.200 --> 21:41.960
Everything that's happening is a conversion of energy.

21:41.960 --> 21:43.820
And that's really interesting.

21:43.860 --> 21:46.300
So how can we take advantage of energy conversion?

21:48.780 --> 21:52.020
And I started to get interested in laser microphones.

21:52.400 --> 21:57.220
So I saw a talk 15 years ago here at DEF CON, and it was incredible.

21:57.220 --> 22:00.040
It was about how to use a laser microphone.

22:00.040 --> 22:10.440
Now, the first laser microphone, not really a laser microphone, but a microphone that was, let's say, passive, was from Leon Theremin.

22:10.440 --> 22:15.760
If you're familiar with the Theremin instrument, Leon Theremin created this Theremin instrument.

22:15.760 --> 22:17.200
He was an engineer and physicist.

22:17.260 --> 22:19.480
He also created something called The Thing.

22:20.020 --> 22:22.540
And he gave this to our friends at the KGB.

22:22.580 --> 22:25.320
And The Thing was a passive device.

22:25.560 --> 22:27.420
Many of us are familiar with RFID devices.

22:27.420 --> 22:32.120
They're passive cards, and they go into a field, an RFID field from, say, a reader.

22:32.120 --> 22:34.020
And that reader emanates radio.

22:34.020 --> 22:35.760
And then that energizes the card.

22:35.760 --> 22:39.260
The card now has enough power that it can run a little processor and respond.

22:39.340 --> 22:42.880
Once it gets back, this was the first implementation of RFID.

22:42.880 --> 22:47.260
And instead of a card with an ID, he put in a microphone.

22:47.300 --> 22:49.900
And that microphone then went into a seal.

22:49.900 --> 22:53.300
And this was a gift that the Soviet Union gave to the U.S.

22:53.300 --> 22:55.280
ambassador in 1945.

22:56.120 --> 22:58.680
They put that, no battery, right?

22:58.680 --> 23:00.020
No battery at all.

23:00.160 --> 23:04.140
Because Leon Theremin realized that he could passively power things.

23:04.140 --> 23:07.500
He could power things from far and then get information back.

23:08.100 --> 23:09.980
It was many years before the U.S.

23:09.980 --> 23:11.940
realized that there was a microphone.

23:12.000 --> 23:15.340
Whenever that they were being powered from the outside, they could get audio back.

23:16.120 --> 23:21.780
Now, blazed microphones is a way of using light in order to listen to sound.

23:21.780 --> 23:26.600
So if I can shine a light at a window, and the window now sound.

23:26.600 --> 23:29.920
Sound is the vibration of matter, typically air, right?

23:29.920 --> 23:34.500
We're typically listening to air, but you can have sound go through solid materials.

23:34.500 --> 23:36.840
You can have sound go through water liquids.

23:37.260 --> 23:40.220
And you don't actually need a laser, you just need light.

23:40.220 --> 23:44.080
And the light can be visible or invisible, as long as we have a way to receive it.

23:44.240 --> 23:53.300
So it was this talk, Sniffing Keystrokes with Lasers and Voltmeters, by Andrea Barassani and Danielle Bianco, at DEF CON 17.

23:53.560 --> 23:55.660
And this really blew my mind.

23:55.660 --> 24:07.540
What they were able to do was they were able to point a red laser at a reflective part of a laptop within a room, and then pick up the reflection on a photodiode or photoresistor.

24:07.640 --> 24:12.900
And they picked it up, they plugged that into their sound card, and they were able to listen to the keystrokes.

24:12.920 --> 24:17.520
Now, it took a lot of work, definitely a proof of concept, but absolutely incredible.

24:17.720 --> 24:19.880
And I've always been interested in these keyboards.

24:19.880 --> 24:22.760
A few years ago, I had released a project called Keysweeper.

24:22.780 --> 24:28.680
Keysweeper is just an Arduino-based device that's inside of a USB charger.

24:28.680 --> 24:33.260
You plug the USB charger into the wall, and it's just sniffing every Microsoft wireless keyboard in the vicinity.

24:33.280 --> 24:36.460
It also has a GSM chip, so it's actually connected to a cell phone network.

24:36.460 --> 24:39.680
It has a battery inside, so if it gets pulled out, it continues to operate.

24:39.800 --> 24:43.460
And then you can inject keystrokes, and you can listen to all keyboards in the vicinity.

24:43.940 --> 24:48.800
Fortunately, the FBI released a notice to the industry saying, watch out for these Keysweeper devices.

24:49.120 --> 24:50.860
And I read that someone sent that to me.

24:50.860 --> 24:54.780
And I read, it said, limit which outlets are available for device charging.

24:54.880 --> 24:56.980
Some suggestions, just for all of us.

24:56.980 --> 24:59.740
Know which chargers are currently being used.

24:59.800 --> 25:03.580
Immediately remove unknown chargers, whenever you see them.

25:04.000 --> 25:07.100
I don't think they realized that it's really just the circuitry inside the charger.

25:07.100 --> 25:09.020
The charger was just to be clandestine.

25:09.060 --> 25:11.440
So, you could put it in a banana.

25:11.600 --> 25:14.660
At which point, you would have to limit which bananas are available for device...

25:14.660 --> 25:20.780
You'd have to know whose bananas are currently being used, and immediate removal of any unknown bananas from the office.

25:20.780 --> 25:23.180
So, beware of bananas and USB chargers.

25:23.520 --> 25:24.860
But, keystrokes.

25:24.860 --> 25:28.140
So, these guys demonstrated the components that they used.

25:28.320 --> 25:31.360
Common laser, like off-the-shelf laser, resistor, or battery.

25:31.960 --> 25:33.660
And this was their schematic.

25:33.940 --> 25:38.320
So, what they did was, they had the laser hit a laptop.

25:38.400 --> 25:43.320
It would reflect off the laptop, and then it would go into a photodiode or photoresistor.

25:43.320 --> 25:45.520
They would power that, and they would go into the microphone.

25:45.520 --> 25:48.720
And the reason for the microphone is that that's an analog-to-digital converter.

25:48.720 --> 25:50.760
That can convert the actual light waves.

25:50.760 --> 25:54.080
So, the photodiode converts the light waves to electricity.

25:54.080 --> 25:56.440
And that electricity is still a wave.

25:56.440 --> 25:57.800
It's just like our A.C.

25:57.800 --> 25:58.620
So, our A.C.

25:58.620 --> 26:05.180
that's producing 120 volts RMS voltage in the wall, that's traveling at 60 hertz.

26:05.180 --> 26:07.640
60 times per second is moving up and down.

26:08.900 --> 26:12.100
And you can actually take advantage of that.

26:12.500 --> 26:16.300
There was a... I was curious, actually, whether it really was 60 hertz.

26:16.340 --> 26:20.820
So, I had connected a transformer to my A.C.

26:20.820 --> 26:23.760
line, and converted that 120 volts down to 12 volts.

26:23.760 --> 26:26.560
And then I measured the zero crossing, every time it would cross zero.

26:26.560 --> 26:28.320
Because I was curious, it says 60 hertz.

26:28.320 --> 26:30.400
Does that actually mean 60 times per second?

26:30.400 --> 26:33.100
Or does it mean, like, between 59 and 61?

26:33.100 --> 26:37.580
And I found that 60 hertz is more accurate than the clock in my phone.

26:37.800 --> 26:44.960
So, if my clock in my phone is not on Wi-Fi, I can use the 60 hertz from the wall to measure time, because it's so accurate.

26:45.100 --> 26:48.080
And I didn't understand, why is the wall, why is the 60 hertz so accurate?

26:48.080 --> 26:49.520
Apparently, it's connected to GPS.

26:49.520 --> 26:53.780
So, if one power station goes down, another station can pick it up.

26:53.800 --> 26:56.200
But the interesting thing is, it's not always accurate.

26:56.200 --> 26:58.800
It would actually remain accurate only for a short period of time.

26:58.800 --> 27:00.000
And then it would drift.

27:00.200 --> 27:03.700
And I realized that you can take advantage of that drift, and you can exploit that.

27:03.700 --> 27:12.240
So, what you can do, is you can say, if I measure that drift over time, you can take that and use that as a fingerprint of a location.

27:12.240 --> 27:15.720
Because every power station has its own unique fingerprint of that drift.

27:15.720 --> 27:26.200
So, if you put a Raspberry Pi and a transformer in different power stations, just in the wall, you can have a public database, where you're all sending the drift of this information, the 60 hertz signal.

27:26.280 --> 27:33.000
And now, whenever you have a recording, a video recording or an audio recording, you can perform a match and figure out where that audio recording was taken.

27:33.000 --> 27:34.860
Or where that video recording was taken.

27:35.040 --> 27:38.540
Just another interesting project that we could take advantage of.

27:38.540 --> 27:42.960
And there's so much other interesting research in the laser microphone and the keyboard acoustics.

27:42.960 --> 27:47.920
Ben Nassi, he did Lamp Phone, Glow Worm, many other attacks.

27:48.140 --> 27:52.720
There's the visual microphone, there's keyboard acoustic side channels, keyboard acoustic emanations.

27:53.160 --> 27:55.780
And I want to see, A, can I implement this laser microphone?

27:55.780 --> 27:58.400
And B, can I have some improvements?

27:58.400 --> 27:59.660
And can I also hear sound?

27:59.660 --> 28:01.420
I want to hear sound from a window.

28:02.060 --> 28:04.640
Now, first, it's really, really important.

28:04.660 --> 28:06.120
Lasers are not a toy.

28:06.120 --> 28:07.220
I mean, they're a lot of fun.

28:07.280 --> 28:08.280
Cats love them.

28:08.380 --> 28:09.780
They're a toy to cats.

28:09.780 --> 28:13.980
But you can, oh my god, you can burn your eyes.

28:13.980 --> 28:18.720
So you do actually want to always use laser safety glasses, goggles.

28:18.720 --> 28:22.960
When you're buying a 5 milliwatt laser, it doesn't mean it only outputs 5 milliwatts.

28:22.960 --> 28:24.600
It can output much more power.

28:25.420 --> 28:28.520
America, we have the ANSI standard Z136.1.

28:28.520 --> 28:30.120
Europe uses EN207.

28:30.120 --> 28:34.060
Make sure you're getting from a laser safety goggles from a reputable source.

28:34.060 --> 28:37.760
And also for the wavelength, for the color of light that you're working with.

28:37.760 --> 28:39.260
Now let's talk about hardware.

28:39.440 --> 28:45.260
So I first tried to reimplement the original laser microphone.

28:45.600 --> 28:48.300
And it took me a while to get it working.

28:48.340 --> 28:50.060
And the sound quality wasn't great.

28:50.060 --> 28:51.600
Now, it was still incredible.

28:51.600 --> 29:01.820
Like, as soon as you get to hear sound, that you're bouncing off a window, and then reflecting back and picking up, and you can hear what's going on inside, it's a really magical feeling.

29:02.140 --> 29:03.660
And I wanted to see, can I improve it?

29:03.660 --> 29:04.680
Can I improve the quality?

29:04.680 --> 29:06.380
Because it just, it wasn't that great.

29:06.380 --> 29:08.880
Here's my transmit side.

29:08.880 --> 29:11.340
So we've updated the system a little bit.

29:11.860 --> 29:17.600
The primary things, the primary differences, for one is, normally you just have a laser and you point it at the window.

29:17.600 --> 29:23.520
Every schematic, every laser microphone I've ever seen, simply has a constant laser source.

29:23.520 --> 29:25.560
Hitting something and reflecting back.

29:25.900 --> 29:28.640
The problem I found with this is that there's so much noise.

29:28.640 --> 29:31.300
We have a 60 hertz noise from the wall.

29:31.300 --> 29:34.000
We have all sorts of noise from computers around.

29:34.000 --> 29:37.780
And all of this stuff is typically low frequency noise, that is messing with your signal.

29:37.780 --> 29:39.220
And we need to get rid of that.

29:40.120 --> 29:47.320
So, I found a laser driver, this is a laser driver I had, that had something called an RF Bias T.

29:47.320 --> 29:49.160
And what this means is, it's a mixer.

29:49.160 --> 29:54.320
So you can have a constant current source, that's powering the laser, and then you can have another source that's oscillating.

29:54.760 --> 30:02.420
And I was thinking, well, what they do in radio, is that they'll oscillate things at different frequencies, to get away from other frequencies that might be harming.

30:02.420 --> 30:05.780
So what if we turn the laser on and off, in the RF domain?

30:05.780 --> 30:09.740
If we go into radio, and we're turning that light on and off, at the radio frequencies.

30:10.580 --> 30:14.540
Then we can actually get away, from all of that noise that we hear.

30:14.840 --> 30:17.640
Here you can see the different parts of the system.

30:17.660 --> 30:22.480
So, the oscilloscope in the top, I use that simply because I have a signal generator built in.

30:22.540 --> 30:23.660
It's a Rigol.

30:23.700 --> 30:29.300
I'll have the full details, the full bill of materials, in a future slide.

30:29.300 --> 30:34.480
But the current controller and temperature controller, you do not need a temperature controller, but that's just what I have at home.

30:34.620 --> 30:36.940
Current controller for the constant current source.

30:36.940 --> 30:38.620
In the top, there's that black box.

30:38.620 --> 30:39.920
That's the laser driver.

30:40.400 --> 30:43.100
There's also the RF mixer built into that.

30:43.100 --> 30:44.560
I use a collimating lens.

30:44.560 --> 30:50.000
So what collimation means is, collimation means it just takes light, and tries to make it into a single dot.

30:50.120 --> 30:52.420
Or a straight...

30:52.420 --> 30:55.760
If you take a flashlight, you typically have an unfocused beam of light.

30:55.760 --> 30:59.400
A collimated beam is a beam that does not focus or defocus.

30:59.400 --> 31:04.580
I used to think a laser, what made a laser a laser was that it was collimated, that it was a straight line.

31:04.580 --> 31:05.560
And that's not true.

31:05.560 --> 31:07.220
It's not collimation.

31:07.220 --> 31:10.060
What makes a laser a laser is that it's coherent.

31:10.120 --> 31:13.360
And all that means is that the phase of light coming out is always the same.

31:13.360 --> 31:14.980
It always starts at the same place.

31:14.980 --> 31:21.000
It's not important for this attack, just something I thought was interesting for me, to understand what a laser is.

31:21.180 --> 31:26.380
The flexor, that just lets us actually direct the light up and down very easily.

31:26.380 --> 31:28.820
A shutter is to really tighten our beam.

31:28.820 --> 31:33.500
So even though we have a collimation, and we're collimating this laser beam, we want to get a really tight beam.

31:33.500 --> 31:36.580
So a shutter just lets us close that even further.

31:37.180 --> 31:39.460
And behind the lens, there's a laser diode.

31:39.460 --> 31:41.080
And all of these you can buy separately.

31:41.080 --> 31:48.140
And the nice thing is that with the laser diode, I can use a red light normally when testing, but then I can move to the infrared where we don't see it.

31:49.120 --> 31:51.820
So these are the actual components I'm using.

31:52.420 --> 31:56.780
The obligatory turn on the fog and check out the cool red laser beam.

31:58.320 --> 32:00.880
Then we want to actually receive that information.

32:00.880 --> 32:01.920
So how do we receive it?

32:01.920 --> 32:04.780
The typical setup is we have a photo diode and a sound card.

32:04.980 --> 32:07.040
But what we're doing is we're modulating.

32:07.040 --> 32:13.220
So with the signal generator, we start modulating this thing at hundreds of thousands of times per second.

32:13.340 --> 32:17.160
So the sound, humans can hear between 20 hertz and 20 kilohertz.

32:17.160 --> 32:18.800
So I want that sound.

32:19.040 --> 32:28.340
But I want to then get away from those low frequencies because there's so much electromagnetism at those frequencies that it's disrupting the signal I'm getting.

32:28.340 --> 32:35.400
Because we're getting very little light back from the laser that's reflecting off a window or off a computer.

32:36.040 --> 32:42.960
So first, and the sound card can only listen to, say, 48 kilohertz or 192 kilohertz.

32:43.140 --> 32:45.740
To get away from all that sound, we modulate the laser.

32:45.740 --> 32:48.400
We turn the laser on and off 400,000 times per second.

32:48.400 --> 32:50.260
So we're at 400 kilohertz.

32:50.260 --> 32:53.880
So we need something other than a sound card that can actually accept this.

32:55.020 --> 32:58.340
So first, I thought, okay, well I can use a bunch of analog components.

32:58.340 --> 33:01.700
The problem with analog components and electronic circuitry is it's a huge pain.

33:01.700 --> 33:05.560
So as you're putting these little components on a circuit board, for one, you're dealing with high frequencies.

33:05.740 --> 33:11.460
So as you're trying to change, as you're trying different filters and amplifiers, all of this is very difficult.

33:11.460 --> 33:13.880
And I think, man, I really wish I could use GNU Radio.

33:14.020 --> 33:16.560
GNU Radio is open source signal processing software.

33:16.640 --> 33:19.520
And with that, then I can drag and drop and life is just great.

33:19.520 --> 33:24.320
I can sit back in my chair, drink some caffeine, and just play with these little blocks.

33:24.320 --> 33:26.400
And just test different things to see what works.

33:26.560 --> 33:32.440
The problem, the challenge with using GNU Radio is that I need then a software-defined radio to pull that data in.

33:32.440 --> 33:38.280
The sound card won't work because I need something that can listen to not only 400 kilohertz, I need to go at least double that.

33:38.280 --> 33:39.060
It's called Nyquist theorem.

33:39.060 --> 33:44.380
I need to go to at least 800 kilohertz of a sample rate, how fast I'm listening to that data.

33:44.640 --> 33:49.000
And I can use a software-defined radio, but software-defined radios don't ever go that low.

33:49.040 --> 33:52.900
So, the RTL-SDR, I'm not sure where that goes, maybe 100 megahertz.

33:53.300 --> 33:53.860
Excuse me.

33:54.080 --> 34:05.060
The HAKR-F, amazing, I love the HAKR-F, but the minimum frequency it can listen to is at about, let's see, 1 megahertz, and we're at 400 kilohertz.

34:05.180 --> 34:12.080
The USRP, it also has a very low bitrate, so it's about, the analog-to-digital converter has an 8-bit sample rate.

34:12.080 --> 34:16.760
And we want higher samples, we want higher resolution so we can extract more signal.

34:17.460 --> 34:25.440
The USRP-B210 has 12 bits, which is good, but it requires 70 megahertz, and we're just down at 400 kilohertz.

34:26.320 --> 34:29.880
But, then I started looking, and there was something called an up-converter that we can get.

34:29.880 --> 34:35.200
So, the up-converter actually adds 125 megahertz to a signal, as long as it's at least 100 kilohertz.

34:35.260 --> 34:36.840
So, we're at 400 kilohertz.

34:36.940 --> 34:39.240
So, ultimately, what I use is a photodiode.

34:39.240 --> 34:44.080
I go into an amplifier, that amplifier then goes into a ham-it-up V-tube.

34:44.080 --> 34:46.740
That adds 125 megahertz to our 400 kilohertz.

34:46.740 --> 34:49.720
So, now we're at 125.4 megahertz.

34:49.720 --> 34:53.640
Then I go into the USRP, now that can go into my computer.

34:53.640 --> 34:55.000
Here's the physical setup.

34:55.000 --> 34:57.200
This is the receiving side.

34:57.320 --> 35:04.180
Lens, to capture light, into a photodiode, into the amp, into the USRP-B210, into the computer.

35:04.400 --> 35:08.800
If you see this outside of your window, it's super sketchy.

35:08.940 --> 35:12.040
Maybe, like, shut the blinds, call the police.

35:12.700 --> 35:18.000
But, once you actually point this laser at a computer... Now, there are some big challenges here.

35:18.000 --> 35:22.060
Actually, performing alignment is very, very, very challenging.

35:22.140 --> 35:28.560
Getting sound is actually not so challenging, because our ears, we're pretty good at listening to just 1 kilohertz of sound.

35:28.560 --> 35:33.940
Although we can hear up to 20 kilohertz, just 1 kilohertz, we can usually make out what someone is saying.

35:34.800 --> 35:41.760
Getting above, I'd say, 4 kilo, like, the best I was able to get above was 4 to 5 kilohertz of sound.

35:41.900 --> 35:45.540
And I found for keystroke extraction, I needed to get to 3 kilohertz.

35:45.540 --> 35:48.740
If I got to 2.5 kilohertz, I could not convert anything to keystrokes.

35:48.740 --> 35:52.260
If I got to 3 kilohertz, I could start converting to keystrokes.

35:52.840 --> 35:57.720
Here's the hardware on the transmit side, just the actual components, just so you know.

35:58.300 --> 36:00.720
Here is the RX side.

36:00.720 --> 36:03.960
This will all be online, so if you want to know the exact components I used.

36:04.080 --> 36:10.160
And one of the other improvements that I wanted to make here, for one, now that we're getting into the RF domain, we get away from all this noise.

36:10.160 --> 36:12.260
And we can actually filter out that noise.

36:12.300 --> 36:14.780
Another cool thing is I wanted to do this in infrared.

36:14.780 --> 36:18.900
I don't want someone seeing me standing outside pointing a laser into their window.

36:18.900 --> 36:20.640
That's just too obvious.

36:21.120 --> 36:25.520
So I got an infrared laser diode and how do I actually align to the infrared?

36:25.520 --> 36:26.760
Because I can't see it.

36:26.760 --> 36:28.240
So I got this infrared camera.

36:28.280 --> 36:30.620
It's the X-Nite USB 2S M.

36:30.620 --> 36:31.760
It's around $120.

36:31.860 --> 36:32.820
It's very cool.

36:32.820 --> 36:36.900
It's actually very exciting to be able to see infrared just around you.

36:37.320 --> 36:50.400
And here's a... it's maybe hard to tell, but I have the laser diode going and hitting a white square and you can't see it on my camera, my phone camera, because my phone camera also can't see IR and my eyes can't see IR.

36:50.700 --> 36:58.580
And then here, just so we can see, I made a recording with that camera pointing the laser at my laptop and you can kind of see the reflection.

36:58.800 --> 37:13.900
I'm sitting below the laptop with a steam iron and I'm just steaming my laptop until, I think it was the first time I ever used a steam iron, until boiling water boiled down on me and I was like, ah, so I got maybe a few seconds before I burnt myself.

37:14.140 --> 37:17.320
But while I was doing this testing, I also saw something else interesting.

37:17.400 --> 37:22.660
I pulled out my phone and I wanted to change the song because Spotify was playing.

37:22.720 --> 37:30.140
And when I unlocked my phone, I saw these dots not on the wall, but I saw it on the IR recording.

37:30.220 --> 37:32.040
I'm like, wait, what's happening?

37:32.220 --> 37:37.120
When I pulled out my phone, I realized, this is LIDAR.

37:37.120 --> 37:39.240
So my phone is using LIDAR on the back.

37:39.240 --> 37:39.820
I'm like, why?

37:39.820 --> 37:43.140
Why is it projecting all these infrared dots that we cannot see with our eyes?

37:43.140 --> 37:45.740
And it only happens when the camera app is open.

37:46.300 --> 37:47.620
And it's actually very cool.

37:47.620 --> 37:50.280
It's figuring out, how far is the object?

37:50.660 --> 37:51.680
How far is it?

37:51.680 --> 37:54.480
And if it's close, it's going to use the close camera.

37:54.480 --> 37:56.540
You have a bunch of cameras on the back of your phone.

37:56.540 --> 37:59.000
So it's deciding which camera to use.

37:59.000 --> 38:02.340
So when you go closer to an object, it will automatically switch to a different camera.

38:02.440 --> 38:06.500
And I thought, that's really cool, but what if I can actually measure this?

38:06.500 --> 38:14.300
So I put this in my spectrometer just to see what wavelength of infrared this was because now we can just monitor for this wavelength of light.

38:14.480 --> 38:27.620
So imagine you have a little device with a photo diode, a photo sensor on you, so that whenever someone points their phone camera at you, you get a little vibration because you can just measure for that frequency of light and for that on and off path.

38:27.620 --> 38:32.660
And now you can know when someone points their phone camera at you before they're even recording.

38:32.940 --> 38:38.380
And it only will show, you can see that sort of rectangle, that's exactly the same path.

38:38.580 --> 38:42.460
That means I could just make all of you vibrate right now.

38:42.460 --> 38:44.020
How fun would that be?

38:44.740 --> 38:47.000
So separate project, we'll do that another time.

38:47.000 --> 38:48.220
So there's the RF modulation.

38:48.220 --> 38:51.580
This is the biggest improvement that I've seen in this laser microphone.

38:51.580 --> 38:54.080
So actually getting into the RF domain.

38:54.520 --> 38:57.040
The photo diode I use, this is the Spot 2D.

38:57.040 --> 38:59.740
It's pretty interesting, it actually has two cells.

38:59.740 --> 39:02.860
So where photo diodes are typically one pixel, this is really two pixels.

39:03.240 --> 39:08.420
The hardest challenge, the biggest challenge of this whole system is that you must get essentially to the edge of the diode.

39:08.420 --> 39:11.040
You don't want to get the light in the center, you want to get to the edge.

39:11.040 --> 39:16.780
Because as soon as the edge, you essentially want your light, your reflection to go on and off that diode.

39:16.960 --> 39:20.440
If you're in the center, then you're just gonna, you're not gonna get much variation.

39:20.440 --> 39:22.440
But if you're at the edge, that's where you get all the variation.

39:23.040 --> 39:25.800
I noticed there was a hair in their photo.

39:25.880 --> 39:29.300
Fortunately there was no hair in the photo diode they sent me, so I didn't have to send it back.

39:29.980 --> 39:31.400
And then the software that we use.

39:31.400 --> 39:33.800
So we use some awesome software.

39:33.840 --> 39:35.060
First, GNU Radio.

39:37.520 --> 39:41.520
And we'll quickly go through the steps here, but all this will be online as well.

39:42.020 --> 39:45.260
So GNU Radio, all the red stuff on the left, we can, those are just variables.

39:45.260 --> 39:50.840
That just makes it easier for me to, just like in software, to use a single variable that will change things in multiple areas.

39:50.840 --> 39:58.460
The things circled in blue, those are just GUI, those are just graphical syncs, so we can see information.

39:58.760 --> 40:04.540
The heart of it, the heart of the GNU Radio stuff is, first we start with our USRP source.

40:05.480 --> 40:10.520
So this pulls in data at a sample rate of 4.8 megahertz, or mega-samples per second.

40:10.520 --> 40:13.900
Our center frequency is 125.2 megahertz.

40:13.900 --> 40:19.220
So 125 megahertz because of the RF up-converter, the Hammond up, and then 200 kilohertz.

40:19.220 --> 40:25.400
Now, we're actually modulating at 400 kilohertz, but we don't want to listen at 400 kilohertz because there's something called the DC spike.

40:25.400 --> 40:33.960
Any software-defined radio is going to give you this giant DC spike, and you want to move away from that, and then you filter out that DC spike, and then you can listen to the actual data you want.

40:34.600 --> 40:43.300
We mentioned a couple different SDRs, the reason I chose the B210 was because it had a high resolution, or bitrate, and it had a high sample rate.

40:43.880 --> 40:46.200
You can also use a Salier logic analyzer.

40:46.200 --> 40:48.300
I realize this is also actually pretty nice.

40:48.300 --> 40:51.600
50 mega samples per second is also 12 bits.

40:52.820 --> 40:56.180
Then we go into a translating FIR filter.

40:56.180 --> 40:57.420
This is three things.

40:57.420 --> 40:59.120
First, it's a bandpass filter.

40:59.320 --> 41:02.140
Oh , first, it actually changes the frequency you're at.

41:02.140 --> 41:06.900
So we want to go from 125.2 to 125.4.

41:06.900 --> 41:08.180
That's where our sound is.

41:08.180 --> 41:12.580
So now we're centered on the sound, and the sound is moving up and down.

41:12.620 --> 41:18.820
So our signal is some sort of sound wave, but our amplitude modulated signal is at 400 kHz.

41:18.820 --> 41:20.260
So it's going up and down.

41:20.400 --> 41:24.240
So the FIR filter will also then do a bandpass.

41:24.240 --> 41:27.600
So now we're saying, I only want what's around the 400 kHz.

41:27.900 --> 41:30.640
Everything else we can ignore.

41:30.640 --> 41:32.800
So we bandpass that out, and then we decimate.

41:32.800 --> 41:36.580
Decimate just brings, we bring the sample rate down to a more usable sample rate.

41:36.580 --> 41:40.180
Then we go into, and we amplitude demodulate.

41:40.180 --> 41:43.420
So we convert the AM back into the actual sound.

41:43.420 --> 41:46.200
So now we can hear sound, and then we save the file.

41:46.740 --> 41:48.420
Then we use something called iZotope RX.

41:48.420 --> 41:50.040
This is absolutely incredible software.

41:50.040 --> 41:52.760
It's commercial software, but it's very good.

41:52.820 --> 41:54.520
It's great at spectral repair.

41:54.520 --> 41:58.120
And it gives you a spectrograph, so you can actually see what's happening inside of your signal.

41:58.540 --> 42:02.220
And then you can do all sorts of things like de-s, de-hum, de-splosive.

42:02.220 --> 42:03.880
I have no idea what de-splosive is.

42:04.100 --> 42:07.240
But it has a lot of ways that you can improve the signal.

42:07.240 --> 42:11.900
So you can say, hey, I want to learn this area of sound where there's just a lot of noise.

42:11.900 --> 42:15.460
Learn that, and now apply it to the rest of the signal and remove that noise.

42:16.120 --> 42:18.820
FFmpeg, just so we can actually convert some things around.

42:18.840 --> 42:23.120
And then KeyTap3 is really the heart of the system for the keystroke extraction.

42:23.120 --> 42:24.900
We want to know what the person is typing.

42:25.180 --> 42:26.680
And I like this guy's GitHub.

42:26.680 --> 42:29.180
He says, I like BigVMRC and I cannot lie.

42:29.980 --> 42:37.340
So KeyTap3 is part of this software where he takes audio and he's able to then separate out the keystrokes.

42:37.340 --> 42:43.120
Now what's interesting is that when you have a keyboard and you press some keys on it, every key produces a unique sound.

42:43.420 --> 42:46.040
Now we're not recording sound, we're recording vibration.

42:46.040 --> 42:49.460
Because we're hitting the laptop and reflecting off.

42:49.460 --> 42:53.000
And when someone's typing on that laptop, the sound is just vibration.

42:53.160 --> 42:54.380
And vibration matter.

42:54.380 --> 42:56.040
So the laptop is vibrating.

42:56.040 --> 42:57.220
It's literally vibrating.

42:57.220 --> 43:00.940
And because every unique key has a position, just like if you hit a drum.

43:00.940 --> 43:03.940
If you take a drum and you hit it in one location, you're producing one sound.

43:03.940 --> 43:07.040
If you hit it slightly somewhere else, it produces a slightly different sound.

43:07.040 --> 43:10.300
You can record that and you can differentiate those two sounds.

43:10.300 --> 43:12.680
Then you can figure out where they've actually hit.

43:12.680 --> 43:15.340
Now on a keyboard, you don't know what they're typing.

43:15.340 --> 43:16.920
You don't actually know what they're hitting.

43:16.940 --> 43:27.300
But if you've collected over 100 or 200 keystrokes and you know the language they're typing in, then you can perform analysis and frequency analysis.

43:27.300 --> 43:28.980
Like what are they actually typing?

43:29.080 --> 43:30.420
This is a Zodiac Killer.

43:30.420 --> 43:35.620
So he would release these puzzles that are essentially substitution ciphers.

43:35.620 --> 43:41.000
You can take all encryption and break it down into substitution cipher and transposition cipher.

43:43.400 --> 43:44.840
Just some examples.

43:44.840 --> 43:46.120
I love the outdoors.

43:46.220 --> 43:48.680
So going and as well as pointing lasers.

43:48.680 --> 43:50.860
So a couple demonstrations of the setup.

43:51.900 --> 43:58.460
Here we can see what this actually looks like as you're pointing the laser onto a reflective surface of a laptop.

43:58.640 --> 44:00.620
We'll just see the keytap software.

44:00.640 --> 44:02.040
FFmpeg and keytap running.

44:02.040 --> 44:03.860
This is at 10x speed.

44:06.120 --> 44:11.820
Gonna be very hard to see, but the next slide I will do a little screenshot so we can compare.

44:12.380 --> 44:13.680
Again, that's 10x speed.

44:13.680 --> 44:19.220
So here's typing on a keyboard, what I typed, and then what keytap 3 was able to recover.

44:19.220 --> 44:25.500
This is after going through the setup, after going through GNU Radio, then iZotope RX with a lot of cleanup.

44:25.560 --> 44:29.200
Again, I needed to collect at least 3 kHz of sound.

44:29.320 --> 44:33.440
And also just an example of what the sound actually sounds like.

44:34.340 --> 44:38.380
This was playing music inside of a room and then reflecting off the window.

44:40.120 --> 44:43.240
And you can hear a little bit of that sound.

44:58.270 --> 45:00.930
And that is the project.

45:00.930 --> 45:03.510
The challenges, I mean, this was really interesting.

45:03.510 --> 45:04.590
How do you get rid of noise?

45:04.590 --> 45:08.190
This whole thing was really a signal processing.

45:08.430 --> 45:16.650
And the improvements to the laser microphone, the biggest thing to the laser microphone was really getting outside of the sound domain, getting into the radio domain.

45:16.650 --> 45:25.110
Once you get into there, then you have a lot more processing capabilities and you have all the sound, a ton of noise that was there, is gone.

45:25.290 --> 45:30.590
And there are plenty of improvements we can make, we can discuss later, but thank you so much.

45:30.590 --> 45:31.530
I appreciate your time.

