So the topic of this talk, or at least the official title of the talk, is Phishing Tips and Techniques. I realized afterwards that an alternative title could have been something like Hacking the Mind because there's a lot of information in here about the way human cognitive processes work and their interaction with usability in things like web browsers. So the background for this is, okay, just some standard figures. There's who knows how much money being made from phishing. We know that it's a serious problem. We know that it works really, really well. What we don't know is the general reason why it works. A typical reason why is that users are idiots, which isn't really a good reason. So what I wanted to look at is basically the nuts and bolts of why it works. So first of all, what are the actual threats that we're facing from the phishers? And what are the weak points and outer fences? So the obvious question to why users can't get security right is that users are idiots. And that's an actual thing from Slashdot where someone says pretty much that. And that's a typical opinion you hear when you ask security people about the users they have to deal with. Well, users are idiots. We build all these cool security countermeasures. Users get them wrong. It's not our fault. But the problem with this is that given how successful phishing is, that would assume that almost everyone on Earth is an idiot. You know, joking aside about stupid users. The fact that so many people are becoming victims of phishing attacks, and that phishing is so successful implies that there is a fundamental problem that isn't being addressed by security technology. So what developers have done is they've created a whole pile of widgets for browsers and similar applications. I'm going to concentrate mostly on browsers because most of the phishing is done via browsers. So you've got things like the padlock icon. You've got the HTTPS indicator in Firefox and the next version of Internet Explorer. There's a colored URL bar, certificate warnings, and you've also got optional browser plug-ins that tell you, for example, this is PayPal or this may be a phishing app. This is a phishing site or whatever. The problem with this is that it was never actually ever tested on users. So developers stuck it in. They thought, this sounds like a good idea. Let's stick it in. They never actually tested whether this works. There's a human-computer interaction sort of principle which says that if users don't understand it, it's not there. So, you know, if users don't understand the padlock, you may as well not have it because it's not going to be used and it's not going to be effective. So last year, a group actually did some testing on whether these mechanisms were usable. So whether users were actually being helped by the padlock and HTTPS and so on and so forth. And they found out that, well, you've got the figures there. You know, 65% ignored the padlock. 59% paid no attention to the HTTPS. More than three-quarters didn't even notice the address bar coloring. And in this particular test, of the people that noticed, only two actually knew what it meant. The rest thought it was just some sort of decoration. And most importantly, you know, the prime sort of security feature behind SSL, or basically web browsing, is that you use SSL, you use certificates. The assumption is that if you've got an invalid certificate or some sort of problem, then users will know not to go to that site. What this test found is that 68% of users, once this warning dialog popped up, clicked OK without even knowing what they were doing. So it's not just that they read the thing and didn't, you know, know what to do and clicked OK. It was a reflex action. They just got rid of this warning and connected to the site no matter what. Only one single user in this test was able to explain what they'd actually done. So a standard sort of approach to this is, well, OK, we need to educate users. We need to tell them what the padlock means and what the certificate means and so on and so forth. As it turns out, we've been educating, or at least, miseducating users for years. Every time you go online, you get DNS errors and 404 errors and missing plug-ins and JavaScript and your security settings don't allow this to be run and so on and so forth. So users expect to be constantly bombarded with all these irritating little minor warnings and things. And they've come to accept that if you just click OK or cancel, and in some cases try again in half an hour, it's going to work. So they've got this constant stream of warnings, dialog pop warning, you know, error dialogs and so on and so forth. And they've conditioned users into ignoring them. Now the problem is if you get a network attack, you get symptoms that are exactly identical to these standard, the standard, you know, three degree background radiation of noise that users expect. So basically what happens is the browser is trying to detect these attacks with a 100% false positive rain. Here's an example. You fire up Windows, first time you use it. You go to eBay, you search for dog food. You get that warning dialog. This dialog tells you absolutely nothing about what you're doing. You're going to send information to the internet. Well, yes, obviously, you're surfing the net. You have to send information to the net. So it's a pretty much meaningless dialog. There's no context for it. If you go to eBay for dog food, you get this dialog. If you go to your banking website, you get the same dialog. Even the programmers admit that this dialog is a complete waste of time. You see the checkbox at the bottom that says don't bother me again. So even the people that created this dialog realize that you don't want to see this and it's just a noise. That's a translation of the dialog into, you know, what the users actually obtained from this. That's all that the users actually absorb. And again, the Windows developers, and I'm going to use Windows specifically as an example because it's the most used platform. Other platforms are not much better. The Windows developers actually realized that users aren't going to understand this. So in Windows 95, one of the betas, they actually put in an error message saying that in order to demonstrate our superior intellect, we're going to ask you a question you can't answer. Because they, you know, the developers knew that they were doing things that the users would not understand. So basically, we have, you know, from the last sort of 10 years or so, we've got an entire generation whose computing experience is based around clicking OK, to error messages they don't understand. So in general, you know, if you're talking about general security, sorry, general usability, not specifically security usability, OK, that's just moaning about bad design. The problem is, once that becomes security usability, it's a really, really serious security flaw and it's a primary attack vector. Here's some examples. There was a large banking site about a year ago whose certificate expired. So every time you went to this bank site, you got this pop-up saying the certificate is invalid and, you know, the standard browser error warning. During the time when that certificate was invalid, 300 users visited the site. One single user turned away. So basically, this certificate warning had no effect whatsoever in preventing users from going to the site. And the problem with this is, as I've already mentioned earlier, that SSL security depends entirely on the user handling of certificates. So if you look at this sort of chain, you've got, you know, 128-bit AES and 2000-bit RSA keys and then this user judgment call in front of a dialog box. So obviously, no one's going to bother attacking AES encryption or RSA. They simply go for the weakest link, which is the user in front of the dialog box. And that's why phishing is so incredibly successful, because that is the weak link and that's the attack vector that everyone's using. Again, this is an example from a government site that was used to make property tax payments. So it's thousands to tens of thousands of dollars per payment made through this site. And at the bottom, you can see a standard certificate warning, a big thing, invalid certificate, a red cross. So the security mechanisms are working exactly as they were intended to work. On the other hand, the effect on users was apparently nothing. That was up there for about two months before someone told them to fix it. So either zero or close to zero users were actually deterred by this particular warning, even though that was exactly what the browser designers had intended. So the first phishing tip, invalid certificates don't bother users. I'll go into this in a bit more detail later on. So another problem we've got is that financial institutions are actually training the users to ignore these certificate-based security indicators. These are three typical screenshots from large, well-known financial institutions. And what all of them are saying is that when you go to our homepage, there's no padlock, there's no HTTPS, there's no security whatsoever, but, you know, go ahead, we're a large bank, trust us, just enter your password details anyway. So again, obvious phishing tip from that, target U.S. financial institutions. They have the worst online security. They have the worst security of any banks anywhere. And sort of a follow-on for that is that users are heavily conditioned towards accepting these security practices. So again, with these sort of messages on their homepages, you know, they've basically trained their users to accept very poor security practices. And then there's sort of, depending on geographic region, they sort of go from really appalling all the way through to reasonably good. The European banks are quite good. They use things like PIN calculators and smart cards and TANs, which are per-transaction PINs. So you log into an account, you use a PIN, you move money around, you have to enter a one-time, what they call a TAN, which is a per-transaction PIN to authorise that individual transaction. So they're a much harder target to attack. So the results of this conditioning of users is that SSL security isn't really very effective. If you look at the Security Space survey, they found that about 58% of all SSL certificates are invalid. That means they're expired, they're self-signed, they're signed by unknown CAs, they're for an incorrect domain and so on and so forth. Usually people don't see this. Most people go to Amazon and Hotmail and whatever. And these certificates are valid. So they don't see this vast mass of invalid certificates. But once you go to the smaller sites, you start running into these invalid certificates. The problem with this is that browser vendors can't afford to fix it anymore. The majority, or at least 58% of websites would break if browsers suddenly started refusing to connect to a site that has an invalid certificate. So, for example, if Microsoft fixes it, the complaint will be, well, they're using their monopoly position to force everyone to buy their assigned certificates. It won't fly. Conversely, if any of the other browsers fix it, the complaint will be, well, it works with Internet Explorer, it doesn't work with, say, Firefox, therefore Firefox is broken. So the browser vendors have a very serious problem in trying to fix this. So again, the study I commented earlier that showed the effects of the padlock and so on found that certificates basically had zero effect on people visiting a website. It was pretty much indistinguishable from placebo. And there's a comment from that study. Users basically dismissed the error messages, and so they have very little protection against man-in-the-middle attacks. In other words, the very thing that they were designed to protect against, they're not actually doing. There's a mechanism used for accepting sort of small cash payments. I don't know if it's used much in the US. It's used in some countries outside the US called an honesty box. So if you've got something like a newspaper or whatever, you have an honesty box next to it, and you trust that most people are honest, so they're going to drop in the right amount of money before they take the newspaper. And it works most of the time. Typically it's used in situations where it's not worth having someone sitting there counting the money and making sure that people are paying the right amount. And that's pretty much the same security as what ECCL certificates get you. You spend $500 on a VeriSign certificate and people will visit your site. You use a $9.95 budget CA certificate, people will still come. You create a self-signed certificate, exactly the same as the $500 VeriSign one. You use an invalid certificate, again, they'll still come in. And if you're a bank, you just put up a nice warning message saying, you know, don't worry, there's no security indicators here, but trust us, we're a bank, and again, people will still come. So if you're buying newspapers for sort of 50 cents, it doesn't matter if you lose the odd 50-cent deposit. And if you're up against crooks who are determined to always be dishonest every single time, then this provides basically zero security. So there's one other interesting thing. This study found that users treated a site with no certificates at all as being less secure than one with an invalid certificate. What they assumed was that if there's a certificate there, OK, it's expired, but, you know, it's a certificate, so it's good enough. It's got to be good for something. If you think about this, if you go into a lift or an elevator, there's a certificate in there. Does anyone here, just to get a show of hands, does anyone here ever check the security certificate in an elevator? Sorry, safety certificate. OK. Has anyone checked that the safety certificate in the elevator actually matches both the building and the elevator they're travelling in? Very paranoid people. Which is basically what you need to do to validate an SSL certificate. And, you know, that's the example that people have from real-world usage. If you go into a restaurant, you may possibly glance at the food safety certificate on the wall while you're waiting for your, you know, to be seated. But in general, people don't check for that level of detail. And when they go to a website, they get the same thing. It's got a certificate, it's good enough for me. So the result of this is that not only is it indistinguishable from placebo, it's actually worse than placebo in that users behave less insecurely when they go to a site with no SSL than when they go to a site with SSL. Obvious phishing tip from that. Use a self-signed certificate because it gets you a lot more respect than not using any certificate at all. And the phishers are starting to realise this. So last year alone, there were about 450 secure phishing attacks that are known. There are probably who knows how many more that weren't actually realised. The two sort of main ones, apart from the obvious cross-site scripting, is self-signed certificate. And you get a genuine certificate for a sound-alike domain. For example, that was a real site that used SSL, visasecure.com. The issue with that is that Visa actually used things like Verified by Visa and Visa Bucks and so on and so forth. So if you're used to domains like that and you see visasecure.com, there's no reason that you can, for a typical person, not to believe that that is a genuine Visa site and it's got a certificate issued by a trusted CA. It has to be the real thing. OK, so that was some of the actual problems in terms of user interface. Now I'm going to look into the actual background, the nuts and bolts of why users behave in this manner, why they simply get rid of these dialogues. Up until about 20-odd years ago, it was assumed that the human decision-making model was something called the economic decision-making model. So that assumes that you've got a... you generate a set of alternatives, you sort of weigh them up, you decide this is the best one, I'll go with this one. The problem is that in many situations, and in this particular example, battlefield decision-making, humans make really, really bad decisions. So if you follow the economic decision-making model, that shouldn't really happen. So the US Department of Defense commissioned a study to find out how these decisions are actually being made. And they found that in this particular case, which I'll go into in a minute, the way users make decisions is that they simply generate options, one at a time, they never compare any of the two options. They generate options one at a time, they take the first one that matches. If it doesn't fit that well, they throw it away and go on to the next one. That's something called the singular evaluation approach. And it's very, very different from the way that, you know, people were expected to make decisions. So if you look at things like web browsers, they were based on this particular decision-making model and not at all on the way that people are actually making decisions. So the situations when you switch from the economic model to the singular evaluation is when you're under pressure, which is pretty much automatic if you're using a computer. You know, you want to do your online banking and some stupid dialogue pops up. You want to get rid of it as quickly as possible. So you're automatically under pressure. When you're in dynamic conditions, so you can't really perform detailed analysis, you can't sit back and think about all the possible options. And when you've got very little basis for analyzing and comparing choices. And again, in this case, you know, complicated certificate-based messages, users have no idea what that's talking about. Just another example screenshot I used, that's the American Express homepage, which has an invalid certificate. But again, it doesn't seem to stop people from going there. So when you're dealing with computers, you use this all the time. It saves time and effort. Whenever you get a pointless pop-up dialogue, you just make the first decision you can to get rid of the thing, which is to click OK or cancel. And in fact, the web browsing model itself is a bit of a poke-and-hope thing. So you go to a website, you click on something, it's not the right link, you go back, you try something else, you go back. So the fact that users are using web browsers, the actual environment they're working within is conditioning them as they're using it to use this type of decision-making, means that an attack that takes advantage of that is extremely powerful. Because web users are basically constantly immersed inside the singular valuation environment. So the reason why humans do this is that if they didn't, they wouldn't get anything done. It's not some defect or bug in the way the brain works. It's what makes humans function. AI researchers have actually tried to do this. So they've tried to computerize singular valuation, or at least sort of computerize common sense, I guess would be a better way of putting it. And the software's had to grind through millions and millions of possible implications in order to come up with this decision. So AI researchers call this the frame problem. How do you frame a particular problem in such a way that it's easy to solve? Some humans actually don't use singular valuation. They use the sort of economic model for everything they do. And that's a psychological disorder called somatizing catatonic conversion, which, as the catatonic may indicate, what happens is that you simply grind to a halt. Because every single action you take, you have to go through all the possible implications, and you never actually get anything done. So if humans did exclusively use this economic decision-making model, they wouldn't work. It's not a bug. So this isn't grumbling about stupid users. That's basically a law of nature. You can't educate users out of this. You can't avoid this. You have to deal with this. And more importantly, you can't patch this in a hurry. It's always going to be there. And things like salespeople, for example, already know about this. So maybe they haven't got into the heavy-duty psychology stuff, but they know that if you say something like, call in the next 10 minutes, then people switch from the economic model where they realize that what they're buying is a pile of crap to the singular valuation model, and maybe really quickly I'll miss out on the deal and I'll go and buy it. So another problem that comes about from the way that humans do things is the difference between automatic and controlled processes. So a controlled process is something that's relatively slow, requires a lot of mental effort, but on the other hand it gives you a great deal of flexibility. So an example of this is if you're a novice driver. You have to manually check for things and change gears and look out for pedestrians and traffic lights and so on and so forth. It requires quite a bit of mental effort. But the fact that you're specifically going through and checking for all these things gives you a great deal of flexibility. The opposite of that is an automatic process, which is what an experienced driver has. So they will automatically, without really being consciously aware of it, check for traffic lights and signs and whatnot. The feature of an automatic process is it's very quick to do, requires very little mental effort, and you're basically acting on autopilot. So the thing with humans is they're creatures of habit. If you do an automatic process, it's triggered by certain stimuli. Once that trigger happens, it's very, very hard to stop an automatic process. And another thing is you're not actually consciously aware of doing it. An example of this is locking the front door. You get halfway down the drive and you think, did I lock the front door? It's an automatic process. You do it every single day. You don't think about it. You're not conscious of having done it. And so at some point you realize, I can't actually remember ever having locked the front door because it was simply never recorded. So the thing with this is that once users become habituated into a certain behavior, it's very, very difficult to break them out of this. One thing that Microsoft found, for example, if you're running XP Service Pack 2, you'll note that they've actually turned the security update thing into nagware. So every couple of minutes the stupid thing pops up again and says, you have updates, do you want me to restart the machine? Microsoft didn't do this because they like annoying users. What they found in user testing was that people would just automatically click away this update dialogue. So they'd automatically download the updates. This thing would pop up. Users wouldn't even be aware they'd done this. They'd just move the mouse to the okay or cancel or close or whatever and get rid of it. And so you had this massive amount of security updates that were sitting there unapplied and users weren't actually aware that they were preventing them from being applied. This is something that's been known about for a long time. The very, very sort of the dark ages of psychology. The very first psychologists realized that users basically resist attempts to change their behavior. So once they've become habituated into this bad habit, then even if you go to them and say what you're doing is wrong, they still won't change their behavior. And software vendors have tried to work around this. The most notorious example probably is the Microsoft Office paperclip. Hey, I've noticed you're doing this in a really long-winded and stupid way. Here's two keystrokes that you can do it. And users really, really hated it. So a consequence of this is that every time you go online you have to endlessly authenticate yourself. Here's a screenshot from Firefox. So you've got one example which is a blog for discussing knitting patterns. And the other one is PayPal. And either one, with no difference an obvious difference in the security levels, you go to that, you have to authenticate yourself. And I'm going to sort of complain about Firefox. Internet Explorer is no better. I just use this as an example. So when Firefox asks you for this master password, you have no idea of telling is this a high security thing, is this a low security thing. So if you participate in let's say 100 different blogs, every blog you go to you have to type in your password automatically without even thinking about it. And again, that's something that fishers are taking advantage of. The fact that every time a password dialogue pops up you simply type in your password as an automatic process. And in fact, even legitimate applications requests for passwords are pretty much incomprehensible. Let alone a phishing site. So what that actually says is, I'll just read it out loud if you can't see it at the back, please enter the master password for the software security device with the very useful heading prompt at the top. Just to give an explanation of what that is actually saying. Okay, for the average non-technical user that's complete gobbledygook. All they can see there is that thing at the bottom. Which might as well be Klingon. They can see the enter and password, everything else they can't understand is just jargon. And just for the Trekkies in the audience, yes, I realize it's not proper Klingon. It's actually just garbage. So even for technical users, to understand what that's actually asking you have to know that the Netscape derived browsers use internally a crypto API called PKCS11. Which is designed generally for smart cards and crypto hardware. But most people don't have that so they have a software emulation of a PKCS11 crypto device. And the PKCS11 standard specifies two different types that you can have to a device. A public session and a private session. The public session will let you read certificates and stuff like that. The private session will give you access to keys. And so in order to access the keys on this pseudo crypto hardware device you have to authenticate yourself with a password. So what this is saying is please enter a password to establish a private session with the PKCS11 software emulation crypto device built into the browser. Nobody will understand that. This is going beyond just the average user not understanding it. Even most geeks I think. Because they know a lot about how PKCS11 crypto interfaces work. Will not have a clue what that dialogue is actually really saying apart from enter password. So users are basically habituated into entering their passwords for everything. Any dialogue that pops up they enter their password. It's an automatic process. Once the stimulus appears, once something appears with the word password on the dialogue box they type in their password. Biometrics are going to be even more brilliant. I read this cool article about one or two weeks before I came here. Biometrics for protecting against phishing. It never actually explained how they were going to do this. It was a long thing about how fingerprint readers work. But biometrics are going to be even worse for this. Because biometrics are even easier to enter. You've got this fingerprint reader here. Click authenticated dialogue box. Click authenticated. So becoming habituated into that and that becoming an automatic process is even easier than typing in your password. So it's far more vulnerable actually than straight passwords. So some phishing tips derived from that. Because of this lack of differentiation between high and low value passwords try phishing for a low value site. Most people, okay, maybe if they go to a particular banking site they might be a bit more careful. If they're going to a blog site they're not really going to care because the password isn't worth anything. At the moment phishing for banking sites is still so easy that it's not really worth doing this. On the other hand if the banks ever get their act together that's one thing you can try and do. And then obviously try the phish credentials at high value sites so you get someone's hotmail password and try it at Bank of America. Another interesting thing you can do again based on this automatic process thing is you reject the first few passwords the user enters. So they type in their password without even thinking about it. And you get the thing back invalid password. So you've typed in your password you weren't even aware you were doing it you weren't aware which password you typed in. Okay maybe I typed in the wrong password I'll try password for a different site. Okay I'll try a third password. So basically you can get several passwords for the price of one. So another problem with the way with human minds is they're very bad at finding plausible hypotheses. And in particular they will try to confirm something rather than to prove it invalid. So humans exhibit something called confirmation bias. So they go to a website and instead of saying I'm going to try these things to check whether it's a fake site they say I'm going to try these things to try and confirm that it is the real site. A consequence of this is that people are more likely to accept an invalid but plausible conclusion rather than a valid but implausible one. So again from real user testing here's an example of how a plausible bias problem pops up. You go to a site, how do you check whether it's for real? Well you type in your username and password and if it accepts them then obviously it knows that that was your password and you know it's the real thing. This is absolutely appalling. You know if security people look at this this is absolutely appalling. But this was from real user testing. This is how users try and verify potential phishing sites. Humans are really really good at rationalizing away almost anything. This is a really extreme case. They have epileptic seizures that are so severe that the only way to really treat them is to physically separate the two brain hemispheres and so what psychologists did with those is they told one half of the brain to do something in one particular experiment it was get up and walk around the room and then they asked the other half of the brain why they were doing that. Now because they were physically separated one half of the brain literally had no idea what the other half of the brain was doing and yet they always came up with some rationalization like I wanted to stretch my legs I wanted to get up for a drink, whatever. They always come up with some plausible explanation for something even if they have absolutely no idea why it's actually happening. And here's an example of how that works in the case of phishing. So you've got a bank site located in an unexpected place. Again this is from user testing. These are actual genuine user responses towards why is this thing located in some really weird location. And all of them kind of make sense. You know, sslyahoo.com it's a subdirectory of yahoo some site on yahoo.com in Brazil, well they have a branch in Brazil so obviously that's why I'm getting sent there. I've had to go to websites that are simply IP addresses rather than proper URLs and so on and so forth. And it's very easy to rationalize that. So the phishing tip from that is people basically really, really want to believe what they see so just create a very good copy of the site and it doesn't matter if it's in Romania they'll still believe it. And exploit the confirmation bias so make it very easy to confirm the site's authenticity based on these well basically stupid things unless you realize that's how the user's brains work these stupid ways of testing things. So another problem is that financial institutions in the real world have invested a great deal in anti-counterfeiting technology so you know if you look at bank notes you've got watermarks and things printed in see-through register and taglio printing and a whole pile of other stuff. And that's all based on the fact that it's very, very difficult to replicate certain physical security artifacts. So the result of that is that people assume that complexity means authenticity. So if you go to a website and it's got a whole pile of flash animation and animated graphics and really complicated layout they assume that just like a bank note and a check and so on with anti-counterfeiting measures that because of all this complicated detail in there that must be the real thing because if you've got a flash animation for someone to sit down there and manually copy all the little details of this flash animation across onto their site would be extremely difficult. They just assume that the digital world follows physical copying rules. So exploit that. And again this is from actual phishing tests and usability tests. So if you've got a site that's using flash and animated graphics and so on and so forth copy that and very prominently feature it on the homepage. And that's something users have actually said you know they went to a phishing site and they had said there was this animated dancing bear or something on this site. And I trusted it because it had this really complicated animated graphic that the phishers couldn't possibly have forged. One thing you have to be careful with if you're just sort of slurping down the entire website and putting things like dates and stuff on there you can't just take a snapshot of the site you actually have to maybe pause it and update dates and other things like that. But as long as the site looks plausible it'll actually work because the user assumption is that no one will bother creating an entire fake site like this and copying every single feature. That's an actual phishing site and this is so the example I gave earlier of these banks that put little padlock pictures on their home pages and then have a message saying there's no easy sell but trust us. So that's the actual padlock. And the difference between the Bank of America site and the phishing site was the Bank of America site you click on the padlock and it displays a message saying we have no security but trust us. And on the phishing site you click on that padlock and nothing happens. So these people just have no pride in their work. They couldn't even copy the simple bank sign. So there's something called the Simon Says problem which hits browsers a lot and what that is is when you're expected to change your behaviour in the absence of a stimulus so not the presence but the absence of a stimulus. So in web browsers you've basically got this tiny little padlock and when the padlock is absent you're supposed to treat the site as being not so secure. The problem with this is the hamming weight of that is basically close to zero. Users simply don't notice it. When Internet Explorer 6 Service Pack 2 they introduced this tiny little blue ribbon which indicated that I think it was a pop-up had been blocked or something like that. And some folks did a usability test on it after Microsoft had released it and found that not one single user actually noticed that this security ribbon was there. And this has happened in a lot of other cases as well. There was a case where some folks were doing some testing on a spreadsheet and they had this little pop-up dialogue box that came up saying there's a $50 bill, take to the bottom of your seat, take it. And no one noticed it and no one took this $50 bill even though this thing popped up in the middle of when they were using the spreadsheet. So there's a whole sort of science about this called inattention blindness. It's only been studied in the last couple of years. It's actually a really really interesting read if you don't mind reading psychology texts. One of the best known examples of this which people here may have seen because it's been shown on TV in a number of programmes is two psychologists, Simons and Chabris did this in 1999. So they taped some people playing basketball. It was a black team and a white team. And they asked people to watch the two players sorry, to watch the two teams. And halfway through the game this guy in a gorilla suit sort of walked across and stood in the middle of the screen and then walked off again. And this gorilla suit in the middle of this basketball game was on screen for about nine seconds. And only 43% of people actually noticed that this gorilla had walked across in the middle of the game. The paper's called Gorillas in Our Midst if you Google for it you can find it. And there's been a pile of similar studies that people have done on this. And it's an entire science called inattentional blindness. So what happens is that people are focusing on the particular target they need they're interested in. And basically weeding out everything else. A more common example of this is you hear of accidents, someone's driving down the road they hit a cyclist and they say I didn't see the cyclist right in front of me. And that's an example of inattentional blindness because they've got this automatic process of scanning for traffic signs and traffic lights and other cars and so on and so forth. What it's not scanning for is cyclists. And so they run into the cyclist without even seeing them. And again, this is what makes it possible for humans to function. It's like singular evaluation. This isn't a bug, this is actually required for humans in order to function. So at the very high level you've got the sensors they're filtering out light and sound and so on and so forth. An example that anyone who was around yesterday evening would have noticed is the so-called cocktail party phenomenon. You're in this incredibly noisy crowded room in a conversation that you're interested in because your brain is filtering out all the other noise in the background. So humans have basically learned to focus on what's important. Things like flashing lights and wild animals and whatnot. So in the case of a browser you've got this tiny little padlock. It's simply nothing. Something that evolution has never conditioned us to notice as being important and so we don't notice it. So in terms of phishing if you want to mount a phishing attack don't worry about these security indicators. Most users simply won't notice them. And the few that do notice them won't know what they signify. There are security toolbars which try and make this a bit more obvious. So you've got this big toolbar rather than a tiny padlock in an HTTPS. On the other hand, first of all most of them aren't installed by default. So you've got to actually know about them and go out and find them and install them as plug-ins which the typical phishing victim is not going to know about. And in any case even with all that, again there's been a study on this and about 39% of users even with these toolbars and all the other indicators have still failed. And also again you've got US banks who are working very hard to train users to ignore all this stuff. So let's sort of revisit this thing about why users can't get security right. It's not actually that users are idiots it's that security people are weirdos. The use of human conditioning human evolution and so on has trained people to ignore padlocks, to ignore HTTPS and so on and so forth. So only security people whose minds work very differently from the rest of the population would actually stop and look at the padlock and check certificates and so on and so forth. No normal person would ever actually handle a user interface that way. So the reason why you have browsers built this way is that they're built by security people and the coders writing this stuff assume that everybody else will also use this in the same way as they do not realising that there's some eight standard deviations off what anyone else would normally do. There was one study on PKI usability that found that the researchers who ran this study took about two and a half minutes to do some certificate based operation. The typical users, these weren't even normal you know, Joe Sixpack these were actually people with PhDs in computer security and they were given this sort of paint by numbers series of steps on what to do. It took about two and a half hours to do the same thing. Security researchers who looked at this simply couldn't believe that it would take in this case highly skilled technical users not even the average person in the street that long to do it. You know, we designed this it's supposed to be simple to use how can anyone possibly find it this hard to use? So another thing that CAs have been doing recently or trying to do it will probably appear in sort of the next release of the browsers is to introduce these things called high assurance certificates. So what the high assurance means is you've got a high level of assurance that they're going to cost about five times as much as the existing certificates will. The thing with CAs is all they can do is issue certificates and claim that they're more secure. Again, the problem with this is that most users don't even know what a CA is. Geeks know about it and that's about it. And even going beyond the average user I don't know if there's anyone on earth who actually knows all 40 to 50 CAs that are hard coded into their web browsers. Some of them have been in there for years and years and whoever it was that approved those CAs going in there have moved on to other jobs. So there are so many CAs in there nobody actually knows what all of those things are. And particularly in terms of brand power if you've got the most insignificant mainstream brand they've got more visibility and more presence than the most significant CA brand. So again, from a user study users were asked which brands they recognized. And the outcome of this was that more people recognized Visa as a trusted CA than VeriSign. The problem is Visa isn't even a CA and VeriSign is the world's largest CA. So basically CAs, even if you know what they are the actual brand recognition is close to zero. Fishing tip from that is kind of obvious. Create a self-signed certificate make it your own CA, call it Visa. People recognize Visa.Visa they don't necessarily recognize VeriSign and certify your site. Okay, so you've got httpsvisa.com it's certified by the Visa CA of course it's got to be the real thing. So another thing that's being added to browsers is phishing blacklists. And this is going to appear in the next revs of both Internet Explorer and Firefox. So if you go to Marcus Random's website he's a really cool security person. He's got this list of the six dumbest ideas in computer security. Blacklists are number two on his list. He generalizes this as enumerating badness. In fact it's actually a special case of the default allow which is the number one dumbest idea. So sidestepping this it's pretty trivial, just avoid the blacklist. The Anti-Phishing Working Group reports that the average site lifetime at the moment is about five days. Now to get that onto a blacklist it's probably going to take a lot longer than that. Spammers are already using websites with six hour lifetime. So what they do is they send out the spam, wait about six hours, register the site so there's something there once people get into work in the morning and check their mail. Six hours later the site's gone. So the chances of a phishing blacklist responding within six hours of the site appearing particularly if it appears till in the morning are pretty low. Another way of getting around it which phishing sites are already doing is just run a reverse proxy via a botnet. So instead of having to blacklist one single site or one of your own PCs there's constantly changing array of IP addresses you can't blacklist all of those. So basically blacklists are well, they're in there because it's something it's better than doing nothing at all but the actual effect is going to be close to zero. So an argument I've heard with this is blacklists work with virus scanners so why shouldn't they work with phishing? And that's the people actually pushing these phishing blacklists are actually using these arguments. Well the problem is that a virus scanner it's got about 100,000 fixed files on disk it just reads through all of those even then the most popular scanners have an 80% miss rate. What happens is people download the latest copy of Norton off the net if you're writing a virus you tune it so Norton doesn't detect it you would then release your virus. Now to block phishing you've got, I don't know, a billion odd internet connected machines I don't know what the actual count is they're constantly changing, moving around and so on and so forth. The only way you can actually somehow blacklist all the things out there is to monitor every single machine all the time to detect so really this is never going to work. Basically yeah, nothing to worry about. Just make sure your site isn't around long enough for it to get blacklisted. If anyone's into sort of World War history in World War II Germany built this bunch of super guns that the Gustav get at and the Karl and Thor mortars and these actually helped the enemy because they diverted resources away from the main attack into manning and shifting and moving and firing these guns so it actually helped the bad guy well helped the enemy in this case working on these blacklists again is diverting resources away from actually really combating phishing and it's helping the bad guys because instead of taking proper security measures you're fiddling with these blacklists. So basically a summary of the previous tips create your own CA for a well known brand people will recognise that more than any major CA if you've got a phishing site, certify it using the CA take advantage of the fact that people trust a site if it's got a certificate. Indirect phishing at the moment isn't too necessary because direct phishing is still too easy to do make it as close to as possible to the real thing you've got confirmation bias working on your side leverage the watermark fallacy so copy flash and fancy animated graphics in as much detail as you possibly can target US financial institutions your best friend if you're a phisher copy the US banking disclaimer so make sure that when people click on the padlock they get the actual Bank of America or whatever message saying there's no security here but trust us anyway don't worry about security indicators ok some people, it's going to help some people but enough people simply won't even notice it that you'll still be successful in phishing yeah short lived sites reverse proxies and the final thing is you only need a 1% success rate in order for it to work the defenders need about 100% success rate which at the moment they're not getting anywhere near if you want these slides they're available on my homepage I've also got an incredibly long usability tutorial I'm actually going to be travelling for the next week so they're not up yet wait about a week and you can get the slides from my homepage and there's also a long tutorial on potential countermeasures so I've talked about all the attacks here the countermeasures are a lot more complicated and take a lot more time to talk about but wait a week and I'll have the slides up ok any questions? no questions? ok that's it then, thanks I had a question why can't congress pass a law making it necessary for US companies using secure sites to use valid certificates from a recognized list of CAs in order for it to be accessible by a browser I don't know well one of the problems is that you would be legally enforcing a monopoly the fact that you set a recognized list of CAs I don't know whether what would happen if the government tried to legally enforce a monopoly of a small number of CAs but yeah the question is I don't know software industry lobbying I really don't know the answer to that sorry I just wanted to make a clarification with American Express their certificate's not invalid their homepage is hosted by Akamai which is where the cert's issued but again it further obfuscates the real problem it makes it more difficult to navigate the terrain so I appreciate it this is a little off of your area of focus but have you run into any sort of studies on the installation of adware and spyware and people agreeing to things that are actually somewhere embedded maybe in a EULA or it's somewhere on there but they just click through get through it and installation have you run into any studies related to that I don't know if it's been studied specifically but the principles are exactly the same as what you're getting in phishing this message pops up and they want to install a program they don't really care about some stupid EULA the automatic processing kicks in they've got the stimulus dial a box with an OK click, get rid of it and it installs the spyware it's pretty much the same thing I've got a comment about the banking login it's actually both better and worse than the way you painted it if you look at the source on those bank login pages a lot of times it won't be SSL for entering your username and password but when you click OK the actual form post is an SSL but that doesn't matter because if you go to a website and enter your username and password you want to know it's the real bank to authenticate the webpage it doesn't really matter I fully agree actually I work at a large online bank and I fought that very battle and convinced our marketing department to not implement that kind of login page one of the reasons for mentioning this is hopefully by pointing this out and pointing big signs at it banks will fix that it's all about user conditioning like you were saying and if users are accustomed to entering their username and password for their financial transactions on a non-secure page right, yeah alright, thank you I'd like to know if there's any help in third party hardware devices for the masses that they would set before their firewalls that claim to effectively be able to filter phishers and keyloggers coming in the door so that would prevent that aspect of the attack again it's a blacklisting it's a blacklisting problem in order to filter phishing in your router or whatever you need a blacklist of sites that you don't allow in and that runs into the blacklist problem you use a reverse proxy and you can't filter that anymore do you think that with VeriSign becoming bigger like acquiring GeoTrust and growing that eventually something like that will become habitual to users or do you think that that's not going to be a solution in the future? I don't think it will become visible if you look at the big credit card companies and banks they're spending hundreds of millions or billions of dollars on advertising and every airport you walk into and so on you've got these huge posters, Visa, MasterCard, whatever VeriSign simply can't compete with that I'm really interested in the web of trust, PGP type stuff and I'm trying to merge the two ideas in a sense, I mean we're looking at a central authority, all the trust is dictated from this one site is there any way you can envision this kind of merger and I'm thinking also contrary to the blacklist where if we get a certificate from Verizon and they say okay instantly we trust this site, how about we build trust over time and some clients can see that people have signed this site over time they can verify timestamps over time I'm trying to think of like a page rank kind of algorithm is there serious problems with this distributive web of trust or what do you think about something like that? It's subvertible, it would help a lot the problem with measures like that is once you start building them in they become a target for the bad guys and they subvert them, like you already get this on eBay where some people are like they'll open like a thousand bogus sites and create bogus transactions and leave positive feedback for the one fishing user and so they'll get a thousand positive feedbacks and people will trust them and it's a page rank thing based on users voting on whether a site is good or not it is subvertible but it's a good idea until the bad guy the problem is you're adding a layer of security complexity you need someone to manage this and maintain it the real problem is the user interface not so much the nuts and bolts behind it in theory it's a good idea and if you can put a really really good user interface on it it would be good but all of these attacks are user interface attacks not so much security mechanisms like with SSL it's working exactly as intended the problem is the user not the crypto I've got a question more from the registry side to prevent phishing because I work for registry in that particular section what about a group looking for future fraud trends future phishing trends and then cutting them off at the pass by making sure that these words these phrases are watched over and when these things are purchased then tracked so like if you know a lot of companies like VeriSign GoDaddy, namedomain.com if you buy anything that says Visa, SSL Ebay they're on you that gets flagged, it goes to a department they're searching it, they're checking it they're making sure their credit cards are real they're making sure all this information is real if it's not, well they've got a little thing in there disclaimer says uh uh I own this not you you're just leasing it, take it back now you don't have access to that domain name making phishing that much harder what about a group getting together trying to find these trends and then cutting them off at the pass that works to some extent you know there's a whole pile of sort of measures that people are taking that help the problem is that if users are going to trust a self-signed certificate you can make yourself anyone you want and it doesn't really have to be you know that's the honesty box problem you just create your own certificate and you can bypass that ok I guess that's it thanks applause applause applause