1 00:00:09,720 --> 00:00:10,860 Here, y'all hold that one. 2 00:00:15,940 --> 00:00:18,140 Well, don't clap yet. You might not like it. 3 00:00:20,680 --> 00:00:23,880 We're here basically to want to talk about Lotus Notes and Domino Security. 4 00:00:24,800 --> 00:00:27,440 My name's Chris Goggins. I'm with Security Design International. 5 00:00:27,440 --> 00:00:33,840 And we have with us Kevin McPeak, Patrick Gunther, and Valter Acuma from Trust Factory. 6 00:00:35,540 --> 00:00:35,980 Yeah. 7 00:00:49,140 --> 00:00:51,420 That's the one from the sub that you saw in that movie recently. 8 00:00:54,880 --> 00:00:56,300 So basically what's... 9 00:00:56,780 --> 00:00:57,420 Before we... 10 00:00:57,440 --> 00:00:59,180 Before we go into this, I just wanted to touch on something. 11 00:00:59,640 --> 00:01:04,340 I understand there was a little talk a few days ago where someone didn't particularly like the idea of disclosure. 12 00:01:04,820 --> 00:01:10,580 But you know what? There's a whole difference between reckless disclosure and responsible disclosure. 13 00:01:11,020 --> 00:01:18,460 Now, reckless disclosure is someone who doesn't give anybody's customers, vendors, or what have you, 14 00:01:18,480 --> 00:01:21,160 any heads up and just blast the thing with exploit code 15 00:01:21,160 --> 00:01:25,560 so that everybody in the world can suddenly break into things and catches everybody off guard. 16 00:01:25,780 --> 00:01:27,420 The idea of responsible disclosure... 17 00:01:27,440 --> 00:01:31,240 Which we've tried to do with the series of vulnerabilities that we're going to talk about here. 18 00:01:32,160 --> 00:01:38,200 We've been working with Lotus, made them aware of things, been working with very large notes deployments throughout the world. 19 00:01:38,500 --> 00:01:39,660 Trying to make people aware. 20 00:01:40,020 --> 00:01:45,380 And just so I don't disappoint anybody, some of the tools you're going to see demonstrated in here, we're not giving out. 21 00:01:46,660 --> 00:01:52,200 But once we tell you how it's done, those of you who are clever in the audience will probably turn right around and do so. 22 00:01:52,600 --> 00:01:55,300 And what you do with them at that point is strictly up to your conscience. 23 00:01:55,860 --> 00:01:56,260 So. 24 00:01:56,840 --> 00:01:57,240 So. 25 00:01:57,240 --> 00:01:57,640 Sorry, Marcus. 26 00:01:58,460 --> 00:01:59,060 Here we go. 27 00:02:02,100 --> 00:02:04,900 Basically, some time ago, Trust Factory contacted us and said, 28 00:02:04,960 --> 00:02:07,040 listen, we found a couple of things that look a little weird. 29 00:02:08,780 --> 00:02:09,600 Can you help us? 30 00:02:09,640 --> 00:02:11,940 We want to take a look and validate that these things are real 31 00:02:12,280 --> 00:02:15,540 and then work with us to try to make sure that we can get the maximum exposure. 32 00:02:16,240 --> 00:02:17,740 That's what's bringing us here to DEF CON. 33 00:02:19,300 --> 00:02:21,660 With all the media and everything that DEF CON's turned into, 34 00:02:21,780 --> 00:02:23,960 I would imagine we'll probably get a little bit of exposure to this. 35 00:02:24,180 --> 00:02:27,160 And in working with Lotus, Lotus, when we told them we were going to do a... 36 00:02:27,240 --> 00:02:30,120 a presentation on note security at DEF CON, they said, go for it. 37 00:02:31,000 --> 00:02:35,420 So, we're here with their blessing, although I really don't think they knew what DEF CON was when they said that. 38 00:02:37,780 --> 00:02:38,680 So, starting off. 39 00:02:42,220 --> 00:02:46,500 Basically, for those of you who don't know what Lotus Notes is, you probably won't get anything out of this at all. 40 00:02:47,060 --> 00:02:53,940 But just for your benefit, so you can at least follow the bouncing ball, Lotus Notes is basically a secure groupware platform. 41 00:02:54,200 --> 00:02:56,160 It gives people the ability to have email, 42 00:02:56,160 --> 00:02:59,320 various applications, web and database connectivity. 43 00:02:59,820 --> 00:03:03,840 It's basically a little secure sharing service, right? 44 00:03:04,380 --> 00:03:10,680 Lotus Notes is also really powerful in that it has several different ways in which you can write applications that run native to the Notes environment. 45 00:03:11,080 --> 00:03:13,020 It's got its own little formula language. 46 00:03:13,300 --> 00:03:16,480 It's got its own macro language called Lotus Script, which is really powerful. 47 00:03:16,640 --> 00:03:19,500 And you can use it to basically manipulate anything within the Notes environment. 48 00:03:19,820 --> 00:03:23,080 On top of that, it'll support things in JavaScript and in Java. 49 00:03:23,280 --> 00:03:25,200 And there's a C++ API. 50 00:03:26,160 --> 00:03:29,580 That you can actually code external applications to talk directly into Notes. 51 00:03:29,860 --> 00:03:36,340 And through that, there's also a way to talk to Notes through Olay-enabled applications by using a Notes.NotesSession Olay object. 52 00:03:36,700 --> 00:03:41,060 So, you can actually do things with Word macros and talk to things. 53 00:03:41,300 --> 00:03:42,560 But I'm getting ahead of myself. 54 00:03:43,640 --> 00:03:50,820 Now, to give you an idea about how big this is, Lotus says at this point they have approximately 60 million corporate users worldwide. 55 00:03:51,860 --> 00:03:52,900 That's kind of a lot. 56 00:03:54,740 --> 00:03:55,220 Now, 57 00:03:55,220 --> 00:03:57,940 the majority of these are running on version 4.6. 58 00:03:58,060 --> 00:04:02,140 It's probably the most user-friendly and it doesn't take up nearly as much space as the later versions. 59 00:04:02,720 --> 00:04:06,800 The remainder is running on 5.0, the various versions and releases of that. 60 00:04:07,240 --> 00:04:09,860 To give you an idea about the kind of places where Notes is, 61 00:04:10,980 --> 00:04:17,540 you'll be hard-pressed to find anything in the global 1,000 that doesn't have some sort of Notes installation within their corporate environment. 62 00:04:18,560 --> 00:04:20,800 Just in terms of customers that we've worked with, 63 00:04:21,920 --> 00:04:23,060 large power companies, 64 00:04:23,700 --> 00:04:24,580 telephone companies, 65 00:04:25,220 --> 00:04:28,820 big manufacturing concerns like a lot of major big computer manufacturers, 66 00:04:29,920 --> 00:04:32,120 pharmaceutical companies, petrochemical companies, 67 00:04:32,760 --> 00:04:34,760 most of the major defense contractors. 68 00:04:35,000 --> 00:04:36,720 Those of you, some of you are in the audience, know. 69 00:04:37,980 --> 00:04:45,200 Government installations, state legislatures and federal legislature, military systems, intelligence agencies. 70 00:04:46,000 --> 00:04:50,580 Again, everybody who's been spotted from CIA and NSA, you know exactly what's going on here. 71 00:04:50,640 --> 00:04:54,140 And for those of you who we probably talked to before, who came here to see the talk, 72 00:04:54,260 --> 00:04:55,200 hope you enjoy it. 73 00:04:55,200 --> 00:05:00,560 The CIA is probably one of the largest users of Lotus Notes out there. 74 00:05:00,700 --> 00:05:03,600 They pretty much store everything they do within Lotus Notes databases. 75 00:05:04,380 --> 00:05:08,020 Going into financial services, big accounting firms, especially those, you know, 76 00:05:08,020 --> 00:05:13,340 any of the major big five accounting firms are all using Lotus Notes in order to keep track of merger and acquisition data, 77 00:05:14,260 --> 00:05:18,720 corporate tax information, and any professional services project that they need to schedule. 78 00:05:18,920 --> 00:05:21,420 Banks, insurance companies, and the list goes on and on. 79 00:05:22,900 --> 00:05:25,080 Now, why on earth would all these people use this? 80 00:05:25,080 --> 00:05:28,260 Well, Lotus Notes is known as a secure platform. 81 00:05:28,560 --> 00:05:32,280 It has a lot of security features, specifically in the way it implements its own little public, 82 00:05:32,420 --> 00:05:33,900 its own little PKI implementation. 83 00:05:34,520 --> 00:05:36,640 It has a strong mechanism for authentication. 84 00:05:37,040 --> 00:05:41,880 And it gives you a facility using your Lotus Notes ID file as a key to actually encrypt different databases. 85 00:05:42,280 --> 00:05:48,640 It provides access control on a bunch of different levels, including the server, database, document levels. 86 00:05:48,800 --> 00:05:52,480 Even within particular fields in the document view, you can set an access control. 87 00:05:53,020 --> 00:05:55,060 And for our friends in the government, it meets the standards. 88 00:05:55,080 --> 00:05:55,740 It meets the DMS requirements. 89 00:05:56,000 --> 00:05:57,820 So that's probably why a lot of you use it. 90 00:05:59,480 --> 00:06:03,060 Now, in the coming hour, we're going to demonstrate a lot of stuff. 91 00:06:03,360 --> 00:06:04,600 And it's going to go by really fast. 92 00:06:04,800 --> 00:06:09,800 So I'll preface this now by saying the slideshow will be available on our websites after we're done. 93 00:06:10,160 --> 00:06:16,960 But we're going to go through several vulnerabilities, including two new kind of major security vulnerabilities that exist with Notes. 94 00:06:17,280 --> 00:06:20,660 The first one has to do with bypassing the Notes execution control list feature. 95 00:06:21,200 --> 00:06:25,060 And the second one is probably the most serious. 96 00:06:25,080 --> 00:06:26,200 It's the scariest vulnerability I've ever seen. 97 00:06:26,820 --> 00:06:38,920 It basically allows you to use a Lotus Notes password hash and a stolen ID file to authenticate to the server without knowing anything about the password embedded in that ID file. 98 00:06:39,560 --> 00:06:46,700 So these attacks, as you might imagine, can allow users to gain complete control of the Lotus Notes network in a matter of seconds. 99 00:06:46,920 --> 00:06:50,580 And it will give you the facility to completely hide your tracks. 100 00:06:52,500 --> 00:06:57,860 Now, I'm going to turn it over to Kevin McPeak to continue on with some intro vulnerabilities. 101 00:06:59,320 --> 00:07:00,780 Hi, I'm Kevin McPeak. 102 00:07:02,220 --> 00:07:05,840 You know, I have to give a little disclaimer here. 103 00:07:06,940 --> 00:07:10,860 Sitting up here, I just now realized there's a whole bunch of people from the intelligence community. 104 00:07:12,580 --> 00:07:18,160 Being someone from Texas who's now started his own security company in the Netherlands, it looks a little funky. 105 00:07:18,260 --> 00:07:20,440 So I don't need anybody. 106 00:07:20,580 --> 00:07:21,360 And I would ask. 107 00:07:21,840 --> 00:07:24,720 I don't need anyone pegging me or raising any red flags. 108 00:07:25,000 --> 00:07:25,760 Please don't kill Kevin. 109 00:07:25,960 --> 00:07:27,020 Yeah, please don't kill me. 110 00:07:27,240 --> 00:07:30,440 I'm still loyal to this country and all that good stuff. 111 00:07:31,080 --> 00:07:32,940 We're out here just to make better software. 112 00:07:35,720 --> 00:07:36,360 All right. 113 00:07:37,140 --> 00:07:43,640 Some of these vulnerabilities here, which we're going to be detailing, actually fall into the following categories, 114 00:07:46,900 --> 00:07:50,560 in which a particular user could commit acts of vandalism. 115 00:07:50,560 --> 00:07:58,980 Theft, fraud, and all those combined together enable an attacker to conduct informational warfare. 116 00:07:59,880 --> 00:08:04,640 And this is quite a serious issue because there's a lot of government agencies, as Chris outlined, 117 00:08:04,960 --> 00:08:10,500 as well as commercial organizations that are just trying to go about their business and do it securely. 118 00:08:11,720 --> 00:08:14,440 Now, some of the things, I'm actually going to set this down. 119 00:08:16,960 --> 00:08:19,380 Try to go on the ones that are here. 120 00:08:21,860 --> 00:08:32,160 Several of the major one security problem that we have that we commonly find is security consultants auditing notes installations 121 00:08:32,160 --> 00:08:40,600 are problems where users have misconfigured settings because they don't know what they're actually doing 122 00:08:41,480 --> 00:08:44,840 or using the default installation settings of Domino. 123 00:08:45,080 --> 00:08:49,640 Now, this may seem really simple and everything else. 124 00:08:49,660 --> 00:08:50,540 Everyone should know better. 125 00:08:50,560 --> 00:08:51,760 But nobody does. 126 00:08:52,260 --> 00:09:02,360 I would say over 80% of the installations we've audited have this problem inherent in their infrastructure that they've rolled out. 127 00:09:03,860 --> 00:09:12,140 These problems consist of access control list, the ACLs, improper settings in the names and address book, 128 00:09:12,360 --> 00:09:18,280 server ID passwords, execution control list, stored forms. 129 00:09:18,280 --> 00:09:23,560 And there's been several of these security advisories, which have already been released by various other organizations, 130 00:09:24,740 --> 00:09:29,000 including Loft and various other ones, that have addressed this. 131 00:09:30,300 --> 00:09:34,700 Unfortunately, it seems nobody's really listening because we're still finding the same problems. 132 00:09:35,920 --> 00:09:38,060 Now, in the access control list, 133 00:09:45,520 --> 00:09:48,040 if I can get Valter to log me in here, 134 00:09:50,740 --> 00:09:55,520 I'm going to just give you a quick example of what an access control list looks like under Domino. 135 00:09:56,640 --> 00:09:57,320 All right. 136 00:09:58,200 --> 00:09:58,660 Sorry. 137 00:10:04,060 --> 00:10:05,100 There we go. 138 00:10:07,100 --> 00:10:12,460 Now, for those of you who have never seen one or don't use Domino that much, 139 00:10:12,640 --> 00:10:15,080 this is your access control list here. 140 00:10:15,340 --> 00:10:20,080 You actually have entries for Domino servers internal to the organization. 141 00:10:21,120 --> 00:10:24,900 Domino servers, these are groups which are created in the names and address book. 142 00:10:25,320 --> 00:10:31,480 This here is usually used for external organizations which are accessing your server. 143 00:10:31,760 --> 00:10:33,400 This is for the server itself. 144 00:10:33,400 --> 00:10:38,080 And this is for either a user or you could create a group of users. 145 00:10:38,680 --> 00:10:43,700 And you can see over here that right now this person is a person, not a server. 146 00:10:44,520 --> 00:10:46,040 Although you might think he is. 147 00:10:46,900 --> 00:10:48,740 And he's a manager to this database. 148 00:10:49,520 --> 00:10:54,280 Default is anything which does not fall into what is listed below. 149 00:10:54,580 --> 00:10:59,560 So any other user inside this organization will typically fall under the default category. 150 00:11:00,320 --> 00:11:01,560 Now, it's a very... 151 00:11:01,560 --> 00:11:03,380 It seems to be a way of saying, you know, 152 00:11:03,380 --> 00:11:07,640 a well-known fact but a very poorly implemented is the anonymous entry. 153 00:11:08,580 --> 00:11:12,900 The anonymous entry is anything that is not signed inside Lotus Notes. 154 00:11:13,080 --> 00:11:16,860 There's no signature on that database or from that user identity. 155 00:11:17,580 --> 00:11:22,380 So anyone accessing this database over the web will have total access 156 00:11:23,220 --> 00:11:25,820 because as you can see, he's actually got manager access. 157 00:11:26,420 --> 00:11:31,820 The default installation of Domino comes with several of these databases, 158 00:11:31,820 --> 00:11:34,500 including configuration and setup databases, 159 00:11:34,800 --> 00:11:39,260 that are configured either with anonymous access as manager 160 00:11:39,260 --> 00:11:41,560 or there's no entry for anonymous period. 161 00:11:42,040 --> 00:11:47,340 This allows somebody else or somebody remotely to conduct... 162 00:11:49,220 --> 00:11:53,300 I guess you'd call them pseudo-attacks, as I'll demonstrate here. 163 00:11:53,980 --> 00:11:57,920 This is actually a result of the misconfiguration of the names and address book 164 00:11:57,920 --> 00:12:01,300 in which they're allowing browsing of all the databases, 165 00:12:01,300 --> 00:12:02,560 within Notes. 166 00:12:03,760 --> 00:12:04,920 Now they can just... 167 00:12:04,920 --> 00:12:07,760 The nice thing about this is you can just click on any one of these, 168 00:12:07,920 --> 00:12:09,500 such as the address book, 169 00:12:11,280 --> 00:12:12,200 and you can... 170 00:12:12,200 --> 00:12:14,120 You're now in the address book. 171 00:12:14,680 --> 00:12:15,940 If you don't mind, can... 172 00:12:15,940 --> 00:12:17,820 Do you mind if we hold questions till the end? 173 00:12:18,040 --> 00:12:19,020 Yeah, I have a couple questions. 174 00:12:19,280 --> 00:12:19,600 Okay. 175 00:12:21,500 --> 00:12:22,740 We will get to you though. 176 00:12:24,660 --> 00:12:28,060 So typically within many organizations during the configuration, 177 00:12:29,620 --> 00:12:32,160 either they will accept the default installations 178 00:12:32,160 --> 00:12:34,260 or they will enable total access. 179 00:12:34,360 --> 00:12:36,260 So just to ease the installation process. 180 00:12:36,540 --> 00:12:39,920 And it's always forgotten to go back and tighten these security settings. 181 00:12:43,280 --> 00:12:48,680 Now as a problem of this, these are various examples of URLs 182 00:12:48,680 --> 00:12:53,000 which could be entered into a browser or some other application 183 00:12:53,000 --> 00:12:57,780 which could go off and retrieve the entries using HTTP commands. 184 00:12:59,420 --> 00:13:02,640 And these will all grant access to those types of databases 185 00:13:02,640 --> 00:13:05,600 if your access control lists are not configured. 186 00:13:08,620 --> 00:13:11,560 And that is what I was showing back over here. 187 00:13:12,780 --> 00:13:16,740 If we actually take a view of the database here... 188 00:13:17,220 --> 00:13:17,860 I'm sorry. 189 00:13:19,960 --> 00:13:20,600 Oh, sorry. 190 00:13:20,840 --> 00:13:21,220 One more. 191 00:13:21,380 --> 00:13:22,120 Oh, one more. 192 00:13:23,920 --> 00:13:24,880 All right. 193 00:13:26,140 --> 00:13:27,740 That's back what I was doing here. 194 00:13:28,060 --> 00:13:30,800 This is the same command that you saw on the other screen 195 00:13:30,800 --> 00:13:33,680 in the URL entry. 196 00:13:34,100 --> 00:13:38,140 You'll actually see the same command or very similar command 197 00:13:39,420 --> 00:13:40,900 which is demonstrated here. 198 00:13:41,540 --> 00:13:43,020 The only difference with this, 199 00:13:43,080 --> 00:13:44,800 if somebody has actually gone into a database 200 00:13:44,800 --> 00:13:47,060 and implemented their own customized navigator, 201 00:13:47,180 --> 00:13:49,880 this will take you back this particular command. 202 00:13:50,100 --> 00:13:52,040 And this is actually a function of Domino. 203 00:13:52,340 --> 00:13:55,060 This will bypass any customized navigators 204 00:13:55,060 --> 00:13:56,460 and take you back to the default views. 205 00:13:56,460 --> 00:13:58,600 This type of information... 206 00:14:00,260 --> 00:14:02,180 I'm sorry we're having to switch back and forth. 207 00:14:02,300 --> 00:14:03,540 We thought we'd have a few more screens. 208 00:14:06,400 --> 00:14:10,620 Enables me to go in and select a particular user. 209 00:14:11,460 --> 00:14:12,540 I'll select myself. 210 00:14:12,840 --> 00:14:15,580 And as you can see, I was secure and removed my ID file. 211 00:14:16,960 --> 00:14:19,100 We'll take a look at the some user. 212 00:14:19,780 --> 00:14:22,080 And you'll see later in the demonstration 213 00:14:22,080 --> 00:14:25,460 where this is a valuable little attachment. 214 00:14:27,240 --> 00:14:29,240 Because now I have access to this. 215 00:14:29,300 --> 00:14:29,860 I can read it. 216 00:14:29,920 --> 00:14:31,680 I can attach this to my hard drive. 217 00:14:31,880 --> 00:14:33,900 And you'll see where that comes into play later on. 218 00:14:36,260 --> 00:14:38,180 And you've got to protect that type. 219 00:14:38,880 --> 00:14:42,060 You've got to keep attackers from having that type of access 220 00:14:42,620 --> 00:14:44,320 to your names and address book 221 00:14:44,320 --> 00:14:45,460 as well as these other databases. 222 00:14:46,880 --> 00:14:48,060 Commonly misconfigured databases. 223 00:14:49,180 --> 00:14:50,200 These are examples. 224 00:14:50,420 --> 00:14:51,120 There's many more. 225 00:14:51,400 --> 00:14:53,100 You have the names NSF. 226 00:14:53,180 --> 00:14:54,520 That's your Domino directory 227 00:14:54,520 --> 00:14:56,880 or before release 5, 228 00:14:57,060 --> 00:14:58,620 it used to be called the names and address book. 229 00:14:59,560 --> 00:15:01,300 That's what I just poked around in 230 00:15:01,300 --> 00:15:03,640 and opened up the person document for. 231 00:15:04,220 --> 00:15:07,920 The catalog database is actually a database 232 00:15:07,920 --> 00:15:11,840 in which it's an inventory of all the other databases 233 00:15:11,840 --> 00:15:12,700 on that server. 234 00:15:13,260 --> 00:15:16,140 So I can find just by simply opening this database 235 00:15:16,140 --> 00:15:17,720 from a web browser, 236 00:15:17,860 --> 00:15:19,460 find all the other databases, 237 00:15:19,580 --> 00:15:21,480 the mail files for that particular server. 238 00:15:22,480 --> 00:15:24,500 The Domino configuration database 239 00:15:24,520 --> 00:15:27,760 is one that's used in release 4.6 240 00:15:27,760 --> 00:15:29,460 to actually set up virtual hosts 241 00:15:29,460 --> 00:15:31,140 and virtual servers on the web. 242 00:15:31,640 --> 00:15:33,020 So you could actually, 243 00:15:33,160 --> 00:15:34,960 an attacker could actually manipulate this. 244 00:15:35,120 --> 00:15:35,440 And this one, 245 00:15:35,560 --> 00:15:36,900 I believe there was an advisory. 246 00:15:37,220 --> 00:15:38,200 I'll have to go back and check. 247 00:15:38,380 --> 00:15:40,860 But I believe Loft had actually made an advisory about this 248 00:15:40,860 --> 00:15:43,420 because what you could do is you could actually modify 249 00:15:43,420 --> 00:15:45,140 and give special UR commands 250 00:15:45,140 --> 00:15:47,700 and create a new virtual server remotely. 251 00:15:48,640 --> 00:15:49,960 The log NSF, 252 00:15:50,140 --> 00:15:51,840 this is where everything in Domino 253 00:15:51,840 --> 00:15:53,480 is actually logged on the server. 254 00:15:53,800 --> 00:15:54,500 Everything in Domino 255 00:15:54,520 --> 00:15:55,580 from SMTP emails, 256 00:15:55,960 --> 00:15:57,580 serial replication, 257 00:15:58,820 --> 00:15:59,980 TCPIP replication, 258 00:16:01,140 --> 00:16:03,760 all that is logged on one central database 259 00:16:03,760 --> 00:16:05,080 and that's this one right here. 260 00:16:05,400 --> 00:16:08,140 If you've got read-write access to this, 261 00:16:08,320 --> 00:16:10,200 you can erase your tracks 262 00:16:11,280 --> 00:16:13,460 for anything you've done on that server. 263 00:16:14,740 --> 00:16:15,400 This is, 264 00:16:15,460 --> 00:16:18,320 the web admin is one that's used often to, 265 00:16:18,480 --> 00:16:21,260 for especially in release 5 266 00:16:21,260 --> 00:16:23,620 since there's no more client on Unix host 267 00:16:23,620 --> 00:16:24,320 and AS400, 268 00:16:24,660 --> 00:16:27,940 as well as the mainframe versions of Domino. 269 00:16:28,400 --> 00:16:31,820 This is commonly used to configure and install, 270 00:16:33,040 --> 00:16:33,860 I'm sorry, 271 00:16:33,940 --> 00:16:36,240 just configure and maintain the Domino server 272 00:16:36,240 --> 00:16:37,840 remotely from a web browser. 273 00:16:38,240 --> 00:16:41,140 And these databases are used for the setup configuration 274 00:16:41,140 --> 00:16:43,060 and installation of a Domino server. 275 00:16:43,380 --> 00:16:46,100 And this one is typically left on a server 276 00:16:46,100 --> 00:16:49,520 with management access for the whole world. 277 00:16:49,800 --> 00:16:53,540 And there seems to be a really bad user education 278 00:16:53,540 --> 00:16:55,760 that you need to either delete that database 279 00:16:55,760 --> 00:16:57,340 or tighten the ACLs. 280 00:17:00,880 --> 00:17:02,820 Within the names.nsf, 281 00:17:03,460 --> 00:17:06,320 these are some of the valuable points of information 282 00:17:06,320 --> 00:17:07,360 that you can retrieve. 283 00:17:08,460 --> 00:17:09,800 Patrick's gonna show you later 284 00:17:09,800 --> 00:17:11,280 how we can actually retrieve 285 00:17:11,280 --> 00:17:13,380 the HTTP password hash. 286 00:17:14,420 --> 00:17:17,020 And we can use that in a particular type of attack 287 00:17:17,020 --> 00:17:19,660 to gain access to the Domino server. 288 00:17:20,940 --> 00:17:21,940 Quite often, 289 00:17:22,060 --> 00:17:22,660 ID files, 290 00:17:22,660 --> 00:17:23,760 when the user is created, 291 00:17:25,580 --> 00:17:27,400 administrators have a tendency to think, 292 00:17:27,440 --> 00:17:29,580 well, we'll just leave the ID file on the Domino server 293 00:17:29,580 --> 00:17:30,820 in the person document. 294 00:17:31,620 --> 00:17:33,420 And that when they set up their notes client, 295 00:17:33,600 --> 00:17:35,900 they can actually just pull their ID file 296 00:17:35,900 --> 00:17:37,180 when they set up their notes client. 297 00:17:37,520 --> 00:17:39,020 They forget to detach it. 298 00:17:40,020 --> 00:17:41,540 This is really bad because 299 00:17:42,120 --> 00:17:44,240 if I can open up that names and address book, 300 00:17:44,320 --> 00:17:45,400 I've got their ID file. 301 00:17:46,040 --> 00:17:47,540 And I can build a little program 302 00:17:47,540 --> 00:17:49,160 to sit there and brute force the password. 303 00:17:49,360 --> 00:17:50,260 Or as you see, 304 00:17:50,360 --> 00:17:52,240 we've actually done even one better. 305 00:17:54,680 --> 00:17:56,620 The database does not contain 306 00:17:56,620 --> 00:17:59,060 usually an anonymous entry in the ACL 307 00:17:59,060 --> 00:18:00,380 in names.nsf. 308 00:18:00,600 --> 00:18:02,400 And there's a tendency between 309 00:18:03,920 --> 00:18:05,040 amongst administrators 310 00:18:05,040 --> 00:18:07,200 to actually go out and set up manager access 311 00:18:07,200 --> 00:18:08,160 just for everybody 312 00:18:08,160 --> 00:18:09,540 while they're configuring a server. 313 00:18:09,680 --> 00:18:11,820 And they forget to go back and change that 314 00:18:11,820 --> 00:18:14,160 when they roll out Domino as a web server 315 00:18:14,160 --> 00:18:15,420 or an email platform 316 00:18:15,420 --> 00:18:17,140 or an internal server 317 00:18:17,140 --> 00:18:18,640 which is running their entire organization. 318 00:18:20,080 --> 00:18:22,440 All the names.nsf helps 319 00:18:22,440 --> 00:18:24,220 really give a remote attacker 320 00:18:24,220 --> 00:18:27,040 a blueprint of the organization, 321 00:18:28,600 --> 00:18:30,980 how Domino has been deployed in that organization. 322 00:18:35,720 --> 00:18:37,520 The catalog.nsf, 323 00:18:37,580 --> 00:18:39,240 I think one of my colleagues 324 00:18:39,240 --> 00:18:40,860 is prompting me to talk a little bit faster, 325 00:18:40,960 --> 00:18:41,900 so I'll try to race through here. 326 00:18:43,000 --> 00:18:44,700 The catalog.nsf, 327 00:18:46,180 --> 00:18:48,100 that's one of the ones I was mentioning earlier, 328 00:18:48,180 --> 00:18:50,560 which databases all the other notes databases. 329 00:18:50,980 --> 00:18:52,320 So it's actually got entries 330 00:18:52,440 --> 00:18:53,840 where are they located on the file system, 331 00:18:54,080 --> 00:18:55,980 which server are they actually located on. 332 00:18:58,400 --> 00:18:59,800 The Domino config database, 333 00:19:00,140 --> 00:19:02,420 this is the one where you've actually got 334 00:19:03,400 --> 00:19:04,560 configures the virtual host 335 00:19:04,560 --> 00:19:05,540 and virtual web servers, 336 00:19:05,740 --> 00:19:07,060 which I mentioned earlier. 337 00:19:07,600 --> 00:19:08,940 And I'm going to skip through these 338 00:19:08,940 --> 00:19:09,940 since I mentioned them earlier. 339 00:19:12,380 --> 00:19:14,360 In all of these, usually the ACL, 340 00:19:14,540 --> 00:19:17,180 the default ACL is actually misconfigured 341 00:19:17,180 --> 00:19:19,020 or people have not really gone back 342 00:19:19,020 --> 00:19:20,660 and checked their settings on all of these. 343 00:19:22,620 --> 00:19:24,720 And one of the last most important things, 344 00:19:24,920 --> 00:19:27,380 there is a tendency among Domino administrators 345 00:19:27,380 --> 00:19:29,980 when they're setting up a server, 346 00:19:30,700 --> 00:19:32,620 they want to utilize things like 347 00:19:32,620 --> 00:19:34,500 the auto restart feature of a Domino server. 348 00:19:35,500 --> 00:19:37,300 And they think, well, okay, you know, 349 00:19:37,320 --> 00:19:39,160 it's a server, nobody's going to steal this ID file 350 00:19:39,160 --> 00:19:40,760 because I've tightened down the security, 351 00:19:40,960 --> 00:19:43,240 I've turned off NetBIOS on my NT server 352 00:19:43,240 --> 00:19:45,140 where I don't run network file services. 353 00:19:46,580 --> 00:19:48,560 But there's usually a ton of other things 354 00:19:48,560 --> 00:19:50,480 running on that server that they haven't thought about. 355 00:19:50,600 --> 00:19:52,240 And if there's some sort of form, 356 00:19:52,440 --> 00:19:54,880 of host-based security on that server, 357 00:19:55,080 --> 00:19:57,200 we can usually violate that 358 00:19:57,200 --> 00:19:59,140 to gain access to the file system. 359 00:19:59,560 --> 00:20:00,760 Once we have that, 360 00:20:00,760 --> 00:20:03,700 and if the operating system allows us 361 00:20:03,700 --> 00:20:07,400 to just read the file of the server ID, 362 00:20:07,780 --> 00:20:09,240 we can retrieve that 363 00:20:09,240 --> 00:20:11,860 and we can actually create a new server on our system 364 00:20:12,220 --> 00:20:14,860 and we can use that to replicate with another server, 365 00:20:15,000 --> 00:20:16,520 not the same one, 366 00:20:16,640 --> 00:20:18,780 but another server inside that organization 367 00:20:19,320 --> 00:20:21,040 and retrieve databases from it 368 00:20:21,040 --> 00:20:22,360 to our local machine 369 00:20:23,000 --> 00:20:24,880 and compromise the company's data. 370 00:20:25,800 --> 00:20:28,180 Now, I'm going to hand this over 371 00:20:28,180 --> 00:20:29,360 to my next colleague, 372 00:20:29,480 --> 00:20:30,080 Wouter Alkema, 373 00:20:30,180 --> 00:20:31,820 who's going to demonstrate some other attacks 374 00:20:33,580 --> 00:20:35,980 which cover some of the securities 375 00:20:35,980 --> 00:20:36,980 that I've talked about 376 00:20:36,980 --> 00:20:37,860 and some new ones. 377 00:20:38,520 --> 00:20:39,480 And here he is. 378 00:20:39,880 --> 00:20:40,560 Thanks a lot. 379 00:20:44,460 --> 00:20:44,980 Okay. 380 00:20:46,120 --> 00:20:47,900 Basically, what I want to discuss 381 00:20:47,900 --> 00:20:49,300 is two things. 382 00:20:49,300 --> 00:20:52,040 Two methods of attack. 383 00:20:52,420 --> 00:20:55,540 One is dealing with stored form vulnerability, 384 00:20:56,200 --> 00:20:58,940 and the other one deals with the Olay interface 385 00:20:58,940 --> 00:21:00,420 to the Lotus Notes client. 386 00:21:03,120 --> 00:21:04,660 I'm going to start with the stored forms, 387 00:21:04,720 --> 00:21:05,820 but before that, 388 00:21:05,920 --> 00:21:07,580 I think it's good if I explain a little bit 389 00:21:08,140 --> 00:21:09,700 about Lotus Notes databases 390 00:21:10,280 --> 00:21:13,560 so you'll know what a stored form actually is. 391 00:21:14,140 --> 00:21:16,380 A Lotus database consists of data 392 00:21:16,380 --> 00:21:18,840 in the form of structured data, 393 00:21:19,300 --> 00:21:20,180 rich text or HTML. 394 00:21:22,040 --> 00:21:23,220 Next into a database, 395 00:21:23,320 --> 00:21:25,280 you also have design elements defined, 396 00:21:25,520 --> 00:21:26,760 and one of them is forms. 397 00:21:27,180 --> 00:21:29,260 A forms is used to rendering that data, 398 00:21:29,340 --> 00:21:31,300 and it also contains programmable events. 399 00:21:32,800 --> 00:21:35,720 A stored form is as follows. 400 00:21:35,940 --> 00:21:38,120 Suppose you're going to have a document, 401 00:21:38,200 --> 00:21:38,800 a piece of data, 402 00:21:38,900 --> 00:21:40,980 that you are wanting to transport 403 00:21:40,980 --> 00:21:41,860 to another database, 404 00:21:41,980 --> 00:21:42,940 but the form definition 405 00:21:42,940 --> 00:21:44,760 for rendering that data is not available. 406 00:21:45,500 --> 00:21:47,200 Then Lotus Notes allows you to, 407 00:21:47,300 --> 00:21:49,040 has a very powerful feature, 408 00:21:49,300 --> 00:21:51,560 allows you to accompany that data 409 00:21:51,560 --> 00:21:52,240 with a stored form. 410 00:21:54,460 --> 00:21:55,580 Another additional feature 411 00:21:55,580 --> 00:21:56,560 within that stored form 412 00:21:56,560 --> 00:22:00,340 is that the Lotus Notes SMTP agent 413 00:22:00,340 --> 00:22:01,500 can use that, 414 00:22:01,540 --> 00:22:04,420 so you can actually transfer email messages, 415 00:22:04,580 --> 00:22:05,580 Lotus Notes email messages, 416 00:22:05,680 --> 00:22:07,260 with stored forms over the internet 417 00:22:07,260 --> 00:22:09,400 towards another notes environment. 418 00:22:11,500 --> 00:22:12,800 The stored form vulnerability 419 00:22:12,800 --> 00:22:15,300 was actually dating from 1996, 420 00:22:15,360 --> 00:22:17,540 so this is not something new I'm telling you here, 421 00:22:17,600 --> 00:22:19,000 at least it should not be. 422 00:22:19,800 --> 00:22:21,900 The first occasion that I could find 423 00:22:21,900 --> 00:22:22,980 was the guy, 424 00:22:23,100 --> 00:22:24,300 Oliver Berger from Germany, 425 00:22:24,400 --> 00:22:26,940 and he reported this to Lotus, 426 00:22:27,020 --> 00:22:28,720 and Der Spiegel, 427 00:22:28,820 --> 00:22:29,700 which is a German magazine, 428 00:22:29,840 --> 00:22:30,840 spent an article on it, 429 00:22:30,940 --> 00:22:32,280 and somehow I don't think 430 00:22:32,280 --> 00:22:33,820 it got the attention it should have gotten. 431 00:22:34,140 --> 00:22:36,280 Anyway, Lotus responded with 432 00:22:36,280 --> 00:22:37,880 the execution control list 433 00:22:37,880 --> 00:22:41,380 as a method to defend the user 434 00:22:41,380 --> 00:22:43,640 against potential hostile content. 435 00:22:44,740 --> 00:22:46,500 However, and this is what we see 436 00:22:46,500 --> 00:22:48,240 in practice with our clients, 437 00:22:48,900 --> 00:22:50,720 we are now four years later, 438 00:22:50,840 --> 00:22:52,180 and what we see is that 439 00:22:52,180 --> 00:22:53,580 very few people, 440 00:22:53,600 --> 00:22:54,500 or very few organizations, 441 00:22:54,700 --> 00:22:57,380 have the execution control list set up properly. 442 00:22:58,960 --> 00:22:59,760 In addition, 443 00:23:00,700 --> 00:23:01,960 very few people 444 00:23:02,980 --> 00:23:04,980 disabled stored forms on their mail file. 445 00:23:05,480 --> 00:23:06,320 So in fact, 446 00:23:06,380 --> 00:23:08,680 still very many people are vulnerable 447 00:23:08,680 --> 00:23:09,700 to this attack, 448 00:23:09,840 --> 00:23:10,880 which is dating back from 1996. 449 00:23:13,620 --> 00:23:15,760 How would you perform a stored form attack? 450 00:23:16,060 --> 00:23:17,380 It's basically very simple. 451 00:23:17,380 --> 00:23:18,300 You take your mail file, 452 00:23:19,960 --> 00:23:21,960 take a copy of your memo form 453 00:23:21,960 --> 00:23:22,680 in the mail file, 454 00:23:23,400 --> 00:23:25,000 eliminate the code that Lotus Notes 455 00:23:25,000 --> 00:23:27,540 put in the programmable defense, 456 00:23:27,760 --> 00:23:29,000 and replace it by your own. 457 00:23:29,580 --> 00:23:30,920 So what you can do is either 458 00:23:30,920 --> 00:23:33,920 make it launch an executable automatically, 459 00:23:34,500 --> 00:23:36,400 or program something in the query open 460 00:23:36,400 --> 00:23:37,180 or post open event, 461 00:23:37,220 --> 00:23:38,760 and as a result, 462 00:23:39,400 --> 00:23:41,860 you can launch any type of code 463 00:23:41,860 --> 00:23:44,020 or executable without user interaction. 464 00:23:45,300 --> 00:23:47,020 And again, this is back in 96. 465 00:23:48,280 --> 00:23:48,680 Okay? 466 00:23:49,100 --> 00:23:50,460 Because I don't know, Chris, 467 00:23:50,600 --> 00:23:51,640 maybe you can comment on that, 468 00:23:51,700 --> 00:23:53,980 but there was some virus going on lately, 469 00:23:54,400 --> 00:23:56,380 and they claimed that this was the first virus 470 00:23:56,380 --> 00:23:58,480 that did it without user interaction. 471 00:24:02,800 --> 00:24:04,160 Our thing comes back on. 472 00:24:04,360 --> 00:24:05,700 Yeah, do you remember, 473 00:24:06,260 --> 00:24:07,760 I guess it was last year or so 474 00:24:07,760 --> 00:24:09,000 when Bubble Boy made the rounds, 475 00:24:09,060 --> 00:24:10,520 because the view properties within, 476 00:24:10,660 --> 00:24:12,280 I guess it was Outlook Express, 477 00:24:12,460 --> 00:24:14,380 it would actually execute native VBScript. 478 00:24:14,820 --> 00:24:15,220 Well, 479 00:24:15,220 --> 00:24:17,720 Notes can do that too, 480 00:24:19,060 --> 00:24:21,100 just by looking at a mail message, 481 00:24:21,260 --> 00:24:22,740 which Outlook is about to do. 482 00:24:22,920 --> 00:24:23,240 Exactly. 483 00:24:24,240 --> 00:24:26,340 Okay, I need to switch to my... 484 00:24:26,340 --> 00:24:27,660 Can I use this microphone? 485 00:24:28,760 --> 00:24:29,120 Okay. 486 00:24:29,720 --> 00:24:30,640 Is that on B? 487 00:24:31,580 --> 00:24:31,940 Yeah. 488 00:24:34,180 --> 00:24:34,800 There you go. 489 00:24:35,480 --> 00:24:35,840 Okay. 490 00:24:36,200 --> 00:24:37,960 First of all, I'm going to explain a little bit 491 00:24:37,960 --> 00:24:39,280 about the setup that we have created. 492 00:24:40,280 --> 00:24:41,380 On this laptop here, 493 00:24:41,520 --> 00:24:42,660 it's going to act as the victim. 494 00:24:43,300 --> 00:24:43,660 Okay? 495 00:24:43,660 --> 00:24:45,520 And we're going to perform an attack 496 00:24:45,520 --> 00:24:46,380 from this attacker. 497 00:24:47,540 --> 00:24:49,100 We have several users set up. 498 00:24:49,940 --> 00:24:52,020 The first user that we're going to attack 499 00:24:52,440 --> 00:24:54,840 is a named R46 user. 500 00:24:55,120 --> 00:24:56,400 That's kind of a stupid name, 501 00:24:56,520 --> 00:24:57,700 but I want you guys to understand 502 00:24:57,700 --> 00:25:01,780 that this is reflecting a release 4.6 default setup. 503 00:25:02,520 --> 00:25:03,000 Okay? 504 00:25:04,140 --> 00:25:06,900 And the laptop I have over here is the attacker. 505 00:25:07,380 --> 00:25:08,840 I'm locked in as Wouter Alkema. 506 00:25:08,920 --> 00:25:10,880 I'm now going to attack this client. 507 00:25:11,140 --> 00:25:12,660 I've prepared stuff a little bit, 508 00:25:12,660 --> 00:25:14,780 so instead of creating a stored form, 509 00:25:14,940 --> 00:25:16,160 I've already created it 510 00:25:16,160 --> 00:25:18,540 and sent it over to R46 user. 511 00:25:18,760 --> 00:25:19,840 And I have to log in now. 512 00:25:19,920 --> 00:25:20,800 I have to provide a password. 513 00:25:23,380 --> 00:25:23,740 Okay. 514 00:25:24,340 --> 00:25:25,160 I'm going to log in. 515 00:25:26,300 --> 00:25:29,440 And what you see is the user has received an email. 516 00:25:32,240 --> 00:25:34,860 What I'm about to show here is that 517 00:25:36,680 --> 00:25:37,620 I'm going to press enter. 518 00:25:37,740 --> 00:25:38,660 And when I press enter, 519 00:25:38,780 --> 00:25:39,940 which is normal user behavior, 520 00:25:40,080 --> 00:25:41,160 you're just going to open your email. 521 00:25:41,160 --> 00:25:43,140 But on opening that email, 522 00:25:43,320 --> 00:25:45,520 I'm going to launch notepad.exe, 523 00:25:45,640 --> 00:25:46,940 which is an executable. 524 00:25:47,620 --> 00:25:49,160 This should not be able 525 00:25:50,700 --> 00:25:53,160 because I could launch notepad, 526 00:25:53,920 --> 00:25:55,280 but I can also launch back orifice 527 00:25:55,280 --> 00:25:57,680 or any kind of other hostile code that you wish. 528 00:25:57,940 --> 00:25:58,540 Take a look. 529 00:25:58,600 --> 00:25:59,400 I'm going to press enter now. 530 00:26:01,040 --> 00:26:02,260 User is opening his email, 531 00:26:02,840 --> 00:26:04,480 and without anything, 532 00:26:05,000 --> 00:26:06,680 the notepad has started. 533 00:26:07,720 --> 00:26:09,580 And actually, as a kind of a joke, 534 00:26:09,620 --> 00:26:10,520 I put in the advisory 535 00:26:10,520 --> 00:26:12,280 that Lotus wanted us to make here. 536 00:26:12,440 --> 00:26:14,340 So we'll get back to that later. 537 00:26:17,260 --> 00:26:17,780 Okay. 538 00:26:25,480 --> 00:26:27,460 What are the observations that we can make? 539 00:26:27,600 --> 00:26:30,660 Well, again, no user interaction was required. 540 00:26:32,420 --> 00:26:34,500 Secondly, there was no warning presented 541 00:26:34,500 --> 00:26:36,420 either by the operating system 542 00:26:36,420 --> 00:26:38,980 or by Lotus Notes prior to execution. 543 00:26:40,660 --> 00:26:41,420 And why? 544 00:26:41,600 --> 00:26:44,160 Because the ECL was not configured properly. 545 00:26:46,000 --> 00:26:46,600 Within... 546 00:26:47,340 --> 00:26:49,780 Yeah, and that's number one. 547 00:26:49,840 --> 00:26:51,900 And number two is the stored forms were enabled. 548 00:26:55,060 --> 00:26:58,000 Lotus came up with the execution control list. 549 00:26:58,340 --> 00:27:00,420 What is the execution control list? 550 00:27:02,300 --> 00:27:03,760 Basically what it does is 551 00:27:03,760 --> 00:27:07,000 it allows you to specify signatures 552 00:27:08,540 --> 00:27:09,900 that you trust. 553 00:27:09,900 --> 00:27:12,460 And per signature that you trust, 554 00:27:12,560 --> 00:27:14,320 you can specify what type of functionality 555 00:27:15,140 --> 00:27:17,860 you allow that signature to perform. 556 00:27:19,140 --> 00:27:20,820 Apart from the list of trusted signatures, 557 00:27:21,120 --> 00:27:22,100 you have two more entries. 558 00:27:22,400 --> 00:27:23,640 One is the default entry. 559 00:27:24,060 --> 00:27:25,800 That is for all other signatures 560 00:27:25,800 --> 00:27:26,880 that you have not specified. 561 00:27:27,280 --> 00:27:28,460 And one is the no signature, 562 00:27:28,680 --> 00:27:30,400 which is for code that has no signature. 563 00:27:34,900 --> 00:27:36,400 What are the common ECL problems? 564 00:27:36,660 --> 00:27:37,940 Well, again, as stated before, 565 00:27:38,140 --> 00:27:39,580 there's very few people out there 566 00:27:39,580 --> 00:27:41,100 that understand the ECL concepts. 567 00:27:43,300 --> 00:27:44,120 Number two, 568 00:27:44,940 --> 00:27:47,500 ECL settings are stored in a very obscure location. 569 00:27:49,980 --> 00:27:51,300 I don't know if anybody... 570 00:27:51,300 --> 00:27:53,520 If you know about administrative ECLs, 571 00:27:53,620 --> 00:27:55,940 they're stored in some hidden location 572 00:27:55,940 --> 00:27:57,340 somewhere in the notes directory. 573 00:27:58,320 --> 00:27:59,180 You can find them, 574 00:27:59,240 --> 00:28:00,520 and you can manipulate them. 575 00:28:01,380 --> 00:28:03,200 Within the user's desktop DSK, 576 00:28:03,440 --> 00:28:05,220 there are also ECLs specified. 577 00:28:07,780 --> 00:28:09,340 But most important of all, 578 00:28:10,340 --> 00:28:12,800 prior to release 502 of Lotus Notes, 579 00:28:13,400 --> 00:28:17,080 the default ECL allows all functionality 580 00:28:18,180 --> 00:28:19,840 to any type of code. 581 00:28:20,960 --> 00:28:22,400 And that is very important. 582 00:28:23,000 --> 00:28:23,980 So when you're out there 583 00:28:23,980 --> 00:28:25,220 and installing a new notes client, 584 00:28:25,400 --> 00:28:27,040 it's going to allow for any type of 585 00:28:27,040 --> 00:28:27,900 hostile code to execute. 586 00:28:29,240 --> 00:28:30,460 Lotus has recognized this, 587 00:28:30,560 --> 00:28:32,980 and as of 502, they've reversed it. 588 00:28:33,040 --> 00:28:34,300 It's now as tight as tight can be, 589 00:28:35,600 --> 00:28:38,800 which also presents a lot of warnings to people. 590 00:28:38,800 --> 00:28:40,400 But, well... 591 00:28:43,940 --> 00:28:46,720 There's two undocumented ways 592 00:28:46,720 --> 00:28:47,840 to reset an ECL. 593 00:28:48,600 --> 00:28:50,100 One is the formula 594 00:28:50,900 --> 00:28:52,720 that's called alpha-refresh-ecl. 595 00:28:52,960 --> 00:28:54,640 And if you specify either 596 00:28:54,640 --> 00:28:58,020 a non-existing administrative ECL 597 00:28:58,020 --> 00:28:59,440 or empty parameters, we'll do fine. 598 00:28:59,740 --> 00:29:02,720 You will reset the ECL at the client. 599 00:29:04,900 --> 00:29:07,120 Now, mind again that prior to 502, 600 00:29:07,220 --> 00:29:08,780 this is going to end up in a situation 601 00:29:08,800 --> 00:29:11,540 where the client will allow all functionality. 602 00:29:13,360 --> 00:29:17,000 The second method to reset the ECL... 603 00:29:17,000 --> 00:29:18,880 Actually, the title of my slide is a bit wrong. 604 00:29:18,940 --> 00:29:19,420 It's not removing. 605 00:29:19,620 --> 00:29:20,640 You're actually resetting it. 606 00:29:20,840 --> 00:29:24,320 The second method to reset the ECL 607 00:29:24,320 --> 00:29:27,260 is to remove the ECL setup equals 3 line 608 00:29:27,260 --> 00:29:28,460 from the notes.ini file, 609 00:29:28,960 --> 00:29:30,560 which is a settings file for Lotus Notes. 610 00:29:30,820 --> 00:29:31,620 If you do that, 611 00:29:31,640 --> 00:29:33,600 the next time the notes client starts up, 612 00:29:34,120 --> 00:29:35,060 ECL has been reset. 613 00:29:39,260 --> 00:29:41,740 What is the ECL attack about? 614 00:29:42,600 --> 00:29:44,940 Well, we have discovered with our research 615 00:29:44,940 --> 00:29:48,780 that the ECL is not capable of intercepting 616 00:29:48,780 --> 00:29:50,040 API calls into the notes client. 617 00:29:51,740 --> 00:29:57,240 So the OLE interface of Lotus Notes 618 00:29:57,240 --> 00:29:59,240 is using the notes API. 619 00:30:00,540 --> 00:30:02,480 So it's also not being intercepted 620 00:30:02,480 --> 00:30:04,300 by the execution control list. 621 00:30:06,160 --> 00:30:08,780 I'm going to show a little demonstration again. 622 00:30:09,540 --> 00:30:10,720 I'm going back to my screen. 623 00:30:11,900 --> 00:30:13,280 Again, this is the victim. 624 00:30:13,380 --> 00:30:14,260 This is the attacker. 625 00:30:16,360 --> 00:30:21,060 In order to reflect a release 502 user 626 00:30:21,800 --> 00:30:23,480 with a very tightened ECL, 627 00:30:23,580 --> 00:30:25,480 I'm going to have to switch to another user 628 00:30:25,480 --> 00:30:26,340 which I have defined, 629 00:30:26,440 --> 00:30:27,980 which is Mr. Some user. 630 00:30:29,600 --> 00:30:33,120 So I have to switch the location document here 631 00:30:33,620 --> 00:30:34,800 and I have to provide a password. 632 00:30:38,920 --> 00:30:39,400 Okay. 633 00:30:42,000 --> 00:30:43,640 I have a very slow laptop. 634 00:30:44,240 --> 00:30:45,200 I'm sorry about that. 635 00:30:46,720 --> 00:30:48,000 Okay, I'm going to open an email. 636 00:30:48,300 --> 00:30:50,000 Again, from the attacker, 637 00:30:50,780 --> 00:30:52,980 I've prepared this demonstration a little. 638 00:30:53,640 --> 00:30:55,460 And what I've done is the following. 639 00:30:56,500 --> 00:30:59,440 I have sent this victim an email. 640 00:31:01,000 --> 00:31:02,720 And that email contains an attachment 641 00:31:02,720 --> 00:31:03,880 which is an HTML file. 642 00:31:04,460 --> 00:31:07,120 The HTML file consists of VBScript. 643 00:31:07,680 --> 00:31:09,840 Okay, so that's why I'm going to use 644 00:31:09,840 --> 00:31:11,480 Xploder to launch it. 645 00:31:12,180 --> 00:31:14,700 The VBScript is making allay calls into the notes client. 646 00:31:15,280 --> 00:31:17,160 And I'm going to have this victim perform 647 00:31:17,160 --> 00:31:19,220 all kinds of functions that should not be allowed. 648 00:31:20,180 --> 00:31:22,800 Let's first take a brief peek in the ECL itself. 649 00:31:23,140 --> 00:31:25,720 If you go to File, Preferences, User Preferences, 650 00:31:26,840 --> 00:31:27,620 Security Options. 651 00:31:28,440 --> 00:31:29,520 As you can see here, 652 00:31:30,420 --> 00:31:33,120 this is an ECL that Lotus is recommending. 653 00:31:35,000 --> 00:31:35,400 Default, 654 00:31:35,400 --> 00:31:37,860 there is nothing allowed. 655 00:31:38,380 --> 00:31:40,340 So as soon as any type of code 656 00:31:40,760 --> 00:31:41,960 tries to perform an action, 657 00:31:42,080 --> 00:31:45,160 it will pop up with an execution security alert. 658 00:31:45,740 --> 00:31:47,120 The same goes for the note signature. 659 00:31:48,320 --> 00:31:49,900 And Lotus Notes template development 660 00:31:50,360 --> 00:31:51,640 is allowed all functionality. 661 00:31:51,960 --> 00:31:53,600 The reason for that is they ship the templates. 662 00:31:53,800 --> 00:31:55,720 So if you want to be able to use your mail, 663 00:31:55,840 --> 00:31:56,720 this needs to be on. 664 00:32:01,380 --> 00:32:02,480 I'm going to launch this file. 665 00:32:03,000 --> 00:32:04,500 And this is also going to take 666 00:32:05,400 --> 00:32:07,140 some time because I have a very slow laptop. 667 00:32:07,980 --> 00:32:09,240 We rented it, by the way. 668 00:32:14,600 --> 00:32:18,700 What the code is going to do is very interesting. 669 00:32:20,500 --> 00:32:21,320 First of all, 670 00:32:22,060 --> 00:32:24,880 it's going to modify the access control list 671 00:32:25,180 --> 00:32:27,640 on this victim's mail file. 672 00:32:28,340 --> 00:32:30,520 It's going to change the entry anonymous 673 00:32:30,520 --> 00:32:31,980 into manage your access. 674 00:32:32,640 --> 00:32:34,900 So the result is that you end up 675 00:32:35,400 --> 00:32:37,260 with a world access situation on your mail file. 676 00:32:38,000 --> 00:32:38,400 Secondly, 677 00:32:39,160 --> 00:32:41,080 this piece of code is going to 678 00:32:41,080 --> 00:32:43,400 send an email back to the attacker. 679 00:32:44,200 --> 00:32:45,320 Now all of you know that 680 00:32:45,320 --> 00:32:47,440 if Internet Explorer tries to launch ActiveX, 681 00:32:47,520 --> 00:32:48,740 then it's going to come up with a warning. 682 00:32:50,000 --> 00:32:52,140 I bet there's guys out here that know 683 00:32:52,140 --> 00:32:55,440 plenty enough to go around those warnings 684 00:32:55,440 --> 00:32:57,320 as Loft did with their advisory 685 00:32:57,320 --> 00:32:58,120 a couple of weeks ago. 686 00:32:58,960 --> 00:33:00,420 I didn't put any energy in that. 687 00:33:00,700 --> 00:33:01,940 So I'm just going to press yes. 688 00:33:03,700 --> 00:33:04,100 Yes. 689 00:33:05,400 --> 00:33:06,120 There you go. 690 00:33:06,180 --> 00:33:06,980 Nothing happened. 691 00:33:08,300 --> 00:33:08,820 Yeah? 692 00:33:08,920 --> 00:33:13,500 It's a regular HTML file. 693 00:33:15,220 --> 00:33:16,960 And the user didn't notice a thing. 694 00:33:17,520 --> 00:33:19,420 Let's go to the attacker 695 00:33:19,420 --> 00:33:22,300 and let's take a look at the end result of this. 696 00:33:22,800 --> 00:33:23,320 Which... 697 00:33:23,320 --> 00:33:23,900 One down. 698 00:33:23,980 --> 00:33:24,400 One down. 699 00:33:24,480 --> 00:33:24,660 Okay. 700 00:33:24,760 --> 00:33:25,040 Thanks. 701 00:33:27,160 --> 00:33:28,220 This is the attacker. 702 00:33:29,100 --> 00:33:30,540 There's Wouter Haukema's email. 703 00:33:31,280 --> 00:33:32,780 And I'm going to open my email. 704 00:33:37,240 --> 00:33:38,020 And it worked. 705 00:33:40,360 --> 00:33:43,180 I received an email from Mr. Some User 706 00:33:43,180 --> 00:33:44,840 with the subject ACL updated 707 00:33:45,360 --> 00:33:46,900 for the mail file of some user. 708 00:33:47,440 --> 00:33:49,600 I'm going to open that email. 709 00:33:49,760 --> 00:33:52,640 And what I have here is a URL 710 00:33:52,640 --> 00:33:54,300 pointing towards that user's mail file. 711 00:33:56,400 --> 00:33:57,800 So let's click on that. 712 00:33:58,940 --> 00:34:01,060 Pop up Netscape and see what happens. 713 00:34:03,100 --> 00:34:03,800 There you go. 714 00:34:04,180 --> 00:34:04,780 I'm manager. 715 00:34:05,400 --> 00:34:06,520 Can you show us the ACL? 716 00:34:07,300 --> 00:34:07,700 Sure. 717 00:34:09,740 --> 00:34:11,080 In order to show you the ACL, 718 00:34:11,180 --> 00:34:13,620 I'm going to switch back to the victim laptop here, 719 00:34:13,720 --> 00:34:15,020 which is another screen. 720 00:34:15,160 --> 00:34:16,500 It's a pity we don't have two screens, man. 721 00:34:19,540 --> 00:34:19,940 Okay. 722 00:34:21,220 --> 00:34:22,880 We're back on the victim's mail file. 723 00:34:23,520 --> 00:34:26,040 Now, the third thing that the email did, 724 00:34:26,180 --> 00:34:28,780 that the piece of VB script did in my HTML file, 725 00:34:28,900 --> 00:34:30,380 is I deleted the document. 726 00:34:30,600 --> 00:34:32,500 So all traces are gone. 727 00:34:33,000 --> 00:34:34,960 Watch what happens if I try to open that email. 728 00:34:34,960 --> 00:34:36,500 Oh, it's already gone. 729 00:34:36,580 --> 00:34:36,840 You see that? 730 00:34:38,600 --> 00:34:39,080 Sorry. 731 00:34:41,280 --> 00:34:42,520 You wanted to look at the ACL. 732 00:34:42,980 --> 00:34:44,640 File, database, access control. 733 00:34:45,300 --> 00:34:47,100 And as you will see, default has no access. 734 00:34:47,660 --> 00:34:49,180 Anonymous has manager access. 735 00:34:50,980 --> 00:34:52,380 If you take a look at the log, 736 00:34:52,520 --> 00:34:55,400 you will actually see that this happened just now. 737 00:34:56,540 --> 00:34:58,460 Well, another interesting piece is that 738 00:34:58,460 --> 00:35:01,300 the user performed the activity himself. 739 00:35:03,360 --> 00:35:04,160 Not me, 740 00:35:04,160 --> 00:35:05,220 but the user himself. 741 00:35:06,040 --> 00:35:06,180 Okay? 742 00:35:12,540 --> 00:35:13,940 With a little bit of imagination, 743 00:35:14,340 --> 00:35:15,440 there's a lot of things you can do 744 00:35:17,220 --> 00:35:18,180 with that VB script. 745 00:35:20,100 --> 00:35:22,420 And I want to point out just a couple of things 746 00:35:22,420 --> 00:35:24,440 that we came across doing our research. 747 00:35:25,060 --> 00:35:26,380 One of the things is that... 748 00:35:26,380 --> 00:35:26,720 Hold on. 749 00:35:31,760 --> 00:35:34,140 One of the things that we discovered is that 750 00:35:34,160 --> 00:35:38,480 the design elements in Node's databases, 751 00:35:38,620 --> 00:35:40,500 such as the mail file and those kind of things, 752 00:35:41,100 --> 00:35:43,660 they seem to be having a fixed node ID 753 00:35:46,000 --> 00:35:48,260 for databases that share the same template version. 754 00:35:49,360 --> 00:35:50,180 What does that mean? 755 00:35:51,240 --> 00:35:52,840 Well, if you look at the mail file, 756 00:35:53,600 --> 00:35:55,800 there is, for instance, the memo form. 757 00:35:56,500 --> 00:35:57,580 It has a node ID. 758 00:35:58,680 --> 00:36:00,240 And that node ID is going to be same 759 00:36:00,240 --> 00:36:02,360 for all the same versions of Lotus Node. 760 00:36:02,360 --> 00:36:05,840 If you access that particular design element, 761 00:36:06,480 --> 00:36:07,800 not as a design element, 762 00:36:07,920 --> 00:36:09,180 but as a regular Node's document, 763 00:36:09,900 --> 00:36:11,940 there's a function for that getDocumentByID. 764 00:36:13,100 --> 00:36:15,560 Then you will find out that you can manipulate 765 00:36:15,560 --> 00:36:17,260 that design very easily. 766 00:36:19,240 --> 00:36:20,660 And again, with that VB script, 767 00:36:20,820 --> 00:36:21,900 that would be relatively easy. 768 00:36:23,620 --> 00:36:25,400 So, back to my first demo 769 00:36:25,400 --> 00:36:27,260 where I talked about stored forms. 770 00:36:27,660 --> 00:36:30,080 Well, we saw that the stored form 771 00:36:30,080 --> 00:36:32,120 is actually an attribute 772 00:36:32,360 --> 00:36:35,040 that is set in the icon document of a database. 773 00:36:36,480 --> 00:36:39,140 And if you go access that icon document 774 00:36:39,140 --> 00:36:40,660 as a regular Node's document, 775 00:36:41,100 --> 00:36:42,820 you will see that in the $flags field, 776 00:36:42,920 --> 00:36:44,380 there's a small F character, 777 00:36:45,520 --> 00:36:47,500 which indicates stored forms are not allowed. 778 00:36:47,620 --> 00:36:48,860 So, if you remove that small F, 779 00:36:48,980 --> 00:36:51,380 you're back to the zero, basically, 780 00:36:51,400 --> 00:36:53,440 because you can send stored forms again. 781 00:36:57,100 --> 00:36:58,780 Well, the same goes for DB scripts, 782 00:36:59,000 --> 00:36:59,940 all those kind of things. 783 00:37:02,440 --> 00:37:03,500 What can we learn, 784 00:37:03,580 --> 00:37:05,480 what can we see from these type of attacks? 785 00:37:05,740 --> 00:37:06,860 Well, first of all, again, 786 00:37:07,040 --> 00:37:09,940 ECL does not intercept API calls. 787 00:37:11,920 --> 00:37:13,180 Secondly, payloads execute 788 00:37:13,180 --> 00:37:14,880 on full behalf of the Node's user. 789 00:37:16,600 --> 00:37:18,960 And also, not unimportant, 790 00:37:19,220 --> 00:37:21,040 the Node's client is not being used. 791 00:37:21,880 --> 00:37:24,800 The application is running external to Node's. 792 00:37:31,600 --> 00:37:32,000 Recommendations. 793 00:37:32,200 --> 00:37:33,740 How can we cope with this vulnerability? 794 00:37:35,880 --> 00:37:37,840 Since OLE calls will make use of the registry, 795 00:37:38,020 --> 00:37:39,160 we advise you to take away 796 00:37:40,480 --> 00:37:41,660 the following settings. 797 00:37:41,760 --> 00:37:42,980 That's the nodes.node session 798 00:37:42,980 --> 00:37:44,780 and nodes.node's UE workspace. 799 00:37:45,000 --> 00:37:46,300 Take it away from the registry, 800 00:37:46,480 --> 00:37:47,820 because that's your way to 801 00:37:49,160 --> 00:37:50,980 disable OLE hooks into Lotus nodes. 802 00:37:52,400 --> 00:37:53,840 Now, a little side note. 803 00:37:53,840 --> 00:37:55,520 There is many external applications 804 00:37:55,520 --> 00:37:58,600 that are interfacing with Lotus nodes. 805 00:37:58,780 --> 00:37:59,960 They will no longer function. 806 00:38:00,300 --> 00:38:02,340 So there's a judgment you gotta make yourself. 807 00:38:02,620 --> 00:38:04,860 Do I want security or do I want functionality? 808 00:38:07,000 --> 00:38:08,460 Secondly, very important, 809 00:38:08,560 --> 00:38:11,100 prior to launching attachments, 810 00:38:11,980 --> 00:38:13,820 make sure you clear your user preferences. 811 00:38:15,160 --> 00:38:18,200 That way, if some hostile code 812 00:38:18,200 --> 00:38:19,720 tries to hook into the Node's client, 813 00:38:20,680 --> 00:38:21,920 it won't get anywhere, 814 00:38:22,040 --> 00:38:23,760 because you'll be immediately prompted 815 00:38:23,840 --> 00:38:24,820 with a Node's password prompt. 816 00:38:25,200 --> 00:38:27,360 And you'll know something's going on. 817 00:38:29,000 --> 00:38:32,000 I thought, kind of obvious, 818 00:38:32,680 --> 00:38:33,760 the internal Node's viewer 819 00:38:33,760 --> 00:38:37,060 is not capable of running any hostile code. 820 00:38:37,220 --> 00:38:39,040 So use the internal viewer where possible. 821 00:38:39,280 --> 00:38:41,260 For Word documents, HTML documents, 822 00:38:41,700 --> 00:38:44,180 any type of active content that you might come across. 823 00:38:46,520 --> 00:38:49,500 Okay, I'm gonna hand over this one to Chris 824 00:38:49,500 --> 00:38:50,960 and to Petra Gunther, 825 00:38:51,040 --> 00:38:53,220 who's gonna do some more heavy stuff. 826 00:38:54,700 --> 00:38:56,920 Petra's gonna be picking up the keyboard stuff 827 00:38:56,920 --> 00:38:58,480 and I'll go ahead and babble, 828 00:38:58,540 --> 00:38:59,540 because he's happier on the keyboard 829 00:38:59,540 --> 00:39:00,480 and I'm happily babbling. 830 00:39:02,180 --> 00:39:04,120 Now, we've talked a lot about using F5 831 00:39:04,120 --> 00:39:05,260 to clear out the user credentials. 832 00:39:05,480 --> 00:39:06,820 Like, if you're walking away from your desktop 833 00:39:06,820 --> 00:39:07,860 for some particular reason, 834 00:39:08,420 --> 00:39:09,600 Lotus says, hit F5, 835 00:39:09,680 --> 00:39:11,200 because that's gonna force you to re-authenticate 836 00:39:11,200 --> 00:39:12,860 or at least re-enter your passphrase 837 00:39:12,860 --> 00:39:14,440 in order to unlock your Node's ID file. 838 00:39:16,780 --> 00:39:18,540 Well, there's some stuff about that. 839 00:39:19,040 --> 00:39:21,040 First thing, what Petra's gonna do 840 00:39:21,040 --> 00:39:23,820 is pop up an external file, 841 00:39:23,840 --> 00:39:24,080 an external application 842 00:39:24,080 --> 00:39:25,720 that's gonna try to make a call 843 00:39:25,720 --> 00:39:28,440 into a Node's document 844 00:39:28,440 --> 00:39:32,760 in a situation where F5 has been entered 845 00:39:32,760 --> 00:39:34,840 from a desktop. 846 00:39:35,400 --> 00:39:36,940 Okay, he's hitting F5. 847 00:39:37,320 --> 00:39:39,300 We should supposedly be locked out now. 848 00:39:39,580 --> 00:39:41,120 So he's gonna launch this external application. 849 00:39:43,520 --> 00:39:44,480 Yeah, we're out. 850 00:39:45,680 --> 00:39:47,600 All right, so he's gonna launch this external application 851 00:39:47,600 --> 00:39:49,020 that's gonna attempt to connect in there. 852 00:39:49,800 --> 00:39:52,060 And because we've hit F5, 853 00:39:52,060 --> 00:39:54,160 you still have your thing shared. 854 00:39:55,460 --> 00:39:55,900 Yeah. 855 00:39:57,380 --> 00:39:58,820 We ran through this before. 856 00:39:59,020 --> 00:39:59,640 Bear with us. 857 00:40:01,280 --> 00:40:02,540 He's gonna go in and unshare. 858 00:40:02,640 --> 00:40:03,580 So at least you see that going. 859 00:40:03,820 --> 00:40:06,140 Right now, the user ID is actually shared, 860 00:40:06,280 --> 00:40:08,040 but we'll fix that. 861 00:40:10,580 --> 00:40:12,300 All right, so we're not gonna share that anymore. 862 00:40:12,440 --> 00:40:16,040 So external applications can't do a direct call into that 863 00:40:16,040 --> 00:40:19,800 by talking to the stored credentials in memory. 864 00:40:20,080 --> 00:40:20,520 Okay. 865 00:40:22,920 --> 00:40:24,380 So he's tried to connect, 866 00:40:24,520 --> 00:40:26,120 and it's prompting him for a password. 867 00:40:26,940 --> 00:40:28,860 Now, what's going on in the background 868 00:40:28,860 --> 00:40:29,920 is when you hit F5, 869 00:40:30,060 --> 00:40:32,100 what you think is happening 870 00:40:32,100 --> 00:40:34,320 is that your credentials are being completely flushed 871 00:40:34,320 --> 00:40:35,100 from your workspace, 872 00:40:35,220 --> 00:40:36,500 but what's really happening is 873 00:40:36,500 --> 00:40:38,900 the client's being instructed that it's dirty 874 00:40:38,900 --> 00:40:42,020 by basically flipping a bit somewhere in memory. 875 00:40:42,360 --> 00:40:45,980 And if you wanted to take a look, 876 00:40:46,060 --> 00:40:47,520 you could flip that bit back 877 00:40:48,060 --> 00:40:50,360 because your credentials are still stored in memory. 878 00:40:50,540 --> 00:40:52,040 Your credentials have to be in memory 879 00:40:52,040 --> 00:40:54,340 because Notes has a remote replicator service 880 00:40:54,340 --> 00:40:56,440 that constantly talks between client and server 881 00:40:56,440 --> 00:40:57,720 so it can update your databases. 882 00:40:58,180 --> 00:40:59,940 Well, how could your client talk to the server 883 00:40:59,940 --> 00:41:02,540 if it didn't have some way of authenticating the server? 884 00:41:02,820 --> 00:41:05,160 It uses that stored credentials in memory 885 00:41:05,160 --> 00:41:06,880 to perform this function. 886 00:41:07,200 --> 00:41:09,480 So what we've got here is a little tool 887 00:41:09,480 --> 00:41:10,760 that's basically going... 888 00:41:10,760 --> 00:41:12,120 Well, it's a little multifunction tool. 889 00:41:12,180 --> 00:41:13,400 The first function we'll do of it 890 00:41:13,400 --> 00:41:16,640 is basically turning back on that shared attribute 891 00:41:16,640 --> 00:41:17,880 for those credentials in memory 892 00:41:17,880 --> 00:41:20,980 so the external application can talk to it just fine. 893 00:41:30,020 --> 00:41:31,280 And there we go. 894 00:41:32,340 --> 00:41:33,900 So now we're back into that one. 895 00:41:39,040 --> 00:41:41,380 Now, just as we said before, 896 00:41:42,600 --> 00:41:45,640 once you've got access to that cache memory location, 897 00:41:45,920 --> 00:41:47,440 it's going to remain cached, 898 00:41:47,600 --> 00:41:49,160 so we'll be able to access that 899 00:41:49,160 --> 00:41:50,560 for as long as we have this session open. 900 00:41:50,980 --> 00:41:53,980 And basically, it's just one little register 901 00:41:54,520 --> 00:41:55,300 that's being set. 902 00:41:55,780 --> 00:41:58,660 Now, the vulnerability, obviously, 903 00:41:58,940 --> 00:41:59,980 a little external program... 904 00:42:00,500 --> 00:42:01,960 I mean, we're doing it here locally 905 00:42:01,960 --> 00:42:03,260 on somebody's desktop, 906 00:42:03,380 --> 00:42:05,300 but there's ways to do it using PhoebeScript 907 00:42:05,300 --> 00:42:06,520 or anything else that we've talked about 908 00:42:06,520 --> 00:42:07,920 through some of these other attacks 909 00:42:07,920 --> 00:42:09,160 to perform the same function. 910 00:42:12,000 --> 00:42:14,500 Now, one of the things, of course, that makes sense, 911 00:42:14,660 --> 00:42:16,480 you're not going to be able to access any databases 912 00:42:16,480 --> 00:42:18,480 other than the ones that that user has access to. 913 00:42:18,540 --> 00:42:20,960 This isn't granting us any sort of super database browsing function. 914 00:42:21,520 --> 00:42:24,740 We're just able to sort of unlock that guy's workstation. 915 00:42:25,720 --> 00:42:27,700 But we're moving on to other stuff. 916 00:42:28,760 --> 00:42:30,440 Now, just as a basic recommendation, 917 00:42:30,920 --> 00:42:32,120 F5, don't use it. 918 00:42:32,180 --> 00:42:32,980 If you need to leave... 919 00:42:32,980 --> 00:42:33,940 If you've got to go to the bathroom 920 00:42:33,940 --> 00:42:35,140 and you're that worried about it, 921 00:42:35,320 --> 00:42:35,740 turn... 922 00:42:35,740 --> 00:42:37,380 You know, shut down notes, 923 00:42:37,440 --> 00:42:38,520 turn your machine off, whatever. 924 00:42:38,900 --> 00:42:41,020 But don't think F5's really going to buy you something 925 00:42:41,020 --> 00:42:42,680 because if someone can walk by your desk, 926 00:42:43,260 --> 00:42:44,900 they can just unlock everything 927 00:42:44,900 --> 00:42:46,000 and get your credentials back. 928 00:42:48,240 --> 00:42:50,500 Now, just talking a little bit about a thing called 929 00:42:50,500 --> 00:42:51,880 the HTTP password hash. 930 00:42:52,740 --> 00:42:54,500 Lotus, in the names and address book, 931 00:42:54,560 --> 00:42:57,980 keeps track of a thing for web-based access into notes. 932 00:42:58,100 --> 00:43:00,440 And basically, they're using a modified RC4 implementation 933 00:43:00,440 --> 00:43:04,720 where a passphrase is then hashed using RC4, 934 00:43:05,300 --> 00:43:07,080 but rather than using a dynamic table, 935 00:43:07,200 --> 00:43:09,040 they've got a static set of plain text 936 00:43:09,040 --> 00:43:11,020 that's constantly used as the reference 937 00:43:11,020 --> 00:43:12,060 to generate the hash. 938 00:43:13,240 --> 00:43:16,480 So, essentially, Lotus isn't using a salted hash. 939 00:43:16,760 --> 00:43:19,360 You know, where people using... 940 00:43:19,360 --> 00:43:21,600 People using Unix figured out a million years ago 941 00:43:21,600 --> 00:43:23,440 that if you're going to use DES, 942 00:43:23,480 --> 00:43:24,580 you need to salt it with something. 943 00:43:24,840 --> 00:43:26,900 Apparently, Lotus decided that wasn't a good idea, 944 00:43:27,000 --> 00:43:29,640 so they're using this static thing to generate hashes. 945 00:43:29,720 --> 00:43:30,560 So what you end up with, 946 00:43:30,600 --> 00:43:32,220 if you actually look in the names and address book, 947 00:43:32,360 --> 00:43:34,660 any time you see... 948 00:43:35,560 --> 00:43:38,160 Oh, well, we're in the names and address book now. 949 00:43:38,540 --> 00:43:39,300 Yeah, it should... 950 00:43:39,300 --> 00:43:39,660 You're up. 951 00:43:40,960 --> 00:43:42,500 If you go over to a field, 952 00:43:43,380 --> 00:43:46,020 you'll see HTTP passwords in the names and address book. 953 00:43:47,500 --> 00:43:47,900 Yeah. 954 00:43:47,900 --> 00:43:49,600 There are some hashes. 955 00:43:50,020 --> 00:43:54,820 So any time you see a hash beginning 355E9807B59, 956 00:43:55,080 --> 00:43:55,760 et cetera, et cetera, 957 00:43:55,820 --> 00:43:56,340 that's password. 958 00:43:57,260 --> 00:44:00,160 Any time you see 06E0A blah, blah, blah, 959 00:44:00,220 --> 00:44:01,280 that's secret. 960 00:44:01,640 --> 00:44:03,120 If we go back over here... 961 00:44:04,680 --> 00:44:05,720 I'm not going to read it. 962 00:44:05,800 --> 00:44:06,460 You read it. 963 00:44:06,620 --> 00:44:08,080 Anyway, any time you see that, 964 00:44:08,180 --> 00:44:09,480 and it becomes very obvious 965 00:44:09,480 --> 00:44:11,400 when you start looking through people's names and address book, 966 00:44:11,480 --> 00:44:13,100 oh, this guy's using a password, a password. 967 00:44:14,220 --> 00:44:15,740 And because of this, 968 00:44:15,820 --> 00:44:17,660 once you figure out the way the hashes are generated, 969 00:44:17,660 --> 00:44:20,500 you can make a very, very easy dictionary-based hacking program 970 00:44:20,500 --> 00:44:22,460 to go against the hashes in the names and address book. 971 00:44:22,900 --> 00:44:25,200 So that's fun. 972 00:44:25,380 --> 00:44:26,580 But wait, there's more. 973 00:44:27,720 --> 00:44:29,740 Now, inside the notes user ID file, 974 00:44:29,820 --> 00:44:31,180 notes was set up in such a way that 975 00:44:31,180 --> 00:44:34,240 the ID file's providing a lot of different layers of security. 976 00:44:34,540 --> 00:44:37,480 It's providing strong authentication and access control. 977 00:44:37,780 --> 00:44:39,520 Because of the digital signatures used, 978 00:44:39,620 --> 00:44:43,280 you have real good file system integrity and non-repudiation. 979 00:44:43,520 --> 00:44:45,780 And because it's used as an encryption key, 980 00:44:45,940 --> 00:44:47,460 you've got confidentiality. 981 00:44:47,660 --> 00:44:48,560 Sounds great, right? 982 00:44:49,760 --> 00:44:51,180 Well, taking even more, 983 00:44:51,340 --> 00:44:54,320 the ID has basically the private and public key, 984 00:44:54,440 --> 00:44:55,680 information about the user, 985 00:44:55,820 --> 00:44:58,160 an expiration date for the ID file, 986 00:44:58,400 --> 00:45:00,780 basic ID integrity control 987 00:45:00,780 --> 00:45:01,760 so that no one can go in there 988 00:45:01,760 --> 00:45:03,040 and muck around with the user ID file 989 00:45:03,040 --> 00:45:04,100 because it'll fail check some. 990 00:45:04,580 --> 00:45:07,700 The ID file's necessary in order to unlock your client 991 00:45:07,700 --> 00:45:08,860 so you can do local databases. 992 00:45:09,060 --> 00:45:10,980 It's used in authenticating to a server 993 00:45:10,980 --> 00:45:12,840 so you can actually do client-to-server communications. 994 00:45:13,320 --> 00:45:16,280 And it's referenced through notes programs 995 00:45:16,280 --> 00:45:17,640 that are using the native notes API. 996 00:45:20,720 --> 00:45:22,500 Now, one of the things about the client 997 00:45:22,500 --> 00:45:23,980 with respect to the ID 998 00:45:25,440 --> 00:45:29,100 is there's sort of an arbitrary delay 999 00:45:29,100 --> 00:45:30,360 that's built into the client 1000 00:45:30,360 --> 00:45:31,820 to keep you from trying brute force attacks 1001 00:45:31,820 --> 00:45:32,680 and logging in. 1002 00:45:32,880 --> 00:45:34,680 You know, one, it'd take a second, 1003 00:45:34,780 --> 00:45:35,540 and then two seconds, 1004 00:45:35,620 --> 00:45:36,360 and then 10 seconds, 1005 00:45:36,400 --> 00:45:37,180 and then 30 seconds, 1006 00:45:37,280 --> 00:45:41,020 and it can even lock you out from attempting again. 1007 00:45:42,340 --> 00:45:44,600 Now, the digest of that user ID file 1008 00:45:44,600 --> 00:45:46,040 is actually stored in the names and address book 1009 00:45:46,040 --> 00:45:47,640 and that's sort of referenced with HTTP hash. 1010 00:45:47,660 --> 00:45:50,840 And, you know, another feature that the client has 1011 00:45:50,840 --> 00:45:53,140 is it has auto-lockoff features and F5 features, 1012 00:45:53,260 --> 00:45:55,040 but we know those don't work anymore, right, guys? 1013 00:45:56,120 --> 00:45:58,560 And it has the ability to share user IDs 1014 00:45:58,560 --> 00:45:59,480 like we just did 1015 00:45:59,480 --> 00:46:01,840 so external applications can happily talk 1016 00:46:02,200 --> 00:46:03,100 to your existing credentials. 1017 00:46:04,960 --> 00:46:06,780 Well, here comes the fun stuff. 1018 00:46:09,240 --> 00:46:10,720 Basically, there's a mechanism 1019 00:46:10,720 --> 00:46:14,380 by which you can use someone's HTTP password hash 1020 00:46:14,380 --> 00:46:15,640 and an ID file, 1021 00:46:15,900 --> 00:46:17,600 both of which will explain 1022 00:46:17,660 --> 00:46:18,520 a couple of reasons 1023 00:46:18,520 --> 00:46:20,160 on how you might be able to get that information, 1024 00:46:20,640 --> 00:46:25,360 so that either on your local area network, 1025 00:46:25,960 --> 00:46:28,140 since you're going to have access to your names and address book 1026 00:46:28,140 --> 00:46:29,640 for any server that you have access to, 1027 00:46:29,800 --> 00:46:31,800 or outside from the Internet 1028 00:46:31,800 --> 00:46:33,440 by getting this information, 1029 00:46:33,640 --> 00:46:37,120 either by directing a user towards some hostile web page 1030 00:46:37,120 --> 00:46:39,840 or by sending them a mail message with stored forms 1031 00:46:39,840 --> 00:46:40,800 or what have you, 1032 00:46:40,880 --> 00:46:42,160 you can obtain this information 1033 00:46:42,160 --> 00:46:43,560 and use it to authenticate 1034 00:46:43,560 --> 00:46:45,640 to a remote SNOTE service as that user. 1035 00:46:45,920 --> 00:46:47,420 Now, how does this basically work? 1036 00:46:48,020 --> 00:46:52,120 We're going to walk through a demo here. 1037 00:46:53,300 --> 00:46:54,340 The first thing we do, 1038 00:46:54,400 --> 00:46:56,100 since we've got this names and address book up, 1039 00:46:56,600 --> 00:46:57,500 we're going to go ahead 1040 00:46:57,500 --> 00:46:59,800 and steal an HTTP password hash. 1041 00:47:02,900 --> 00:47:04,120 So we got that highlighted, 1042 00:47:04,920 --> 00:47:06,140 just toggling that over, 1043 00:47:06,720 --> 00:47:07,960 and now we're going to pull up 1044 00:47:07,960 --> 00:47:09,720 that user document for that person, 1045 00:47:10,780 --> 00:47:12,920 and we're going to detach that guy's user ID, 1046 00:47:12,920 --> 00:47:13,700 make a copy of it, 1047 00:47:13,760 --> 00:47:14,700 put it on our local desktop. 1048 00:47:25,860 --> 00:47:27,520 Okay, so we've got that over there. 1049 00:47:27,640 --> 00:47:28,840 Now from the notes client, 1050 00:47:29,080 --> 00:47:30,100 what we want to do is 1051 00:47:30,100 --> 00:47:32,380 switch to that user ID we just stole. 1052 00:47:33,960 --> 00:47:35,780 And it's going to prompt us, happily, 1053 00:47:35,840 --> 00:47:37,260 for a password, just like normal. 1054 00:47:38,100 --> 00:47:39,180 We don't know the password. 1055 00:47:39,340 --> 00:47:40,380 This is something we just stole. 1056 00:47:40,700 --> 00:47:42,000 The password could be anything, 1057 00:47:42,180 --> 00:47:43,000 but it doesn't matter 1058 00:47:43,000 --> 00:47:44,080 because we have the hash. 1059 00:47:45,320 --> 00:47:45,720 So, 1060 00:47:47,900 --> 00:47:48,460 basically, 1061 00:47:49,860 --> 00:47:51,920 using that same little nasty tool, 1062 00:47:52,540 --> 00:47:53,640 we're going to go in there, 1063 00:47:53,760 --> 00:47:55,820 and we're going to replace in that memory register 1064 00:47:55,820 --> 00:47:57,480 where the existing credentials are 1065 00:47:57,480 --> 00:47:58,860 that hash we just stole. 1066 00:47:59,960 --> 00:48:00,520 . 1067 00:48:03,020 --> 00:48:04,060 Yes, it does. 1068 00:48:04,260 --> 00:48:04,780 . 1069 00:48:08,980 --> 00:48:12,440 Yeah, they did say that, 1070 00:48:12,540 --> 00:48:13,780 but in most installations, 1071 00:48:13,960 --> 00:48:15,680 you'll notice that most people 1072 00:48:15,680 --> 00:48:17,640 are still synchronizing HTTP and nodes, 1073 00:48:17,660 --> 00:48:17,960 so it's IDs, 1074 00:48:18,080 --> 00:48:20,420 and people have gone to extreme difficulty 1075 00:48:20,420 --> 00:48:21,860 in trying to do that synchronization. 1076 00:48:22,100 --> 00:48:23,620 It goes completely against reality, 1077 00:48:24,120 --> 00:48:24,560 but... 1078 00:48:24,560 --> 00:48:25,100 . 1079 00:48:26,420 --> 00:48:26,860 Okay. 1080 00:48:27,020 --> 00:48:27,280 . 1081 00:48:27,280 --> 00:48:27,920 Yeah. 1082 00:48:28,060 --> 00:48:28,200 . 1083 00:48:28,200 --> 00:48:28,740 It's actually, 1084 00:48:28,860 --> 00:48:29,960 if I can say this real quick, 1085 00:48:30,160 --> 00:48:30,960 it's actually, 1086 00:48:31,040 --> 00:48:32,580 when you register a user, 1087 00:48:32,760 --> 00:48:33,940 you've got a little check box 1088 00:48:33,940 --> 00:48:36,560 that says register as a web user, 1089 00:48:37,040 --> 00:48:39,820 and it will actually set that HTTP password 1090 00:48:39,820 --> 00:48:41,220 to be the same as his ID file. 1091 00:48:41,400 --> 00:48:41,460 . 1092 00:48:41,460 --> 00:48:42,580 You also have a check box 1093 00:48:42,580 --> 00:48:45,180 that says save the ID file to a disk 1094 00:48:45,180 --> 00:48:46,400 as opposed to the... 1095 00:48:46,400 --> 00:48:46,780 . 1096 00:48:47,660 --> 00:48:47,860 . 1097 00:48:49,060 --> 00:48:49,460 Yeah. 1098 00:48:49,720 --> 00:48:49,820 . 1099 00:48:49,820 --> 00:48:50,440 But you know, 1100 00:48:50,480 --> 00:48:51,040 obviously, 1101 00:48:52,260 --> 00:48:53,840 since you're paying really close attention, 1102 00:48:54,020 --> 00:48:54,920 we'll assume your shop 1103 00:48:54,920 --> 00:48:56,260 is a really large notes user, 1104 00:48:56,560 --> 00:48:58,340 so there are, 1105 00:48:58,460 --> 00:48:59,500 we're not saying that 1106 00:48:59,500 --> 00:49:01,260 every major deployment of notes 1107 00:49:01,260 --> 00:49:02,620 people don't have their act together, 1108 00:49:02,760 --> 00:49:03,400 because some do. 1109 00:49:03,500 --> 00:49:03,620 . 1110 00:49:03,620 --> 00:49:04,200 Some of the customers 1111 00:49:04,200 --> 00:49:04,920 we've talked to 1112 00:49:05,760 --> 00:49:07,200 weren't going to be affected by this, 1113 00:49:07,280 --> 00:49:08,020 but they're still affected 1114 00:49:08,020 --> 00:49:09,180 to some of the other things 1115 00:49:09,180 --> 00:49:09,800 we've talked about, 1116 00:49:09,960 --> 00:49:11,400 but unfortunately, 1117 00:49:11,660 --> 00:49:12,340 you're the exception 1118 00:49:12,340 --> 00:49:12,980 of the rule, guy. 1119 00:49:13,240 --> 00:49:13,640 . 1120 00:49:14,760 --> 00:49:15,540 And, you know, 1121 00:49:15,560 --> 00:49:16,640 we've got customers out there 1122 00:49:16,640 --> 00:49:20,400 with 80,000 different notes clients in one organization 1123 00:49:20,400 --> 00:49:23,160 or another one that has 115,000 1124 00:49:23,160 --> 00:49:26,120 and another one that has 175,000. 1125 00:49:26,720 --> 00:49:28,240 I mean, this is a big deal. 1126 00:49:29,800 --> 00:49:31,240 Anyway, we'll continue on. 1127 00:49:31,360 --> 00:49:32,780 You can go home and sleep well tonight. 1128 00:49:32,960 --> 00:49:34,980 Most of your colleagues at the audience won't. 1129 00:49:35,360 --> 00:49:38,360 So basically what we did is we replaced in memory that hash 1130 00:49:38,960 --> 00:49:41,020 with the hash we stole from the names and address book. 1131 00:49:41,400 --> 00:49:43,560 We've now authenticated as the head user. 1132 00:49:43,780 --> 00:49:45,160 We're going to pull open his mailbox. 1133 00:49:45,160 --> 00:49:52,800 And lo and behold, we're now that user. 1134 00:49:56,700 --> 00:50:02,560 Now, as you said, there's a couple of things. 1135 00:50:03,720 --> 00:50:06,380 Yeah, F5 doesn't clear your password, your private information, 1136 00:50:06,600 --> 00:50:07,920 so you can get hashes locally. 1137 00:50:08,120 --> 00:50:11,140 You can get hashes by browsing something from remote. 1138 00:50:11,180 --> 00:50:14,960 We've also implemented the same functionality for that particular tool into ActiveX. 1139 00:50:15,160 --> 00:50:16,600 So you can have someone browse a web page. 1140 00:50:16,800 --> 00:50:19,140 You'll take their hash credentials from their memory location 1141 00:50:19,140 --> 00:50:21,020 and steal a copy of their ID file. 1142 00:50:23,940 --> 00:50:27,900 With that particular implementation, you're not using the HDB password hash. 1143 00:50:28,060 --> 00:50:31,620 You're using the actual hash that's generated for your existing session. 1144 00:50:32,360 --> 00:50:35,000 So even if your HDB password's different, 1145 00:50:35,180 --> 00:50:37,820 if I can convince you to go to my ugly web page, 1146 00:50:37,900 --> 00:50:41,820 I'm taking your user ID and the hash for your actual logged-in session. 1147 00:50:42,200 --> 00:50:44,860 So it's a little bit different. 1148 00:50:45,160 --> 00:50:46,600 Maybe because it involves a little bit more user interaction, 1149 00:50:46,800 --> 00:50:47,960 but it's still just as nasty. 1150 00:50:50,380 --> 00:50:51,480 Did you want to do that one? 1151 00:50:51,680 --> 00:50:51,780 Yeah. 1152 00:50:51,900 --> 00:50:52,140 Okay. 1153 00:50:52,740 --> 00:50:53,140 Yeah. 1154 00:50:54,580 --> 00:50:56,980 This one isn't the full nasty example, 1155 00:50:57,120 --> 00:51:01,400 but it's going to mail back the hash information back from Roleplay. 1156 00:51:01,520 --> 00:51:03,260 So we're connecting up. 1157 00:51:03,800 --> 00:51:04,480 There you go. 1158 00:51:05,220 --> 00:51:07,060 There's the hash information that's pulled from memory. 1159 00:51:08,300 --> 00:51:10,880 And that doesn't necessarily have to be the HDB password. 1160 00:51:10,960 --> 00:51:14,660 That's the, you know, it's unfortunate that what they're using to generate 1161 00:51:15,160 --> 00:51:17,480 the HDB password hash is the same mechanism they're using 1162 00:51:17,480 --> 00:51:21,620 to generate the credentials to unlock your private key. 1163 00:51:21,740 --> 00:51:22,800 That's what unlocks your private key. 1164 00:51:22,860 --> 00:51:23,680 Your passphrase doesn't. 1165 00:51:23,700 --> 00:51:25,440 Your passphrase generates that hash that's in memory. 1166 00:51:25,680 --> 00:51:26,940 That's used to unlock your key. 1167 00:51:27,840 --> 00:51:28,420 Oh well. 1168 00:51:29,920 --> 00:51:31,780 So as a basic summary here, 1169 00:51:32,440 --> 00:51:35,640 password hash, you get it in the notes, names, and address book, 1170 00:51:36,160 --> 00:51:37,820 which you can look at with a notes client, 1171 00:51:37,960 --> 00:51:39,020 you can look at it with a web browser, 1172 00:51:39,120 --> 00:51:41,860 or you can get it from native memory in an active notes session. 1173 00:51:42,360 --> 00:51:43,680 And for the ID files, 1174 00:51:43,960 --> 00:51:44,460 well, 1175 00:51:44,460 --> 00:51:48,800 most people unfortunately don't practice good host level security. 1176 00:51:49,280 --> 00:51:51,920 So, you know, people are sharing C drives all over the world. 1177 00:51:52,640 --> 00:51:54,300 People are sharing stupid stuff. 1178 00:51:54,480 --> 00:51:57,160 People have NFS mounts with things with their notes ID. 1179 00:51:57,300 --> 00:51:59,820 People store them in a central directory on the notes server 1180 00:51:59,820 --> 00:52:00,860 that's accessible by everybody. 1181 00:52:01,000 --> 00:52:03,520 So when Doofus' hard drive gets reformatted 1182 00:52:03,520 --> 00:52:05,800 and the system administrator doesn't want to build them a new notes ID, 1183 00:52:06,000 --> 00:52:07,220 they have a copy of it somewhere. 1184 00:52:07,520 --> 00:52:09,920 Or they just leave it by default and the name's an address book. 1185 00:52:10,240 --> 00:52:12,380 So, that's not good. 1186 00:52:12,520 --> 00:52:14,440 So this information is out there and it's fairly easy. 1187 00:52:14,460 --> 00:52:14,920 It's pretty easy to get. 1188 00:52:24,960 --> 00:52:26,440 The ActiveX that pulls the hash out? 1189 00:52:26,700 --> 00:52:26,820 Yeah. 1190 00:52:26,980 --> 00:52:27,140 Okay. 1191 00:52:36,060 --> 00:52:37,220 You know, and on a lot of these, 1192 00:52:37,320 --> 00:52:38,240 like we were saying before, 1193 00:52:38,440 --> 00:52:39,000 you're going to see, 1194 00:52:40,220 --> 00:52:42,240 any time you send any of these things out there, 1195 00:52:42,400 --> 00:52:43,720 since it's VBScript, 1196 00:52:43,720 --> 00:52:44,940 running in an HTML, 1197 00:52:45,220 --> 00:52:46,900 you're going to get those Explorer messages. 1198 00:52:47,720 --> 00:52:50,020 Because, you know, different security zones and whatnot. 1199 00:52:50,360 --> 00:52:52,140 But how many of you use Explorer 1200 00:52:52,140 --> 00:52:53,980 and how many times a day do you see that message 1201 00:52:53,980 --> 00:52:55,300 and how many times do you ignore it? 1202 00:52:55,880 --> 00:52:58,120 If you're like anybody else in corporate America, 1203 00:52:59,060 --> 00:53:00,000 you'd probably go, 1204 00:53:00,120 --> 00:53:02,600 well, gee, I'd rather have my porn than worry about that. 1205 00:53:02,660 --> 00:53:03,300 So I'm clicking yes. 1206 00:53:05,960 --> 00:53:07,060 So just in summary, 1207 00:53:07,120 --> 00:53:08,300 I'll hand this back over to Kevin 1208 00:53:10,180 --> 00:53:11,520 and we'll finish up the summary. 1209 00:53:13,720 --> 00:53:14,460 Excuse me, Patrick. 1210 00:53:17,780 --> 00:53:18,480 All right. 1211 00:53:18,520 --> 00:53:20,960 So how many of you found that interesting? 1212 00:53:21,900 --> 00:53:22,400 Yeah? 1213 00:53:22,760 --> 00:53:24,020 All right. 1214 00:53:28,100 --> 00:53:29,800 Well, good, because I sure as heck did. 1215 00:53:29,940 --> 00:53:32,360 And really, you really are an exception. 1216 00:53:32,900 --> 00:53:35,100 And the whole purpose, 1217 00:53:35,300 --> 00:53:38,380 the whole purpose of this is so that... 1218 00:53:38,380 --> 00:53:43,700 The whole purpose is so everyone thinks like this guy here. 1219 00:53:43,720 --> 00:53:46,580 That is really the whole purpose of this presentation. 1220 00:53:47,220 --> 00:53:50,500 Our recommendations for this is to restrict access from the web. 1221 00:53:52,840 --> 00:53:54,740 So this means... 1222 00:53:55,620 --> 00:53:57,540 Could have various meanings. 1223 00:53:57,860 --> 00:54:02,280 If you don't have a purpose for running a domino server on the web, 1224 00:54:02,380 --> 00:54:03,720 an HTTP service, 1225 00:54:04,040 --> 00:54:05,980 disable it, kill it, get rid of it. 1226 00:54:07,200 --> 00:54:09,280 If you do have a purpose for running it, 1227 00:54:09,380 --> 00:54:13,360 then make sure all your ACLs are tightened up. 1228 00:54:13,360 --> 00:54:15,400 And this is a pain in the butt, I know. 1229 00:54:15,480 --> 00:54:17,080 I wish Lotus had better tools. 1230 00:54:17,400 --> 00:54:19,640 It got a little better in version 5. 1231 00:54:20,100 --> 00:54:20,480 Yeah? 1232 00:54:21,040 --> 00:54:23,080 Did you say ACLs or ECLs? 1233 00:54:24,100 --> 00:54:24,860 ACLs right now. 1234 00:54:25,180 --> 00:54:27,440 ACL recorder is a very good tool for that. 1235 00:54:27,680 --> 00:54:28,000 Okay. 1236 00:54:28,860 --> 00:54:29,460 Highly recommend. 1237 00:54:30,840 --> 00:54:34,620 Well, I think it should come just with the default install of domino. 1238 00:54:35,320 --> 00:54:36,520 So not everybody... 1239 00:54:36,520 --> 00:54:39,300 A lot of people have gone out and spent thousands on this and they can't... 1240 00:54:39,300 --> 00:54:39,440 Yeah. 1241 00:54:40,000 --> 00:54:41,040 We all know that feeling. 1242 00:54:42,180 --> 00:54:43,820 Don't forget to remove... 1243 00:54:43,820 --> 00:54:44,980 Okay, sorry. 1244 00:54:45,280 --> 00:54:48,680 Don't forget to remove the user IDs from the NAB. 1245 00:54:49,260 --> 00:54:51,040 Get rid of those things, you know. 1246 00:54:51,100 --> 00:54:53,380 Put on a floppy, stick the floppy in the safe. 1247 00:54:53,680 --> 00:54:55,920 But don't keep that in your network address book. 1248 00:54:56,580 --> 00:54:57,620 Name and address book. 1249 00:54:58,900 --> 00:55:00,680 And like this gentleman out here, 1250 00:55:01,160 --> 00:55:05,920 choose different passwords for your ID files and HTTP passwords. 1251 00:55:07,240 --> 00:55:09,800 There was something on here and I want to... 1252 00:55:09,800 --> 00:55:10,800 Okay, now we do get to it. 1253 00:55:11,980 --> 00:55:13,040 And I mentioned this. 1254 00:55:13,120 --> 00:55:14,160 This is something... 1255 00:55:14,160 --> 00:55:16,480 Now, this is something when we reported this to Lotus, 1256 00:55:16,500 --> 00:55:20,800 this is important that Lotus asked us to mention this. 1257 00:55:21,700 --> 00:55:23,180 The strong password hash. 1258 00:55:23,400 --> 00:55:23,740 There is... 1259 00:55:23,740 --> 00:55:27,820 In release 5, there is a strong password hash that you can actually set 1260 00:55:27,820 --> 00:55:30,020 in the domino server profile document. 1261 00:55:30,400 --> 00:55:30,880 461. 1262 00:55:31,420 --> 00:55:32,040 I'm sorry. 1263 00:55:32,180 --> 00:55:35,520 Well, 461, you actually have to set in the INI file. 1264 00:55:36,360 --> 00:55:39,480 But in release 5, you can set in the server document. 1265 00:55:39,480 --> 00:55:42,100 But one of the things which, 1266 00:55:42,220 --> 00:55:44,540 when we first reported this problem to Lotus, 1267 00:55:44,780 --> 00:55:46,940 they actually went back and they did their homework. 1268 00:55:47,260 --> 00:55:49,080 And they came back to us and they said, 1269 00:55:49,100 --> 00:55:49,500 you know what? 1270 00:55:49,720 --> 00:55:51,860 Using this is actually broken. 1271 00:55:52,140 --> 00:55:53,960 So when you register a user, 1272 00:55:54,440 --> 00:55:59,120 you need to go back and manually upgrade him to a stronger internet hash. 1273 00:56:00,200 --> 00:56:03,060 Because they had not even realized it was broken 1274 00:56:03,060 --> 00:56:04,860 until we started talking to them about this. 1275 00:56:05,260 --> 00:56:07,980 So you need to go back into the person views, 1276 00:56:08,260 --> 00:56:09,460 select all the users, 1277 00:56:09,460 --> 00:56:12,780 and there's actually a pull down menu under actions. 1278 00:56:13,060 --> 00:56:16,480 And you can actually select to upgrade to a stronger hash. 1279 00:56:16,700 --> 00:56:19,800 And you'll notice a different format for that hash. 1280 00:56:20,180 --> 00:56:22,120 And when you notice that different format, 1281 00:56:22,900 --> 00:56:25,760 then you've upgraded and it should be somewhat more secure. 1282 00:56:26,040 --> 00:56:27,660 Does that mean it's completely secure? 1283 00:56:28,280 --> 00:56:29,700 Your guess is as good as mine. 1284 00:56:29,940 --> 00:56:31,140 We're going to check that next. 1285 00:56:33,800 --> 00:56:35,020 When you're leaving your desk, 1286 00:56:35,200 --> 00:56:37,420 close the whole thing down as Chris said, you know? 1287 00:56:37,820 --> 00:56:39,440 I've walked by so many people, 1288 00:56:39,460 --> 00:56:40,980 so many places when I go in to audit a place, 1289 00:56:41,140 --> 00:56:42,780 and the screens are up, 1290 00:56:42,820 --> 00:56:44,920 people have hit F5 if they've done that. 1291 00:56:45,280 --> 00:56:46,580 But close it down, 1292 00:56:46,760 --> 00:56:49,160 especially if you're the secretary to one of the directors. 1293 00:56:51,060 --> 00:56:53,440 You usually have the same access he does 1294 00:56:53,440 --> 00:56:54,400 and you're leaving, 1295 00:56:54,600 --> 00:56:56,340 you're putting him at risk. 1296 00:56:57,600 --> 00:56:59,960 Never click on any email attachments. 1297 00:57:00,240 --> 00:57:01,420 Never run anything. 1298 00:57:01,720 --> 00:57:02,880 If it's a Word document, 1299 00:57:03,080 --> 00:57:04,000 as Valter mentioned, 1300 00:57:04,800 --> 00:57:06,700 if you've got to open it, you know, 1301 00:57:06,760 --> 00:57:08,660 don't accept them for one, you know, 1302 00:57:08,660 --> 00:57:10,180 try and get something like PDFs, 1303 00:57:10,200 --> 00:57:11,580 but if you've got to open it, 1304 00:57:11,600 --> 00:57:13,420 open it in the viewer and notes. 1305 00:57:14,680 --> 00:57:16,920 We're not completely sure that that's even secure, 1306 00:57:17,140 --> 00:57:18,940 but we're not sure about anything. 1307 00:57:24,200 --> 00:57:26,180 Enforce the ACLs on all the databases. 1308 00:57:28,920 --> 00:57:30,500 Make sure that you've gone through, 1309 00:57:30,540 --> 00:57:31,140 as I said earlier, 1310 00:57:31,240 --> 00:57:33,320 make sure that you've got them really tied down. 1311 00:57:34,160 --> 00:57:36,540 Restrict the anonymous browsing for default databases. 1312 00:57:36,760 --> 00:57:38,580 If you're running an older version of DOM, 1313 00:57:38,660 --> 00:57:40,960 this is going to be turned on by default. 1314 00:57:41,120 --> 00:57:41,780 The newer versions, 1315 00:57:41,860 --> 00:57:43,160 this is actually turned off. 1316 00:57:43,480 --> 00:57:46,060 If you've enabled it for some sort of system administration 1317 00:57:46,060 --> 00:57:47,420 or internal development, 1318 00:57:47,660 --> 00:57:49,800 before you deploy that as a web server, 1319 00:57:49,980 --> 00:57:51,560 go back and check that. 1320 00:57:52,820 --> 00:57:55,100 Now, this one is very controversial. 1321 00:57:55,500 --> 00:57:57,200 Disable store forms on mail databases. 1322 00:57:57,520 --> 00:58:00,720 We are aware that there are a ton of applications 1323 00:58:00,720 --> 00:58:01,660 built for DOM. 1324 00:58:01,700 --> 00:58:02,940 Third-party applications, 1325 00:58:03,100 --> 00:58:04,780 sometimes internally developed applications 1326 00:58:06,840 --> 00:58:08,640 that take advantage of this. 1327 00:58:08,640 --> 00:58:11,580 And when we were discussing this with Lotus, 1328 00:58:11,640 --> 00:58:13,660 when we had our conference calls 1329 00:58:13,660 --> 00:58:15,220 with Charlie Kaufman and Kevin Lynch 1330 00:58:15,220 --> 00:58:16,220 and discussing this, 1331 00:58:16,360 --> 00:58:18,500 they pointed out to us that 1332 00:58:18,500 --> 00:58:21,100 there's a lot of applications that use this. 1333 00:58:23,200 --> 00:58:24,640 Our next question was, 1334 00:58:24,740 --> 00:58:26,220 do you guys have it enabled? 1335 00:58:27,400 --> 00:58:29,020 Take a guess what the answer was. 1336 00:58:30,640 --> 00:58:35,040 Enforce strong ACLs on all unsigned and untrusted documents, 1337 00:58:36,240 --> 00:58:38,120 especially if you're running 502 1338 00:58:38,120 --> 00:58:40,340 or earlier, 501 or earlier. 1339 00:58:40,880 --> 00:58:42,820 You need to check this. 1340 00:58:43,060 --> 00:58:44,720 This is kind of obscure setting. 1341 00:58:44,800 --> 00:58:45,940 If you're not familiar with it, 1342 00:58:46,000 --> 00:58:47,180 go back and read the documentation, 1343 00:58:47,880 --> 00:58:48,920 figure out where it is, 1344 00:58:49,040 --> 00:58:50,560 and set it correctly. 1345 00:58:52,740 --> 00:58:55,900 Ensure strong host level security of all note servers. 1346 00:58:57,820 --> 00:59:00,460 Chris can tell you lots of stories as we can 1347 00:59:01,060 --> 00:59:03,760 where Domino server is only as strong 1348 00:59:03,760 --> 00:59:06,980 as the platform it's actually running on. 1349 00:59:08,400 --> 00:59:10,060 If that's not secure, 1350 00:59:10,840 --> 00:59:12,540 your Domino server is not secure. 1351 00:59:12,880 --> 00:59:14,740 If I can pull down your notes database 1352 00:59:15,800 --> 00:59:17,320 and I can open it local, 1353 00:59:18,120 --> 00:59:19,360 your data's not secure. 1354 00:59:20,160 --> 00:59:21,460 If you've got more information, 1355 00:59:21,640 --> 00:59:23,240 feel free to visit one of these webpages. 1356 00:59:24,060 --> 00:59:25,160 This whole presentation, 1357 00:59:25,400 --> 00:59:28,500 we hope to have PDF by tonight, tomorrow? 1358 00:59:30,220 --> 00:59:32,160 The PowerPoint slides will be up tonight. 1359 00:59:35,100 --> 00:59:37,120 We're going to make sure to get the PowerPoint up tonight 1360 00:59:37,120 --> 00:59:38,000 because I'm sure a lot of people 1361 00:59:38,000 --> 00:59:39,040 want to go back and review this 1362 00:59:39,040 --> 00:59:40,740 for whatever reason you horrible people 1363 00:59:40,740 --> 00:59:42,060 want to look at in these times. 1364 00:59:43,300 --> 00:59:44,840 But I assume there's some valid reasons 1365 00:59:44,840 --> 00:59:45,820 for people wanting to see this, 1366 00:59:45,900 --> 00:59:46,580 so we're going to make sure 1367 00:59:46,580 --> 00:59:47,480 it's available on the websites. 1368 00:59:47,660 --> 00:59:49,220 And we're going to try to transcribe this 1369 00:59:49,220 --> 00:59:50,280 and put a little bit more detail 1370 00:59:50,780 --> 00:59:52,560 in a white paper that we'll be working on, 1371 00:59:52,640 --> 00:59:54,360 which will happen sometime in the future. 1372 00:59:54,420 --> 00:59:55,260 But as you might imagine, 1373 00:59:55,340 --> 00:59:56,920 we've been a little busy lately with this. 1374 00:59:57,340 --> 00:59:58,420 So the white paper, 1375 00:59:58,480 --> 00:59:59,680 we'll just have to wait a little bit. 1376 01:00:01,400 --> 01:00:03,620 And finally, on there with Lotus, 1377 01:00:03,800 --> 01:00:04,560 if you guys aren't... 1378 01:00:05,560 --> 01:00:06,800 They don't need to see me. 1379 01:00:07,120 --> 01:00:08,840 If you guys haven't been... 1380 01:00:08,840 --> 01:00:10,660 For those of you who have major notes deployments 1381 01:00:10,660 --> 01:00:12,800 and you're not constantly keeping abreast 1382 01:00:12,800 --> 01:00:14,260 of what's going on with Lotus 1383 01:00:14,260 --> 01:00:15,980 and updating and keeping patch levels, 1384 01:00:16,840 --> 01:00:18,780 fixes come out for a lot of things all the time. 1385 01:00:18,880 --> 01:00:19,780 And if you're not applying them, 1386 01:00:19,780 --> 01:00:20,960 you're so far behind the curve 1387 01:00:20,960 --> 01:00:22,720 that all of this is going to take you forever 1388 01:00:22,720 --> 01:00:23,400 to catch up on. 1389 01:00:23,580 --> 01:00:24,680 So get on the hook. 1390 01:00:24,740 --> 01:00:25,460 It's your responsibility. 1391 01:00:26,720 --> 01:00:28,700 So, I guess, question and answers. 1392 01:00:37,120 --> 01:00:38,120 All right, so thank you so much... 1393 01:00:38,120 --> 01:00:38,400 Thank you so much for being here. 1394 01:00:38,640 --> 01:00:38,800 Thank you. 1395 01:00:38,800 --> 01:00:39,020 See you next time.