Security Now! - Episode 16
SERIES: Security Now!
DATE: December 1, 2005
TITLE: Listener Feedback Q&A 1
SPEAKERS: Steve Gibson & Leo Laporte
SOURCE FILE: http://media.GRC.com/sn/SN-016.mp3
FILE ARCHIVE: http://www.GRC.com/securitynow.htm
DESCRIPTION: Leo and I discuss questions asked by listeners of our previous episodes. We tie up loose ends, discuss a wide range of topics that are too small to fill their own episode, clarify any confusion from previous installments, and present real world “application notes” for any of the security technologies we have previously discussed.
LEO LAPORTE: This is Security Now! Episode 16 - your questions, Steve's answers. Steve Gibson is on the line via Google Talk from his…
STEVE GIBSON: Hey, Leo.
LEO: …lair in Irvine. Hi, Steve.
STEVE: My fortress of solitude.
LEO: Every - we decided every Mod 4 podcast we're going to start taking questions and responding to them. Is that the idea?
STEVE: Yup. Yup.
LEO: Yeah. And this is Mod 4, Episode 16.
STEVE: Yup, so episode numbers that are evenly divisible by four will be Q&A. And it's really nice because lots of people are posting questions to the form at securitynow.htm on my website at GRC.com. I'm pretty much keeping up. I mean, I am at the moment up to date. And I'll sort of see, like, a question that's asked many times in different ways. And it's like, okay, this is something that, you know, we need to deal with. And also there are issues that come up that really aren't big enough to be a whole half-hour Security Now! episode, but are, like, it's a real good point. And so it really helps me. Also a lot of people are, you know, they have different experiences. For example, we've talked about GoToMyPC. A huge number of people have said, hey, what about LogMeIn.com?
LEO: Right, right.
STEVE: And so, you know, there's another system that is free for their minimum service, that allows people to access their computers remotely. So it allows us to, you know, to bring those things to light, too, basically closing the loop of feedback with our listeners.
LEO: So let's close the loop. And we start with our first question. And this, again, it's a composite of a number of questions along these lines.
LEO: Referring way back to your passwords episode, which, gosh, that was one of our very earliest episodes, wasn't it.
STEVE: We did, I think, the first couple episodes on passwords.
STEVE: After the Zotob worm. That was the very first one.
LEO: Yeah. And that was a great topic. The need for using strong passwords that can't be guessed makes sense. But writing them down and keeping them in my wallet scares me. What if my wallet fell into the wrong hands? What should I do?
STEVE: Ah. And many people have mentioned that. It's like, hey, you know, they like the idea. I mean, they get it that using a password that's complex and has, like, upper and lowercase and just gobbledygook makes total sense to them. But, and then that means you have to write it down. Otherwise you're never going to be able to remember it and get it right again. But what if someone discovered that?
STEVE: And my idea is that, okay, write down a variation of it. For example, maybe write it down with the first five letters from the end on the front. That is, make a simple change to it when it's written down that only you know. So you have a secret way of turning what you wrote down back into what your real password is.
LEO: So somebody finding the wallet's not going to have anything.
STEVE: Exactly. And even if they tried to use it, you know, it's not going to work. And they'll go, okay, well, I guess this isn't the right thing. Or…
LEO: I do that. I just shift the capitalization in a certain way that is according to a rule. And that won't work…
STEVE: That would be good as long as where you were logging into…
LEO: Was case sensitive, yeah.
STEVE: Exactly, was case sensitive.
LEO: Most places are.
STEVE: Or maybe just tack on your own secret five characters to the end of everything that's written down. Anyway, the point is - and people can figure out their own algorithm because we don't want to give it away because otherwise we've lowered the security. But do something to what you write down in a uniform way that, you know, only you know. And so you've still got an aspect of it that is secret.
LEO: And this isn't - by the way, as soon as we finished that podcast, I started changing all my passwords using this portable password policy that you came up with. And I do it only on the low to medium security sites. I have to have stronger passwords on my bank and so forth. But I'll tell you what I - you know, it's not exactly this, but it's like this. I will take the name of the site. So if it's Google, without the dotcom, just Google, and then I will intersperse the letters with the last four digits of my Social Security number.
LEO: And that works. You know, as somebody pointed out in another email, if a couple of webmasters got together and looked at my passwords, they'd be able to figure out how I was doing it. But first of all, that's unlikely. And that's why I only use it in lower security issues.
STEVE: Yeah. And another point has been brought up, actually, another question that I've had several times that this now occurs to me, is many people wrote in saying, okay, but what about a situation where there's a password policy that forces me to change the password every so often?
LEO: Yeah. I hate that.
STEVE: That breaks the algorithm approach completely.
STEVE: The only thing I could suggest is maybe put a serial number on the end, you know, 000, 001, 002. Again, technically you would know, like, what the password was before, if you knew what it was now. But it would allow you to quickly try a few things to get the one that's correct. And again, it's a way of mutating an existing password, making a slight change to it. Still, the bulk of it is completely random and high security.
LEO: Also you created a password page at GRC.com/passwords that generates, you know, truly random strings for wireless encryption.
STEVE: Well, and it's just great raw material. It's raw material for any time someone needs a password, you know, chunk.
LEO: So people wrote and said, okay, fine, but how should we manage that password? You know, for instance you have guests who are wanting to log onto your wireless network. Do you give them, the guests, the password? How do you do it? It's so long and difficult to handle.
STEVE: That's a very good point. I sort of glibly said in a podcast, oh, just cut and paste, without thinking it through. Because, you know, somebody who comes to your home isn't yet on your network. So cut and paste what?
STEVE: I have a couple thoughts. One would be, if you have a floppy drive, of course, if people still have diskette drives, you could just use that to move the password over to their machine. Failing that, USB drives are more and more universally available now that would allow you to get into their machine. Or, if they could get on the 'Net any way, and then, for example, you email it to them or, like, leave it on Google Mail, for example, and then you briefly log on, download…
LEO: On their machine, yeah.
STEVE: On their machine, you know, just in order to get it over to their machine.
LEO: I think I like the USB Key. I think that's a great idea. People more and more are using USB Keys to store stuff like that. And that's a very good use for it, I think.
STEVE: And, you know, frankly there's been a lot of issue about - and as we look at these questions, this problem of merging security and lack of security continues to create problems. So another possibility is, if this person doesn't need security while they're at your house, just shut down your encryption. Just, you know, with a…
LEO: Oh, yeah.
STEVE: …button on your browser, turn off your encryption…
LEO: Let them use it, yeah.
STEVE: …while they're visiting. You know, don't you do anything, but…
LEO: It's just temporary.
STEVE: …don't do any online banking with all your neighbors. But, you know, like, while they're there…
LEO: Yeah, that's fair.
STEVE: …you know, you accommodate them. And then when they leave, you switch back up to strong encryption.
LEO: Here's a question that addresses something that we're in the middle of right now. Is it possible to use a public computer in a hotel, a library, an airport, with total safety? What are the security and privacy concerns?
STEVE: Well, now, that's a really good question because that's a little different than sort of the VPN topic that we're going to continue talking about for the next couple episodes. This is, like, you go to a library and want to do something. The problem is, even if you logged into Google Mail, for example, you could use a secure connection to Google Mail to prevent your dialogue from being listened to. But you're using somebody else's hardware and, you know, essentially booted with somebody else's software. So you don't know there's not a keystroke logger monitoring everything you type at the keyboard prior…
LEO: Oh. So even if you had a VPN, they could keep track of that.
STEVE: I mean, if you use GoToMyPC, if you do LogMeIn, or like that SSL-Explorer that we talked about that allows…
LEO: Doesn't matter.
LEO: Doesn't matter. You're still getting your keystrokes logged.
STEVE: So it is a - and in fact, anecdotally we hear that those computers in public locations tend, you know, like script key guys like to install even like a hardware keystroke logger, just inline in the keyboard.
LEO: And that's undetectable. You cannot detect that.
STEVE: Yeah. And so they, you know, some kid sticks it in the keyboard, sits back and pretends to be reading a magazine while other people come up and use the computer. Then they unplug it, take it home, and dump out everything that was typed.
LEO: Oh. So what can you do about that?
STEVE: Don't use public machines.
STEVE: No, I'm not kidding. There is no - again, there's just no…
LEO: Can't be secured.
STEVE: There's no safe way. Even if it's not a hardware keystroke logger, it could be something in software that somebody else has deliberately installed to hack the machine. So, and it's an important lesson, I think, overall, in terms of a security policy, is having known control of the platform that you're using.
LEO: Hardware control, yeah.
STEVE: Yeah, it's your laptop, you're carrying it around, you don't loan it to somebody who you don't trust because, you know, in general you tend not to because presumably you've got other stuff on the laptop that is yours. So maintaining physical control of the computer is definitely part and parcel of being able to be secure using that machine. So you really need to remember that you can't use somebody else's computer that you have no security oversight on in a secure fashion. Sure, it's safe to go Google and browse around and not do anything important. But be very careful, not even logging into Google Mail on a public hotspot machine, because anything could be happening there.
LEO: Wow. That's a good warning. Several times, another questioner asks, you've mentioned that hubs are less secure than switches. What's the difference between a switch and a hub, and why do hubs allow you to see the entire network? Are switches one-way devices like NAT routers?
STEVE: Okay. That's, again, a question that's come up a number of times. The idea between a switch and a hub is that, first of all, only with current 10BaseT technology - you remember that there was - I've lost my vocabulary. Was it 2BaseT?
LEO: Oh, the old coax, you mean?
STEVE: Yeah. With coax you actually had an electrically shared connection.
LEO: I remember that because, if you unplugged your computer from the network, the whole network would die because it was serial.
STEVE: It was a nightmare.
LEO: It was terrible.
STEVE: But you were actually…
LEO: Had these T connections everywhere.
STEVE: You actually had multiple computers on the same physical wire. Well, the way 10BaseT works is different. You have a single computer connected to a hub or a router so that each computer is electrically on its own set of wires, which is really important. Inside the hub, now, inside a hub or a switch is essentially a little mini NIC, a little network interface, just like you have on your computer for every one of its connections. With a hub, anything that any one of those wires receives is sort of mindlessly sent back out of every other one of the connections.
LEO: That's what it means not to have any routing. It's not routed. Everybody gets a look at every packet, and then the one that's for you, you take.
STEVE: Well, routing…
LEO: Kind of; right?
STEVE: We have to be, yeah, we have to be careful of words because routing is something else. The right term would be “switching,” where the idea would be there's no switching, so that what one port receives, all other ports hear. And so that's a hub, where you actually - everybody's sort of on - they're not quite on the same wire electrically, but they're all seeing any information that anyone sends. So the reason this is a problem in a hotel is that you could have a huge hub or a set of hubs where something that one computer on the 12th floor sends to the Internet, literally every other machine in the physical hotel is able to sniff that, and essentially receives that traffic.
LEO: You know me and physical analogies. I've got one for you.
STEVE: Oh, good.
LEO: That will explain this. So it's as if you're in an office, a crowded office, and somebody wants to pass a phone message to you. They can come in the door and shout the message. You'll get the message, but so will everybody else in the office.
STEVE: That's perfect.
LEO: That's a hub.
LEO: If you had a switch, you would be divided up into different rooms in the same office. There'd be other people in your room. But the person who comes in and shouts the messages is only heard by those people in your room, that is, that segment on the switch.
STEVE: Well, actually a switch is even better than that. It is exactly like someone coming in and whispering just to you.
LEO: Oh, really. Oh, I thought a switch divided the network into segments that were still public.
LEO: Oh, okay.
STEVE: What happens…
LEO: So my analogy doesn't work, then. All right.
STEVE: Yeah. I mean, it's sort of tricky because what happens…
LEO: Because I was going to say a router is like somebody calling you on the phone and saying that message directly to you.
STEVE: A switch does that, too.
LEO: A switch does that, too. Okay.
STEVE: What happens is a switch learns which MAC address, which physical NIC is on each of its segments. Now, if you had a master switch, and then it was connected to other switches, and then they were connected to NICs, so you sort of have a hierarchy? In that case, the switch at the top of the tree would learn, like, maybe that there were 10 NICs that were connected to its first port because that then connects to another switch that learns which NIC is on each one of its ports.
STEVE: So it is possible for a switch to send multiple traffic down one of its connections that's then further subdivided by another switch or a hub out further away from it. But essentially, the bottom line, no one listening to traffic on a switch is able to ever hear anything other than what's bound for it.
LEO: It's the guys coming up and whispering in your ear.
STEVE: Just like it's whispering in your ear. In fact, it's funny that hubs are becoming endangered now. It's hard to find hubs because switch technology is coming down in price, and it's just better. So I literally, because I'm in, you know, sort of in the network end of the world, I've purchased a bunch of hubs, just sitting in boxes, before they disappear completely.
LEO: I have some I can give you, Steve, if you really want some.
STEVE: Well, because they're so useful for me. I want to be…
LEO: Well, in our own…
STEVE: I want to be able to sniff the traffic on my own network and watch other computers talking to each other. You cannot do that if you use a switch to connect all your computers together.
LEO: To understand this really requires an understanding how Ethernet, which is a networking protocol that is being used, works. It's a broadcast protocol. Without any special switching, it will just send everything to everybody.
STEVE: Yeah. In fact, in one of our earlier…
LEO: And that's inefficient; but, well, it's actually got some efficiencies and some inefficiencies.
STEVE: Well, it's inefficient because you start having packet collisions.
STEVE: The way Ethernet works is that, essentially, anyone can talk on the wire at anytime they want. If two people talk at the same time, they will collide. Their packets literally collide and scramble each other's bits on the wire. But each of them is listening to the wire as they're talking. So in the old days, when you literally were all on the same wire, or even today if you're on a hub instead of a switch, if two computers on a hub send at exactly the same time, their packets will collide. But because they're all hearing what everybody else says, they hear their own collision, and they realize, oops, somebody was talking, started transmitting at exactly the same time I did. So what they do is they back off, they wait a random amount of time and retransmit. Well, the chances of a second collision are low. But if it happened, then they would, again, they'd wait a random amount of time and try again. The point is, this technology, it's called CSMA, Collision Sense Multiple Access. That's the original brilliant Ethernet technology that Bob Metcalfe invented back in the old days.
LEO: And that's why people came up with switches, because on very large networks you were getting so many collisions that you wanted to kind of segment your network to make it more efficient, to reduce collisions.
STEVE: Well, that's exactly right. If your network gets huge, and you've got a certain number of computers, what's happened is the Ethernet starts to fail because you end up with a much - the rate of collisions starts going up so high that no one is able to get their message through without somebody else stomping on it.
STEVE: And a switch is a store-and-forward technology. It receives the packet; it looks at the MAC address to see where it's bound for. It looks up in a table that tells it which ports the MAC addresses are connected to. And it resends that packet only out on that one port. That's that switching behavior. And that prevents your network from collapsing as it gets really big.
LEO: All right. Let's move on because we have a lot of questions. I want to get to as many as we can. This is a very interesting one from a Good Samaritan. He says, there are a number of unsecured Wi-Fi access points in my neighborhood. Is there any way I can contact them, aside from knocking on doors, and warning them about the security issues that they're facing?
STEVE: That's an interesting question. I thought about it when it was asked, when I received it from the web page. Certainly anything he would do over Wi-Fi would be illegal. I mean, in the early days of filesharing, there were - remember where we had open filesharing ports? There were people who would put text files on other people's desktops telling them that their - I never did this, but…
LEO: This is not nice.
STEVE: That's not a good idea. I mean, it's illegal for someone to alter anyone else's computer, even if you have the best of intentions.
LEO: You mean like Sony?
STEVE: Yeah, exactly.
LEO: Okay, let's not - we'll get into that later.
STEVE: So unfortunately the only thing I could suggest is what this guy suggested, maybe like printing up, you know, Xeroxing some leaflets, some little information pamphlets, and say, hey, I don't know who you are, but my computer can see your network, and it's not secured. It's wide open. I'm not touching your network, and I never have. But you ought to go start listening to Episode 1 of Security Now! with Gibson and Laporte…
LEO: We wouldn't mind that.
LEO: Do a little ad for us.
STEVE: Again, there's no way it is not illegal. And believe me, you could piss off some knee-jerk neighbor who could have the cops out, and it would be a problem.
LEO: You don't want to do that, yeah.
LEO: Here's a fellow who's been listening well, I think. He's using WPA, which is the encryption that you recommend for wireless networking. He's using the Pre-Shared Key, the PSK version.
LEO: And TKIP. He says he's using a killer key from your passwords page. But since AES encryption is better than TKIP, which you said still uses the RC4 encryption from WEP, I'd rather use AES. My vendor doesn't offer it. What is a boy to do? Or girl, I'm not sure.
STEVE: This, again, is sort of a composite question that many people have asked. They recognize that, okay, they're happy they are no longer using WEP. But they know there's something more. They're, like, using WPA instead of WPA2. They know that there's something more. Or there's, like…
LEO: That's good enough, isn't it?
STEVE: Yes. And that's my point, is there's nothing wrong with RC4. This AES…
LEO: It was how it was implemented that was bad.
STEVE: Yes. RC4 is a fantastic cipher, extremely random. You mix that with your clear text, you get undecipherable crypt text. There's just no way that anyone is going to be able to crack it. So I really think that any concern about going beyond basic WPA with a pre-shared key, and especially if you're using one of those gobbledygook 63-character passwords from my passwords page, I mean, you are just nailed down. You are super secure. And there's another reason not to go further. You might be able to get, like, one computer and your access point to hook up. But the further you push the encryption, the more problems you're going to have with other devices. Somebody comes over who doesn't support - they may support WPA with a pre-shared key, but not the higher level that you're using. So WPA with a pre-shared key is so strong, you just really - you can stop there with confidence.
LEO: If you don't want to bother with proxies or VPNs at a public hotspot because you're just doing email, how secure are the secure features of web mail systems? He asked about - or this person asked about Google Mail. But I'm actually curious. I use FastMail, which is an IMAP service, but it does SSL. Am I secure? Is he secure?
STEVE: Yes. Yes. Now, we've got to be a little bit careful when we say “public hotspot.” As long as we mean you use your computer that you have controlled and public connectivity…
LEO: A public terminal is another problem entirely, as we talked about earlier.
STEVE: A public terminal, as we discussed before, that's just a big no-no. There's just no safe way to do that.
LEO: Okay. But your password is sent encrypted. Your entire transaction is encrypted. And most of these services, I know Google and FastMail do this, you can click a box to say, yeah, I'm on a public network. Don't, you know, make sure that nothing gets saved and all that stuff.
STEVE: Yes. I would say that it is completely safe. SSL will protect everything you do once it's connected. So, for example, if you use https://gmail.com to get onto Google Mail, and make sure that it keeps you on a secure connection as you move around the website - I believe it does - then you're safe. As long as all you do is email that is over that SSL connection from a public hotspot, you have nothing to worry about.
LEO: And listen next week because we are going more into detail on how to create a VPN that you can use to be secure all the time.
STEVE: Excruciating detail.
LEO: Oh, man. No, let's not get started, because I've been playing with some of the things you're going to suggest. And “excruciating” might be the right word.
LEO: Is it possible, one listener asks, to compromise a NAT router or a NAT router modem? Here's what happened. Normally ZoneAlarm is silent on his PC. A few weeks after resetting the NAT router he began to get a couple of ZoneAlarm alerts from real IP addresses. He reset the NAT router again. That made it go away for a few weeks. But it comes back. Is he being corrupted? Is he being compromised?
STEVE: Yeah. I would bet money - you know how we've talked about the moment you put a NAT router in, your personal firewall goes silent because there's no way unsolicited traffic is able to enter through the NAT router any longer.
LEO: Any alerts you get will be from outgoing, outbound traffic, not incoming traffic.
STEVE: It'll be your own applications asking for permission to use the Internet, exactly. I would bet anything this guy's got Universal Plug and Play enabled on his router. And that is a big no-no. Universal Plug and Play is an insecure technology that Microsoft created which allows - basically, it's sort of their zero administration effort. The idea is they want their MSN Instant Messaging and things just to work. They don't want to ask users to open ports through their router, to have to do, like, static open ports. Basically, Universal Plug and Play allows the computer to tell the router to open ports. And what's worse, it doesn't show in the user interface. You can't go to your router and see what ports have been administratively opened behind your back. It's really bad. And so this sounds like exactly what's happening here is that something in the user's computer - and that's the other problem. It could be malicious. It could be a trojan that doesn't want to get cut off from the outside world. It installs itself. It uses Universal Plug and Play to bring his router defenses down deliberately so that unsolicited junk is now able to enter through his router. You absolutely have to disable Universal Plug and Play, and then reboot your router. Otherwise…
LEO: And that will be somewhere in the router settings, if you log in or out.
STEVE: Yeah, it'll always be in the user interface. And the good news is most of the routers I've seen seem to have it disabled by default…
LEO: Oh, that's good.
STEVE: …because they're recognizing it's a problem.
LEO: Oh, that's interesting. That's something new. Maybe because of you. I don't know.
STEVE: Well, I've been pounding on people about it.
LEO: Good. What are your feelings, another writer asks, on file and print sharing on a home network if you have a NAT firewall, you know, you're behind a router? I know that XP has a fit about the security issues when you set sharing up. It really does. It warns you several times.
STEVE: Oh, yeah.
LEO: But it is a prime reason I have a home network. I want to be able to use one printer on the network. All my machines, I want to be able to share files. He's not alone. Everybody, I think, wants to do that.
LEO: In addition to being behind the router, the NAT firewall, I have also installed NetBEUI on all my PCs, XP Pro and Home, plus 2003 Server - and that's because filesharing's a little easier over NetBEUI, I'm sure - and have unbound file and print sharing from TCP/IP, so that it is only accessible via NetBEUI.
LEO: Was that a good idea?
STEVE: This guy, he's…
LEO: That's clever, isn't it.
STEVE: Well, he's read my ShieldsUP! pages. That was what I discovered years ago, was that you did not need TCP to do filesharing. NetBEUI was Microsoft's original protocol…
LEO: Used to be called NetBIOS.
STEVE: Well, actually…
LEO: Pretty much the same, isn't it?
STEVE: Yeah. They're certainly related, although they are different technologies.
LEO: Oh, okay.
STEVE: NetBEUI's an actual transport protocol. What's cool about NetBEUI is it is a non-routable protocol. It is unable to get away from your local network. There's no IP address in NetBEUI. It's all only for a LAN, not for a WAN. Now, if listeners don't know what we're talking about, this is all about what ShieldsUP!, the original security stuff on my website, is about. And it shows you how to do this thing called unbinding TCP/IP from file and printer sharing and using NetBEUI instead. I mean…
LEO: Isn't he protected, though, anyway?
LEO: Because he's got the router protecting…
STEVE: I was just going to say, he's a real suspenders-and-belt guy who's got, you know, super level of protection. So he would be safe using NetBEUI even without a router because…
LEO: Because port 139 is blocked by the router.
LEO: And nobody's going to be able to make any NetBIOS calls.
STEVE: Well, and NetBEUI doesn't have ports. I mean…
LEO: Oh, it doesn't. Oh, I get it. All right, okay.
STEVE: I mean, it's completely - it's a non-Internet protocol.
LEO: I see.
STEVE: And so by…
LEO: So what is port 139? That's a NetBIOS - that's a filesharing port, isn't it?
STEVE: Yeah. It's NetBIOS over TCP.
LEO: So that's what we're disabling.
STEVE: Exactly. And so by unbinding file and printer sharing from the use of TCP, you're, like, in a whole different networking realm that can't go anywhere. I mean, he is super safe.
LEO: Good. Good job, in other words. But not necessary as long as you block those ports. If you get a green light from ShieldsUP!, you're stealthed on port 139 and the filesharing ports. You don't - that's enough.
STEVE: If you're behind a NAT router, you're safe anyway.
STEVE: Because NAT protects you.
LEO: Right. You've said that SSL connections are not susceptible to man-in-the-middle attacks, but I've read that they are. I want to believe you, but why do others think that SSL is susceptible to MITM attacks? And when an SSL or VPN authorizes, what stops someone listening to the packages each way to figure out the keys? So first let's start with what is a man-in-the-middle attack?
STEVE: Okay. In fact…
LEO: I have no analogy for this one. You're on your own. I mean, I could do it, but I'm going to let you do it.
STEVE: We're going to start the beginning of the New Year talking about the way the Internet works - what's ports, what's IP addresses, what are packets and all that.
LEO: Oh, good.
STEVE: Then we're going to talk about crypto because we really need a foundation to understand some of this more advanced stuff. So it's probably the wrong time for me to answer this because we don't have enough foundation for me to talk about how SSL security works and how man-in-the-middle attacks can be avoided. I wanted to bring up the question because so many people are asking it.
LEO: A man-in-the-middle attack is when somebody kind of poses as the receiving or the sending site.
LEO: And intercepts traffic.
STEVE: Yeah. The idea is that it's one thing to passively listen to packets going in both directions. And that was the second part of this question was, if someone listened to this session, this SSL or the VPN connection being established, why doesn't that give them all the information they need to decrypt the whole conversation?
STEVE: Because, after all, they've heard everything that both sides have sent back and forth to each other. I mean…
LEO: But that's public key cryptography. That's the whole point of public key cryptography.
LEO: In the old days, if you had a decoder ring and, you know - or you had to send the guy the decoder ring; right? And if anybody intercepted the decoder ring, he could copy down the algorithm and then send the decoder ring on, and you're cracked. But because of public key cryptography, I can send you the public key, and it's still useless. Is that basically it?
STEVE: That's it. And that's probably all we should say for now.
LEO: It just means it's possible to exchange a key without compromising security. You still need the personal, the private key to decrypt.
STEVE: It's sort of like, okay, I could explain this now…
LEO: Let's save it.
STEVE: …but people would get more confused…
LEO: Let's save it.
STEVE: …and everyone's eyes would cross.
LEO: That happens anyway. Let's not…
STEVE: So I want to explain this. It's so cool how this works.
LEO: It is. It is.
STEVE: And I think people are going to get a big kick out of it. But if we do a partway job, people will just end up being more confused.
LEO: So just answer this question. So man-in-the-middle is not possible with a properly implemented SSL?
STEVE: Oh, boy. We're going to get into trouble, Leo.
LEO: Okay. You could say - you could fudge it. You could say “in some cases.”
STEVE: If it - no. There's just no simple way to answer the question. SSL is susceptible to man-in-the-middle attacks if authentication is not involved. A man in the middle, there's no way for a man in the middle, who's somebody who's not just passively listening, but is actually able to impersonate the people at either end, that is…
LEO: That's why these certificates are so important. Certificates are the authentication you're talking about.
STEVE: Certificates are an aspect of authentication. But again, here's where we really need to get careful with our definitions.
STEVE: So there's just - we're going to have to wait.
STEVE: People are going to love this…
LEO: Stay tuned.
STEVE: …when we explain it, yes.
LEO: By the time you've listened to Episode 99 of Security Now!, you will be the next Bruce Schneier.
Nintendo just launched its Wi-Fi service for the Nintendo DS. You can now go to McDonald's and play games against other DS people. The problem is the device doesn't support WPA encryption. The DS only has WEP. Many small portable devices are like this. Any suggestions for a home network where we might want to use these devices and still be secure? In other words, if I've got a DS, and I've got a WPA-encrypted network, I can't use the Wi-Fi.
STEVE: Yeah. And this sort of question has come up in many different flavors. For example, there's some people that have their TiVos on a wireless connection.
STEVE: But TiVo only supports WEP. It doesn't support WPA.
STEVE: They want to run their whole network on WPA, but now the TiVos are stranded.
LEO: Now, Palm did the right thing. They support WPA.
STEVE: Oh. In fact, Leo…
LEO: Which is nice.
STEVE: …I took one of my hairy - I was going to say “hairy-ass passwords” - from my own passwords page. I mean, this thing just makes your eyes cross. 63 characters, it looks like, you know, the computer is badly broken. I did, I copied and pasted it using a little SD card into my Wi-Fi, my new TX, dropped it in, and it connected right up to my network.
LEO: Isn't that great.
STEVE: Oh, using real strong WPA encryption.
LEO: But so if you have a DS, you just - either you don't use it on the network; or you set the network for WEP during that time; or actually, as you mentioned earlier, you could just turn off security during the time you want to use it.
STEVE: The thing that I've suggested to people whose email addresses I had was - and actually they wrote back and loved the idea. So I guess maybe it's feasible. It's possible to run two networks.
STEVE: There's nothing to prevent you from having your - and this actually solves the problem of people coming over to your house, also.
LEO: So have an insecure network and a secure network.
STEVE: Exactly. You might want to run MAC address filtering and hide your SSID so that your neighbors are not using - I mean, I would suggest having one that is WPA running at full security, and probably just leave the other one wide open. Don't even bother with WEP security on the other one if you really don't care. But do use MAC address filtering…
LEO: Just to keep it out of prying eyes.
STEVE: …to keep your neighbors from using it by mistake. Then your TiVos can connect, your Nintendo DS can connect, your neighbors who bring their laptops over…
LEO: Real quickly, what would the topology be? You would have, okay, I have my cable modem or DSL modem. It's connected first to the insecure access point, and that's bridging to the secure access point?
STEVE: There are levels of security that you could go through. But as long as you've got a switch on your router which is isolating the traffic from each other, you're going to be very secure.
LEO: Ah. So you have a router connected to the cable modem and a Wi-Fi access point coming off that router…
LEO: …that is open.
STEVE: And it's not going to see any of your - and none of your encrypted traffic would ever be decryptable anyway because you're on WPA.
LEO: Right. So a modern router is going to have a switch, and it's going to be - that'll be sufficient. An older router might not, but…
LEO: Okay. Let's see. We only have a few more minutes. Let's get a few more in here. What's the security of the Windows Remote Desktop? Is it safe? Is it secure? Do you recommend using it at a hotspot as a kind of VPN?
STEVE: Ah. That's a great question. And we're going to do one whole episode on Remote Desktop security and securing Remote Desktop because it's a really nice way for people who are interested in not using a third-party service like GoToMyPC or LogMeIn.com, for them to be able to access their machines. Microsoft has tried for years to make this secure. And they still haven't got it right. It is deeply encrypted. With XP you're using 128-bit RC4 encryption cipher. So it is extremely encrypted. It is, however, susceptible to a man-in-the-middle attack, like we were saying before. There are even freely available tools - this Cain & Abel tool has a Remote Desktop Protocol man-in-the-middle logging and interception capability that basically someone can sniff that traffic - actually can't sniff it. I need to be careful here myself. They have to actively modify the initial log-in dialogue to insert themselves in the middle. But these tools are available and are known. Then they are able to record everything you do with your Remote Desktop. Now, this is one of those deals where someone says, okay, c'mon, Gibson, you know, it's encrypted, it's secure, it's not susceptible to passive eavesdropping. Isn't that good enough? I have to say yes, probably it is.
LEO: But you should beware that there are holes.
STEVE: Yes. It is - and there again, that's always where we draw the line. I want to tell people what is possible, let them decide whether they care or not.
LEO: Whether it's probable.
STEVE: Exactly. Microsoft has the problem that they are not securely authenticating. There is no authentication technology in Remote Desktop, and no secure certificates. They actually tried to fix this earlier this year and still didn't get it right.
LEO: Essentially what you're saying is that it's secure, but it's not perfect.
STEVE: It is deeply encrypted. It's very strongly encrypted. No one sniffing the traffic would ever be able to get it. And the only vulnerability in the desktop protocol - which is what they're using, RDP, Remote Desktop Protocol - is that, if somebody really wanted, I mean, like, knew you were going to be using Remote Desktop, got all set up, and managed to intercept and modify your traffic on the fly, I mean, it's much more of a theoretical vulnerability. But it exists, and it has been exploited, and the software is on the 'Net that allows it to be done. Then somebody could, essentially without you knowing it, monitor everything you did remotely - mouse movements, typing on the keyboard, capturing your keystrokes, logging in with your email client, running on the other machine and so forth. So it is, like, a theoretical exposure.
LEO: All right. We are out of time. I wish we had more. But, you know what, we will do more. Every fourth episode we'll answer more of your questions. So keep them coming.
Next week, Steve, are we going to finally find that holy grail of safe computing on the road?
STEVE: We're going to address a whole next aspect of VPN, the so-called PPTP, Point-to-Point Tunneling Protocol, and IPSec VPNs, which are implemented by Microsoft and by so many of the later model consumer Small Office Home Office, the SOHO routers. We're going to talk about that works and how, unfortunately, Microsoft has deliberately made their built-in Windows client incompatible with any, well, almost all of those routers.
LEO: So that's…
STEVE: But still some good solutions are available.
LEO: Do we have a silver bullet, a magic…
STEVE: We're on the way. We're on the way.
LEO: All right, okay. We're getting close. Okay. Well, ladies and gentlemen, that's it for this episode of Security Now!, Episode 16. Thanks for all your questions. If you want more information, show notes are on GRC.com/securitynow.htm, as is a 16KB version of this show, and transcripts, too, in all sorts of formats, so you can follow along with the home version of Security Now!.
Our thanks to the folks at AOL Radio who broadcast Security Now! on their podcast channel and very graciously provide us bandwidth so that we can offer this podcast to you absolutely free at AOLmusic.com. I'm Leo Laporte for Steve Gibson. Thanks for joining us in Security Now!. We'll talk to you next week, Steve.
STEVE: Bye, Leo.
Copyright © 2005 by Steve Gibson and Leo Laporte. SOME RIGHTS RESERVED. This work is licensed for the good of the Internet Community under the Creative Commons License v2.5. See the following Web page for details: http://creativecommons.org/licenses/by-nc-sa/2.5/