Hello, Defcon, how is it going? Good. So, I'm Andrea Barisani, he's Daniele Bianco. We got weird names because we're Italian, so... We mispronounce our names even when talking in English, so don't worry. You don't have to know how to spell them. So, we're going to talk about sniffing keystrokes with lasers and voltmeters, which we think is a very fun topic. How many of you have seen our talk from two years ago about GPS navigation? Raise your hand. Okay, so do you remember the video that was in there? Okay, so there's going to be a second episode of that. For everyone else, we do a cheesy Italian drama movie every time we do a presentation to announce it, okay? So, at some point in this presentation, we'll ruin our reputation by showing you that video, okay? So, it will be fun, I promise. So, if you get bored, don't worry, there's going to be that video in the middle. So, yeah, we're new, you know. This is what we did two years ago, putting stuff like that on GPS, you know, terrorist incident, bullfight, which was a favorite for most people. We don't know why. We think it's perfectly normal, you know. So, first of all, disclaimer, we play with electronic stuff, circuits. We are too idiots, so don't really do that at home. You can get electrocuted, which is not fun, okay? So, safety first. Now, having said that, we're going to show you two unconventional attacks. Attack number one, power line leakage detection against wire PS2 keyboards. And attack number two, optical sampling of mechanical energy against laptop keyboards. So, fancy titles for really cool things. So, why bother? So, I have a project called the Open Source Computer Imagery Response Team. So, we deal with software every day, and we're bored by software. And hardware hacking is good fun. If you haven't done hardware hacking in your life, you should really do it. Because if we can do it, everyone can do it. Trust me on that. We're going to show some unconventional side channel attacks. Side channel attacks are good. We use relatively cheap hardwares. So, we're not going to show you something that, you know, takes $10,000 for doing it. Freaking laser beams. Come on, guys. Laser beams are the best next thing, you know, next to robots. We'll work on that for next year. And then we can have robots with lasers, and we'll be great. And as always, more important, girls will melt when you show this. This is a very important message. Every time we do our research, we want to demonstrate. We want to demonstrate that you can get laid by using our techniques. You know? If you have that, you know, remote exploit, whatever, what does it matter if you cannot get laid? That's, you know, that's the driving force. Because we're not, you know, socially inept. Hackers are good socially-wise. So, you know, this is very important. And we will prove that with the video, okay? Keep that in mind. Okay, so we're going to talk about Tempest. So, what is Tempest? Tempest is not an acronym, but, you know, you can use it as such. Transmitted electromagnetic pulse energy standards are testing, or tiny electromagnetic particles emitting secret things, or the emissions might produce extremely sweet talks, like this one. It concerns the investigation and studies of compromising emanations or fortuitous leakage, okay? The term was coined by the Feds in the 60s and 70s as a codename for the NSA operation for secure electronic communications. So, the Feds. The Feds in the room probably know everything about that. Now, there's lots of public research relevant to attack number one. Tempest has been previously covered in research concerning LCD and CRT displays, mostly. So, reading your monitor from a distance, okay? There's also a research about compromising radiation emanations of wired keyboards from some Swiss guys, which are great. They're, I think, we think they're doing a great paper. It is yet to be released, but it is related to our talk. We work independently at the same time on it. So, the theory of the first attack. The keyboard PS2 cable has the following wires. The data wire, the ground wire, the voltage, and the clock. And pin-to-syncs are unused. So, what do we think is going to happen? The wires are very close to each other, and they're poorly shielded. There is a fortuitous leak of information going from the data wire to the ground wire. The ground wire is routed to the main power of cable, which is connected to the power source. And then the electric grid, okay? So, in your PC, the ground wire is shared. If you have a ground wire anywhere in your any component, it is shared with the main power adapter. And that goes directly into the power socket. And then into the electric grid. So, we think that the information about the keystrokes leaks to the electric grid. It can be detected on the power outlet, including nearby ones sharing the same electric line. And the clock frequency of PS2 signal is lower than any other component or signal emanated from the PC, okay? Because we're talking about kilohertz, okay? And everything else is above the megahertz, okay? So, that's a very important factor, and you will see why. We want to isolate the leakage by filtering out the signal from the noise. And this leads to profit, right? Which is all we want. Now, so, again, there is some documentation which suggests the possibility of doing some kind of attacks using the ground wire, okay? But no, you know, definite paper or very good explanation. And, again, as I said, the Swiss guys, they say that the shared ground may act as an antenna and significantly improve the range of their attack, which is done over the air, okay? So, at the same time, both groups were working on the same thing. Which is good, because that's a confirmation that what we're doing is not completely crazy. So, this is PS2 signal. So, data is transmitted one bit at a time. And each byte is sent in a frame consisting of 11 or 12 bits. In our case, it's 11 bits, okay? So, it's very simple. And it has a clock frequency range which is between 10 and 16.7 kilohertz, okay? So, we want to see this very nice square wave here with the 1s and 0s and the bits, okay? That's a letter B. So, this is what we do. And now maybe you can make yourself useful, okay? Thanks. Yeah, this is our sniffing diagram. It's pretty simple. The only thing that could appear a little bit weird here is that the fact that we have two different grounds. But, yeah, it makes sense because since we want to measure the current leakage on the ground line, right? We need a clean reference ground. And, yeah, Andrea, we will show you how it's possible to get a clean reference ground in a building. So, I just want to say this, that when you show this kind of diagram to an electrician, shut up, fuck it. An electrician would likely say, hey, what the fuck is that? Why do we have two grounds? But what I like to say is that it's like going to a locksmith and asking for bump keys. They will say, hey, why do you want that for, okay? When you do hacking, you will make things that looks very, very weird for people in the business, okay? But, you know, the evilness that comes out is very good for us. So, yeah, the thing that we have to do is to put a probe resistor in this diagram. It's 100, fuck, it's 150 ohms, but, yeah. Yeah, it's, I don't know. And, yeah, and we put the ends of the probe resistors into an ADC or something that is able to convert the analog signal in something that you can parse, store, and whatever. So, yeah, in our test, we used a digital oscilloscope as ADC. And, as I said, we wrote the ground of a NERBI power socket to our ADC. And we measured the differential of potential in order to get a measure of a dispersed current into the ground load. And we tried to compare the result of the NERBI. Yeah, what about the clean reference ground? That's enough talking for you. Get back there. So we need a reference ground, okay, something which is very clean. So what is clean? Oh, wait, wait a second. So this is the evil power cable okay, which is not evil because it's a European power plug, which I can understand you might think is evil okay, but it's evil because we're, as you can see, we're opening the ground wire when we're attaching our probe, okay? So if you do this, don't touch the blue wire, okay? Don't do it, okay? Because you will end up like him, which is not nice, right? Even the brown guy. Yeah, even the brown, yeah, okay. So show the evil cable. So this is the evil cable, okay? Yeah, you touch it many times already. And this is the clean ground, which is a toilet, okay? So toilet sinks are perfect because you have the tubes there, which are not to be confused with the tubes that runs the internets, okay? And so again, this is very, very classy. And hints for spies, hotel rooms, they all have those, okay? So you can be in your room and you can use that as a clean ground, okay? So the theory is that the tubes there goes down into the earth, okay? So that makes it a good ground, which is not the ground of your electric system, which is the one you need to measure, right? And you need that because otherwise there won't be any voltage potential difference. Okay? So this is our, the testing lab we used was actually a nuclear physics laboratory with lots of particle detectors, which means that the ground was extremely noisy. Like, you would expect that, you know, when you do physics, you need precise measurement and everything needs to be very clean, no noise, no emanations. It was hell. Like, there was almost a vault of noise on the ground where it was, you know, it was so bad. And so substantially more than a normal scenario. So if you do this in an apartment or an office, you're going to get a much, much cleaner signal, okay? So this is, like, worst case scenario, okay? So if it works there, you know, it might work everywhere, everywhere else. So this is the original data that you, you would see. Like, there's nothing there, you know? It's crap. So what we want to do, we want to filter the noise, and unfortunately for that, we need to pass the mic to Daniele Bianco again. Okay, so, yeah, in order to filter, to filter the noise, we have to use some kind of filter, of course. Nice. Yeah, it was a, it was a great concert. Did you prepare that last night? Yeah, yeah, it was. And, okay, so you can use a finite inputs response filter. It acts as a band pass filter. And, of course, we want to select all the frequencies between 1 to 20, kilohertz because that's the frequency of P s two clocks, so that's the pre-, that's the frequency we are looking for. Just, yeah, in our test we not tested that, a good, good sampling rate in order to get good results are between 1 mega sample per second to 100 kilo sample per second. And, of course, you can use whatever you want to perform the, the filtering stuff, but one possible choice is to use Scilab. It's a scientific software, and it's very easy to use. And here you have an example in order to make a finite-to-response impulse-to-response filter in that band of frequencies, 1 to 20 kilohertz. Okay, so get back there. So this is an original data taken directly from the keyboard, okay? So just to get an idea on how the filter works, okay? So we can see this is the original data, and this is the filtered data. You can see some artifacts which are made up by the filter. That's perfectly normal because the filter cannot do miracles, okay? So we want to see something similar to that in our actual results. So, again, this is the original signal. Here's what happens. We can see that there's something here. We filter it, and we see this nice fella here, which kind of looks like what I showed you before, right? Looks similar to that one on the bottom. And if we analyze that, we see that it's actually a letter A. And now you should all go, oh, yeah, it works! You can get results from the groundwater. And this was actually sniffed on a power socket, which was a power socket. It was 15 meters from the actual target, okay? Scary, huh? So you can see it's letter A. Different example, okay? So depending on the time of the day, the noise on the groundwater in the laboratory was kind of different, okay? Because for some reason, some time or some machine was going up or whatever. And so this is, you know, a different kind of noise that you can see. But, again, this is still a letter A, and you can make that out. Again. Again, different time of the day, different keyboard, actually. And this is letter B. So I could show you letter C, D, E, F, G. But, you know, I think you get the point. And we want to have slides for the entire alphabet. So it works. And the thing is, the nice thing about working with such a low frequency is that considering a typical copper cable with a coefficient of 0.1 decibel of attenuation, it means that after 60... After 60 meters, 50% of the signal survives, okay? And the equipment we use isn't really the highest end you can really get. And we did this in, like, what, six weekends or something? And we're basically too idiots. He's more idiot than me, but anyway. And so think about what a government agency can do with, you know, dedication for these kind of projects. And we didn't notice any significant difference between the signal at 1.5 meters and 50 meters, okay? There was no relevant difference between them. So keep in mind that a typical signal has an output power of one nanowatt, okay? That's the typical output that you would get. So it's tiny, it's very weak, but it's good enough to be detected, okay? For a comparison, it is not a fair comparison because there are other factors involved. But if you think about it, the GPS signal that you get is in the order of... It's less than a picowatt, okay? So this is three orders of magnitude stronger. Than the signal you would get from a GPS. But, of course, well, the current as a factor in there. But, you know, just to give you an idea. So what we want to do, we had our oscilloscope and stuff. So the oscilloscope costs a lot. But, of course, you can use them for this kind of research. But we want to do continuous sniffing with something which is very, very, you know, simpler than that. So what we use, we use a microcontroller with an ADC, a built-in ADC in it. So we set a one-megasample percentage. It's a sufficient rate for the analysis, okay? So what we use, we use the ATX mega from AVR microcontroller, which is an ADC, which is a 12-bit resolution and has actually two-megasample per second. Okay, so we just need one, but it is two-megasample per second. So what we want to do, we want to do some... You know, we want to get the data on the microcontroller. Then the microcontroller has an SPI interface, okay? And then we want to convert that to Ethernet. And for $149.99, we can get our... We can get our own device, okay? So actually, the chip costs like $1 if you get 1,000 of them. But hey, you can just email them and ask them, can you give me a free sample? Yeah, sure, we'll give you a free sample. We have no idea what you're going to do. And here we are at DEF CON, which is awesome, okay? So again, talk about this slide. Yeah, the microcontroller is pretty easy to use it. And of course, we have to connect our... The ADC of the microcontroller to a SRAM buffer in order to bufferize our data. It's better if we use a DMA channel for that because, you know, we allow the CPU to perform some other task while it's copying the data from the ADC. Finally, we put our data... to the SPI interface in order to be able to use an SPI to Ethernet converter. Very useful in order to put the data to the final PC. Okay. Ethernet, not Ethernet. What the fuck is Ethernet, you Italian? Sorry about that. So you can see that the converter is as big... as the actual RJ-45 socket, which is awesome. The chip is very tiny, and this is a European coin, so that's an evil coin for you. I think with the current exchange rate, that's like $1,000. That's that coin. Sorry, sorry. I love the States. I didn't want to... Sorry, sorry for that. I just thought it was fun. So if you're really, really evil, you can build this in a very... very nice and slim form factor, and then you can hide the device wherever you want, and you can use also, you know, as you have Ethernet, you can also attach a small wireless thing, and then you can, you know, have your data streamed to you, which is very nice. So the SPI to Ethernet converter, there's lots of them. There are crappy ones and better ones. Basically, what you can do, you can program them if you want, but there are some of them which... which opens a port for you, so you can connect with Telnet on it, and it will stream back the SPI data. to you, which I think is kind of handy. Or if you want, the converter can be the client, and you are the server, so it will stream the data. It will try to connect to you, and will stream the data back to you, which is really great. This is the programming board, okay? So it's not for the real deployment. It's something that you use for programming the chip and testing it. We got the evil power cable there, again, and this is the actual converter, okay? So this is actually the full setup, and as you can see, the power adapter is bigger and you can fix that. So let me show you... So what we do, we stream the data back to a PC, and then you can... there are many programs you can do, but basically, so this is like a crappy Java application that allows you to see a text file in real time, okay? So basically, what you build by doing this thing is a very cheap oscilloscope, which is a very tiny form factor. You can connect it to Ethernet. It costs, you know, nothing, but it's great for our purposes, okay? Sorry for the silence. Okay, so, depending on the sensitivity of the equipment, keystrokes can be probed from the nearby room or even farther, even, you know, in the basement. And, of course, you can always tamper the power outlet itself. You will get a very, very good signal there, but, you know, if you can do that, you can also hide a webcam in the floor, so it doesn't really matter. So appealing alternate targets rather than your, you know, PC are ATM machines, because we know that at least in Italy, some ATM machines, they use a PS2 keypad, okay? So what you can do, you are in your shop nearby, and you use the device, and you can get all the pins, which is also nice, because the pin, you can know it's only going to be digits, so the amount of matching and processing that you need to do for getting the keystrokes, you know, doesn't cover the entire ASCII table, so it's going to be lower than that. So, we analyze PS2, of course, but, you know, any kind of serial protocol that uses a low frequency is going to be, you know, to be affected by this kind of photography. Of course, we cannot, you know, be certain for every protocol, but the theory is there, and it's sound, and we're confident that with more expensive equipment, can lead to much more precise measurements. The important point to understand is that the data is there. It leaks out, okay? So it's a good playground for all of you hackers. Um, this shouldn't work against USB keyboards, because USB uses differential signaling, which theoretically doesn't do any useful noise, but there are still possibilities, because the actual microcontroller on the USB keyboard, it does much more work than a normal PS2 keyboard, okay? So there are some chances for power draining and stuff, so we want to test that, and we will do that in the near future. Uh, there might be other factors responsible in minor part for the interference, and it might be, you know, some other factors, but it's difficult to pinpoint them, okay? But we think that the big factor is the fact that the grounds are very close to each other, as we said before, and we look forward to see the task from the Swiss guys, the paper from them, because, um, you know, we think it would be awesome. What? The Swiss are great? Yeah, except you, Rafi. Anyway. So, workarounds. Of course you can look like a dork, but who would want to use ThemeFold for... Oh man, dude! Is this Prada? New collection? But anyway, as there's no electric activity in your brain, what do you ThemeFold it for? You know? Asshole. Anyway, so... So, yeah, you would look like a dork, so, sorry for that guy. Maybe he's here. No, okay, anyway. But see, the power cable here is not shielded, so that's an epic fail. Anyway. So, attack number two, and the video is coming right now, so don't leave. Um, attack number two... So, the thing is, this doesn't work with laptops, okay? Which is a shame. So we need something else. So we know that previous research addressed keystroke acoustic, okay? So by listening to the sound of your keystrokes, and by evaluating the timing, you do a statistical attack, and you can understand what's going on. So we know that laser microphones can be used for monitoring sounds at a great distance, okay? But here's the idea. Why not point in the laser microphone at the laptop itself, instead of the window, and sample the mechanical vibrations from the laptop? Profit! Okay? Again, profit. It all leads to profit, which leads to girls, okay? So this is the moment you'll be waiting for, because I know you don't give a shit about our research. You just want to see the video, you just want to get laid. ... So we gotta do a summary for the people that didn't see the talk. Oh god, I forgot to change that slide. Shame on me. Okay. Only one slide I had to change. Yeah, sorry for that. Anyway, so the evil hacker and the failed porn star. Guess who's who, right? Sorry, this is an ongoing battle in our series. So, the porn star was driving with a girl. We don't know why. At some point, the hacker sent a fake GPS, a fake, sorry, traffic message information and we detoured the porn star. He was amazed by what happened. And the evil hacker turned out with the portable device. Okay? That's very portable. The porn star realized that his skills in navigation and driving failed totally. So he was desperate. That's the face of epic fail. And we will totally upload that to Wikipedia. The girl was amused. Of course. She is the return of investment. Profit. So, let's see what happens in episode number two. Be very, very, very afraid. Dear diary, I feel that tonight will be our night. I think that now she loves me. Asshole. She really loves me. I need to perform. I need to satisfy her. What do you think, dear diary? Is Viagra the answer? Yes. I better reply to one of those many mails I get every day about it. Tonight. Yes. I got everything. He's so lame. He's so doomed. Who is it? Viagra. Wow, so soon. You again. Yes. I'm the evil hacker and I know that you need Viagra. I know your diary. That's impossible. I was even connected to the internet. But I use laser beams. Laser beams to sneak your keystrokes remotely. And so now everyone knows. I posted it on a group on Facebook and everyone knows! Yes! My secret! Yes! What's going on in here? He needs Viagra for satisfying you. You were using Viagra? Yes. But while he took the blue pill I took the red pill a long time ago. But how did you hack into his computer? Using laser beams. Oh gee. It works! your experience may differ. So if it doesn't work for you don't email me, okay? Email him anyway. Anyway, now you have the proof that it works, okay? So I'm not sure what we're going to do next year. It's tough to beat this one. Maybe a click hangar will do. Anyway, so laser microphone assembly. So what you need is one laser, one photo resistor or photo diode. Sorry, one freaking laser! A battery, a universal power adapter, a jack cable, a laptop with sound card, a tripod and a focusing lens. $79.99 excluding the laptop, okay? An optional, an amplifier, optical bandpass filter and some duct tape. Okay. So we use a Class 3R laser, which is a crappy one. It costs $20... $30. It's slightly better than your average laser pointer, okay? The only advantage is that you actually hook it to the battery and it's always on so you don't need to press the laser because when you're sampling vibration you know pressing the laser is going to be bad, okay? So that works better. The more money you throw at the laser the better is going to be for you. I don't know if I'm to be the range okay uh we use do you want to talk no you're ashamed of yourself okay so you can use different photo diodes uh for for as for the detector part so photo diodes work better than photo resistors okay so these are some some models that you that you can you can you can look up they're they're very cheap they cost like 50 cents so it's really nothing um so this is a diagram of what happens this is not different from a normal laser microphone okay the one that you see in spy movies the only difference is that we're pointing at a laptop and not at a window okay so what happens you have your the transmission part which is this fella here okay your laser you point it to the to the a reflective surface on the laptop you get the reflection back on the the detector here okay which is powered by a battery okay um you use a resistor for actually tuning the thing i'll explain that later okay and then you use an audio jack and you input that in into your laptop okay so use your sound car as small um uh adc and it's good enough so this is the actual device uh after the talk is done you can we can show you all the hardware if you want we'll be happy to do it okay um i don't know that's okay that's very dark so what happens when you get the reflection back you see you can get two three four dots you won't get just one red dot okay because depending on the surface surface you're projecting the the beam to and depending if you have uh glass in the way you might have a dispersion pattern okay so you just need to chase the one which is you know the strongest one but not even that one some cases you you need to to find the weakest one and it all works so in order to test the device you can first try it with audio okay if it is going if it's a good audio laser microphone then it will be good enough for for sniffing the keystrokes and keep in mind that without any hardcore tuning without good results below you know without a good hardcore tuning you can get the really good result okay but i i think within 30 meters with our crappy laser. And longer distances requires precise calibration and filtering, okay? Because what happens is basically, depending on your setup, it is very easy to saturate the detector, okay? Which is a good thing, because it means that if you put some filters, or if there's daylight, you can actually distinguish the laser from the ambient noise, okay? From the ambient light noise, okay? But the longer the range, the better the tuning needs to be. The powerless, just when you put microphone and you want to hear something which is very, very weak, okay, you'd need to do some tuning, but the data is there, and you can do it. Of course, if you buy a very expensive laser, which is like, you know, $400 laser, then, you know, it would be powerful enough, and it would be good for you. Just to give you an idea of how the audio from a laser microphone works, this is a non-equalized example, which was taken just by connecting the things together, pointing to the windows, having someone said something, okay? Nothing special. So I just said this is a test with our laser microphone. Could you make... Were you able to make that out? No? Fail. Let me tune the volume up. Can you hear it? Okay, that's without any tuning at all, okay? So it's good enough for distinguishing the words and without any amplification at all, okay? So where do we aim this thing? So we aim directly at the laptop case, generally the display lid, okay? Aiming at the top of the lid. Can you make yourself useful? We got to show this thing, man, okay? So aiming here produces more resonant waves, okay? So if you aim at the center or the bottom, it's going to be better, okay? So these are some simple keystrokes, okay? This thing here, which is stronger than anything else, it's the spacebar, because luckily for us, the spacebar is a very different key for pretty much everything else on your keyboard, and we can distinguish that, which means we can distinguish the different words, which is very, very important for this statistical attack. And of course, there are the letters here, okay? So one first thing that you can immediately tell is that you can assess the timing of the keystrokes, which means that all the previous research that has been done on the time of the keystroke, the timing of the keystrokes applies here. It's just that we extend the range, which is kind of a cool thing. This is a sample from a different keyboard. Of course, different keyboards, they will produce totally different results from a graphical point of view, but the concept is always the same. As you can see, the spacebar here is even much more detectable. And of course, we got the different keys there. Just to, you know, this is not really helpful, but just to give you an idea of what happens if you, sorry, if you convert, those to sound. But remember, those are not sounds. It's not a normal laser microphone. That's mechanical vibration, which are now turning to sound just for your benefit. This is slowed down, by the way. You see the thumbs? Those are the different keys being pressed, okay? So those are the signals we need to distinguish, okay? But it's not audio. It was audio because I decided to play it on the speakers, but it's really not. So we can play Wheel of Fortune, okay? So we have different keys here, okay? And we can say, oh, well, maybe this guy kind of looks like this guy, which kind of looks like this guy, and so on. And so you can assign different groups to the keys, okay? But as we don't want to do it visually, because, you know, it might take some time, we can use a technique, which is called dynamic time warping for doing this kind of analysis. So it's an old-fashioned technique, actually, which is used in speech recognition. Okay? It's used for detecting if you're saying a word fast or slow, it is able to tell you, okay, those words are going to be the same. There are more modern techniques, like hidden marker models, that should work even better. So what happens here, this is an example. There's a straight line here, okay? This is a comparison between two signals that are exactly the same, okay? So this is the shortest spot from A to B. So what happens with the other signals, you can see that the line, it's not straight, so the longer the line, the worse is going to be the score for that specific signal. The shorter the line, the best results you're going to get. So it means that the two characters are actually, you know, more similar. So what we do, we did some results, we did some testing. We said, okay, you have characters number one compared to number two, then to number three, to number four, and so on and so on. And so what happens, we get a scale of results. And whatever ends up here, it means that it's more likely, you know, these pairs, are more likely to be the same. So here we're comparing pairs of keystrokes, okay? And these, obviously, they do not match at all. So what happens is that eventually, you will end with a pattern like this one. So, like, one, okay, the first key is just like the last one on the first word, which is the same as the first one as the last one of the second word. The second key, I have no idea. The third and the fourth key are completely different from anything else. And then we have, again, recurring groups, okay? And we can tell that they're separate words because, remember, the space bar can be, you know, can be easily detected. So what you can do with this pattern, you can put a pattern into a sample application, a small application that does, you know, matching against the dictionary and analysis against that. So what happens if we put this kind of data? So we get the first entry is hogwash hash, which I have no idea what it means. So, you know, it doesn't matter. Salmon sons? I don't know. It's not likely to mean. Secret sets? Maybe, maybe. Salmon sons? I don't know. Sockets sets? Meh, nah. Soviet sets? Cold war. We're sniffing a spy. That's great. Statue sues? Well, everything sues in America, but a statue suing, that's not very likely. Straight sits? Nah, not really. Subway says? They don't generally talk that much. Tempest test? Oh my God, could it be tempest test? So, here you can see the importance of the context. If you know the context of your victim, if you know that it's a diplomat rather than your ex-wife, rather than a sports player, rather than, you know, whatever, then it helps you a lot in narrowing down the results. Then we have tiniest test, maybe tiniest test, and try to intend, you're right. So we got 12 results, and there's one very important thing to say here. This was done with just two words being typed. So, we got 12 results, but there's no previous knowledge about the typing. So, if you add just an article in front of tempest test, if you add the tempest test, then you narrow down to two options. One which doesn't make sense, and one which makes sense. If you have a page of data, you can narrow it down just to one possibility. And the cool thing about this is that if you type a page and then you type a password, or you type a password and then you type a page, it doesn't make any difference because we can reuse the results. The order of things doesn't matter. I can reuse knowledge, you know, and then apply it to the password. So, and we might be that we don't get your entire password, of course, but all of you know the importance of narrowing down the options when cracking a password. Okay? If you can just know three or four digits out of it, then, you know, it's going to help a lot. Of course, one very important thing, you need to know the language that it is being typed. Because if it's English, or Italian, or Japanese, it's going to be a lot easier. It's going to be, you know, completely different, okay? And non-word, yeah, again, yeah, it's good for passwords as well. So attack scenarios, we try different laptops. This is an ASUS EE-EPC, which has a very, very nice reflective plastic case. So you can point wherever you want. And this laptop is pwned, basically. IBM Lenovo ThinkPad, so what you can do on the Lenovo, you can either, let me show you that. Put your hand for the reflection. You see the reflection on his finger? Yeah? Okay. So the logo's good. And this here, the antenna, the wireless antenna, is all reflective case, so that works too. And it works pretty well. And now, we always thought that glossy was evil. So Apple, when you decided to do the glossy screen, yeah, you're owned, okay? So you can be behind your target, and you can be behind your target. And the screen is perfect. In front of the target, the case is not good. But the actual shiny Apple, the white shiny Apple, is very reflective. So, okay, way to go. So obviously, a line of sight is needed, either in front or above the target. But a cool thing is that the transmission and the receiver can be a completely different location, okay? So suppose you want to sniff on an, I don't know, an office building, and the guy is on, you know, the 25th floor, okay, with a laptop lid, you know, with this angle. So you point your laser at, you know, maybe straight at the same floor on a nearby building, and the reflection will go back down on the ground, and your receiver can be on the ground, okay? The more money you throw at equipment, the longer the range, okay? Especially at the laser. But, and also the cool thing, so we try this only with one laser microphone, but you can point four of them in four different locations, and you can combine the results, and it's going to work. You can also use different kind of laser microphones, like one that uses interferometry. So this laser microphone here uses the actual movement of the laser, okay, for sampling the vibration. But you can also use something that detects the actual shift in the frequency, okay? So you can combine all of them. You can actually really combine the data, and as long as you don't have disruptive interference, which is not very likely if they're all of the same type, when you insert interferometry in it, it might be, but, you know, there's a good chance that it's never going to happen. So you can combine the data, and you can have even more refined results, because what you need, so you're not making an absolute comparison. You need a relative comparison between the different patterns that you have, because you want to say letter A, so, sorry, that letter is different from that one, okay? You don't say that is letter A directly. Stop pointing laser at me. I'm not a keyboard. Okay, so I was saying, so yeah, it's a relative match, so you can combine the signals. So, okay, so an attack is possible even with a possibly double glass, because if you have a window in the way, a glass in the way, you lose only 4% at every pass, okay? And, of course, now you can say, hey, if I see a red dot on my face or on my laptop, then now that I've seen this stock, hey, I know what's going on, but you can use an infrared laser. So unless you're wearing infrared goggles at work, you know, you're not going to detect that, and I don't think it's very classy to work on a laptop with infrared goggles. So, you know, you can use that. Of course, you can change your position, your typing position very radically, but, again, it's not very comfortable. Mistyping can be compensated with, you know, with the way that every spell checker does. And, again, you can use previous research against acoustic emanations. You know, it can be applied here. We know it might be hard to get a line of sight, but you're an awesome social engineer, so social engineer your victim. You know, hey, go on the balcony, whatever, and then you can do this kind of attack. So, thank you very much for listening. We hope you enjoyed the talk, and we can take... Thank you! Can we get one or two questions? Do we have time for questions? Do we have time for two questions? Yes. What? Sorry? . With some awesome targeting skills. If it's a foggy day, then it's good, but otherwise, yeah, you need to be very precise, and, you know, but if you use very stable tripods, it's actually easy to do. We did it, and it works. Yes? With the ground? Yeah. So, the PS2 frequency is actually a range, which means that you're not going to find very easily two keyboards, which means at exactly the same frequency, okay, so you can distinguish the two. Any other questions? So, we're going to the Q&A room if you want to see the stuff, anyone ask more questions. Thank you very much. See you next year.