1 00:00:24,860 --> 00:00:29,960 Thank you for watching. 2 00:00:30,980 --> 00:00:59,960 Thank you for watching. 3 00:01:00,000 --> 00:01:29,720 Thank you for watching. 4 00:01:48,180 --> 00:01:59,520 Thank you for watching. 5 00:02:00,000 --> 00:02:09,300 Okay, we're going to be talking, if you've seen this, saw this last year, and you haven't taken any of the changes we've talked about, stick around. 6 00:02:09,560 --> 00:02:19,220 If you went back and you took all those suggestions, recommendations that we talked about last year and implemented those, you're probably all right. 7 00:02:20,100 --> 00:02:24,480 What we're going to do, this is very similar to what we talked about last year. 8 00:02:24,540 --> 00:02:25,620 There's a couple of new things. 9 00:02:26,540 --> 00:02:29,160 There is one big difference with this. 10 00:02:29,160 --> 00:02:34,320 One big difference is that we're announcing one week from this weekend, we're going with full disclosure. 11 00:02:36,600 --> 00:02:42,000 So last year we went with limited disclosure in order to make sure none of you guys got hurt. 12 00:02:44,620 --> 00:02:49,700 If you didn't pay attention, you didn't go out there, you know, you got one week to get your act in gear. 13 00:02:50,380 --> 00:02:55,000 Lotus has done nothing in regards to this except try to downplay this. 14 00:02:55,160 --> 00:02:57,000 So this is why we are doing this now. 15 00:02:57,700 --> 00:02:59,140 They've had over a year to get ready. 16 00:02:59,160 --> 00:03:00,880 They're acting here and they haven't done it. 17 00:03:02,160 --> 00:03:05,180 My colleague, Chris Goggins, unfortunately is not here today. 18 00:03:05,400 --> 00:03:07,220 So it's just basically going to be me. 19 00:03:08,560 --> 00:03:09,320 Bill's up here. 20 00:03:09,620 --> 00:03:10,520 This isn't Chris. 21 00:03:13,040 --> 00:03:13,440 Yeah. 22 00:03:15,420 --> 00:03:17,500 So I'll be doing the whole thing through here. 23 00:03:20,120 --> 00:03:21,860 So we'll try to give you a break. 24 00:03:22,160 --> 00:03:26,520 When we get halfway through here, I'm going to ask you if you guys want a five or ten minute break. 25 00:03:26,660 --> 00:03:28,020 I know it's really hot up here. 26 00:03:29,800 --> 00:03:33,440 But hopefully we won't take this long that what we've actually got up here. 27 00:03:33,540 --> 00:03:35,700 We kind of ran over in Black Hat. 28 00:03:35,800 --> 00:03:37,680 Hopefully we can get through everything this time. 29 00:03:38,120 --> 00:03:42,800 When we did this presentation at Black Hat, we were kind of short on time. 30 00:03:42,900 --> 00:03:44,180 We had a whole bunch of questions. 31 00:03:44,340 --> 00:03:46,360 Feel free to ask any question you want. 32 00:03:47,060 --> 00:03:49,160 But let's try to make it kind of quick. 33 00:03:49,560 --> 00:03:54,760 Actually, if you have a question, because we've got fans and everything else, 34 00:03:54,780 --> 00:03:58,840 what I'd like to do, something different, is come down one of the aisles. 35 00:03:58,860 --> 00:03:59,140 Just come down one of the aisles. 36 00:03:59,140 --> 00:04:01,840 Get up and come on down so that I give you the mic. 37 00:04:01,940 --> 00:04:03,500 You ask the question and we'll go from there. 38 00:04:03,720 --> 00:04:04,460 Does that sound cool? 39 00:04:06,660 --> 00:04:07,300 All right. 40 00:04:09,220 --> 00:04:10,580 So general introduction. 41 00:04:12,600 --> 00:04:13,540 Trust but verify. 42 00:04:13,740 --> 00:04:14,900 We said this a year ago. 43 00:04:15,680 --> 00:04:20,720 You need to go through here and verify everything that you've implemented in Notes and Domino. 44 00:04:20,820 --> 00:04:25,040 A lot of the stuff you're going to be seeing today, you've probably already heard about. 45 00:04:25,100 --> 00:04:28,520 You've already seen what the likes of Exchange, 46 00:04:28,520 --> 00:04:32,220 Outlook, a lot of the things we're going to be talking about, very similar. 47 00:04:32,340 --> 00:04:35,880 It is the same type of functionality you can actually do in Lotus Notes. 48 00:04:36,800 --> 00:04:39,100 Unless you're running on this guy's network over here. 49 00:04:43,180 --> 00:04:43,800 Go ahead. 50 00:04:45,160 --> 00:04:50,820 After our initial presentation last year, if you saw that, Lotus had actually agreed. 51 00:04:51,920 --> 00:04:53,560 Do we actually have any Lotus people? 52 00:04:56,600 --> 00:04:57,040 One? 53 00:04:57,200 --> 00:04:57,660 All right. 54 00:04:57,840 --> 00:04:58,160 Ready? 55 00:04:58,520 --> 00:05:00,220 I'm going to be picking on you all day today. 56 00:05:00,780 --> 00:05:05,440 I don't know where you work, but I'm not actually trying to pick on you personally. 57 00:05:05,540 --> 00:05:06,780 I hope you won't take it that way. 58 00:05:09,020 --> 00:05:14,500 But a lot of the stuff we talked about last year was supposed to stay up on their security zone part of the website, 59 00:05:15,300 --> 00:05:18,520 which is actually lotus.com slash security zone. 60 00:05:18,860 --> 00:05:23,540 And it came down, I think, about two months after our talk, which was really disappointing, 61 00:05:23,780 --> 00:05:28,380 and I think it was an injustice to the community, both the security community and the Notes community. 62 00:05:31,900 --> 00:05:35,220 When we go full disclosure, there's actually, let me tell you something. 63 00:05:35,420 --> 00:05:38,180 After we did, we went with limited disclosure last year. 64 00:05:39,180 --> 00:05:42,720 So we basically gave you a whole bunch of recommendations to secure your environment. 65 00:05:43,180 --> 00:05:45,200 We didn't really publish the exploits. 66 00:05:45,200 --> 00:05:46,860 We didn't want to arm a bunch of script kitties. 67 00:05:47,440 --> 00:05:53,760 I had about five people email me who were able to understand what we were talking about, 68 00:05:53,960 --> 00:05:58,180 and they were able to duplicate a lot of the things, the exploits that we had presented. 69 00:05:59,540 --> 00:06:05,320 And a lot of them have been very kind of antsy to go public with this, some of the stuff they're working on. 70 00:06:05,420 --> 00:06:07,560 There is a guy, his name is Koaxal Karma. 71 00:06:08,360 --> 00:06:11,340 He has a website called landofsilence.com. 72 00:06:11,660 --> 00:06:15,300 He's actually, will probably be publishing a brute force attack. 73 00:06:17,180 --> 00:06:20,720 There's another company, or an individual within the company, 74 00:06:20,760 --> 00:06:25,140 I don't actually have permission yet to mention who he is, 75 00:06:25,240 --> 00:06:28,080 but he's also working on a brute force attack. 76 00:06:28,520 --> 00:06:29,520 Password, brute force attack. 77 00:06:31,420 --> 00:06:35,660 I believe Land of Silence will probably be publishing that within the next few months, 78 00:06:35,760 --> 00:06:36,640 their brute force attack. 79 00:06:38,040 --> 00:06:40,640 So you need to really make sure that... 80 00:06:45,860 --> 00:06:46,600 Yeah, that's okay. 81 00:06:46,660 --> 00:06:47,440 We're going to go like this. 82 00:06:52,140 --> 00:06:52,880 Yeah, that's all right. 83 00:06:54,720 --> 00:06:56,860 So we're going to do this presentation one more time. 84 00:06:56,920 --> 00:06:58,460 If you didn't catch it last year, here we go. 85 00:06:58,520 --> 00:06:59,520 All right. 86 00:06:59,580 --> 00:07:01,760 So how big is Notes? 87 00:07:02,320 --> 00:07:03,300 It's really big. 88 00:07:03,460 --> 00:07:06,060 Last year when we talked about this, I think it was 50 million. 89 00:07:06,280 --> 00:07:07,360 It's now 70. 90 00:07:07,600 --> 00:07:08,660 It's above 70. 91 00:07:09,940 --> 00:07:11,520 70 million corporate users. 92 00:07:11,940 --> 00:07:13,860 There's a new version, R Next. 93 00:07:15,600 --> 00:07:18,620 There's a couple of new beta version releases which are out. 94 00:07:18,640 --> 00:07:19,540 You can download them. 95 00:07:20,600 --> 00:07:23,900 Supposedly the problems with the password authentication we talked about last year, 96 00:07:24,540 --> 00:07:26,240 we're supposed to make it into this. 97 00:07:26,340 --> 00:07:27,860 I've yet to actually see it. 98 00:07:32,160 --> 00:07:36,220 But in regards to what Lotus Notes is, if you're not familiar with it, how many people 99 00:07:36,220 --> 00:07:37,560 are not familiar with Notes? 100 00:07:38,220 --> 00:07:39,000 A whole lot. 101 00:07:39,460 --> 00:07:39,800 Okay. 102 00:07:39,960 --> 00:07:43,260 Well, Lotus Notes is a totally integrated groupware platform. 103 00:07:43,460 --> 00:07:49,480 If you're familiar with Exchange, Notes is probably a bit more integrated than Exchange 104 00:07:49,480 --> 00:07:51,820 or a lot of the competing products out there. 105 00:07:51,960 --> 00:07:54,480 You can do all sorts of the stuff that you see up here. 106 00:07:54,640 --> 00:07:55,840 You've got the formal language. 107 00:07:56,060 --> 00:07:57,180 You have the Lotus script. 108 00:07:57,180 --> 00:07:59,640 Lotus script is very similar to Visual Basic. 109 00:08:01,980 --> 00:08:04,520 You've got JavaScript, Java, C++. 110 00:08:05,280 --> 00:08:06,740 You've got the APIs in there. 111 00:08:07,080 --> 00:08:12,340 Yeah, you can't actually compile C programs in there, but you have C and C++ APIs in 112 00:08:12,340 --> 00:08:12,480 there. 113 00:08:15,940 --> 00:08:17,060 How big is it? 114 00:08:17,280 --> 00:08:18,180 Who's using it? 115 00:08:18,740 --> 00:08:19,240 Everybody. 116 00:08:19,780 --> 00:08:21,220 Big six accounting firms. 117 00:08:21,320 --> 00:08:23,340 Half the big six accounting firms are using it. 118 00:08:24,040 --> 00:08:26,200 Most of the financial sector is using it. 119 00:08:26,200 --> 00:08:28,680 If you're a bank, you probably know what I'm talking about. 120 00:08:30,400 --> 00:08:34,060 Multinationals, pharmaceutical companies, it's all up here. 121 00:08:36,160 --> 00:08:37,440 Why are they using it? 122 00:08:37,540 --> 00:08:41,940 Because Lotus Notes actually has a really good reputation historically for being a 123 00:08:41,940 --> 00:08:42,640 secure platform. 124 00:08:44,820 --> 00:08:50,820 It's actually based on a public key infrastructure for both terms of authentication and encryption. 125 00:08:51,360 --> 00:08:55,140 You can encrypt at the document level, at a field level. 126 00:08:55,140 --> 00:08:59,360 At the network protocol level, it's pretty powerful. 127 00:08:59,620 --> 00:09:06,080 It actually was a good goal to shoot for, but there's still a few problems with it. 128 00:09:08,080 --> 00:09:15,660 In terms of access control, you can actually set access control at the field level, the 129 00:09:15,660 --> 00:09:22,960 document level, and the database, and historically, until last year, there were extremely few 130 00:09:22,960 --> 00:09:23,380 vulnerabilities. 131 00:09:23,380 --> 00:09:28,060 There's been some new ones, and I'm not actually going to talk so much about that. 132 00:09:28,200 --> 00:09:30,020 I've mentioned a couple of the guys who've worked on it. 133 00:09:30,300 --> 00:09:33,560 There's been some guys who've actually, if you've gone on bug tracking, they've actually 134 00:09:34,720 --> 00:09:37,940 been working on analyzing the network protocol that it's using. 135 00:09:38,200 --> 00:09:40,160 They made some interesting discoveries there. 136 00:09:44,180 --> 00:09:53,020 Release five, we saw that Lotus dropped the support for the Unix platforms, which was, 137 00:09:53,020 --> 00:09:54,060 I feel, was unfortunate. 138 00:09:55,780 --> 00:09:59,320 It runs on just about everything, and that's one of the strong features of Lotus. 139 00:10:00,640 --> 00:10:02,960 With Microsoft, you've got basically one choice. 140 00:10:03,400 --> 00:10:08,060 With Lotus, you have lots of choices, and there's a lot of companies, a lot of organizations 141 00:10:08,060 --> 00:10:09,220 that make use of that. 142 00:10:11,780 --> 00:10:12,980 Same thing with the servers. 143 00:10:14,300 --> 00:10:14,540 Go ahead. 144 00:10:14,900 --> 00:10:15,360 I'm out. 145 00:10:15,500 --> 00:10:15,760 Go ahead. 146 00:10:17,760 --> 00:10:22,100 Did anyone see ... I may get in a little trouble here with somebody. 147 00:10:22,300 --> 00:10:23,000 Did anyone see ... I may get in a little trouble here with somebody. 148 00:10:23,020 --> 00:10:26,020 Did anyone see Bruce Schneider's talk at Black Hat? 149 00:10:27,060 --> 00:10:29,180 How many of you agreed with him? 150 00:10:30,460 --> 00:10:31,680 How many disagreed? 151 00:10:33,220 --> 00:10:33,700 Okay. 152 00:10:33,820 --> 00:10:35,160 I saw only a couple of hands. 153 00:10:36,660 --> 00:10:41,240 I don't agree, and I didn't get the opportunity to go up and tell him yet. 154 00:10:42,360 --> 00:10:46,760 I've got some friends that actually work within his company, and hopefully I'll be able to 155 00:10:46,760 --> 00:10:49,380 make my objections known to him. 156 00:10:49,740 --> 00:10:53,000 One of the problems I ... One of the reasons I disagree on this ... 157 00:10:53,860 --> 00:10:57,300 Is that, to me, security is much more like a vaccination. 158 00:10:57,940 --> 00:11:01,440 We don't try to control AIDS after you've got it. 159 00:11:02,200 --> 00:11:03,300 It's too late, then. 160 00:11:03,600 --> 00:11:05,540 I don't try to control other diseases. 161 00:11:06,220 --> 00:11:08,500 I don't think you should be trying to control security. 162 00:11:08,720 --> 00:11:14,080 I don't think you should be throwing money in the street and relying on detection and 163 00:11:14,080 --> 00:11:14,380 response. 164 00:11:15,940 --> 00:11:18,980 I believe prevention is crucial. 165 00:11:19,420 --> 00:11:19,940 Okay. 166 00:11:23,000 --> 00:11:23,340 I'm sorry? 167 00:11:25,140 --> 00:11:27,000 That's what a lot of us got. 168 00:11:28,100 --> 00:11:32,360 Prevention is ... He stressed that it was more important, if I'm not mistaken, prevention 169 00:11:32,880 --> 00:11:38,640 was lesser of an importance than detection and response. 170 00:11:41,860 --> 00:11:49,740 Yes, but he used the excuse, or he used the judgment of good detection and response can 171 00:11:49,740 --> 00:11:52,300 make up for bad prevention, or no prevention. 172 00:11:53,880 --> 00:11:55,360 I don't agree with that. 173 00:12:06,360 --> 00:12:11,160 The detection and response is a lot easier and faster. 174 00:12:11,380 --> 00:12:15,600 Well, a lot of that, and I understand that, and it sounds good, but it's kind of like 175 00:12:15,600 --> 00:12:15,960 viruses. 176 00:12:16,680 --> 00:12:21,460 Detection and response is possible, and it's good when you know what you've got to detect 177 00:12:21,460 --> 00:12:21,840 against. 178 00:12:23,780 --> 00:12:28,740 You'll see in some of this demonstration, like in terms with lowest notes, how can 179 00:12:28,740 --> 00:12:31,180 you detect things that you haven't yet witnessed? 180 00:12:31,760 --> 00:12:35,080 When we presented this last year, there was a lot of things. 181 00:12:35,160 --> 00:12:41,160 One of the new things we started investigating is that notes actually supports direct translation 182 00:12:41,160 --> 00:12:48,820 to the XML from the web server, so you can actually start pruning through a web server 183 00:12:48,820 --> 00:12:51,980 running on Domino and requesting XML documents. 184 00:12:53,760 --> 00:12:59,000 Most companies which use the logging facilities of Domino's filter out only what they want 185 00:12:59,000 --> 00:13:06,080 to see, HTML documents like that, such and such, and other things which look like attacks. 186 00:13:06,780 --> 00:13:09,560 XML would get discarded in their logs. 187 00:13:11,560 --> 00:13:16,660 If you're discarding things like XML requests, or you don't even know about XML requests, 188 00:13:17,320 --> 00:13:20,780 how many people actually know that you can pull XML straight from the web server? 189 00:13:21,400 --> 00:13:21,960 Yes. 190 00:13:23,660 --> 00:13:30,220 All right, the rest of you are victims for this, so how could you justify good detection 191 00:13:30,220 --> 00:13:33,040 and response on something you don't know about? 192 00:13:36,320 --> 00:13:39,660 I mean, prevention is really key here. 193 00:13:42,600 --> 00:13:49,720 You have to rely on all three, but you really first have, you know, it's like peace accords. 194 00:13:52,680 --> 00:13:57,000 You have to have peace accords with other nations to keep a war from starting. 195 00:13:57,120 --> 00:14:03,180 If you just sit around with a whole bunch of weapons, it could be too late. 196 00:14:05,060 --> 00:14:06,620 So all three are really important. 197 00:14:08,200 --> 00:14:13,780 I don't think that you can just base, go off and leave prevention out of the picture 198 00:14:14,220 --> 00:14:16,000 because you have good detection and response. 199 00:14:20,580 --> 00:14:21,180 All right. 200 00:14:21,180 --> 00:14:26,740 Well, this was my example, I've already said it, but using the farming and vaccination, 201 00:14:27,020 --> 00:14:34,140 because this is what the U.K. did with foot and mouth, detection and response. 202 00:14:34,820 --> 00:14:36,360 And how many animals were killed? 203 00:14:39,960 --> 00:14:41,460 Does that mean it's right? 204 00:14:42,500 --> 00:14:42,900 Okay. 205 00:14:44,520 --> 00:14:46,540 I mean, how many animals were culled? 206 00:14:46,800 --> 00:14:47,940 I live in the Netherlands. 207 00:14:48,100 --> 00:14:49,180 I watched all this. 208 00:14:51,180 --> 00:14:55,100 You know, fortunately, the government of the Netherlands looked at this and said, this is bollocks. 209 00:14:56,640 --> 00:14:58,380 And they immediately went to prevention. 210 00:14:58,560 --> 00:15:00,800 They immediately started vaccinating everything. 211 00:15:01,340 --> 00:15:03,180 And a whole lot of animals were saved. 212 00:15:05,960 --> 00:15:13,200 So prevention is, you can't just totally throw it out the window and rely completely on detection and response. 213 00:15:13,880 --> 00:15:15,800 So that's the point I'm trying to stress. 214 00:15:17,040 --> 00:15:18,700 Because we have the same thing in security. 215 00:15:18,700 --> 00:15:20,600 How many servers do you actually want to lose? 216 00:15:23,880 --> 00:15:28,960 Because if you don't know what you're looking for with detection and response, 217 00:15:30,680 --> 00:15:36,540 and you're not using strong prevention, you'll lose a whole bunch of systems, servers, 218 00:15:36,820 --> 00:15:40,500 datas before you can actually integrate that into your detection and response. 219 00:15:49,720 --> 00:15:54,520 So strategically, and this is one of the things I said in Black Hat, we really have to stress this, 220 00:15:54,620 --> 00:15:57,280 because already we're starting to see some of the repercussions. 221 00:15:57,620 --> 00:15:59,120 People don't trust e-commerce. 222 00:16:00,400 --> 00:16:02,040 People aren't using e-commerce. 223 00:16:03,300 --> 00:16:10,080 Sure, some of it may have to do with the fact that there's a lot of dot-coms out there that should have never been out there to begin with. 224 00:16:11,740 --> 00:16:14,720 But overwhelmingly, there was actually a poll just done. 225 00:16:15,720 --> 00:16:19,820 And this was actually while Black Hat was going on, and it was tech TV, 226 00:16:19,960 --> 00:16:26,180 and I may get the percentage slightly wrong, but I'll get somewhere from the neighborhood. 227 00:16:26,440 --> 00:16:31,740 What they were saying, they'd actually just done a poll of users on the Internet. 228 00:16:34,700 --> 00:16:42,660 And currently right now, something around 80%, 85% of all these users that they surveyed 229 00:16:42,660 --> 00:16:47,340 were looking to see government regulation of the Internet for security and privacy. 230 00:16:49,520 --> 00:16:57,720 Now, of all these 85%, which were wanting to see government regulation for terms of security, privacy, 231 00:17:00,840 --> 00:17:06,040 something like 75% of those surveyed had incomes of $30,000 or less. 232 00:17:08,200 --> 00:17:11,960 So I'm not trying to pick on you if you make $30,000 or less. 233 00:17:13,220 --> 00:17:14,300 That's not the point. 234 00:17:16,720 --> 00:17:21,760 But typically, generally, I'm generalizing, and whenever I'm generalizing, I'm lying. 235 00:17:23,180 --> 00:17:29,040 Generally, if you're making $30,000 or less, you're probably not a hardcore IT employee. 236 00:17:29,560 --> 00:17:33,780 You're probably not familiar with everything that the rest of us are. 237 00:17:37,640 --> 00:17:42,340 And in the security marketplace, we have three different, got a couple of things to consider here. 238 00:17:42,340 --> 00:17:45,180 We have the supply side, we have the demand side, and we have threats. 239 00:17:45,820 --> 00:17:50,920 On the supply side, I would say, of all the security consultants out there, 240 00:17:51,100 --> 00:17:56,000 and again, I'm not trying to pick on anyone here, we have 80% which really stay on the surface. 241 00:17:57,640 --> 00:18:01,320 A lot of these are some rather big names, unfortunately. 242 00:18:02,340 --> 00:18:05,480 But they're general security consultants, and they understand the principles. 243 00:18:05,760 --> 00:18:08,120 They're not hardcore technical security consultants. 244 00:18:09,560 --> 00:18:12,040 Probably 20%, if that. 245 00:18:12,340 --> 00:18:13,320 Are really hardcore. 246 00:18:14,200 --> 00:18:20,260 On the demand side, we have 80%, which historically, up till now, I've been considering security as a non-issue. 247 00:18:21,720 --> 00:18:24,920 And if you don't agree with me, then you're probably not a security consultant. 248 00:18:25,300 --> 00:18:29,140 I've been out there, I've been bashing people, I've been bashing companies trying to get into the door, 249 00:18:29,260 --> 00:18:30,760 talking to them about security. 250 00:18:31,160 --> 00:18:36,480 After we did this presentation last year, the company I had founded two years ago, 251 00:18:38,040 --> 00:18:39,820 we did this presentation last year, 252 00:18:39,860 --> 00:18:42,260 and we probably had five clients 253 00:18:42,340 --> 00:18:45,980 five to ten clients for Lotus Notes security and Domino. 254 00:18:46,240 --> 00:18:49,860 We probably, in the first month, we probably caught over 200. 255 00:18:51,840 --> 00:18:54,960 So that percentage of the clients, you know, maybe somebody else got them. 256 00:18:55,040 --> 00:18:55,360 Okay. 257 00:18:55,860 --> 00:19:00,800 But I don't think that there's a whole lot of experienced Domino security consultants out there. 258 00:19:03,800 --> 00:19:09,860 And right now, with the failure of the dot-coms, we're seeing a whole bunch of motivations which are increasing. 259 00:19:10,040 --> 00:19:11,500 We've got international conflicts. 260 00:19:12,340 --> 00:19:15,880 I was talking with some of the guys from ISS Taiwan. 261 00:19:17,220 --> 00:19:21,760 They were saying that they see 40% of their attacks are coming from Asia. 262 00:19:21,840 --> 00:19:24,340 Another 40% is coming from Europe. 263 00:19:26,740 --> 00:19:30,260 About 10% are only coming where they're located at. 264 00:19:30,740 --> 00:19:33,360 Only about 10% is coming from the United States. 265 00:19:34,440 --> 00:19:39,700 So they're seeing a whole lot of activity over in Asia and Europe, 266 00:19:39,700 --> 00:19:42,160 which some of you may be able to relate to. 267 00:19:42,620 --> 00:19:45,680 There's a lot of corporate espionage going on. 268 00:19:46,600 --> 00:19:49,380 Tons of ex-employees with nothing else to do. 269 00:19:50,060 --> 00:19:51,380 They're disgusted. They're bitter. 270 00:19:51,500 --> 00:20:01,580 We all know the stats that 80% of most security breaches come from disgruntled employees or from the inside. 271 00:20:02,660 --> 00:20:04,540 And everyone's got increased bandwidth. 272 00:20:05,360 --> 00:20:08,640 I've got a one megabit pipe into my house where a year ago I didn't. 273 00:20:09,700 --> 00:20:11,320 I'm sure a lot of you probably even have more. 274 00:20:14,200 --> 00:20:19,360 So how many of you actually are running 508, Lotus Notes and Domino? 275 00:20:22,240 --> 00:20:22,780 507? 276 00:20:23,900 --> 00:20:24,440 6? 277 00:20:28,740 --> 00:20:31,700 Who's not running 503 or greater? 278 00:20:33,700 --> 00:20:35,520 Are you running a web server? 279 00:20:38,020 --> 00:20:38,780 Are y'all? 280 00:20:39,220 --> 00:20:41,240 Do you know about the directory traversal attack? 281 00:20:43,660 --> 00:20:44,100 Okay. 282 00:20:45,500 --> 00:20:48,980 And I assume that everyone here has a security PSPG implemented. 283 00:20:53,300 --> 00:20:53,920 All right. 284 00:20:54,600 --> 00:20:56,560 We've really got to take this stuff seriously. 285 00:20:56,680 --> 00:20:59,520 If we want to see this economy to turn around, 286 00:21:01,060 --> 00:21:02,680 this isn't technical, I know, 287 00:21:02,780 --> 00:21:05,100 but this is something I really believe in. 288 00:21:05,100 --> 00:21:06,680 If we want to see this economy turn around, 289 00:21:06,800 --> 00:21:09,060 we've got to start taking some of this stuff seriously. 290 00:21:09,360 --> 00:21:12,440 If we want to see the whole everything on the Internet, 291 00:21:12,540 --> 00:21:16,040 all the growth, spur more growth on the Internet, e-commerce, 292 00:21:16,300 --> 00:21:18,620 we're going to have to take this much more seriously. 293 00:21:21,420 --> 00:21:24,580 If you don't identify your problem, somebody else is going to. 294 00:21:24,940 --> 00:21:28,240 And a lot of times I've gone out to these clients and they're talking about, 295 00:21:28,420 --> 00:21:30,860 you know, well, you're a security consultant. 296 00:21:30,960 --> 00:21:32,380 You're supposed to solve my problems. 297 00:21:32,380 --> 00:21:34,260 But you only bring problems to me. 298 00:21:34,820 --> 00:21:36,180 I didn't create the problems. 299 00:21:38,180 --> 00:21:40,220 I'm just, I'm helping you identify them. 300 00:21:43,180 --> 00:21:46,600 One of the things, and if you're a consultant, I'm throwing this out, 301 00:21:46,660 --> 00:21:51,780 just, you know, this is why we're using the vaccination as an example. 302 00:21:51,980 --> 00:21:56,100 I've found that I've had a little bit better success trying to explain this to people, 303 00:21:56,180 --> 00:22:01,100 for the people who look at me as the creator of security problems in the notes world. 304 00:22:01,100 --> 00:22:02,500 I didn't create it. 305 00:22:02,520 --> 00:22:03,880 Like I said, I didn't create any of this. 306 00:22:03,980 --> 00:22:06,940 Just identifying it, just like the doctor identifies a virus. 307 00:22:08,100 --> 00:22:08,580 Good. 308 00:22:11,040 --> 00:22:15,340 So we're going to talk about the client side for this first half before the break. 309 00:22:16,040 --> 00:22:20,200 And there's the four things which you probably remember if you saw this before. 310 00:22:20,440 --> 00:22:26,540 If you haven't, we have these four things, the stored forms, the execution control list. 311 00:22:26,880 --> 00:22:29,840 The execution control list, if you're not familiar with it, 312 00:22:29,900 --> 00:22:30,900 it's to prevent, 313 00:22:32,460 --> 00:22:36,400 potentially hostile code from running with inside your notes environment, 314 00:22:38,020 --> 00:22:39,700 or being at least launched from there. 315 00:22:41,680 --> 00:22:43,640 We have the password hash problem. 316 00:22:43,880 --> 00:22:46,360 We've still not seen any resolution to this, really. 317 00:22:47,120 --> 00:22:50,420 There is a small something that you can do. 318 00:22:50,500 --> 00:22:55,060 And if you haven't actually done it, which we'll get to, you need to get done this week. 319 00:22:57,420 --> 00:22:58,040 Go ahead. 320 00:23:00,300 --> 00:23:04,880 And then the last half, we're going to be talking about access control list of databases. 321 00:23:05,260 --> 00:23:09,740 One of the things that we have been doing in the Black Hat, the Win2K, 322 00:23:10,000 --> 00:23:13,960 in February Black Hat Asia, we actually did some demonstrations. 323 00:23:14,200 --> 00:23:18,520 They don't have the network up here, and I have some ethical problems about doing it. 324 00:23:18,580 --> 00:23:20,800 We did a couple of demonstrations while we were in Asia, 325 00:23:20,920 --> 00:23:23,660 but one of the things is what we called creative surfing. 326 00:23:24,280 --> 00:23:27,120 And this is very, very easy under Domino. 327 00:23:27,120 --> 00:23:32,360 You can start extracting information from notes databases running on Domino servers, 328 00:23:32,720 --> 00:23:34,380 if they're running a web server. 329 00:23:34,740 --> 00:23:40,720 Most people which have either developed internal applications on Domino 330 00:23:40,720 --> 00:23:47,860 or third-party applications have not undergone a serious security review of the design. 331 00:23:48,140 --> 00:23:51,540 And this is causing serious problems with those databases. 332 00:23:52,000 --> 00:23:54,820 Did anyone see the California Democratic Party? 333 00:23:56,200 --> 00:23:57,500 It's a news story. 334 00:23:58,320 --> 00:24:00,440 They were running a Domino server. 335 00:24:01,380 --> 00:24:04,700 They had actually were accepting campaign contributions. 336 00:24:05,180 --> 00:24:08,500 Bob Sullivan on MSNBC had covered this. 337 00:24:08,700 --> 00:24:11,640 The California Democratic Party was running a Domino server. 338 00:24:11,900 --> 00:24:17,680 They did not conduct a thorough investigation into the design of those applications on their Domino server, 339 00:24:17,900 --> 00:24:24,040 but they were accepting credit card contributions for campaign contributions 340 00:24:24,040 --> 00:24:25,280 on their website. 341 00:24:25,720 --> 00:24:29,640 And people could go in there and just retrieve all the credit card information, 342 00:24:31,300 --> 00:24:34,100 which I'm sure was really interesting to the Republican Party. 343 00:24:35,760 --> 00:24:36,240 Okay. 344 00:24:38,700 --> 00:24:39,300 Go ahead. 345 00:24:41,220 --> 00:24:43,680 So we have the stored forms. 346 00:24:43,880 --> 00:24:46,420 How many people do not understand this? 347 00:24:46,500 --> 00:24:48,860 Because if nobody raises their hand, I'm going to skip this. 348 00:24:49,540 --> 00:24:53,900 So how many people do not understand the notes database structure? 349 00:24:54,820 --> 00:24:55,260 Okay. 350 00:24:58,300 --> 00:24:58,920 All right. 351 00:24:58,960 --> 00:25:02,980 Well, with the notes in the database, you have three different parts here. 352 00:25:03,040 --> 00:25:03,720 You have the data. 353 00:25:03,840 --> 00:25:04,540 You have the forms. 354 00:25:04,600 --> 00:25:05,680 And you have the stored forms. 355 00:25:07,160 --> 00:25:09,780 In regards to the data, it's structured data. 356 00:25:10,020 --> 00:25:12,060 In Release 5, we had the addition of HTML. 357 00:25:12,440 --> 00:25:13,900 Before that, it was just rich text. 358 00:25:15,360 --> 00:25:17,700 In Release 5, you now have the native. 359 00:25:17,840 --> 00:25:19,420 It can be stored as native HTML. 360 00:25:20,520 --> 00:25:23,880 And this, you can include Java and JavaScript in that HTML. 361 00:25:23,900 --> 00:25:30,180 On the forms, since the data is arbitrary, it's just structured data, 362 00:25:30,380 --> 00:25:34,060 it's not very convenient for people who are interfacing with the notes 363 00:25:34,060 --> 00:25:39,420 to be able to look at a document, pull out the data that they need, 364 00:25:39,520 --> 00:25:40,740 or for entering data. 365 00:25:40,880 --> 00:25:41,680 So you have forms. 366 00:25:42,940 --> 00:25:48,520 And this is similar or akin to an HTML form that you fill out. 367 00:25:49,320 --> 00:25:51,620 It's actually how it structures that data. 368 00:25:51,680 --> 00:25:53,880 It's how it presents it to you for you to use. 369 00:25:54,820 --> 00:25:55,760 Back up. 370 00:25:56,300 --> 00:25:58,900 And you actually have something else called stored forms. 371 00:25:59,080 --> 00:26:03,240 And this is where you can actually put the stored form within a notes document 372 00:26:03,780 --> 00:26:06,360 for transmission to another database somewhere else. 373 00:26:07,080 --> 00:26:11,960 So that if that database does not actually have that form that you need to view the data, 374 00:26:12,140 --> 00:26:14,620 since the form is integrated into the document, 375 00:26:15,740 --> 00:26:18,760 when you open that particular document, you'll be able to pull it up 376 00:26:19,960 --> 00:26:22,580 and see it the way it was intended to be viewed. 377 00:26:27,000 --> 00:26:30,120 One of the reasons I have this, the stored forms, 378 00:26:30,200 --> 00:26:34,100 is a lot of document management applications make use of this. 379 00:26:35,380 --> 00:26:39,780 I'd say probably at least 70% of the third-party applications 380 00:26:39,780 --> 00:26:41,920 you can pick up on the market from business, 381 00:26:42,120 --> 00:26:46,080 Lotus business partners, are using stored forms. 382 00:26:46,360 --> 00:26:48,960 And this causes a big problem when it comes to the security 383 00:26:48,960 --> 00:26:52,560 because the stored forms can actually contain executable codes. 384 00:26:52,580 --> 00:26:55,020 So when you pop open that document, 385 00:26:55,800 --> 00:26:59,100 the code that's in the stored form will actually execute. 386 00:27:02,320 --> 00:27:04,960 And stored forms, this is an important point, 387 00:27:05,040 --> 00:27:08,700 stored forms, by default, are enabled on almost every database, 388 00:27:08,940 --> 00:27:10,300 especially your mail files. 389 00:27:10,820 --> 00:27:12,660 By default, it is enabled. 390 00:27:13,540 --> 00:27:16,920 And if you're running a mail server, 391 00:27:17,080 --> 00:27:22,520 and the mail server actually has Internet access for Internet mail, 392 00:27:23,820 --> 00:27:25,240 we'll do a demonstration here, 393 00:27:25,340 --> 00:27:27,400 and you can see where you can have a lot of fun with that. 394 00:27:37,560 --> 00:27:40,900 So we're going to do this demonstration here real quick. 395 00:27:47,940 --> 00:27:51,200 So to explain what I've got here, 396 00:27:53,460 --> 00:27:55,860 unfortunately, since Chris isn't here, 397 00:27:55,960 --> 00:27:58,240 and I'm only running on one laptop here, 398 00:27:58,920 --> 00:28:03,960 I actually had not configured this with advanced services and time. 399 00:28:04,060 --> 00:28:05,640 I'd expected Goggins to be here 400 00:28:05,640 --> 00:28:08,940 and thought we could actually set up an SMTP environment 401 00:28:08,940 --> 00:28:11,180 that was going back and forth so you could really see this. 402 00:28:11,440 --> 00:28:15,240 Those stored forms can actually be transmitted over the Internet. 403 00:28:16,300 --> 00:28:18,520 And this is where I'm talking about. 404 00:28:18,740 --> 00:28:20,660 So you'll have to bear with me and trust me 405 00:28:20,660 --> 00:28:22,280 when I say that this is actually possible. 406 00:28:22,280 --> 00:28:26,340 We actually have a server running here, 407 00:28:26,460 --> 00:28:28,180 and I've got a client which I'm going to use, 408 00:28:28,240 --> 00:28:30,620 switch back and forth to simulate several different users. 409 00:28:31,460 --> 00:28:38,240 The user I'm actually going to be using here is... 410 00:28:38,240 --> 00:28:39,740 You can't really see this, 411 00:28:39,820 --> 00:28:41,600 but it's actually called Dutch Slachtoffer. 412 00:28:42,360 --> 00:28:43,640 And that's kind of... 413 00:28:43,640 --> 00:28:44,900 Since I'm in the Netherlands a lot, 414 00:28:45,400 --> 00:28:48,480 we've been using Dutch names for some of this stuff. 415 00:28:50,900 --> 00:28:53,040 So to give you a quick example here, 416 00:28:53,100 --> 00:28:57,480 or let you know what the configuration of this user actually is... 417 00:29:06,180 --> 00:29:08,540 This is his execution control list here. 418 00:29:09,920 --> 00:29:12,460 And you have a couple of settings here which are important. 419 00:29:12,640 --> 00:29:14,200 If you're not familiar with this, 420 00:29:14,220 --> 00:29:17,920 you have a default setting and a no signature. 421 00:29:18,480 --> 00:29:21,020 And the no signature is for any embedded objects 422 00:29:21,020 --> 00:29:24,740 which have no note signature attached to them. 423 00:29:25,120 --> 00:29:27,540 Typically, these are things coming from the Internet, 424 00:29:29,600 --> 00:29:33,120 since things like Outlook 425 00:29:33,120 --> 00:29:36,720 until previous versions of Outlook and everything 426 00:29:36,720 --> 00:29:39,020 have not been using the same type of... 427 00:29:43,740 --> 00:29:45,480 The words have forgotten me. 428 00:29:46,640 --> 00:29:47,980 Same type of signature. 429 00:29:47,980 --> 00:29:49,400 That Notes is using. 430 00:29:49,980 --> 00:29:52,340 Typically, this will come across an SMTP server. 431 00:29:52,540 --> 00:29:53,980 It has no signature actually associated... 432 00:29:54,520 --> 00:29:56,460 No note signature associated with it. 433 00:30:00,900 --> 00:30:03,740 Default is anything that's within your own organization 434 00:30:03,740 --> 00:30:06,020 and has not been explicitly defined. 435 00:30:06,360 --> 00:30:09,160 It's the lowest level within your own organization. 436 00:30:12,180 --> 00:30:15,940 So I just wanted you to see that all this stuff is turned off here. 437 00:30:16,120 --> 00:30:17,960 And you have a couple of different settings here. 438 00:30:17,960 --> 00:30:19,040 These are... 439 00:30:19,780 --> 00:30:22,960 As of 5.03, these are pretty much the default settings here. 440 00:30:25,660 --> 00:30:28,580 Before these things were coming with everything enabled, 441 00:30:28,720 --> 00:30:31,360 and I believe it was in 5.03 that they finally... 442 00:30:31,800 --> 00:30:33,300 Lotus finally did change this. 443 00:30:33,440 --> 00:30:35,380 But there's still problems associated with this. 444 00:30:36,080 --> 00:30:37,580 Let me switch to the attacker. 445 00:30:38,080 --> 00:30:41,120 What we're going to do is we're going to send across a stored form. 446 00:31:04,560 --> 00:31:07,380 So I've actually got already a menu option here, 447 00:31:07,440 --> 00:31:09,840 which creates the stored form with the code in it. 448 00:31:12,180 --> 00:31:14,700 So I'm going to use this to create... 449 00:31:16,700 --> 00:31:17,680 Which I'm really... 450 00:31:17,960 --> 00:31:22,040 Glad I did because using the quality of these projectors is just nasty, 451 00:31:22,140 --> 00:31:25,020 and I wish we had something better so you could actually see this. 452 00:31:25,200 --> 00:31:28,120 I'm actually just filling out the address for Dutch Slachtoffer. 453 00:31:29,980 --> 00:31:32,080 And I'm not going to put anything else in this email. 454 00:31:37,720 --> 00:31:40,280 Just so you can identify it, those are all sevens. 455 00:31:43,040 --> 00:31:44,240 So we'll shoot this off. 456 00:31:44,780 --> 00:31:47,480 And if you look at the bottom of the console screen down here 457 00:31:47,480 --> 00:31:49,640 towards the bottom, you'll actually see this go across 458 00:31:50,780 --> 00:31:57,680 and get deposited into the victim's email account. 459 00:31:58,180 --> 00:31:59,920 So we'll switch back here now. 460 00:32:15,260 --> 00:32:17,460 So is anyone familiar with Bubble Boy? 461 00:32:19,300 --> 00:32:19,780 Okay. 462 00:32:21,180 --> 00:32:23,500 This is basically Bubble Boy recreated. 463 00:32:24,200 --> 00:32:26,940 What I'm going to do, there's no actual attachment in this. 464 00:32:26,980 --> 00:32:29,840 This email, although the user can't see it, 465 00:32:29,920 --> 00:32:32,300 it actually has a stored form within the email. 466 00:32:32,920 --> 00:32:36,180 And this is similar to what Bubble Boy actually did. 467 00:32:37,840 --> 00:32:42,040 So the second I hit enter, what happened? 468 00:32:42,840 --> 00:32:43,420 Where'd it go? 469 00:32:45,480 --> 00:32:48,660 Now, maybe you would look at it as a security expert, 470 00:32:48,840 --> 00:32:50,280 somebody who attends this conference, 471 00:32:50,460 --> 00:32:54,060 and would have gone, hmm, better call the security guy. 472 00:32:55,160 --> 00:32:58,060 I'd be willing to bet a hundred bucks that your secretary wouldn't. 473 00:33:00,280 --> 00:33:01,760 And that's all I need. 474 00:33:03,820 --> 00:33:05,300 I don't need you to open it. 475 00:33:05,360 --> 00:33:06,880 I don't need to email it to the administrator. 476 00:33:07,260 --> 00:33:09,380 I just need the secretary to do it. 477 00:33:11,660 --> 00:33:14,600 Because there's already, if you watch the bottom here on the console, 478 00:33:15,340 --> 00:33:18,220 a message has been delivered back to the attacker, 479 00:33:18,360 --> 00:33:19,560 which has the name inbreaker. 480 00:33:21,960 --> 00:33:24,780 So unless this user was actually watching the console, 481 00:33:25,240 --> 00:33:28,120 probably just would have thought it was a buggy email. 482 00:33:28,520 --> 00:33:28,920 . 483 00:33:31,640 --> 00:33:32,040 True. 484 00:33:34,600 --> 00:33:38,580 Yeah, what he said was that there is a bottom little display bar here. 485 00:33:39,380 --> 00:33:41,840 And actually, I didn't have time, but you can get rid of this too. 486 00:33:43,700 --> 00:33:45,120 This is possible to get rid of. 487 00:33:45,380 --> 00:33:45,720 . 488 00:33:46,140 --> 00:33:47,340 No, but this is true. 489 00:33:47,420 --> 00:33:51,800 This actually shows, this is kind of like a command shell history almost in Notes. 490 00:33:51,980 --> 00:33:53,960 It shows everything that actually happened. 491 00:33:54,500 --> 00:33:54,900 . 492 00:33:56,220 --> 00:33:56,780 I'm sorry? 493 00:33:57,020 --> 00:33:57,160 . 494 00:33:58,160 --> 00:33:58,560 Yeah. 495 00:33:58,780 --> 00:33:59,980 Secretary still wouldn't know. 496 00:34:00,560 --> 00:34:02,780 I've actually gone across when I used to be administrator. 497 00:34:03,040 --> 00:34:04,900 You can do a broadcast on the console. 498 00:34:05,100 --> 00:34:06,400 Messages will pop up there. 499 00:34:06,700 --> 00:34:09,580 I used to tell people, log off, please log off, please log off. 500 00:34:09,740 --> 00:34:10,680 You've got to back it up. 501 00:34:11,400 --> 00:34:13,840 Finally, I'd have to walk around the office and hit them on the head. 502 00:34:15,620 --> 00:34:18,860 So switch back to the user here, or the attacker. 503 00:34:32,020 --> 00:34:34,460 So I've got an email here from Dutch . 504 00:34:34,460 --> 00:34:39,620 And it says, I have created world access. 505 00:34:43,220 --> 00:34:44,400 I can't even read that. 506 00:34:44,640 --> 00:34:52,780 Basically, what it's done, the stored form had executable control, executable code, which was executed just like in the Bubble Boy virus. 507 00:34:53,020 --> 00:34:57,940 And what it did, it caused that user without him knowing it, him or her knowing it. 508 00:34:57,940 --> 00:35:01,240 To change the access control list on the mail file. 509 00:35:01,840 --> 00:35:03,900 And I'm sorry I forgot to show you that. 510 00:35:07,860 --> 00:35:09,720 Actually, I'd gone off and set that. 511 00:35:10,840 --> 00:35:17,540 Does anyone need me to actually verify that the access control list for anonymous was completely shut off? 512 00:35:17,860 --> 00:35:19,480 I see a nodding head back there. 513 00:35:19,520 --> 00:35:19,680 Okay. 514 00:35:19,920 --> 00:35:20,860 Let me do it again. 515 00:35:27,980 --> 00:35:29,480 I apologize for that. 516 00:35:43,900 --> 00:35:44,500 Okay. 517 00:35:44,600 --> 00:35:48,100 So we're setting default to no access. 518 00:35:48,920 --> 00:35:53,000 And we are setting anonymous to no access. 519 00:35:56,560 --> 00:35:58,960 So we'll go back to the attacker and we'll send it again. 520 00:36:20,500 --> 00:36:20,900 Okay. 521 00:36:20,900 --> 00:36:22,520 Now I'm switching back to the victim. 522 00:36:35,280 --> 00:36:46,300 So just to show you, doubly sure, default still set to no access and anonymous is set to no access. 523 00:36:47,180 --> 00:36:48,100 We open it. 524 00:36:49,240 --> 00:36:50,040 It disappears. 525 00:36:58,780 --> 00:37:04,820 So default is now, if you see that, if you can make it out with the bad projectors, default is now set to manager. 526 00:37:08,460 --> 00:37:10,160 And anonymous is set to a manager. 527 00:37:10,300 --> 00:37:16,080 And I just heard my old heckler friend from last year say, show him the log. 528 00:37:16,260 --> 00:37:16,600 Okay. 529 00:37:18,080 --> 00:37:26,620 So you can see there that at no time did anybody else other than Dutch Slachtoffer change the access control list. 530 00:37:27,700 --> 00:37:33,340 So since that code, come up front because I can't hear you way back there and I don't think anyone else will be able to. 531 00:37:35,400 --> 00:37:38,780 But basically that code was executed by the victim. 532 00:37:39,860 --> 00:37:40,640 Come on. 533 00:37:40,920 --> 00:37:41,960 Don't be stage shy. 534 00:37:42,300 --> 00:37:43,360 You're a good looking dude. 535 00:37:44,040 --> 00:37:44,560 . 536 00:37:45,560 --> 00:37:55,160 The question is just, what rights does the user have to have to their own mailbox or to that particular mailbox if they're opening it to give the manager access? 537 00:37:55,580 --> 00:38:05,160 Because sometimes you might have a situation where a secretary has got read access to their boss's email and you might prefer to send them an email with the excuses code rather than the boss. 538 00:38:05,780 --> 00:38:06,220 Yeah. 539 00:38:06,520 --> 00:38:07,680 That's a really good question. 540 00:38:08,940 --> 00:38:12,640 To change, it's just like if they were to change their own ACL. 541 00:38:12,640 --> 00:38:15,080 They have to have manager access to it. 542 00:38:15,400 --> 00:38:17,240 But it's very easy to create this. 543 00:38:17,300 --> 00:38:27,800 I'm sure it takes no leap of imagination to figure out that you could actually check what rights do you have as the attacker causing the victim to perform this for you. 544 00:38:28,840 --> 00:38:31,240 What rights do I actually have to my own mail file? 545 00:38:32,200 --> 00:38:37,780 So we have actually done some code on this where you can actually have it do lookups in the database. 546 00:38:38,000 --> 00:38:42,620 So if they don't have access rights to their own mail file to change it, it would actually be a problem. 547 00:38:42,620 --> 00:38:44,520 It would automatically forward itself to the next person. 548 00:38:45,980 --> 00:38:53,000 Send it to an admin and update the user by email and then delete the stored format so they don't see the form related to it. 549 00:38:56,240 --> 00:39:07,920 It's possible to simply send it to the admin who will most likely have access, manager access to everybody's mail file and either update the ACL on the name and address book or on a user's mail file. 550 00:39:08,260 --> 00:39:11,720 And if you write the script correctly, rather than deleting the form, which is really obvious. 551 00:39:11,720 --> 00:39:12,940 And we'll tip off an administrator. 552 00:39:13,280 --> 00:39:15,260 You can simply delete out the stored object. 553 00:39:15,460 --> 00:39:18,440 So all they see is a normal form that says, hey, let's have lunch. 554 00:39:18,680 --> 00:39:20,340 And they can't tell that it's a stored form. 555 00:39:23,420 --> 00:39:29,740 One of the other, somebody else actually had a good point as far as like having, sending this directly to the email. 556 00:39:30,220 --> 00:39:33,260 I believe it was you that actually, I may not be right. 557 00:39:33,400 --> 00:39:33,560 Okay. 558 00:39:33,940 --> 00:39:38,260 Somebody at Black Hat just the other day had a real, asked the question. 559 00:39:38,380 --> 00:39:39,360 Can, in notes. 560 00:39:39,520 --> 00:39:40,420 Can you actually. 561 00:39:41,720 --> 00:39:44,280 Forge the header so it looks like it's coming from someone internal. 562 00:39:44,620 --> 00:39:49,980 And if you're using notes, if you're an experienced notes user, you've probably seen spam people do this. 563 00:39:50,120 --> 00:39:52,000 So it looks like it's coming from somebody else. 564 00:39:52,360 --> 00:39:54,800 You can forge your SMTP headers. 565 00:39:55,400 --> 00:40:00,580 And looking at the view, you won't really know the difference unless you're using a heavily modified mail file. 566 00:40:03,980 --> 00:40:09,560 So you could send, and by doing that, you could actually send the email to the administrator, have it appear as a normal user. 567 00:40:09,660 --> 00:40:11,120 And the administrator will trust his users. 568 00:40:11,720 --> 00:40:12,120 To some extent. 569 00:40:12,300 --> 00:40:13,480 And open the email. 570 00:40:21,760 --> 00:40:23,980 So I'm going to switch back to the attacker here. 571 00:40:25,540 --> 00:40:27,620 Because this is also interesting. 572 00:40:28,000 --> 00:40:34,600 I know that there's not a whole lot of people that actually run mail servers and web servers on the same box. 573 00:40:35,040 --> 00:40:38,160 But quite often, web servers will often have mail in databases. 574 00:40:38,160 --> 00:40:43,000 And I know of quite a few companies that actually do run. 575 00:40:43,180 --> 00:40:46,120 They actually have a commercial web server running Domino. 576 00:40:46,220 --> 00:40:51,180 And they have a separate mail server, which is running the HTTP process. 577 00:40:52,580 --> 00:40:58,000 So that people can actually access their email using the web-based mail. 578 00:41:01,220 --> 00:41:08,140 So if we actually pop this open, as the attacker, we actually get a URL back, which points directly to the victim's mail file. 579 00:41:08,140 --> 00:41:16,300 And we can just click on that, pop it open, and go straight into the user's mail file without any authentication or access prompts. 580 00:41:22,640 --> 00:41:23,580 And there we go. 581 00:41:23,720 --> 00:41:27,660 We can now read his email and do anything with it we want over a web browser. 582 00:41:46,480 --> 00:41:46,880 Okay. 583 00:41:50,040 --> 00:41:52,120 Did we not touch stored forms already? 584 00:41:52,800 --> 00:41:53,960 I guess, no, we don't. 585 00:41:54,360 --> 00:41:58,100 Okay, a lot of this stuff with stored forms was actually reported by Oliver Berger. 586 00:42:01,480 --> 00:42:03,620 I think my slides are a little messed up here. 587 00:42:05,780 --> 00:42:07,920 Yeah, one of my slides got out of order. 588 00:42:08,140 --> 00:42:14,080 This was reported by Oliver Berger back in 1996 under Spiegel Magazine. 589 00:42:15,840 --> 00:42:17,840 And I forgot to actually change that. 590 00:42:19,460 --> 00:42:23,360 But there's still very few people who are actually using Access Control List. 591 00:42:23,640 --> 00:42:26,820 And everybody's still using stored forms. 592 00:42:27,380 --> 00:42:29,400 They're allowing the use of stored forms. 593 00:42:30,840 --> 00:42:35,900 What I would rather recommend, and I know administrators are not going to like this. 594 00:42:35,900 --> 00:42:44,820 But if you're accepting internet emails coming into your server and you need the use of stored forms, create two different mail files for the user. 595 00:42:45,880 --> 00:42:51,600 And have one which is sitting there for internet email that uses no stored forms. 596 00:42:51,920 --> 00:42:56,960 I know this is a little bit of a pain in the butt, but this is really about the only way around that I know of. 597 00:42:59,580 --> 00:43:01,940 Turn off the stored forms. 598 00:43:02,100 --> 00:43:03,820 Let internet emails come in there. 599 00:43:03,920 --> 00:43:04,720 Have an agent. 600 00:43:04,720 --> 00:43:08,520 So whenever new emails are deposited, that gets sent to their internal email. 601 00:43:09,220 --> 00:43:11,460 They're automatically forwarded from that point. 602 00:43:11,580 --> 00:43:17,360 Or at least they have some sort of dock link that goes to their internal email that they can then now... 603 00:43:17,360 --> 00:43:22,660 They know they've got an internet email coming in on the other email box. 604 00:43:23,700 --> 00:43:32,480 And that is a kludge, but it'll work and keep you secure from stored form attacks over the internet. 605 00:43:35,720 --> 00:43:37,440 Oh, go back. 606 00:43:40,540 --> 00:43:41,740 Okay, now go ahead, I'm sorry. 607 00:43:43,000 --> 00:43:50,960 So we have the execution control list, which is supposed to prevent a lot of this type of stuff. 608 00:43:51,280 --> 00:44:01,460 One of the things that we started looking at was that another type of an attack was that the notes API calls, the C API calls into notes, 609 00:44:01,620 --> 00:44:02,460 are not in there. 610 00:44:02,460 --> 00:44:04,480 They're not intercepted by the execution control list. 611 00:44:05,180 --> 00:44:07,260 So you can use Visual Basic. 612 00:44:08,100 --> 00:44:15,980 You can actually put an ActiveX control into an HTML file and send it to somebody and ask them to launch it. 613 00:44:16,400 --> 00:44:24,180 And that ActiveX control will make a call into the notes API and bypass the execution control list. 614 00:44:27,200 --> 00:44:29,260 So I'll give you a quick demo on this. 615 00:44:34,080 --> 00:44:35,800 Okay, I'm getting ahead of myself. 616 00:44:35,920 --> 00:44:36,580 I apologize here. 617 00:44:38,300 --> 00:44:40,840 Before I do that, let me just say a couple more things about this. 618 00:44:41,100 --> 00:44:50,160 In the execution control list, you really need to make sure this is got down and tight and that you actually have a corporate enforced, essentially enforced ECL. 619 00:44:50,320 --> 00:44:52,820 Does anyone not have that? 620 00:44:53,980 --> 00:44:55,360 Or does anyone have that? 621 00:44:55,700 --> 00:44:56,860 Let's ask that one. 622 00:45:00,020 --> 00:45:00,500 Yeah. 623 00:45:06,460 --> 00:45:07,800 It's a real pain in the butt. 624 00:45:07,940 --> 00:45:08,560 I know. 625 00:45:09,320 --> 00:45:12,560 A lot of people are just not familiar with the execution control list. 626 00:45:13,480 --> 00:45:16,400 The ECL settings are really stored in an obscure location. 627 00:45:17,040 --> 00:45:18,820 There's not a lot of documentation on it. 628 00:45:19,040 --> 00:45:22,180 It's not real clear until 5.02. 629 00:45:22,180 --> 00:45:26,040 If you're running 5.02 or earlier than 5.02. 630 00:45:26,040 --> 00:45:28,880 You had world access to it. 631 00:45:30,780 --> 00:45:37,720 There's also a couple of ways you can actually use either of these two options to reset an execution control list. 632 00:45:39,640 --> 00:45:47,040 There's a command in the Lotus command language, the refresh ECL, and just leave the options blank. 633 00:45:47,200 --> 00:45:51,320 That will actually force the ECL to be reset. 634 00:45:52,140 --> 00:45:54,860 There's other ways that you can actually add a note. 635 00:45:54,860 --> 00:45:56,380 Something into the notes INI file. 636 00:45:58,000 --> 00:46:03,440 And it's remove ECL set up equals three from the notes INI file. 637 00:46:04,300 --> 00:46:05,780 So you don't actually add it. 638 00:46:05,840 --> 00:46:06,640 You remove that setting. 639 00:46:09,120 --> 00:46:09,640 . 640 00:46:14,100 --> 00:46:14,620 Yeah. 641 00:46:15,180 --> 00:46:16,900 I'll give you a website at the end. 642 00:46:16,980 --> 00:46:18,740 And all this stuff will be available there. 643 00:46:19,900 --> 00:46:22,540 Because it will be available within one week. 644 00:46:23,420 --> 00:46:23,940 . 645 00:46:24,580 --> 00:46:25,180 So. 646 00:46:28,020 --> 00:46:33,320 As I mentioned before, the notes API calls are not intercepted by the ECL. 647 00:46:33,460 --> 00:46:38,940 And since OLE and COM uses notes API, that makes it very fun. 648 00:46:39,240 --> 00:46:39,500 . 649 00:46:40,720 --> 00:46:41,320 Sorry? 650 00:46:41,700 --> 00:46:41,960 . 651 00:46:43,720 --> 00:46:44,920 And rnext? 652 00:46:45,220 --> 00:46:45,820 . 653 00:46:46,660 --> 00:46:48,600 I actually have not investigated that yet. 654 00:46:49,100 --> 00:46:51,480 So I've only started dabbling with rnext. 655 00:46:52,500 --> 00:46:53,100 . 656 00:46:54,580 --> 00:46:55,040 . 657 00:47:01,760 --> 00:47:02,420 I'm sorry. 658 00:47:03,680 --> 00:47:04,140 . 659 00:47:06,740 --> 00:47:07,200 Yes. 660 00:47:08,220 --> 00:47:08,680 . 661 00:47:12,520 --> 00:47:14,800 I'm fixing to give you a demonstration on it here real quick. 662 00:47:18,460 --> 00:47:21,460 So the question he's asking, I'm fixing to answer for him. 663 00:47:23,180 --> 00:47:23,580 . 664 00:47:28,260 --> 00:47:29,760 So we're here as the attacker. 665 00:47:30,060 --> 00:47:30,380 . 666 00:47:31,060 --> 00:47:36,880 And what I'm going to do, let me show you what I actually am going to send him. 667 00:47:37,620 --> 00:47:38,020 . 668 00:47:40,680 --> 00:47:43,020 I'm having a real problem seeing this screen, so. 669 00:47:44,340 --> 00:47:44,740 . 670 00:47:44,740 --> 00:47:44,800 . 671 00:47:48,600 --> 00:47:50,100 Crap, I can't even see the icons. 672 00:47:50,320 --> 00:47:50,720 . 673 00:47:53,300 --> 00:47:56,200 Bear with me, I can't see the icons off to the right of my desktop. 674 00:47:58,800 --> 00:47:59,160 . 675 00:48:06,000 --> 00:48:06,360 Oops. 676 00:48:06,500 --> 00:48:06,800 . 677 00:48:06,800 --> 00:48:07,480 Okay. 678 00:48:07,780 --> 00:48:09,580 I had to move these two over so I could see them. 679 00:48:09,840 --> 00:48:10,000 . 680 00:48:10,000 --> 00:48:12,520 So I've actually got, I'm just going to pop open notepad here. 681 00:48:12,680 --> 00:48:13,040 . 682 00:48:13,040 --> 00:48:16,700 And I'm going to give you an example of an HTML file. 683 00:48:16,900 --> 00:48:17,060 . 684 00:48:17,060 --> 00:48:20,420 And in here we actually have an ActiveX, we have an ActiveX control. 685 00:48:21,220 --> 00:48:21,660 . 686 00:48:21,660 --> 00:48:23,440 Which is using VBScript. 687 00:48:23,960 --> 00:48:24,400 . 688 00:48:25,000 --> 00:48:26,280 Just so you can see it. 689 00:48:26,640 --> 00:48:27,080 . 690 00:48:27,080 --> 00:48:28,400 That's all that's in there. 691 00:48:29,260 --> 00:48:29,700 . 692 00:48:33,840 --> 00:48:40,600 So what we're going to do is the attacker, we're going to attach this to an email. 693 00:48:41,540 --> 00:48:41,980 . 694 00:48:44,020 --> 00:48:44,460 . 695 00:48:46,600 --> 00:48:47,040 . 696 00:48:48,760 --> 00:48:48,800 . 697 00:48:48,800 --> 00:48:48,820 . 698 00:48:48,820 --> 00:48:48,840 . 699 00:49:03,240 --> 00:49:04,200 . 700 00:49:12,460 --> 00:49:13,420 . 701 00:49:13,420 --> 00:49:13,980 . 702 00:49:13,980 --> 00:49:18,820 So this HTML file, which is actually called prettywomen.html. 703 00:49:22,920 --> 00:49:27,400 Yeah, and we know everybody wants their porn, or at least all the men. 704 00:49:29,920 --> 00:49:34,440 Okay, maybe there's a couple of guys here who don't want their porno women. 705 00:49:37,660 --> 00:49:39,760 I don't know. You know what I'm talking about. 706 00:49:42,680 --> 00:49:44,180 It's not getting to semantics here. 707 00:49:46,420 --> 00:49:48,180 So we're going to switch back to the victim here. 708 00:49:50,400 --> 00:49:52,560 And as the victim, now I have a new email. 709 00:49:54,060 --> 00:49:55,860 There's my HTML attachment. 710 00:49:56,100 --> 00:50:03,400 This could really be anything that you would put an active X control in. 711 00:50:03,700 --> 00:50:04,860 And we just launch it. 712 00:50:05,020 --> 00:50:07,480 Now, since we're launching this from the environment, 713 00:50:08,220 --> 00:50:10,500 you would think that the execution control, 714 00:50:10,800 --> 00:50:12,460 so we're launching this from the notes environment, 715 00:50:12,680 --> 00:50:15,900 you have an execution control, before I do this, 716 00:50:18,160 --> 00:50:18,640 which, 717 00:50:18,820 --> 00:50:20,800 does not permit, really, anything. 718 00:50:29,420 --> 00:50:32,980 So again, as I showed you before, everything is turned off here. 719 00:50:33,380 --> 00:50:34,440 And now that... 720 00:50:36,800 --> 00:50:40,120 There's also Java and Java, but we're not using Java or JavaScript. 721 00:50:45,480 --> 00:50:46,520 Here, hold this. 722 00:50:46,580 --> 00:50:47,400 I can't... 723 00:50:51,940 --> 00:50:57,800 Typically, I have a shirt mic, trying to do this with one hand is really difficult. 724 00:50:58,080 --> 00:51:00,860 So, we go ahead and we click to launch it. 725 00:51:04,920 --> 00:51:09,000 So now, something I want to point out here, we do get, actually, an alert. 726 00:51:09,840 --> 00:51:12,420 I'm not trying to hack Internet Explorer. 727 00:51:12,880 --> 00:51:15,740 My purpose is to show you about the note security. 728 00:51:16,140 --> 00:51:18,220 There's plenty of other good material out here, 729 00:51:18,220 --> 00:51:21,380 and I've never tried to incorporate any of that, 730 00:51:21,500 --> 00:51:25,260 just simply as to not confuse people with what I'm trying to actually do. 731 00:51:25,580 --> 00:51:27,920 This is purely about Lotus Notes and Domino. 732 00:51:28,020 --> 00:51:29,960 So, we do, actually, a little prompt here. 733 00:51:30,040 --> 00:51:32,600 It tells us, we're about to get an ActiveX warning. 734 00:51:33,280 --> 00:51:35,180 And when we get that, please click OK. 735 00:51:36,920 --> 00:51:40,040 So, we'll click OK on this, and here's our ActiveX warning, 736 00:51:40,520 --> 00:51:42,920 warning of a potential hostile code. 737 00:51:43,460 --> 00:51:48,200 I believe it was Loft that actually did the latest thing on us. 738 00:51:48,200 --> 00:51:49,860 Is that correct? 739 00:51:51,220 --> 00:51:52,160 Nobody knows? 740 00:51:53,760 --> 00:51:54,500 I'm sorry? 741 00:51:55,780 --> 00:51:56,840 George Kavinsky? 742 00:51:57,080 --> 00:51:57,580 Could be. 743 00:51:57,980 --> 00:52:03,380 I don't actually get into the Office 2000 Internet Explorer hacks as much. 744 00:52:05,220 --> 00:52:09,720 But I know that there's some good material out there on the net that you can find on this. 745 00:52:10,940 --> 00:52:12,340 So, we'll go ahead and click yes. 746 00:52:12,800 --> 00:52:16,540 Now, what we've seen is we get a listing in HTML. 747 00:52:16,540 --> 00:52:20,740 We have this ActiveX control, which has gone off, 748 00:52:20,880 --> 00:52:23,340 and this is now not going to the Domino server. 749 00:52:23,540 --> 00:52:25,000 Don't be confused by that. 750 00:52:25,540 --> 00:52:30,360 We're actually generating an HTML page directly through the Notes client. 751 00:52:36,820 --> 00:52:42,860 And if you look back here in the view, that matches this. 752 00:52:45,200 --> 00:52:47,760 We've got a listing of everything in his inbox. 753 00:52:48,880 --> 00:52:50,100 So, this executed. 754 00:52:50,420 --> 00:52:54,040 We did get the ActiveX warning from Internet Explorer. 755 00:52:54,300 --> 00:52:56,360 As I said, that's not the purpose of this. 756 00:52:56,480 --> 00:53:01,100 We did not get any type of execution control warning from Lotus Notes. 757 00:53:02,440 --> 00:53:05,040 That's the point I'm trying to stress here. 758 00:53:05,700 --> 00:53:09,480 Notes should have actually warned us on this and said, 759 00:53:09,580 --> 00:53:11,440 we're not going to allow this to execute, 760 00:53:11,440 --> 00:53:13,640 or at least given us the option to abort. 761 00:53:18,380 --> 00:53:18,780 Yeah? 762 00:53:27,000 --> 00:53:27,800 I'm sorry? 763 00:53:34,020 --> 00:53:35,700 Can you come up here? I can't hear you. 764 00:53:36,560 --> 00:53:37,880 I don't think anyone else can. 765 00:53:41,440 --> 00:53:44,540 You had that execute with a standalone browser 766 00:53:44,540 --> 00:53:46,160 instead of internally with the Notes client. 767 00:53:46,600 --> 00:53:47,940 Would it make a difference? 768 00:53:48,120 --> 00:53:51,500 Would Notes look at its internal web browser differently? 769 00:53:52,860 --> 00:53:53,820 We could try it. 770 00:53:55,260 --> 00:53:55,740 Yeah? 771 00:54:02,360 --> 00:54:04,060 Thirty-five minutes for the whole session? 772 00:54:05,820 --> 00:54:06,520 Oh, okay. 773 00:54:08,300 --> 00:54:10,880 If you want to see that, because he just informed me, 774 00:54:10,880 --> 00:54:12,460 we already have thirty-five minutes left. 775 00:54:13,060 --> 00:54:14,980 Let's come up after and we'll try it. 776 00:54:22,800 --> 00:54:24,220 I'll just show you here real quick. 777 00:54:25,240 --> 00:54:27,140 Nothing got modified in the ECL. 778 00:54:27,840 --> 00:54:30,680 Everything is still set to no access. 779 00:54:35,980 --> 00:54:38,140 If you have a question, please come up here. 780 00:54:43,400 --> 00:54:44,720 Go take the mic. 781 00:54:50,060 --> 00:54:54,900 If you had detached that HTML file and launched it separately, 782 00:54:55,080 --> 00:54:56,040 would it have done the same thing? 783 00:54:58,220 --> 00:55:01,380 The point is, is we actually launched it 784 00:55:01,380 --> 00:55:02,380 from within the Notes environment. 785 00:55:02,800 --> 00:55:05,960 So you would think that the execution control list 786 00:55:05,960 --> 00:55:09,900 would actually block any calls within the Notes environment. 787 00:55:10,520 --> 00:55:14,040 Notes cannot protect anything coming at it externally. 788 00:55:15,300 --> 00:55:18,340 There's not really too many applications that I know of 789 00:55:18,340 --> 00:55:19,780 that could actually do something like that. 790 00:55:20,340 --> 00:55:23,540 And that's actually even Lotus' statement as far as that goes. 791 00:55:27,960 --> 00:55:30,200 So I've gone back to the attacker here, 792 00:55:30,280 --> 00:55:34,180 and you'll actually see we've got an email back from the victim. 793 00:55:34,900 --> 00:55:37,700 And we did this all with using Notes API calls 794 00:55:37,700 --> 00:55:38,960 from the Visual Basic script. 795 00:55:38,960 --> 00:55:43,240 And we actually have the name of the mail server. 796 00:55:43,420 --> 00:55:46,520 You can't really see this, but on the second line, 797 00:55:46,640 --> 00:55:48,680 or the first one after the big space, 798 00:55:48,920 --> 00:55:51,840 it says mail server and the name of the server, 799 00:55:52,700 --> 00:55:56,140 the direct or the file listing on the mail server 800 00:55:56,140 --> 00:55:57,220 where his mail file is. 801 00:55:57,380 --> 00:55:59,880 We actually now have his HTTP hash. 802 00:56:02,380 --> 00:56:04,140 And I'll get to that in a little bit. 803 00:56:04,440 --> 00:56:06,520 And we have his Notes ID file. 804 00:56:08,140 --> 00:56:08,940 And that's it. 805 00:56:08,940 --> 00:56:10,540 And we're going to make use of both of those, 806 00:56:10,620 --> 00:56:13,300 the hash and the ID file, in a couple of minutes. 807 00:56:15,260 --> 00:56:18,280 And information on his local client, 808 00:56:18,440 --> 00:56:21,320 where is his ID file located on his local client. 809 00:56:21,920 --> 00:56:23,720 So we've sent this all back to us. 810 00:56:26,580 --> 00:56:28,080 And I'm going to have to hurry 811 00:56:28,080 --> 00:56:29,420 because I really want to show you that. 812 00:56:39,480 --> 00:56:39,840 Huh? 813 00:56:40,560 --> 00:56:42,240 Tell him he can get up and get some water, too. 814 00:56:42,320 --> 00:56:43,660 Yeah, if y'all want to get up and get some water 815 00:56:43,660 --> 00:56:44,560 since we're running behind. 816 00:56:45,420 --> 00:56:47,580 If y'all need some water, feel free to get up and get it. 817 00:56:51,460 --> 00:56:52,040 All right. 818 00:56:53,040 --> 00:56:54,440 Now we've got the ID file. 819 00:56:54,520 --> 00:56:55,400 We have his hash. 820 00:56:56,840 --> 00:56:58,780 The victim's hash and his ID file. 821 00:56:59,040 --> 00:57:01,060 And this is where it really starts to get interesting 822 00:57:01,060 --> 00:57:04,420 because the password hashes of Lotus Notes are not salted. 823 00:57:05,020 --> 00:57:07,300 Unix actually went through this 15 years ago. 824 00:57:07,300 --> 00:57:09,880 They figured out they had to use salted hashes. 825 00:57:11,840 --> 00:57:13,840 Windows recently went through this. 826 00:57:14,040 --> 00:57:17,340 Lotus is just now fixing to go through this. 827 00:57:17,800 --> 00:57:19,260 The hashes are static. 828 00:57:19,440 --> 00:57:24,580 In other words, this hash of a password, 829 00:57:25,160 --> 00:57:27,660 the top line here, will always equal password. 830 00:57:28,760 --> 00:57:31,600 I'm sorry, password will always result in that hash. 831 00:57:32,360 --> 00:57:34,200 Secret will always result in this. 832 00:57:35,540 --> 00:57:36,560 And the next one. 833 00:57:37,300 --> 00:57:39,860 So this makes it really easy to create a whole bunch 834 00:57:39,860 --> 00:57:43,100 of known passwords or a dictionary within a database 835 00:57:43,100 --> 00:57:45,480 and build a brute forcer. 836 00:57:47,060 --> 00:57:47,620 . 837 00:57:49,600 --> 00:57:52,200 Yes, but there's still problems with it 838 00:57:52,200 --> 00:57:56,840 because in 503 they had actually implemented an option 839 00:57:56,840 --> 00:57:59,100 to upgrade to a stronger hash mechanism. 840 00:57:59,600 --> 00:58:04,220 And in 503, although that was implemented, it was broken. 841 00:58:04,400 --> 00:58:07,100 So you could actually select in your server profile document 842 00:58:07,300 --> 00:58:11,080 to always create new users using the stronger hashing algorithm. 843 00:58:11,760 --> 00:58:15,680 And in 504, they fixed it because in 503, 844 00:58:15,740 --> 00:58:17,460 it would not do that by default. 845 00:58:17,840 --> 00:58:19,860 In 504, oh, thank you. 846 00:58:21,200 --> 00:58:21,760 . 847 00:58:23,440 --> 00:58:26,880 In 504, they had actually fixed that. 848 00:58:27,000 --> 00:58:29,100 But I just actually realized the other day, 849 00:58:29,160 --> 00:58:31,200 on 506, it wasn't working again. 850 00:58:33,180 --> 00:58:33,740 . 851 00:58:33,740 --> 00:58:33,940 So... 852 00:58:33,940 --> 00:58:34,540 . 853 00:58:34,540 --> 00:58:34,920 . 854 00:58:39,340 --> 00:58:42,780 What you have to do is you actually have to manually go back 855 00:58:42,780 --> 00:58:45,060 and upgrade all your users individually. 856 00:58:45,380 --> 00:58:46,820 And I'll show you how to do that in a minute. 857 00:58:47,020 --> 00:58:50,040 But you have to go back and upgrade to the stronger hash, 858 00:58:50,220 --> 00:58:51,480 which is the salted hash. 859 00:58:55,880 --> 00:59:01,400 So where this gets really interesting is if... 860 00:59:01,920 --> 00:59:02,400 . 861 00:59:03,660 --> 00:59:04,180 . 862 00:59:04,800 --> 00:59:05,320 Alright,. 863 00:59:05,320 --> 00:59:05,840 Minimize this? 864 00:59:06,580 --> 00:59:09,160 We're now logged in as the attacker. 865 00:59:10,400 --> 00:59:11,160 All right? 866 00:59:11,600 --> 00:59:15,960 I'm going to close this so we can see what we're doing, 867 00:59:16,020 --> 00:59:16,520 a bit better. 868 00:59:17,680 --> 00:59:18,200 . 869 00:59:20,760 --> 00:59:22,220 Now as the attacker, 870 00:59:22,440 --> 00:59:28,280 I'm going to pretend like I'm not able to actually switch back and forth. 871 00:59:28,900 --> 00:59:30,700 Because I want to walk you thought this. 872 00:59:30,880 --> 00:59:31,160 . 873 00:59:31,160 --> 00:59:36,180 I'm going to attach the ID file to my desktop, which there it is. 874 00:59:42,680 --> 00:59:45,340 And I'm going to switch the ID file. 875 00:59:46,860 --> 00:59:48,440 Oops, I forgot one thing. 876 00:59:51,380 --> 00:59:54,920 I'm going to copy and paste this hash, if I can even see it. 877 01:00:04,120 --> 01:00:07,840 Okay, I'm going to copy this hash, and I'm going to switch to the next user, 878 01:00:08,820 --> 01:00:11,240 or switch to the ID file I just retrieved. 879 01:00:35,580 --> 01:00:39,340 Okay, now I have this hash pasted in my clipboard. 880 01:00:45,020 --> 01:00:47,820 I've got to switch to find the icon here. 881 01:00:55,820 --> 01:00:56,380 Okay. 882 01:01:03,940 --> 01:01:06,880 All right, I had to move this icon over here. 883 01:01:06,980 --> 01:01:11,700 This is the program OpenSesame, which will be released in a week, a week from today. 884 01:01:12,760 --> 01:01:17,220 Both binaries and source code will be downloadable from notessecurity.com. 885 01:01:18,100 --> 01:01:19,940 What we're going to do is we're going to launch this. 886 01:01:23,540 --> 01:01:28,680 And since those are static hashes, and they're in static places in memory of the client, 887 01:01:29,320 --> 01:01:30,980 although they do change slightly, 888 01:01:31,160 --> 01:01:32,040 between each version, 889 01:01:35,800 --> 01:01:39,440 Sesame knows about where those are actually supposed to be stored at. 890 01:01:39,840 --> 01:01:45,480 So the hash you're seeing there is actually my hash as the attacker, 891 01:01:45,620 --> 01:01:49,440 but I'm going to paste in the hash from the victim now. 892 01:01:52,660 --> 01:01:58,660 And I'd like you, since this is your second time, come up here. 893 01:02:03,760 --> 01:02:08,160 Now, we have, you can't really see it here, but we pasted in the hash in the middle box, 894 01:02:08,320 --> 01:02:11,500 and the bottom box actually says new user password. 895 01:02:12,080 --> 01:02:18,020 So I'd like for this gentleman here to type in whatever password you'd like to be able to use. 896 01:02:23,540 --> 01:02:24,020 Okay. 897 01:02:34,900 --> 01:02:36,760 I can't even see the screen. 898 01:02:37,820 --> 01:02:38,960 I've got to switch back here. 899 01:02:39,080 --> 01:02:39,680 I'll tell you what it is. 900 01:02:50,760 --> 01:02:51,540 Okay, hang on. 901 01:02:51,600 --> 01:02:52,180 I have a problem. 902 01:02:57,420 --> 01:02:58,340 I have a problem. 903 01:03:16,140 --> 01:03:16,500 I have a problem. 904 01:03:16,500 --> 01:03:17,920 Oh, I got a parenthesis in there. 905 01:03:18,000 --> 01:03:18,280 That's why. 906 01:03:22,220 --> 01:03:23,040 Yeah, do it again. 907 01:03:27,440 --> 01:03:27,800 Okay. 908 01:03:30,780 --> 01:03:31,140 Yeah, do it again. 909 01:03:47,800 --> 01:04:00,740 Something's funky, I think I've got a bug, okay, hang on, let's go back, okay, I'm trying 910 01:04:00,740 --> 01:04:01,900 to hurry, hold this. 911 01:04:30,960 --> 01:04:33,180 Okay, here we go. 912 01:05:12,560 --> 01:05:12,880 Here we go. 913 01:05:33,500 --> 01:05:36,440 Meanwhile, why doesn't everybody take this opportunity to get some more water? 914 01:06:16,540 --> 01:06:20,720 Ten minutes before, I did a run-through, and it worked, but for some reason, something's 915 01:06:20,720 --> 01:06:22,960 weird in my environment, it's acting a little hokey. 916 01:06:23,320 --> 01:06:28,140 Since we're running short on time, I'm going to skip this part of the demo, if you want 917 01:06:28,140 --> 01:06:30,720 to see it, come see me afterwards, we'll go sit out there, and I'll show you how to 918 01:06:30,740 --> 01:06:31,620 do it, and I'll show you how it works. 919 01:06:32,140 --> 01:06:36,020 A couple of people actually saw this last year, so you can talk to one of them if you 920 01:06:36,020 --> 01:06:39,680 want to ask somebody if it really works, it does. 921 01:06:40,460 --> 01:06:44,580 But what it would have actually done, we should have been able to paste in the hash, and it 922 01:06:44,580 --> 01:06:50,340 would have appended that hash that we just pasted in to the new location where it is 923 01:06:50,340 --> 01:06:54,880 in memory, and so he would have been able to type in his password, which he was typing 924 01:06:54,880 --> 01:06:59,720 in clueless, and he would have been able to authenticate with the ID file using that. 925 01:07:00,740 --> 01:07:05,380 He then could have actually logged out of notes, and the new user could have gone back 926 01:07:05,380 --> 01:07:08,900 in and typed in his password, and everything would have worked just fine. 927 01:07:11,740 --> 01:07:14,160 So, I apologize, that's not working there. 928 01:07:23,100 --> 01:07:23,620 Okay. 929 01:07:27,000 --> 01:07:27,520 Hello. 930 01:07:27,700 --> 01:07:27,940 Hello. 931 01:07:31,680 --> 01:07:32,160 Okay. 932 01:07:36,300 --> 01:07:43,320 So, we have the ID file validation, which unfortunately don't work for this show, but 933 01:07:43,320 --> 01:07:45,560 it does typically actually work. 934 01:07:45,920 --> 01:07:50,680 One of the things after we did this at DEF CON, Lotus came back and said you had to have 935 01:07:50,680 --> 01:07:57,080 physical access, so they don't consider it a serious threat, but as you saw, we actually 936 01:07:57,080 --> 01:08:00,720 were able to send, get the user to actually send us his user ID. 937 01:08:00,720 --> 01:08:07,400 And his hash, which then, physical access becomes a moot point, so you could actually 938 01:08:07,400 --> 01:08:08,040 do this remotely. 939 01:08:08,340 --> 01:08:08,480 Yeah. 940 01:08:09,000 --> 01:08:09,440 . 941 01:08:14,580 --> 01:08:15,460 Yes, it is. 942 01:08:16,420 --> 01:08:16,860 . 943 01:08:20,940 --> 01:08:22,360 Yes, it has to be the same. 944 01:08:23,180 --> 01:08:27,900 What I want, what I hope to have in the next release of Sesame, is it will actually pull 945 01:08:27,900 --> 01:08:29,260 it from the session in memory. 946 01:08:29,600 --> 01:08:30,040 Okay. 947 01:08:30,040 --> 01:08:30,260 Thank you. 948 01:08:30,320 --> 01:08:33,700 So, I actually have some VB script that will do that for us. 949 01:08:34,820 --> 01:08:35,280 Yeah. 950 01:08:36,480 --> 01:08:36,940 . 951 01:08:43,460 --> 01:08:43,920 . 952 01:08:43,920 --> 01:08:47,820 Yeah, he asked if the server, or I'm sorry, the administrator actually checks his mail 953 01:08:47,820 --> 01:08:52,240 on the server console, where the server's running, if we could actually have it send 954 01:08:52,240 --> 01:08:57,620 the server ID file back to us, that, which doesn't have a password, yes, we could actually 955 01:08:57,620 --> 01:08:59,540 have that done as well. 956 01:09:05,680 --> 01:09:11,560 Yeah, that's what he was just asking. This demo actually did, but I'm working on a new 957 01:09:11,560 --> 01:09:16,740 VB script that will actually yank it directly from the memory of the user. Because it's 958 01:09:17,140 --> 01:09:22,540 a static, each minor release of Domino, or of the notes client, stores the hash in a 959 01:09:22,540 --> 01:09:30,900 static location in memory. So if you know which version it is, then you just go to that 960 01:09:30,900 --> 01:09:40,080 memory location and yank it out. That's actually how what Sesame does, is it knows where that 961 01:09:40,080 --> 01:09:45,440 hash is, and it plugs it in right behind it. And we don't actually overwrite it, so that 962 01:09:45,440 --> 01:09:51,200 way, when he just, the attacker can log back out if he's actually got Sesame on a floppy 963 01:09:51,200 --> 01:09:51,360 disk. 964 01:09:51,880 --> 01:09:52,360 Yes. 965 01:09:52,540 --> 01:09:57,800 And then he just presses the F5 key, walks away, and the original user can come back 966 01:09:57,800 --> 01:10:00,560 in, type in his password, and never know the difference. 967 01:10:01,700 --> 01:10:02,700 Do you have a question? 968 01:10:02,840 --> 01:10:03,280 Yeah. 969 01:10:03,620 --> 01:10:06,660 Does that depend on the HTTP password? 970 01:10:06,840 --> 01:10:16,300 In this demonstration, yeah, the VB script, since we're pulling the HTTP password there, 971 01:10:16,880 --> 01:10:22,520 what he asked was, does it rely, the HTTP password in this, does it rely on the password 972 01:10:22,520 --> 01:10:26,940 or does it rely on not having the salted password? And in this, it does, but even though you 973 01:10:26,940 --> 01:10:32,520 may upgrade to the HTTP password, and the names and address book, to having the salted 974 01:10:32,520 --> 01:10:38,300 password, in the ID file, and on the notes client, it's still unsalted. 975 01:10:47,560 --> 01:10:50,840 Right now, in this demonstration, I was pulling it from the names and address book. 976 01:10:50,840 --> 01:10:53,720 Okay, but you said the next version, you're going to actually pull it from memory. 977 01:10:53,900 --> 01:10:57,620 Oh, there's going to be a new version of the VB script, which I also intend on releasing. 978 01:10:58,300 --> 01:11:00,860 And then that should be able to pull it from memory. 979 01:11:01,260 --> 01:11:05,520 But right now, when you pull it from the nav, it will be unsalted version, and that's 980 01:11:05,520 --> 01:11:06,080 what makes it work. 981 01:11:06,240 --> 01:11:10,760 But if you have your password salted on your nav, then this won't work, right? 982 01:11:11,620 --> 01:11:12,020 Right. 983 01:11:12,060 --> 01:11:14,380 If you try to retrieve it from the name and address book. 984 01:11:15,820 --> 01:11:20,740 But because if you upgrade to the salted, it doesn't change what the client itself is 985 01:11:20,840 --> 01:11:21,260 actually using. 986 01:11:21,360 --> 01:11:23,860 That only affects for the web-based authentication. 987 01:11:25,640 --> 01:11:26,120 Yeah? 988 01:11:29,880 --> 01:11:30,500 I'm sorry. 989 01:11:32,920 --> 01:11:39,140 I know this is part of your business and everything, but when you do the full disclosure, 990 01:11:39,600 --> 01:11:41,980 is it going to cover the script? 991 01:11:42,260 --> 01:11:45,460 I know you said you can put the Sesame out there. 992 01:11:45,720 --> 01:11:50,180 Are you going to have the scripts and the possible corrections for the problems? 993 01:11:50,840 --> 01:11:50,940 Yes. 994 01:11:50,940 --> 01:11:51,400 Are you going to? 995 01:11:51,480 --> 01:11:51,920 Okay. 996 01:11:52,060 --> 01:11:53,120 So all that will be out there? 997 01:11:53,180 --> 01:11:53,380 Yeah. 998 01:11:53,380 --> 01:11:54,900 And that's going to be at the notesecurity.com? 999 01:11:55,040 --> 01:11:55,260 Yeah. 1000 01:11:55,320 --> 01:11:58,280 There's also 58 Nessa scripts, which I've written. 1001 01:12:00,320 --> 01:12:05,600 Fifty-eight for every single database of the default installation that goes through. 1002 01:12:05,680 --> 01:12:10,860 I put them in last year, and you showed it to us last year, and they pretty much called 1003 01:12:10,860 --> 01:12:18,040 their notice person and said, oh, well, and gave them all the correct answers to squash 1004 01:12:18,040 --> 01:12:18,540 the problem. 1005 01:12:18,620 --> 01:12:20,220 But basically, I can't back with a fairy tale. 1006 01:12:22,460 --> 01:12:23,220 They downplayed it. 1007 01:12:23,380 --> 01:12:24,840 They did that with everybody. 1008 01:12:27,120 --> 01:12:30,400 You'll be able to go, hey, guys, look at this. 1009 01:12:31,100 --> 01:12:31,620 Fix it. 1010 01:12:32,120 --> 01:12:32,480 Please. 1011 01:12:38,880 --> 01:12:39,440 All right. 1012 01:12:39,480 --> 01:12:41,620 We're not going to take a break since we're running so late. 1013 01:12:46,100 --> 01:12:46,460 Okay. 1014 01:12:46,560 --> 01:12:49,620 On the access control list, we're going to go ahead and skip straight to the server, 1015 01:12:49,620 --> 01:12:52,400 and I'm going to hurry on so we can let you guys out of here. 1016 01:12:52,520 --> 01:12:59,360 On the access control list of the server, like I just said, I've got 58 scripts for 1017 01:12:59,360 --> 01:12:59,720 Nessus. 1018 01:13:00,840 --> 01:13:05,120 Unfortunately, the author of Nessus was at Black Hat, and I've yet to actually run 1019 01:13:05,120 --> 01:13:05,560 into him. 1020 01:13:05,720 --> 01:13:10,140 I actually had to attend a different session, so I didn't get to see his presentation. 1021 01:13:10,480 --> 01:13:15,260 But I've been working with Nessus for about the last year and a half, and I have 58 scripts 1022 01:13:15,800 --> 01:13:18,400 just for the server side of notes databases. 1023 01:13:18,400 --> 01:13:22,580 Because there's 58 databases by default which are installed on your Domino server. 1024 01:13:22,980 --> 01:13:27,940 And if you're running a Domino in a web configuration, you probably haven't gone through and checked 1025 01:13:27,940 --> 01:13:30,140 every single database. 1026 01:13:31,180 --> 01:13:33,220 And the interface... 1027 01:13:34,020 --> 01:13:35,220 ACL Reporter. 1028 01:13:35,520 --> 01:13:37,480 ACL Reporter is a good tool. 1029 01:13:38,780 --> 01:13:41,780 If you're not familiar with it, I think it's IBM. 1030 01:13:43,200 --> 01:13:45,300 I'm not sure who owns it now, but it... 1031 01:13:46,500 --> 01:13:47,400 It's just... 1032 01:13:47,400 --> 01:13:50,420 You're talking about the notes database that you run. 1033 01:13:50,780 --> 01:13:51,460 No, no. 1034 01:13:51,540 --> 01:13:51,800 Okay. 1035 01:13:52,180 --> 01:13:55,800 ACL Reporter is a third party tool that will run daily on your server and collect 1036 01:13:55,800 --> 01:13:57,500 up all of your access control lists. 1037 01:13:57,800 --> 01:14:01,200 And you can set it up so that if there's anything that's changed, it flags it. 1038 01:14:03,140 --> 01:14:05,540 ACL Reporter is a tool that will run on your notes server. 1039 01:14:05,740 --> 01:14:09,980 It will collect up all of your access controls and flag those that have changed and those 1040 01:14:09,980 --> 01:14:16,400 that deviate from a rule set, so that if you've got a rule that says default access is always 1041 01:14:17,400 --> 01:14:20,860 defaulted to no access and somebody changes it, it flags it for you. 1042 01:14:20,900 --> 01:14:23,740 You can go back, see who did it, and correct it. 1043 01:14:24,480 --> 01:14:28,340 Unfortunately, I've found most admins will run it and not check the logs. 1044 01:14:30,420 --> 01:14:31,240 ACL Reporter. 1045 01:14:31,400 --> 01:14:34,160 ACL Reporter, I'm not sure how much it costs. 1046 01:14:34,900 --> 01:14:38,040 It is possible to duplicate the functionality and load a script, though. 1047 01:14:39,500 --> 01:14:41,760 Yeah, IBM actually has a database tool. 1048 01:14:41,880 --> 01:14:44,480 It's actually a database application you can run on your server. 1049 01:14:44,600 --> 01:14:46,320 And it will do something very similar. 1050 01:14:46,400 --> 01:14:50,000 And the database is all the current ACLs. 1051 01:14:50,660 --> 01:14:53,240 Like I said, I've been using Nessus for quite a while. 1052 01:14:53,440 --> 01:14:56,000 And this will do the same thing from the web server standpoint. 1053 01:15:01,960 --> 01:15:03,700 We didn't have enough problems already. 1054 01:15:17,620 --> 01:15:18,500 All right. 1055 01:15:18,700 --> 01:15:20,740 These are crucial ones to look at. 1056 01:15:20,880 --> 01:15:27,380 A lot of times when we've actually, when I've gone out and looked at somebody's server, 1057 01:15:28,380 --> 01:15:32,020 quite often, well, typically the name is in the address book. 1058 01:15:32,100 --> 01:15:33,680 If it's actually ever been used as a server. 1059 01:15:33,680 --> 01:15:34,300 Staging server. 1060 01:15:35,320 --> 01:15:36,080 Staging server. 1061 01:15:36,240 --> 01:15:38,820 In other words, they've done a whole lot of development on it. 1062 01:15:38,880 --> 01:15:42,500 And they've ramped it up to a production box for development purposes. 1063 01:15:42,660 --> 01:15:45,840 A lot of times the admins just gave full access to the name and address book. 1064 01:15:46,380 --> 01:15:47,860 Forgot to go back and change it. 1065 01:15:49,360 --> 01:15:54,840 You need to make sure at least, at the minimum, check the top two. 1066 01:15:54,980 --> 01:15:56,700 Name and address book and catalog. 1067 01:15:57,020 --> 01:16:03,580 The reason catalog has its sole purpose is actually to catalog. 1068 01:16:03,580 --> 01:16:05,300 Catalog everything on your domino environment. 1069 01:16:06,160 --> 01:16:11,000 And that includes documenting the access control list of each database. 1070 01:16:12,140 --> 01:16:17,260 I've actually, one of the Nessus scripts I've got will go off and query the catalog database. 1071 01:16:17,880 --> 01:16:20,220 Retrieve with just a couple of XML requests. 1072 01:16:21,480 --> 01:16:24,020 Not a hundred or anything like that. 1073 01:16:24,160 --> 01:16:25,220 Just a couple of requests. 1074 01:16:25,500 --> 01:16:28,780 And we'll pull back everything that's under default and no signature. 1075 01:16:30,920 --> 01:16:33,540 And since, like the point I made earlier. 1076 01:16:33,700 --> 01:16:38,960 Since most administrators have not created a view in their dom log for XML requests. 1077 01:16:39,460 --> 01:16:41,440 They filtered out everything else. 1078 01:16:41,720 --> 01:16:43,680 They're only pulling back the HTML. 1079 01:16:44,320 --> 01:16:46,400 What HTML requests were made. 1080 01:16:46,540 --> 01:16:48,360 They'll never actually see what I've just done. 1081 01:16:48,900 --> 01:16:54,220 And I now know where all third party and internally developed notes applications reside on their server. 1082 01:16:54,340 --> 01:16:56,100 And what the access control lists are. 1083 01:16:57,980 --> 01:16:59,360 The server ID. 1084 01:17:00,420 --> 01:17:06,220 There's, we have still to this day in the notes documentation. 1085 01:17:06,660 --> 01:17:08,920 There's kind of a quandary with this. 1086 01:17:09,800 --> 01:17:11,140 Regarding the ID file. 1087 01:17:11,380 --> 01:17:13,300 Like the gentleman over here made the comment. 1088 01:17:13,460 --> 01:17:15,920 Most servers do not have an ID file. 1089 01:17:16,160 --> 01:17:18,440 Do not have a password on their ID file. 1090 01:17:18,740 --> 01:17:23,960 That ID file for the server is technically the same as a user ID file. 1091 01:17:24,180 --> 01:17:25,520 The only difference is. 1092 01:17:25,520 --> 01:17:27,900 Is the information stored in the names and address book. 1093 01:17:28,280 --> 01:17:29,920 I can use a server ID. 1094 01:17:30,420 --> 01:17:31,820 Load it up in my client. 1095 01:17:32,320 --> 01:17:34,460 And access another server. 1096 01:17:34,560 --> 01:17:35,440 Not the same server. 1097 01:17:35,540 --> 01:17:36,300 But another server. 1098 01:17:36,540 --> 01:17:37,920 Within the same environment. 1099 01:17:38,060 --> 01:17:39,100 Or the same organization. 1100 01:17:41,720 --> 01:17:44,660 And be able to read it just as if, almost if I was a server. 1101 01:17:44,940 --> 01:17:46,380 There's of course some exceptions. 1102 01:17:46,540 --> 01:17:51,640 If a database actually has the type and the ACL set to only a server. 1103 01:17:51,880 --> 01:17:53,720 They'll see I'm accessing it with a client. 1104 01:17:53,720 --> 01:17:55,660 And it won't let me open that. 1105 01:17:56,360 --> 01:17:59,800 But a lot, since a lot of you guys don't always have that set. 1106 01:18:01,580 --> 01:18:04,480 I still, I'll be able to get in and access that database. 1107 01:18:06,280 --> 01:18:07,220 The ID file. 1108 01:18:07,360 --> 01:18:10,040 Another really good point was the directory traversal. 1109 01:18:10,600 --> 01:18:13,100 If the ID file was actually in the data directory. 1110 01:18:13,220 --> 01:18:14,720 And I could retrieve it. 1111 01:18:14,820 --> 01:18:16,600 From the data directory. 1112 01:18:17,200 --> 01:18:18,520 Across the web server. 1113 01:18:20,140 --> 01:18:22,440 So you need to make sure you've got passwords on it. 1114 01:18:22,440 --> 01:18:24,420 The quandary where I was mentioning. 1115 01:18:24,600 --> 01:18:26,000 Was that Lotus actually recommends. 1116 01:18:26,420 --> 01:18:30,160 If you want to use the auto restart functionality. 1117 01:18:30,820 --> 01:18:33,640 Don't set a password on that server ID file. 1118 01:18:34,620 --> 01:18:36,440 So you've got one part of the documentation. 1119 01:18:36,460 --> 01:18:38,820 That says put a password on that ID file. 1120 01:18:38,980 --> 01:18:40,360 And another part says don't. 1121 01:18:41,280 --> 01:18:41,740 So. 1122 01:18:44,440 --> 01:18:44,900 Okay. 1123 01:18:49,600 --> 01:18:50,480 Here with the. 1124 01:18:50,560 --> 01:18:52,120 This is going to get just a. 1125 01:18:52,440 --> 01:18:53,960 We'll touch on the web server. 1126 01:18:54,120 --> 01:18:55,060 There'll be more information. 1127 01:18:55,180 --> 01:18:56,760 Since we're not probably going to get to this. 1128 01:18:57,180 --> 01:18:59,900 This is where it actually has to do with creative surfing. 1129 01:19:01,440 --> 01:19:05,360 The URL language for the domino server is extremely powerful. 1130 01:19:05,580 --> 01:19:07,480 And most applications make use of it. 1131 01:19:07,800 --> 01:19:10,060 Where we run into problems is that. 1132 01:19:10,220 --> 01:19:11,460 With all that functionality. 1133 01:19:11,800 --> 01:19:12,660 You can do things. 1134 01:19:13,180 --> 01:19:16,340 You can retrieve information out of badly designed databases. 1135 01:19:17,000 --> 01:19:19,100 This includes the names and address book. 1136 01:19:20,880 --> 01:19:25,880 Here we have just kind of a synopsis of how the language is actually structured. 1137 01:19:26,460 --> 01:19:31,900 I would ask you to consult the developers and the administrators databases. 1138 01:19:33,880 --> 01:19:37,340 The help databases for the administrator and the developers. 1139 01:19:37,720 --> 01:19:39,020 For more information. 1140 01:19:39,260 --> 01:19:42,500 But this is basically how it's constructed. 1141 01:19:43,120 --> 01:19:45,420 Using this you can actually come across. 1142 01:19:45,760 --> 01:19:48,560 I'll give you a very quick demo. 1143 01:19:48,560 --> 01:19:51,260 I need Internet Explorer. 1144 01:19:54,980 --> 01:19:57,500 See Internet Explorer at the bottom there. 1145 01:20:36,480 --> 01:20:37,880 Okay. 1146 01:20:38,880 --> 01:20:40,280 Okay. 1147 01:20:40,560 --> 01:20:41,960 Okay. 1148 01:20:43,540 --> 01:20:44,940 Okay. 1149 01:20:48,680 --> 01:20:49,120 Okay. 1150 01:20:49,260 --> 01:20:49,700 Okay. 1151 01:20:49,700 --> 01:20:49,860 All right. 1152 01:20:49,940 --> 01:20:53,000 And the example I'm fixing to show you to retrieve a list of users. 1153 01:20:53,700 --> 01:20:58,300 The way Lotus actually intended you to see this information from a web browser. 1154 01:20:59,700 --> 01:21:00,300 All right. 1155 01:21:00,300 --> 01:21:03,200 I've actually got the literal view name described. 1156 01:21:03,580 --> 01:21:04,880 Appended here after this. 1157 01:21:05,440 --> 01:21:06,240 And the URL. 1158 01:21:06,320 --> 01:21:07,160 We have the host name. 1159 01:21:07,300 --> 01:21:08,440 We have the database name. 1160 01:21:08,520 --> 01:21:09,340 And we have the view name. 1161 01:21:09,440 --> 01:21:10,060 Which is people. 1162 01:21:10,600 --> 01:21:15,320 And what that actually produces for us is what Lotus actually wanted you to see. 1163 01:21:15,460 --> 01:21:16,620 And it looks like this. 1164 01:21:16,620 --> 01:21:16,740 address. 1165 01:21:17,380 --> 01:21:24,720 We have the listing of the users here, so I'll just pick one of these. 1166 01:21:25,800 --> 01:21:31,520 As you can see, since we don't actually have ... Actually, I believe we do, but if we did 1167 01:21:31,520 --> 01:21:32,840 not have ... No, we don't. 1168 01:21:33,000 --> 01:21:39,640 We do not have edit access to this, to the name and address book, so as a result we cannot 1169 01:21:39,640 --> 01:21:41,100 see the internet password here. 1170 01:21:41,660 --> 01:21:51,120 But, if we actually just change, calling it from the people view to the dollar users view 1171 01:21:51,120 --> 01:21:55,120 ... I can't really read it, but I think that's it. 1172 01:21:55,620 --> 01:21:56,620 No, that's not it. 1173 01:22:01,000 --> 01:22:02,600 These screens are just horrible. 1174 01:22:02,760 --> 01:22:03,160 I'm sorry. 1175 01:22:05,100 --> 01:22:06,020 I'm sorry. 1176 01:22:06,220 --> 01:22:06,440 I'm sorry. 1177 01:22:06,980 --> 01:22:07,520 I'm sorry. 1178 01:22:10,080 --> 01:22:10,620 I'm sorry. 1179 01:22:10,620 --> 01:22:10,680 I'm sorry. 1180 01:22:10,680 --> 01:22:10,700 I'm sorry. 1181 01:22:10,780 --> 01:22:13,480 Okay, here is the dollar users view. 1182 01:22:18,740 --> 01:22:27,300 Now we actually ... This is a different view in notes, and if we scroll all the way over 1183 01:22:27,300 --> 01:22:34,080 here we'll see that in this view, which we've actually changed in the URL itself, we'll 1184 01:22:34,080 --> 01:22:39,140 produce a listing which will actually reveal all the HTTP passwords for us, even though 1185 01:22:39,140 --> 01:22:40,680 we do not have sufficient writing. 1186 01:22:42,120 --> 01:22:42,920 So there we are. 1187 01:22:43,320 --> 01:22:43,680 We have a couple more options. 1188 01:22:43,680 --> 01:22:44,300 We go to our 1189 01:22:50,780 --> 01:22:53,800 I'm having a real problem with these screens guys. 1190 01:23:06,540 --> 01:23:10,160 So there ... You can't really read this, and I apologize. 1191 01:23:10,340 --> 01:23:10,660 Again ... 1192 01:23:10,660 --> 01:23:19,440 But these are the HTTP hashes here, where we did not have enough access right underneath the viewable view. 1193 01:23:20,060 --> 01:23:26,900 Under the hidden view, using the $users view, we can now actually pull all this information up, 1194 01:23:27,000 --> 01:23:31,760 and we can retrieve all the HTTP hashes and other information, which was not actually intended. 1195 01:23:32,180 --> 01:23:35,600 We see this a lot, and this is what I was talking about with Creative Surfing. 1196 01:23:35,600 --> 01:23:41,620 By using the Domino URL language, when you modify this, the URL syntax of this, 1197 01:23:41,680 --> 01:23:48,460 you can actually obtain other views, which the developer did not intend you to actually be able to retrieve data from. 1198 01:23:52,940 --> 01:23:53,460 So... 1199 01:24:05,600 --> 01:24:06,980 So we're going to skip through here. 1200 01:24:07,080 --> 01:24:08,460 This is what I was just talking about. 1201 01:24:09,400 --> 01:24:10,940 And here you've actually just... 1202 01:24:10,940 --> 01:24:15,360 Since we don't have enough time, this is actually one of the NASA scripts, which is running from the command line. 1203 01:24:15,560 --> 01:24:19,340 And I'm actually retrieving all the information from the name and address book... 1204 01:24:19,800 --> 01:24:25,460 from the catalog database, regarding other databases and what their access control lists are. 1205 01:24:26,840 --> 01:24:30,540 And again, that will all be available on notessecurity.com. 1206 01:24:33,440 --> 01:24:35,580 So to skip ahead to the conclusions here... 1207 01:24:35,600 --> 01:24:36,300 real quick... 1208 01:24:38,080 --> 01:24:40,980 There's all sorts of multiple vulnerabilities. 1209 01:24:41,280 --> 01:24:42,800 I'm sorry, we've only got six minutes left. 1210 01:24:42,980 --> 01:24:44,380 That's why I'm having to hurry through here. 1211 01:24:46,340 --> 01:24:46,980 Go ahead. 1212 01:24:47,760 --> 01:24:49,680 Just move through about every 15 seconds. 1213 01:24:50,640 --> 01:24:55,340 In terms of workstation security, you can get malicious code to execute. 1214 01:24:55,660 --> 01:24:59,180 I think we did get that working, where everyone should have been able to see it. 1215 01:24:59,820 --> 01:25:04,480 With stored forms, we can reset ECLs, bypass ECLs, 1216 01:25:04,480 --> 01:25:06,900 with OLE and API calls. 1217 01:25:10,140 --> 01:25:16,540 On the domino server security, using the URL constructs, 1218 01:25:16,540 --> 01:25:18,720 you can actually view unintended content. 1219 01:25:19,240 --> 01:25:21,400 You can actually even modify that. 1220 01:25:21,520 --> 01:25:23,880 You can upload content. 1221 01:25:24,020 --> 01:25:32,240 You can modify the names and address book using some of those custom or creative web surfing constructs. 1222 01:25:33,240 --> 01:25:35,020 The server ID can be stolen. 1223 01:25:35,400 --> 01:25:39,600 Once you've got that, you can get into usually other areas of a notes network. 1224 01:25:41,420 --> 01:25:44,260 Again, the server ID is just the same as the user ID. 1225 01:25:44,560 --> 01:25:46,800 So make sure you've got passwords on those. 1226 01:25:50,660 --> 01:25:51,920 One other thing. 1227 01:25:52,000 --> 01:25:54,400 Coaxial Karma has actually got a couple of utilities. 1228 01:25:55,200 --> 01:25:57,440 A lot of people seem to be very unaware of this. 1229 01:25:57,600 --> 01:26:01,080 The ACLs in the notes database are actually just text fields. 1230 01:26:01,080 --> 01:26:06,060 If you're not familiar with that, I would ask you to actually check out either, again, 1231 01:26:06,140 --> 01:26:08,660 my website or landofsilence.com. 1232 01:26:09,440 --> 01:26:14,140 The utilities you have is called ACL Modify and ACL Enforce. 1233 01:26:14,280 --> 01:26:20,540 Using those, you can actually turn on and off consistent enforcement of ACLs, 1234 01:26:20,540 --> 01:26:23,620 or you can actually even modify anything you want in the ACL. 1235 01:26:23,820 --> 01:26:27,760 They're just little command line shell utilities for modifying databases. 1236 01:26:28,320 --> 01:26:31,060 This is really important because if you get physical access, 1237 01:26:31,080 --> 01:26:34,800 or direct access to the file system of a domino server, 1238 01:26:35,080 --> 01:26:37,360 there's basically no security left. 1239 01:26:38,180 --> 01:26:39,960 Does that work with encrypted databases? 1240 01:26:40,340 --> 01:26:40,900 Yes. 1241 01:26:45,220 --> 01:26:50,500 IDs can be obtained from the web server, the name and address book, 1242 01:26:50,660 --> 01:26:54,400 with malicious code and email from workstation and local drive. 1243 01:26:54,920 --> 01:26:56,880 We gave you demonstrations on that. 1244 01:26:57,680 --> 01:27:01,060 And unfortunately, I'm sorry, we didn't get Open Sesame to work. 1245 01:27:02,040 --> 01:27:03,960 I'll be glad to show you after this. 1246 01:27:04,100 --> 01:27:06,780 Just come on up and we'll get that running. 1247 01:27:11,900 --> 01:27:16,500 Again, most of these vulnerabilities can be dealt with using various workarounds. 1248 01:27:16,720 --> 01:27:18,580 All this will be documented on my website. 1249 01:27:20,940 --> 01:27:23,220 Don't store the user IDs in the NAB. 1250 01:27:23,480 --> 01:27:26,620 This is really important. Don't do that. 1251 01:27:26,820 --> 01:27:29,520 Store a user ID file on your removable media 1252 01:27:29,520 --> 01:27:31,580 or on an encrypted PGP disk. 1253 01:27:32,880 --> 01:27:35,640 Don't store server ID files in the data directory. 1254 01:27:36,660 --> 01:27:41,100 This is, I can typically, almost everyone does this 1255 01:27:41,100 --> 01:27:44,900 and they name the server ID with the file name server ID. 1256 01:27:45,420 --> 01:27:47,820 This makes it very easy for retrieving those. 1257 01:27:48,740 --> 01:27:50,480 Keep it out of the data directory. 1258 01:27:50,600 --> 01:27:53,200 Put it somewhere else much more obscure. 1259 01:27:54,120 --> 01:27:57,100 So it makes it more difficult for people to retrieve that. 1260 01:27:57,940 --> 01:27:59,340 Choose different passwords. 1261 01:27:59,520 --> 01:28:00,880 As this gentleman pointed out, 1262 01:28:00,920 --> 01:28:04,420 choose different passwords for the ID file and the HTTP accounts. 1263 01:28:05,520 --> 01:28:07,760 Use the strong password hash from Lotus. 1264 01:28:08,380 --> 01:28:10,280 You'll have to manually upgrade that. 1265 01:28:10,360 --> 01:28:13,300 Before you do it, I would ask that you check with any third party 1266 01:28:13,300 --> 01:28:17,580 or an internally developed applications to make sure it's going to work 1267 01:28:17,580 --> 01:28:19,400 if you're using web-based applications 1268 01:28:19,400 --> 01:28:23,520 because you may run into the problem that using the stronger hash 1269 01:28:23,520 --> 01:28:24,840 may break those applications. 1270 01:28:26,520 --> 01:28:28,920 Always exit Lotus Notes whenever you leave your desk. 1271 01:28:29,520 --> 01:28:31,200 Don't use the F5 functionality. 1272 01:28:31,800 --> 01:28:33,740 Using Sesame, you can get around that. 1273 01:28:38,760 --> 01:28:40,260 Enforce ACLs on all databases, 1274 01:28:40,400 --> 01:28:44,060 but at the same time make sure your operating system is completely secure. 1275 01:28:44,400 --> 01:28:46,440 Do not run it on a file server. 1276 01:28:46,660 --> 01:28:48,220 Do not run it on a print server. 1277 01:28:48,520 --> 01:28:50,620 Make sure it is completely tightened down. 1278 01:28:54,780 --> 01:28:55,620 Now let's go ahead. 1279 01:28:55,860 --> 01:28:56,640 We've got to hurry. 1280 01:28:58,500 --> 01:29:00,220 Yeah, here again, here's the URLs. 1281 01:29:00,340 --> 01:29:02,640 You'll be able to go to fallingdominoes.com. 1282 01:29:05,960 --> 01:29:09,520 That will basically take you to notessecurity.com. 1283 01:29:09,640 --> 01:29:11,580 Falling Dominoes is the name of this presentation. 1284 01:29:12,340 --> 01:29:15,780 But Notes Security, all this information in greater detail 1285 01:29:15,780 --> 01:29:17,100 will be available on this website. 1286 01:29:18,800 --> 01:29:20,400 Keep checking on Bug Track. 1287 01:29:21,380 --> 01:29:24,440 I've got Lotus's security zone up here, 1288 01:29:24,560 --> 01:29:26,620 but don't rely on that as your security. 1289 01:29:26,640 --> 01:29:28,320 It's your chief security zone 1290 01:29:28,320 --> 01:29:30,580 or security website for Lotus Notes vulnerabilities. 1291 01:29:31,940 --> 01:29:35,440 They've not done a very good job on that, unfortunately. 1292 01:29:37,840 --> 01:29:41,920 Make sure, hire security consultants to come in and review it. 1293 01:29:42,040 --> 01:29:44,020 Experienced Domino security consultants 1294 01:29:44,020 --> 01:29:45,560 to review your infrastructure. 1295 01:29:46,500 --> 01:29:49,640 If you're not doing that, you're taking risks you shouldn't be taking. 1296 01:29:51,220 --> 01:29:54,380 And again, here's the URLs for landofsilence.com, 1297 01:29:54,540 --> 01:29:56,260 Counterpane, Falling Dominoes, 1298 01:29:56,640 --> 01:29:57,420 security.com, 1299 01:29:57,920 --> 01:30:00,760 where you'll be able to find more information later this week. 1300 01:30:03,280 --> 01:30:04,100 And that's it. 1301 01:30:04,160 --> 01:30:05,040 Are there any other questions? 1302 01:30:06,140 --> 01:30:06,620 Yeah? 1303 01:30:07,700 --> 01:30:08,180 . 1304 01:30:12,160 --> 01:30:14,700 Yes, if the target is an NT server? 1305 01:30:14,960 --> 01:30:16,040 Yes, it will. 1306 01:30:16,460 --> 01:30:16,940 . 1307 01:30:19,200 --> 01:30:19,680 Yes. 1308 01:30:20,760 --> 01:30:21,240 Yeah? 1309 01:30:22,960 --> 01:30:23,440 . 1310 01:30:27,800 --> 01:30:28,320 . 1311 01:30:29,880 --> 01:30:34,960 How many have I actually done, been hired to do? 1312 01:30:35,780 --> 01:30:36,300 . 1313 01:30:37,340 --> 01:30:40,940 We did some statistics and probably 80% of the Domino servers 1314 01:30:40,940 --> 01:30:43,300 that are out there, which are running as web servers, 1315 01:30:43,520 --> 01:30:44,660 are completely open. 1316 01:30:46,300 --> 01:30:52,260 I've been contracted by no more than 10 in the last year, 1317 01:30:52,260 --> 01:30:53,700 which is really sad. 1318 01:30:57,780 --> 01:30:58,560 Anyone else? 1319 01:31:01,180 --> 01:31:02,460 Okay, you guys are free to go. 1320 01:31:03,820 --> 01:31:04,220 . 1321 01:31:04,220 --> 01:31:04,980 . 1322 01:31:04,980 --> 01:31:05,820 . 1323 01:31:05,820 --> 01:31:06,360 . 1324 01:31:06,360 --> 01:31:07,080 . 1325 01:31:07,080 --> 01:31:07,380 . 1326 01:31:07,380 --> 01:31:07,460 . 1327 01:31:07,460 --> 01:31:07,500 . 1328 01:31:07,500 --> 01:31:08,460 . 1329 01:31:08,460 --> 01:31:08,580 . 1330 01:31:08,580 --> 01:31:08,820 .