start	end	text
0	1320	How's everybody doing?
2340	5460	Okay, I want you to, on three, repeat after me the word engage. Ready?
5460	6820	One, two, three.
7560	9720	Engage. One, two, three.
10220	12700	Awesome. Here's our speaker. Give him a big hand.
14500	15640	Thank you.
20780	24160	It's 1995. I'm 10 years old.
24160	28560	And my mom just spent everything she had to get me this computer.
28800	30640	And this is the best day of my life.
30640	33540	I dial up to the internet. Some of you know what that means.
33540	38240	I dial up to my mom's university and I download MIRC.
38680	42240	I go on to Internet Relay Chat IRC. Oh, no.
42720	48400	And I join a channel and I say, who wants to chat about the X-Files?
49080	52180	And someone says, get out.
52860	55040	And I didn't understand why.
55040	57300	And I said, we can chat about something else.
57300	59600	So what do you, what TV show do you like?
59600	62160	And they say, you have 10 seconds to get out of this chat room.
63200	67660	And I think, my mom told me, don't tell anyone your name on the internet and don't tell them where you live.
67660	69400	So they don't know anything about me.
69640	71140	So I say, no.
72700	75620	And this person says, you have 10 seconds to get out of this chat room.
76000	77000	Like, no.
77500	82260	10 seconds later, the brand new computer that my mom spent everything on does this.
83260	85280	It wasn't running CrowdStrike.
85300	86520	This is 1995.
87980	92920	This person just crashed my computer over the internet without knowing anything about me.
92920	94160	And I freaked out.
94160	96460	I'm going to be grounded for the rest of my life.
96500	99220	I pull all the wires out of the computer.
99360	103760	I wait for the computer to heal, about half an hour.
103780	107680	I plug the wires back in and it comes up.
108280	112680	As it's coming up, everything is okay.
112740	115740	And while the adrenaline is still rushing through my veins, I think,
115740	117040	that is the coolest thing ever.
117040	118480	How do I do that?
119260	122220	And I find this, Winuke95.
122300	125940	So a single out-of-band packet will crash Windows 95.
125940	127260	And this was super cool.
127260	130540	I downloaded this program and now I'm an elite hacksaw.
131540	135640	And then Microsoft released Windows Service Pack 2, which resolved this.
135640	138380	And all of a sudden, my magical tool didn't work anymore.
138380	142640	So how do I learn how to create Winuke96?
142720	144720	And that's when I found Frack.
145060	147560	And Frack is a magazine that's still going today.
147560	148740	I believe it started in 85.
149440	152840	And I read, smashing the stack for fun and profit.
152860	155260	And this just blew my mind.
155420	158420	The simplest C program that says, hey, what is your name?
158420	161440	You have to allocate 100 bytes and you say, and you type in your name.
161440	164920	And if it doesn't check, and it just prints, hey, hello, your name.
165320	168080	If you type over that 100 bytes and you're not checking for 100 bytes,
168080	170700	you can start overwriting memory and then you can overwrite the stack pointer.
170700	172540	And then you can point back to your, the beginning of your name.
172540	174760	And that can be shellcode and that can execute code on the computer.
174760	177740	And you can take over a computer with an extremely simple program.
177740	182440	And that taught me that the way a system works is not how we think it works.
182440	185280	Like, I want to now understand what is the ground truth.
185280	187040	But how do systems actually work?
187040	188800	How does a computer actually work?
188800	191940	It's only when you understand the CPU architecture and memory and how,
191940	196160	when you're compiling your C code into and assembling it and linking it,
196160	198080	how you can actually take over the system.
198080	203160	And over time, as I've learned from many of you and from papers and from videos,
203160	206760	and just testing things, that ultimately everything boils down to energy.
206760	210200	Like, everything is energy. Information is energy.
210200	213620	By energy, I'm really talking, we're talking power.
213620	215880	Energy is the capacity to do work.
215880	218060	So, to perform some type of work.
218060	220860	Power is the rate at which that work is done.
220860	222540	So, for example, a horsepower.
222540	225320	Like, a horsepower is actually a unit of power.
225940	230060	One horsepower lifts 550 pounds in one second, by one foot.
230180	233420	I looked it up on Wikipedia, it's actually imperial horsepower.
233660	238800	That means there's also a metric horsepower which lifts 542 pounds, slightly less.
238860	240620	I'm not sure what we're feeding our horses.
241980	244860	Probably HGH, horse growth hormone.
246400	248300	So, energy in power.
248300	250320	And I realize energy is information.
250320	254260	So, if we want to actually move any information around, we must use energy.
254260	258960	An example of that is, we think that there's power in data, but that's not true.
259140	261280	Power is data, and data is power.
261280	264820	If you have a USB 2.0, you plug your USB in, it doesn't work.
264820	266700	So, you plug it in the other way, it doesn't work.
266700	268020	The third time, it always works.
268020	269940	When you plug that in, there are four pins.
269940	273060	There's ground, power, and then two data, differential data.
273340	276280	Now, the ground and power, there's energy moving over that.
276280	278120	But there's also information across that.
278120	280320	If you're plugged into a computer that's encrypting something,
280320	284100	there's going to be some information of that encryption about the amount of power that's being...
284100	285840	and that's going to ride on the power.
285840	288920	Like, the power will actually go up and down just a little bit.
288920	290820	That five volts will move up and down.
290820	291860	You can measure that.
291940	292940	And then there's the data.
292940	294180	Well, how does the data work?
294180	296640	Like, what is actually going across data lines?
296640	297480	That's a voltage.
297820	302800	So, there's actually current and voltage, which is power, pushing through those data lines.
302800	305620	So, you can always extract power from this stuff.
305620	308580	And I remember I'm sitting at my computer maybe 15 years ago.
309120	312060	And I had these Dell speakers on my computer.
312400	316120	And I got a text message, or I was about to get a text message.
316120	319600	And I don't know if many of you recall that sometimes you get this interference.
319720	321100	You get a text message or a phone call.
321100	323860	And then your speakers go, do-do-do-do-do-do-do-do-do.
324420	326840	And I was like, wait, my phone's not connected to anything.
326840	330000	Yet, the speakers are actually playing sound.
330280	332180	Like, there is some sort of interference here.
332260	333380	Can I control that?
333380	335040	Like, if my phone can do that.
335040	336720	So, it's not actually the cell towers.
336720	340220	It's actually your phone trying to amplify its signal and get back to the cell tower.
340220	342440	The cell tower is far away, so it amplifies the signal.
342940	345580	And I thought, okay, well, can I open a keyboard?
345580	346920	Can I look at how the keyboard works?
346920	351240	And if my phone can interfere with the speaker, can my phone then interfere with the keyboard?
351420	352900	And can I press keystrokes?
353000	354620	So, I opened up a keyboard.
354720	356200	And it's a USB keyboard.
356200	360220	And when you open it up, you have a circuit board that's PCB, your fiberglass.
360220	361620	And then you have all these conductors.
361620	364760	And every conductor, going to every key, is a unique length.
364760	366740	And they're all copper. They're all metal.
367000	368740	Any piece of metal is an antenna.
369140	372780	If you measure that antenna, the length of that antenna, that's a monopole antenna.
372820	376040	That measurement is the wavelength, the resonant frequency.
376100	379880	So, you can figure out the resonant frequency of every wire going into that.
379880	386180	And I thought, well, can I create an electromagnetic radio that can then inject keystrokes into this keyboard wirelessly?
386180	388420	And I started to try to do this.
388600	391600	And I started to realize that it's not working.
391600	396340	I tried a couple different software to find radios, like HackRF and the USRP-B210.
396440	399000	And I was never able to inject all the keystrokes I wanted.
399000	401660	With one keyboard, I was able to inject a few keystrokes.
401740	404160	And I'm like, I really just don't understand electromagnetism enough.
404160	405680	So, I started to learn about physics.
405860	408800	And I started to learn about, well, what is electromagnetism?
408800	411460	It's really light. Light and radio.
412220	415040	And I took a picture of a rainbow on a jog.
415080	417500	And really, electromagnetism is light.
418580	422720	We can split that light up into its constituent wavelengths.
422860	424980	And there's all sorts of other frequencies.
425000	426960	So, radio, for example, is light.
426960	430120	Radio is just colors of light that we can't see with our eyes.
430380	436620	And as I wanted to learn about this and how this stuff works, I started learning about light and EM and radio.
436620	437920	And I need to learn physics.
437920	441700	So, I started to get some physics books and start reading about this stuff.
441700	444280	One of those books was Building Scientific Apparatus.
445140	451000	And I learned, okay, well, a lot of the people who are learning physics, which is really how hardware works and how radio works,
451000	455520	they started by, like, J.J. Thompson, who broke the atom open.
455520	458920	Like, it's called the atom from Greek, atomos, meaning indivisible.
458960	466600	Until this dude, J.J. 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.
466600	467640	It was divisible.
467640	472000	And then he used magnets and he could move the atoms that were producing light.
472000	476120	And that became our cathode ray tube, our CRT TVs and monitors that we used.
476140	477100	Like, this is super cool.
477100	478420	I should reproduce this.
478440	485680	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.
485680	487580	Like, I'd make something and then it would crack.
487580	490380	Like, all right, I need to actually learn some glass blowing.
490380	494620	I took some classes in LA, but these are all soft glass.
494620	497520	And I still would come home, I'd try to make some stuff, it would break.
497520	505140	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.
505780	510220	And I messaged him and I messaged everyone, every other scientific glass blower in Los Angeles.
510220	512540	Hey, I want to learn how to glass blow.
512540	513720	I will pay you.
514160	515280	Everyone said no.
515280	516840	Like, I have a job.
516840	518440	Can't just come to my work.
518720	521200	And it's probably like illegal or something.
521200	524520	So, I went on LinkedIn and I searched more scientific glass blowers across the U.S.
524520	525880	And I just messaged everyone.
525880	527400	Like, someone has to say yes, right?
527400	530980	Someone will let me pay them for a few hours, so I can just...
530980	532980	And I get a response from Katie.
532980	534320	Hey, I see that you're in LA.
534340	535920	We're in Milwaukee, Wisconsin.
535920	538200	Is this something that you would travel for?
538680	543420	So, a week later, I get, Delta tickets are very cheap to Wisconsin in winter.
543880	546720	It's because it's freezing in Wisconsin in the winter.
546720	548220	It's so cold.
548460	551820	I show up to this place and I say, is Katie here?
551880	555420	And an old woman answers the door and says, there's no one here by that name.
555420	556400	I'm like, what?
556400	560240	Did I just get pwned by someone that I reached out to?
560240	561580	Because I put a deposit.
561580	563280	I flew from Los Angeles to Wisconsin.
563520	564640	And I'm just standing.
564640	565220	I'm cold.
565220	566100	I'm uncomfortable.
566420	568400	And the person that I paid is not here.
568940	570280	I look at my email.
570280	571180	We never contacted.
571180	572000	We never called each other.
572000	573540	We just, like, chatted on LinkedIn.
573800	574840	And then I found her phone number.
574840	575340	I call her.
575340	576200	It says, oh, I'm sorry.
576200	577240	I switched the numbers.
577800	579220	Fortunately, she was down the street.
579220	580340	I walked down the street.
580340	583080	We go into Ian's glass blowing station.
583080	589200	So Ian and Katie are these two scientific glass blowers that work for a big science company out, excuse me, in Wisconsin.
589860	591680	And I go into their shop.
591680	594260	They show me their glass blowing lathe, their fume hood.
594420	598380	Here's Ian showing me a lighter that he made.
598420	599800	Katie with her lightsaber.
599840	600920	That's fire.
601160	605520	If you ever want to learn how to glass blow in your Wisconsin, you can email them, contact them.
605520	609580	And I came back learning a little bit more about how to actually...
609580	610680	You wanted a pic?
610680	611160	Thank you.
612460	614180	I wanted a...
614180	618680	I came back home able to actually blow a little bit more borosilicate glass, which is great.
618920	622180	And when I came home, I was very excited, and I started to reproduce some of these.
622220	627040	I made a little cathode ray tube, and I started to learn more about physics and more about waves.
627080	632320	And one of the biggest realizations, one of the most helpful realizations for me is that I don't...
632320	634780	It's very difficult for me to understand complex things.
634780	636100	I don't understand complex things.
636100	637960	I can only understand simple things.
637960	644700	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,
644700	646800	and then build stuff on top of that, right?
646940	650560	And if I can find patterns, then that makes my life much easier.
650560	652200	I don't have to learn X, Y, and Z.
652200	657800	I can just learn an abstract concept of what X, Y, and Z are if they're the same.
657940	661640	And we can interpret everything as waves, as analog signals.
661780	663880	So a wave has three things that are important.
663880	666440	Now, when I say waves, light is a wave.
666540	667680	Sound is a wave.
667680	669200	Water waves are waves.
669200	670480	They all have the same properties.
670480	675220	They have absorption, where they absorb and convert from one type of energy to another energy.
675220	676920	They have reflection.
676920	678720	They have refraction and diffraction.
679420	680680	So a wave has three things.
680680	681700	It has the amplitude.
681860	683380	So with sound, the amplitude...
683920	685380	Amplitude means intensity.
685380	687020	So the sound would be how loud it is.
687020	688040	That's the amplitude.
688040	690260	With light, that's how bright it is.
690320	693280	Then there's the wavelength, which directly relates to frequency.
693280	695660	So a low-frequency light would be red light.
695660	698240	A high-frequency light would be blue light or UV light.
698240	700800	With sound, low-frequency is bass.
701380	702740	High-frequency is higher sounds.
702740	703680	Higher-frequency sounds.
703680	710360	And there's phase, which is where something is in its amplitude, because amplitude is moving up and down.
711120	713420	And when we're dealing with computers, we're digitizing things.
713420	724460	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,
724460	728260	I go into my microphone, let's say, and that has a sample rate.
728260	730920	And the sample rate is the number of times per second I record.
731200	732000	Or a frame rate.
732000	736100	When you're taking a video, then if it's 30 frames per second, that's a sample rate.
736100	737800	30 hertz, 30 times per second.
737800	739380	And the bit rate, that's the depth.
739380	742400	So that's how much quality or resolution we have.
742400	744000	And these are really important factors.
744580	747880	Also, waves can do very interesting things like interference.
748000	753760	So with interference, we can do constructive and destructive interference.
753760	758760	So your sound-canceling headphones, when you put those on, they have microphones on the outside.
758760	765100	So that when you're listening to the Metallica that you ripped, I'm backed up, you hear the outside sound.
765100	768080	And the microphone takes that outside sound and it inverts the wave.
768080	770300	And it plays it along with Metallica.
770300	771960	And those two cancel out.
771960	775980	Just like a water wave with a high peak, high amplitude, and a low amplitude.
775980	778120	If they hit, they will cancel out.
778120	779820	So that's destructive interference.
779820	786400	And there's many other places online and on the internet where you can get free tools to learn about physics.
786500	789140	Such as Veritasium's channel.
789440	792140	So Veritasium has amazing videos on physics.
792520	795680	And there's so many interesting attacks that we can do with light.
796780	802400	Here's Newton, actually, designing the cover for Pink Floyd's album, Dark Side of the Moon.
802900	806960	I always thought that it was white light going to the prism and then refracting into the rainbow.
806960	814400	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?
814400	815600	We don't really know.
815600	817220	That's an interesting property of physics.
817620	820840	Physics, almost everything works in reverse as well.
820840	824420	If you have a speaker, then you're playing sound to that speaker.
824420	826440	You have voltage going into the speaker.
826540	829420	And that's electrons moving through a coil.
829420	833880	And every moving charged particle has a magnetic field.
833880	837060	And that magnetic field is pushing the speaker cone back and forth.
837060	840000	That speaker cone is then pushing air back and forth.
840000	841120	And that's what the sound is.
841120	843620	The sound is the movement of matter.
843960	845860	And the reverse is true as well.
845860	851480	So if you have a speaker and you have air moving the speaker cone because the speaker's not on,
851480	857720	then the speaker is also pushing electrons back and forth, which then produces a voltage in the coil.
857720	859480	So every speaker is a microphone.
859920	861660	Every microphone is also a speaker.
861660	864580	Now, there are really poor quality versions, but it's true.
864580	866240	And this is true with LEDs, for example.
866240	868360	Every LED can shine light.
868380	872380	But if you monitor the LED, you can actually have the light convert to voltage.
872380	874620	And you can read light from an LED.
874680	876140	Everything works in reverse.
876140	877240	It's an important property.
877600	882140	And these are ways that we can take advantage of energy and energy conversion.
882140	884840	And the way that things actually work at a fundamental level.
885000	887100	Here is a little bit of the electromagnetic spectrum.
887100	888800	We can see the different colors.
888800	892920	It's also important to note that, again, things like UV and IR, those are light.
892920	894960	Radio is also just another type of light.
894960	896160	It's just light we can't see.
896160	898040	It's colors we can't see.
898180	899460	FM radio.
899460	901560	FM radio is frequency modulation.
901660	909240	So when you tune into 102.7, kiss FM, you're listening to 102.7 megahertz on the electromagnetic spectrum.
909300	910600	102.7 megahertz.
910600	912160	And now the frequency is modulating.
912160	920260	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.
920780	924740	So 102.7 megahertz plus 10 kilohertz.
924840	928660	So your frequency is actually just moving up and down at 10 kilohertz.
928660	931560	So you can think of an audio wave going like this.
931560	937360	If we just flip it 90 degrees, then it's actually going like this, the frequency of the spectrum.
937380	939160	Amplitude modulation, AM radio.
939160	944580	When you listen to 98.7 AM, that's 98.7 kilohertz in the electromagnetic spectrum.
944600	947200	And the amplitude is going up and down to the sound.
947960	949740	Now, you can do some really cool things with light.
949740	960160	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.
960160	961720	They just modulate the light.
961720	965820	They turn it on and off, where modulation just means turning on and off or oscillating.
965820	968940	They turn it on and off to the frequency of sound.
968940	977220	And if they record their sound, hey, Google, unlock my door, and they turn that light, that light hitting the microphone is heating up.
977220	981340	It's absorbing inside of the microphone, the MEMS microphone, and that produces heat.
981340	983360	And heat is vibration of particles.
983400	986620	And that microphone then believes that it's hearing sound.
986620	992660	So that means you can shine light through a window and trigger the Google home to do things for you.
993060	994500	There's also infrared light.
994500	1002320	This is a Mark Rober did a video showing just a thermal camera where he then pressed a pin, and heat is constantly transferring.
1003100	1007760	So just by touching these buttons, heat from his finger goes to the button and then leaves a mark.
1007760	1011380	We don't see it with our eyes, but with a thermal camera like a FLIR camera, you can do that.
1011780	1012240	Ultraviolet.
1012240	1015760	So ultra from Latin meaning beyond, on the far side of.
1015760	1017760	So it's on the far side of the visible spectrum.
1018340	1024840	Bunny did an amazing example with ultraviolet light where he took a PIC microcontroller that had firmware that he wanted to extract.
1024840	1031080	But the PIC microcontroller had an e-fuse, an electronic fuse that said, do not allow anyone to debug and access memory from this.
1031160	1032140	And he opened it up.
1032140	1036040	He used nitric acid, sulfuric acid to get to the silicon.
1036040	1041920	He covered up the area other than the electronic fuses, and then he shined UV light, which erased it.
1041920	1044180	That's how programmable read-only memory used to work.
1044180	1047420	We would shine UV light to erase it, and then we could program it.
1048360	1051320	Then there's radio, which, again, is just another part of the spectrum.
1051320	1052620	We talked about FM a little bit.
1052620	1053780	We talked about AM.
1053780	1058920	We're all familiar with, say, 2.4 gigahertz Wi-Fi or Bluetooth, 5 gigahertz Wi-Fi.
1058920	1063800	Our microwaves, the microwave that you make popcorn at home, that's actually 2.4 gigahertz.
1063800	1065960	Microwaves and radio are the same exact thing.
1066340	1067720	There's the Tempest attack.
1067720	1075820	The NSA found, in the 60s, they knew that a CRT monitor, a cathode ray tube, would constantly emit radio frequency.
1076700	1080620	And that radio frequency, they could hear in an adjacent room.
1080620	1084640	They could essentially listen to the radio frequency and see what's on the monitor.
1084640	1087640	And there are monitor attacks like this today that are happening.
1088280	1090840	We talked a little bit about the AM and FM.
1091420	1099680	Then electromagnetism, electro from amber, because the Greeks found that when you rub amber with something like fur, they would attract or repel.
1100320	1110760	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.
1110760	1113880	This was an example project a few years ago called MagSpoof.
1113880	1117200	I was interested in how the MagStripes actually worked within our credit cards.
1117300	1118480	Oh, that's loud.
1119100	1126680	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.
1126800	1131580	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.
1131740	1133760	And I thought, all right, well, what are all these numbers?
1133760	1135740	And it's a credit card number. There's a CVV.
1135740	1137180	There's actually a separate CVV.
1137180	1139220	There's a written one, and there's one in the MagStripe.
1139240	1141180	Now, we think, all right, well, who uses MagStripes, right?
1141180	1142540	We always chip or NFC.
1142660	1145640	But have you ever put your credit card in a MagStripe machine?
1145640	1148080	It's like, hey, this is a chip card.
1148080	1149800	Well, how does it know that it's a chip card?
1150160	1151440	Well, the MagStripe tells it.
1151440	1153060	The MagStripe says, no, this is a chip card.
1153060	1154280	You need higher security.
1154280	1157800	So what happens if you turn that one to a zero and say, no, no, no, there's no chip on here.
1157800	1158840	There's no NFC.
1159200	1161140	Well, it will...
1161140	1162040	This is the device.
1162040	1165880	This is the MagScoop device, and it just produces a magnetic field.
1167400	1169640	And if you turn... I use the chip card.
1169640	1176420	I put the MagStripe data onto this, and it was then able to make transactions without the chip.
1176840	1182040	So if you just have access to a MagStripe temporarily, you can then convert the chip to a non-chip card.
1182460	1184280	There are some other interesting attacks.
1185500	1186320	There's sound.
1186320	1188140	There's so many interesting things that we can do with sound.
1188140	1190260	There's audible sound, which is what humans can hear.
1190400	1192800	We can hear 20 to 20 kilohertz.
1193180	1194180	I'm a little older.
1194180	1196160	I can maybe hear to 15 kilohertz.
1196580	1199180	If you listen to a lot of music, you probably hear less.
1199680	1205740	Berkeley had some amazing research where they used a microphone to listen to the sound from a keyboard.
1205740	1215640	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.
1215640	1219380	There's something really interesting about all the information that we are constantly inputting.
1219380	1222200	Maybe that's because I'm on a computer every single day typing.
1222280	1225020	I think it's cool to know that what am I typing?
1225020	1229080	What can someone figure out what someone else is typing?
1229100	1236660	And they were able to just have a microphone listen to what the sound your computer is making and convert that back to keys.
1236880	1239640	Ultrasound, again, ultra on the far side of.
1240460	1247020	The University of Tel Aviv had some awesome research where they were using a microphone from a standard cell phone.
1247020	1250420	And they would listen to the ultrasound coming from your computer.
1250420	1254140	As your computer is performing encryption operation, let's say it's using RSA.
1254140	1257560	If you're encrypting a 1-bit versus 0-bit, it takes different operations.
1257560	1262100	It might do a multiplication followed by a modular or an exponent followed by a modular versus a multiplication.
1262480	1269700	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.
1269700	1273860	Those capacitors and inductors are producing all of these charged particles.
1273860	1276440	All these electrons moving is producing magnetism.
1276440	1279540	That magnetism is then moving things on your CPU.
1279540	1283160	So these actual caps are moving within your CPU.
1283160	1288260	And they're producing ultrasound because they're moving at a frequency higher than we can hear, above 20 kilohertz.
1288260	1295300	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.
1295300	1296900	Pretty amazing stuff.
1296900	1299200	All of this is really just energy conversion.
1299200	1301960	Everything that's happening is a conversion of energy.
1301960	1303820	And that's really interesting.
1303860	1306300	So how can we take advantage of energy conversion?
1308780	1312020	And I started to get interested in laser microphones.
1312400	1317220	So I saw a talk 15 years ago here at DEF CON, and it was incredible.
1317220	1320040	It was about how to use a laser microphone.
1320040	1330440	Now, the first laser microphone, not really a laser microphone, but a microphone that was, let's say, passive, was from Leon Theremin.
1330440	1335760	If you're familiar with the Theremin instrument, Leon Theremin created this Theremin instrument.
1335760	1337200	He was an engineer and physicist.
1337260	1339480	He also created something called The Thing.
1340020	1342540	And he gave this to our friends at the KGB.
1342580	1345320	And The Thing was a passive device.
1345560	1347420	Many of us are familiar with RFID devices.
1347420	1352120	They're passive cards, and they go into a field, an RFID field from, say, a reader.
1352120	1354020	And that reader emanates radio.
1354020	1355760	And then that energizes the card.
1355760	1359260	The card now has enough power that it can run a little processor and respond.
1359340	1362880	Once it gets back, this was the first implementation of RFID.
1362880	1367260	And instead of a card with an ID, he put in a microphone.
1367300	1369900	And that microphone then went into a seal.
1369900	1375280	And this was a gift that the Soviet Union gave to the U.S. ambassador in 1945.
1376120	1380020	They put that, no battery, right? No battery at all.
1380160	1384140	Because Leon Theremin realized that he could passively power things.
1384140	1387500	He could power things from far and then get information back.
1388100	1391940	It was many years before the U.S. realized that there was a microphone.
1392000	1395340	Whenever that they were being powered from the outside, they could get audio back.
1396120	1401780	Now, blazed microphones is a way of using light in order to listen to sound.
1401780	1406600	So if I can shine a light at a window, and the window now sound.
1406600	1409920	Sound is the vibration of matter, typically air, right?
1409920	1414500	We're typically listening to air, but you can have sound go through solid materials.
1414500	1416840	You can have sound go through water liquids.
1417260	1420220	And you don't actually need a laser, you just need light.
1420220	1424080	And the light can be visible or invisible, as long as we have a way to receive it.
1424240	1427760	So it was this talk, Sniffing Keystrokes with Lasers and Voltmeters,
1427760	1433300	by Andrea Barassani and Danielle Bianco, at DEF CON 17.
1433560	1435660	And this really blew my mind.
1435660	1438780	What they were able to do was they were able to point a red laser
1439260	1442180	at a reflective part of a laptop within a room,
1442180	1447540	and then pick up the reflection on a photodiode or photoresistor.
1447640	1450540	And they picked it up, they plugged that into their sound card,
1450540	1452900	and they were able to listen to the keystrokes.
1452920	1457520	Now, it took a lot of work, definitely a proof of concept, but absolutely incredible.
1457720	1459880	And I've always been interested in these keyboards.
1459880	1462760	A few years ago, I had released a project called Keysweeper.
1462780	1468680	Keysweeper is just an Arduino-based device that's inside of a USB charger.
1468680	1473260	You plug the USB charger into the wall, and it's just sniffing every Microsoft wireless keyboard in the vicinity.
1473280	1476460	It also has a GSM chip, so it's actually connected to a cell phone network.
1476460	1479680	It has a battery inside, so if it gets pulled out, it continues to operate.
1479800	1483460	And then you can inject keystrokes, and you can listen to all keyboards in the vicinity.
1483940	1487000	Fortunately, the FBI released a notice to the industry saying,
1487000	1488800	watch out for these Keysweeper devices.
1489120	1490860	And I read that someone sent that to me.
1490860	1494780	And I read, it said, limit which outlets are available for device charging.
1494880	1496980	Some suggestions, just for all of us.
1496980	1499740	Know which chargers are currently being used.
1499800	1503580	Immediately remove unknown chargers, whenever you see them.
1504000	1507100	I don't think they realized that it's really just the circuitry inside the charger.
1507100	1509020	The charger was just to be clandestine.
1509060	1511440	So, you could put it in a banana.
1511600	1514660	At which point, you would have to limit which bananas are available for device...
1514660	1517100	You'd have to know whose bananas are currently being used,
1517100	1520780	and immediate removal of any unknown bananas from the office.
1520780	1523180	So, beware of bananas and USB chargers.
1523520	1524860	But, keystrokes.
1524860	1528140	So, these guys demonstrated the components that they used.
1528320	1531360	Common laser, like off-the-shelf laser, resistor, or battery.
1531960	1533660	And this was their schematic.
1533940	1538320	So, what they did was, they had the laser hit a laptop.
1538400	1543320	It would reflect off the laptop, and then it would go into a photodiode or photoresistor.
1543320	1545520	They would power that, and they would go into the microphone.
1545520	1548720	And the reason for the microphone is that that's an analog-to-digital converter.
1548720	1550760	That can convert the actual light waves.
1550760	1554080	So, the photodiode converts the light waves to electricity.
1554080	1556440	And that electricity is still a wave.
1556440	1557800	It's just like our A.C.
1557800	1562960	So, our A.C. that's producing 120 volts RMS voltage in the wall,
1562960	1565180	that's traveling at 60 hertz.
1565180	1567640	60 times per second is moving up and down.
1568900	1572100	And you can actually take advantage of that.
1572500	1576300	There was a... I was curious, actually, whether it really was 60 hertz.
1576340	1581520	So, I had connected a transformer to my A.C. line,
1581520	1583760	and converted that 120 volts down to 12 volts.
1583760	1586560	And then I measured the zero crossing, every time it would cross zero.
1586560	1588320	Because I was curious, it says 60 hertz.
1588320	1590400	Does that actually mean 60 times per second?
1590400	1593100	Or does it mean, like, between 59 and 61?
1593100	1597580	And I found that 60 hertz is more accurate than the clock in my phone.
1597800	1600980	So, if my clock in my phone is not on Wi-Fi,
1600980	1604960	I can use the 60 hertz from the wall to measure time, because it's so accurate.
1605100	1608080	And I didn't understand, why is the wall, why is the 60 hertz so accurate?
1608080	1609520	Apparently, it's connected to GPS.
1609520	1613780	So, if one power station goes down, another station can pick it up.
1613800	1616200	But the interesting thing is, it's not always accurate.
1616200	1618800	It would actually remain accurate only for a short period of time.
1618800	1620000	And then it would drift.
1620200	1623700	And I realized that you can take advantage of that drift, and you can exploit that.
1623700	1626220	So, what you can do, is you can say,
1626220	1629500	if I measure that drift over time,
1629500	1632240	you can take that and use that as a fingerprint of a location.
1632240	1635720	Because every power station has its own unique fingerprint of that drift.
1635720	1639560	So, if you put a Raspberry Pi and a transformer in different power stations,
1639560	1642440	just in the wall, you can have a public database,
1642440	1646200	where you're all sending the drift of this information, the 60 hertz signal.
1646280	1649660	And now, whenever you have a recording, a video recording or an audio recording,
1649660	1653000	you can perform a match and figure out where that audio recording was taken.
1653000	1654860	Or where that video recording was taken.
1655040	1658540	Just another interesting project that we could take advantage of.
1658540	1662960	And there's so much other interesting research in the laser microphone and the keyboard acoustics.
1662960	1667920	Ben Nassi, he did Lamp Phone, Glow Worm, many other attacks.
1668140	1672720	There's the visual microphone, there's keyboard acoustic side channels, keyboard acoustic emanations.
1673160	1675780	And I want to see, A, can I implement this laser microphone?
1675780	1678400	And B, can I have some improvements?
1678400	1681420	And can I also hear sound? I want to hear sound from a window.
1682060	1684640	Now, first, it's really, really important.
1684660	1688280	Lasers are not a toy. I mean, they're a lot of fun. Cats love them.
1688380	1689780	They're a toy to cats.
1689780	1693980	But you can, oh my god, you can burn your eyes.
1693980	1698720	So you do actually want to always use laser safety glasses, goggles.
1698720	1702960	When you're buying a 5 milliwatt laser, it doesn't mean it only outputs 5 milliwatts.
1702960	1704600	It can output much more power.
1705420	1708520	America, we have the ANSI standard Z136.1.
1708520	1710120	Europe uses EN207.
1710120	1714060	Make sure you're getting from a laser safety goggles from a reputable source.
1714060	1717760	And also for the wavelength, for the color of light that you're working with.
1717760	1719260	Now let's talk about hardware.
1719440	1725260	So I first tried to reimplement the original laser microphone.
1725600	1728300	And it took me a while to get it working.
1728340	1730060	And the sound quality wasn't great.
1730060	1731600	Now, it was still incredible.
1731600	1735860	Like, as soon as you get to hear sound, that you're bouncing off a window,
1735860	1737800	and then reflecting back and picking up,
1737800	1739860	and you can hear what's going on inside,
1739860	1741820	it's a really magical feeling.
1742140	1743660	And I wanted to see, can I improve it?
1743660	1744680	Can I improve the quality?
1744680	1746380	Because it just, it wasn't that great.
1746380	1748880	Here's my transmit side.
1748880	1751340	So we've updated the system a little bit.
1751860	1755020	The primary things, the primary differences, for one is,
1755020	1757600	normally you just have a laser and you point it at the window.
1757600	1760840	Every schematic, every laser microphone I've ever seen,
1760840	1763520	simply has a constant laser source.
1763520	1765560	Hitting something and reflecting back.
1765900	1768640	The problem I found with this is that there's so much noise.
1768640	1771300	We have a 60 hertz noise from the wall.
1771300	1774000	We have all sorts of noise from computers around.
1774000	1776300	And all of this stuff is typically low frequency noise,
1776300	1777780	that is messing with your signal.
1777780	1779220	And we need to get rid of that.
1780120	1783360	So, I found a laser driver,
1783360	1785080	this is a laser driver I had,
1785080	1787320	that had something called an RF Bias T.
1787320	1789160	And what this means is, it's a mixer.
1789160	1790940	So you can have a constant current source,
1790940	1792100	that's powering the laser,
1792100	1794320	and then you can have another source that's oscillating.
1794760	1797700	And I was thinking, well, what they do in radio,
1797700	1799740	is that they'll oscillate things at different frequencies,
1799740	1802420	to get away from other frequencies that might be harming.
1802420	1804620	So what if we turn the laser on and off,
1804620	1805780	in the RF domain?
1805780	1807040	If we go into radio,
1807040	1808520	and we're turning that light on and off,
1808520	1809740	at the radio frequencies.
1810580	1812440	Then we can actually get away,
1812440	1814540	from all of that noise that we hear.
1814840	1817640	Here you can see the different parts of the system.
1817660	1819800	So, the oscilloscope in the top,
1819800	1822480	I use that simply because I have a signal generator built in.
1822540	1823660	It's a Rigol.
1823700	1825900	I'll have the full details,
1825900	1827920	the full bill of materials,
1827920	1829300	in a future slide.
1829300	1831200	But the current controller and temperature controller,
1831200	1832860	you do not need a temperature controller,
1832860	1834480	but that's just what I have at home.
1834620	1836940	Current controller for the constant current source.
1836940	1838620	In the top, there's that black box.
1838620	1839920	That's the laser driver.
1840400	1843100	There's also the RF mixer built into that.
1843100	1844560	I use a collimating lens.
1844560	1846260	So what collimation means is,
1846260	1847980	collimation means it just takes light,
1847980	1850000	and tries to make it into a single dot.
1850120	1852420	Or a straight...
1852420	1853480	If you take a flashlight,
1853480	1855760	you typically have an unfocused beam of light.
1855760	1859400	A collimated beam is a beam that does not focus or defocus.
1859400	1861080	I used to think a laser,
1861080	1863340	what made a laser a laser was that it was collimated,
1863340	1864580	that it was a straight line.
1864580	1865560	And that's not true.
1865560	1867220	It's not collimation.
1867220	1870060	What makes a laser a laser is that it's coherent.
1870120	1873360	And all that means is that the phase of light coming out is always the same.
1873360	1874980	It always starts at the same place.
1874980	1876640	It's not important for this attack,
1876640	1878520	just something I thought was interesting for me,
1878520	1881000	to understand what a laser is.
1881180	1882900	The flexor, that just lets us actually
1883900	1886380	direct the light up and down very easily.
1886380	1888820	A shutter is to really tighten our beam.
1888820	1890440	So even though we have a collimation,
1890440	1891940	and we're collimating this laser beam,
1891940	1893500	we want to get a really tight beam.
1893500	1896580	So a shutter just lets us close that even further.
1897180	1899460	And behind the lens, there's a laser diode.
1899460	1901080	And all of these you can buy separately.
1901080	1902700	And the nice thing is that with the laser diode,
1902700	1905340	I can use a red light normally when testing,
1905340	1906720	but then I can move to the infrared
1906720	1908140	where we don't see it.
1909120	1911820	So these are the actual components I'm using.
1912420	1914340	The obligatory turn on the fog
1914340	1916780	and check out the cool red laser beam.
1918320	1920880	Then we want to actually receive that information.
1920880	1921920	So how do we receive it?
1921920	1924780	The typical setup is we have a photo diode and a sound card.
1924980	1927040	But what we're doing is we're modulating.
1927040	1927960	So with the signal generator,
1927960	1929140	we start modulating this thing
1929140	1933220	at hundreds of thousands of times per second.
1933340	1935140	So the sound, humans can hear
1935140	1937160	between 20 hertz and 20 kilohertz.
1937160	1938800	So I want that sound.
1939040	1941040	But I want to then get away
1941040	1942400	from those low frequencies
1942400	1944340	because there's so much electromagnetism
1944340	1945220	at those frequencies
1945220	1948340	that it's disrupting the signal I'm getting.
1948340	1950080	Because we're getting very little light back
1950080	1951260	from the laser that's reflecting
1951260	1955400	off a window or off a computer.
1956040	1957580	So first,
1957580	1958520	and the sound card
1958520	1960720	can only listen to, say, 48 kilohertz
1960720	1962960	or 192 kilohertz.
1963140	1964600	To get away from all that sound,
1964600	1965740	we modulate the laser.
1965740	1968400	We turn the laser on and off 400,000 times per second.
1968400	1970260	So we're at 400 kilohertz.
1970260	1972260	So we need something other than a sound card
1972260	1973880	that can actually accept this.
1975020	1976200	So first, I thought,
1976200	1978340	okay, well I can use a bunch of analog components.
1978340	1980240	The problem with analog components and electronic circuitry
1980240	1981700	is it's a huge pain.
1981700	1983840	So as you're putting these little components on a circuit board,
1983840	1985560	for one, you're dealing with high frequencies.
1985740	1986880	So as you're trying to change,
1986880	1989680	as you're trying different filters and amplifiers,
1989680	1991460	all of this is very difficult.
1991460	1993880	And I think, man, I really wish I could use GNU Radio.
1994020	1996560	GNU Radio is open source signal processing software.
1996640	1998300	And with that, then I can drag and drop
1998300	1999520	and life is just great.
1999520	2001700	I can sit back in my chair,
2001700	2002860	drink some caffeine,
2002860	2004320	and just play with these little blocks.
2004320	2006400	And just test different things to see what works.
2006560	2009180	The problem, the challenge with using GNU Radio
2009180	2010880	is that I need then a software-defined radio
2010880	2012440	to pull that data in.
2012440	2014120	The sound card won't work because I need something
2014120	2016680	that can listen to not only 400 kilohertz,
2016680	2018280	I need to go at least double that.
2018280	2019060	It's called Nyquist theorem.
2019060	2022440	I need to go to at least 800 kilohertz of a sample rate,
2022440	2024380	how fast I'm listening to that data.
2024640	2026680	And I can use a software-defined radio,
2026680	2029000	but software-defined radios don't ever go that low.
2029040	2030680	So, the RTL-SDR,
2030680	2032900	I'm not sure where that goes, maybe 100 megahertz.
2033300	2033860	Excuse me.
2034080	2036500	The HAKR-F, amazing, I love the HAKR-F,
2036500	2039580	but the minimum frequency it can listen to
2040160	2041520	is at about,
2041520	2042460	let's see,
2042460	2045060	1 megahertz, and we're at 400 kilohertz.
2045180	2046860	The USRP, it also has
2046940	2048750	a very low bitrate, so it's about,
2049340	2050720	the analog-to-digital converter has
2050720	2052080	an 8-bit sample rate.
2052080	2054520	And we want higher samples, we want higher resolution
2054520	2056760	so we can extract more signal.
2057460	2058900	The USRP-B210
2058900	2061200	has 12 bits, which is good,
2061200	2063300	but it requires 70 megahertz,
2063300	2065440	and we're just down at 400 kilohertz.
2066320	2066820	But,
2066820	2068500	then I started looking, and there was something called
2068500	2069880	an up-converter that we can get.
2069880	2072440	So, the up-converter actually adds 125 megahertz
2072440	2075200	to a signal, as long as it's at least 100 kilohertz.
2075260	2076840	So, we're at 400 kilohertz.
2076940	2079240	So, ultimately, what I use is a photodiode.
2079240	2080800	I go into an amplifier,
2080800	2082760	that amplifier then goes into a ham-it-up
2082760	2084640	V-tube. That adds
2084640	2086740	125 megahertz to our 400 kilohertz.
2086740	2088000	So, now we're at 125.4
2089040	2091480	megahertz. Then I go into the USRP,
2091480	2092800	now that can go
2092800	2095000	into my computer. Here's the physical setup.
2095000	2097200	This is the receiving side.
2097320	2098800	Lens, to capture light,
2098800	2100520	into a photodiode, into the amp,
2100520	2102940	into the USRP-B210,
2102940	2104180	into the computer.
2104400	2106700	If you see this outside of your window,
2106700	2108800	it's super sketchy.
2108940	2110740	Maybe, like, shut the blinds,
2110740	2112040	call the police.
2112700	2114780	But, once you actually point this laser at
2115920	2116700	a computer... Now, there are
2116700	2118640	some big challenges here. Actually,
2118640	2120940	performing alignment is very, very,
2120940	2122840	very challenging. Getting sound
2122840	2124620	is actually not so challenging, because
2124620	2126820	our ears, we're pretty good at listening to
2126820	2128700	just 1 kilohertz of sound. Although
2128700	2130580	we can hear up to 20 kilohertz,
2130580	2132640	just 1 kilohertz, we can usually make out
2132640	2133940	what someone is saying.
2134800	2136480	Getting above, I'd say,
2136480	2138760	4 kilo, like, the best I was able to get
2138760	2140960	above was 4 to 5 kilohertz
2140960	2142640	of sound. And I found for
2142640	2144740	keystroke extraction, I needed to get to 3
2144740	2146920	kilohertz. If I got to 2.5 kilohertz,
2146920	2148740	I could not convert anything to keystrokes.
2148740	2150640	If I got to 3 kilohertz, I could
2150640	2152260	start converting to keystrokes.
2152840	2154620	Here's the hardware on the transmit
2154620	2156720	side, just the actual components,
2156720	2158660	just so you know. Here
2158660	2160720	is the RX side.
2160720	2162700	This will all be online, so if you want to know the exact
2162700	2164780	components I used. And one of the other
2164780	2166960	improvements that I wanted to make here, for one,
2166960	2168960	now that we're getting into the RF domain, we get away
2168960	2170840	from all this noise. And we can actually
2170840	2173060	filter out that noise. Another cool thing
2173060	2174780	is I wanted to do this in infrared.
2174780	2176940	I don't want someone seeing me standing
2176940	2178900	outside pointing a laser into their window.
2178900	2180640	That's just too obvious.
2181120	2182800	So I got an infrared laser diode
2182800	2185040	and how do I actually align to the
2185040	2186760	infrared? Because I can't see it.
2186760	2188540	So I got this infrared camera. It's the
2188540	2190940	X-Nite USB 2S M. It's around
2190940	2192820	$120. It's very cool.
2192820	2194580	It's actually very exciting to be able to see infrared
2194580	2196900	just around you.
2197320	2198920	And here's a... it's maybe hard
2198920	2200760	to tell, but I have the laser diode
2200760	2202580	going and hitting a
2203720	2205140	white square and you
2205140	2206940	can't see it on my camera, my phone camera,
2206940	2209000	because my phone camera also can't see IR
2209000	2210940	and my eyes can't see IR.
2210940	2213200	And then here, just so we can see,
2213320	2215460	I made a recording with that camera
2215460	2217220	pointing the laser at my laptop
2217220	2218980	and you can kind of see the reflection.
2218980	2221480	I'm sitting below the laptop
2221480	2222880	with a steam iron and I'm just
2223520	2224700	steaming my laptop
2225180	2226920	until, I think it was the first time I ever
2226920	2228580	used a steam iron, until
2228580	2230740	boiling water boiled down on me
2230740	2232740	and I was like, ah, so I got maybe a few seconds
2232740	2234900	before I burnt myself. But while I was doing
2234900	2237320	this testing, I also saw something else interesting.
2237400	2238540	I pulled out my phone
2239140	2240840	and I wanted to change the song
2240840	2242660	because Spotify was playing.
2242720	2245120	And when I unlocked my phone, I saw these dots
2245540	2246980	not on the wall, but I saw it
2246980	2247820	on the IR
2249420	2250900	recording. I'm like, wait,
2250900	2252040	what's happening?
2252220	2255180	When I pulled out my phone,
2255180	2257120	I realized, this is LIDAR.
2257120	2258920	So my phone is using LIDAR on the
2258920	2260880	back. I'm like, why? Why is it projecting all
2260880	2263140	these infrared dots that we cannot see with our eyes?
2263140	2264960	And it only happens when the camera app
2264960	2266580	is open. And it's
2266580	2268820	actually very cool. It's figuring out, how
2268820	2270280	far is the object?
2270660	2272700	How far is it? And if it's close,
2272700	2274480	it's going to use the close camera.
2274480	2276540	You have a bunch of cameras on the back of your phone.
2276540	2279000	So it's deciding which camera to use.
2279000	2280880	So when you go closer to an object, it will automatically
2280880	2283040	switch to a different camera. And I thought,
2283040	2285080	that's really cool, but what if I can
2285080	2286960	actually measure this? So I put this
2286960	2288700	in my spectrometer just to see what
2289300	2290860	wavelength of infrared this was
2290860	2292920	because now we can just monitor for
2292920	2294920	this wavelength of light. So imagine
2294920	2296920	you have a little device with a photo diode,
2297700	2298720	a photo sensor on you,
2298720	2301060	so that whenever someone points their phone camera
2301060	2303040	at you, you get a little vibration
2303740	2304860	because you can just measure
2304860	2307100	for that frequency of light and for that on and off
2307100	2309200	path. And now you can know when someone
2309200	2310960	points their phone camera at you
2310960	2312660	before they're even recording.
2312940	2314980	And it only will show, you can see
2314980	2317160	that sort of rectangle, that's exactly
2317160	2319140	the same path. That means I
2319140	2321160	could just make all of you
2321160	2323200	vibrate right now. How fun would
2323200	2325000	that be? So
2325000	2327000	separate project, we'll do that another time.
2327000	2329220	So there's the RF modulation. This is the biggest improvement
2329220	2331020	that I've seen in this laser
2331020	2333100	microphone. So actually getting into the
2333100	2335060	RF domain. The photo
2335060	2337040	diode I use, this is the Spot 2D.
2337040	2339080	It's pretty interesting, it actually has two
2339080	2340920	cells. So where photo diodes are typically
2340920	2342860	one pixel, this is really two pixels.
2343240	2345120	The hardest challenge, the biggest challenge of this
2345120	2347060	whole system is that you must get essentially to
2347060	2349120	the edge of the diode. You don't want to get the
2349120	2351040	light in the center, you want to get to the edge.
2351040	2352960	Because as soon as the edge, you essentially
2352960	2355060	want your light, your reflection to
2355060	2356780	go on and off that diode.
2356960	2359140	If you're in the center, then you're just gonna, you're not
2359140	2361120	gonna get much variation. But if you're at the edge,
2361120	2362440	that's where you get all the variation.
2363040	2364360	I noticed there was a hair
2364360	2366520	in their photo. Fortunately there was no
2366520	2368440	hair in the photo diode they sent me, so I didn't have to
2368440	2370380	send it back. And then the
2370380	2372220	software that we use. So we use some
2372720	2374420	awesome software. First, GNU
2374420	2375060	Radio.
2377520	2378240	And we'll
2378240	2380220	quickly go through the steps here, but all this will
2380220	2382260	be online as well. So
2382260	2384460	GNU Radio, all the red stuff on the left, we can, those
2384460	2386420	are just variables. That just makes it easier for me
2386420	2388300	to, just like in software, to
2388300	2390840	use a single variable that will change things in multiple areas.
2390840	2393160	The things circled in blue,
2393160	2394880	those are just GUI, those are just
2395980	2396920	graphical syncs,
2396920	2398460	so we can see information.
2398760	2400840	The heart of it, the heart of the GNU
2400840	2402720	Radio stuff is, first we start with our
2403300	2404540	USRP source.
2405480	2406700	So this pulls in data
2406700	2408260	at a sample rate of 4.8
2408840	2410700	megahertz, or mega-samples per second. Our
2410700	2413080	center frequency is 125.2
2413080	2414580	megahertz. So 125
2414580	2416740	megahertz because of the RF up-converter,
2416740	2418480	the Hammond up, and then 200
2418480	2420560	kilohertz. Now, we're actually modulating
2420560	2422540	at 400 kilohertz, but we don't want
2422540	2424520	to listen at 400 kilohertz because there's something called the
2424520	2426580	DC spike. Any software-defined radio is
2426580	2428500	going to give you this giant DC spike, and you want
2428500	2430540	to move away from that, and then you filter out
2430540	2432460	that DC spike, and then you can listen to the
2432460	2433960	actual data you want.
2434600	2436900	We mentioned a couple different SDRs,
2436900	2438540	the reason I chose the B210 was
2438540	2440860	because it had a high resolution,
2440860	2442700	or bitrate, and it had a high sample
2442700	2444580	rate. You can also
2444580	2446480	use a Salier logic analyzer. I realize
2446480	2448300	this is also actually pretty nice.
2448300	2450340	50 mega samples per second
2450340	2451600	is also 12 bits.
2452820	2454680	Then we go into a
2455000	2456860	translating FIR filter. This is
2456860	2459440	three things. First, it's a bandpass filter.
2459440	2460960	Oh, first, it actually changes
2460960	2462540	the frequency you're at. So we want
2462540	2465500	to go from 125.2
2465500	2467180	to 125.4.
2467180	2468540	That's where our sound is. So now
2468540	2470900	we're centered on the sound, and
2470900	2473260	the sound is moving up and down.
2473260	2474420	So our signal is some
2474420	2476520	sort of sound wave, but our amplitude
2476520	2478820	modulated signal is at 400 kHz.
2478820	2480260	So it's going up and down.
2480400	2482260	So the FIR filter
2482260	2484240	will also then do a bandpass.
2484240	2486400	So now we're saying, I only want what's around the
2486400	2487600	400 kHz.
2487900	2490640	Everything else we can ignore.
2490640	2492800	So we bandpass that out, and then we decimate.
2492800	2494460	Decimate just brings, we bring the sample
2494460	2496580	rate down to a more usable sample rate.
2496580	2498160	Then we go into, and we
2498160	2500180	amplitude demodulate.
2500180	2502380	So we convert the AM back into the
2502380	2504160	actual sound. So now we can hear
2504160	2506200	sound, and then we save the file.
2506740	2508420	Then we use something called iZotope RX.
2508420	2510160	This is absolutely incredible software. It's
2510160	2512760	commercial software, but it's very good.
2512820	2514520	It's great at spectral repair.
2514520	2516460	And it gives you a spectrograph, so you can actually see
2516460	2518120	what's happening inside of your signal.
2518540	2519920	And then you can do all sorts of things like
2520120	2522220	de-s, de-hum, de-splosive.
2522220	2523880	I have no idea what de-splosive is.
2524100	2526100	But it has a lot of ways that you can
2526100	2528260	improve the signal. So you can say,
2528260	2530200	hey, I want to learn this area of sound
2530200	2531900	where there's just a lot of noise.
2531900	2534000	Learn that, and now apply it to the rest of the signal
2534000	2535460	and remove that noise.
2536120	2538820	FFmpeg, just so we can actually convert some things around.
2538840	2540160	And then KeyTap3 is really
2540160	2542320	the heart of the system for the keystroke
2542320	2544220	extraction. We want to know what the person is
2544220	2546160	typing. And I like this
2546160	2548020	guy's GitHub. He says, I like BigVMRC
2548020	2549180	and I cannot lie.
2549980	2551620	So KeyTap3 is part of this
2552500	2554100	software where he takes audio
2554100	2556080	and he's able to then separate
2556080	2558080	out the keystrokes. Now what's interesting
2558080	2560000	is that when you have a keyboard and you press some keys
2560000	2562220	on it, every key produces a unique
2562220	2564320	sound. Now we're not recording
2564320	2566040	sound, we're recording vibration.
2566040	2568160	Because we're hitting the laptop and
2568640	2570160	reflecting off. And when someone's
2570160	2572200	typing on that laptop, the sound is just
2572200	2574380	vibration. And vibration matter.
2574380	2576040	So the laptop is vibrating.
2576040	2578200	It's literally vibrating. And because every unique
2578200	2580120	key has a position, just like
2580120	2582140	if you hit a drum. If you take a drum and you hit it
2582140	2583940	in one location, you're producing one sound.
2583940	2586180	If you hit it slightly somewhere else, it produces a slightly
2586180	2588020	different sound. You can record that
2588020	2590300	and you can differentiate those two sounds.
2590300	2592680	Then you can figure out where they've actually hit.
2592680	2594080	Now on a keyboard, you don't know
2594080	2596160	what they're typing. You don't actually know what they're
2596160	2598060	hitting. But if you've collected
2598060	2600300	over 100 or 200 keystrokes
2600300	2602100	and you know the language they're
2602100	2603980	typing in, then you can perform
2604560	2605440	analysis and
2606140	2608200	frequency analysis. Like what are they actually
2608200	2610420	typing? This is a Zodiac Killer.
2610420	2612240	So he would release these
2612240	2614060	puzzles that are essentially
2614060	2616120	substitution ciphers. You can take
2616120	2617920	all encryption and break it down into substitution
2617920	2620120	cipher and transposition
2620120	2621000	cipher.
2623400	2624180	Just some
2624180	2626120	examples. I love the outdoors.
2626220	2628020	So going and as well as
2628020	2630080	pointing lasers. So a couple demonstrations of the
2630080	2632180	setup. Here
2632180	2634220	we can see what this actually looks like
2634220	2636000	as you're pointing the laser
2636000	2638460	onto a reflective surface of a laptop.
2638640	2639980	We'll just see the keytap
2639980	2642040	software. FFmpeg and keytap running.
2642040	2643860	This is at 10x speed.
2646120	2648180	Gonna be very hard to see, but the next slide
2648180	2649460	I will do a little screenshot
2650180	2651820	so we can compare.
2652380	2654200	Again, that's 10x speed. So here's
2654200	2656160	typing on a keyboard, what I
2656160	2658120	typed, and then what keytap 3 was able
2658120	2660040	to recover. This is after going
2660040	2661900	through the setup, after going through
2661900	2664100	GNU Radio, then iZotope RX
2664100	2666060	with a lot of cleanup. Again, I
2666060	2668120	needed to collect at least 3 kHz
2668120	2670060	of sound. And also just
2670060	2671480	an example of what the sound
2672060	2673440	actually sounds like.
2674340	2676020	This was playing music inside
2676020	2678380	of a room and then reflecting off the window.
2680120	2682040	And you can hear a little bit
2682040	2683240	of that sound.
2698270	2699350	And that
2699350	2700930	is the project.
2700930	2702950	The challenges, I mean, this was
2702950	2704590	really interesting. How do you get rid of noise?
2704590	2707210	This whole thing was really a
2707210	2709250	signal processing. And the improvements
2709250	2711330	to the laser microphone, the biggest thing
2711330	2713150	to the laser microphone was really
2713150	2715350	getting outside of the sound domain,
2715350	2716850	getting into the radio domain.
2716850	2719230	Once you get into there, then you have a lot more
2719230	2721130	processing capabilities and you have
2721130	2723010	all the sound, a ton of noise that
2723010	2725690	was there, is gone.
2725690	2727170	And there are plenty of improvements
2727170	2728650	we can make, we can discuss
2728650	2730590	later, but thank you so much.
2730590	2731530	I appreciate your time.
