1 00:00:01,300 --> 00:00:09,120 All right. Hello. Welcome to Track the Planet. Today we're going to be talking a little bit about user enumeration in Azure. 2 00:00:09,420 --> 00:00:19,680 And I hope to demonstrate to you today a little bit about why user enumeration is a vulnerability and why it should be taken seriously. 3 00:00:20,240 --> 00:00:26,840 So with that, a little bit about me. I'm Nick Skeek. I'm over at TrustedSec, but this research is my own. 4 00:00:28,360 --> 00:00:33,080 This talk is about user enumeration, and there are no zero days being announced here. 5 00:00:33,140 --> 00:00:40,500 There's nothing really like no hotness really except for some really just taking advantage of things that are already existing. 6 00:00:40,840 --> 00:00:45,620 Microsoft knows about all of this. There's nothing new being announced that's going to be a surprise to them. 7 00:00:46,900 --> 00:00:47,780 Well, maybe. 8 00:00:49,020 --> 00:00:49,500 So. 9 00:00:49,680 --> 00:00:52,500 First, let's really just talk about user enumeration and why it matters. 10 00:00:53,300 --> 00:00:54,380 So what is it? 11 00:00:54,940 --> 00:00:59,260 User enumeration is the ability to determine if a user is valid on a system. 12 00:00:59,480 --> 00:01:01,600 There's various ways of doing it, especially in Azure. 13 00:01:02,260 --> 00:01:07,540 But some examples here, you can see verbose responses just saying if the user name is invalid or not. 14 00:01:08,100 --> 00:01:09,220 There's time-based ones. 15 00:01:09,780 --> 00:01:12,740 And then you might do one that's web-based. 16 00:01:12,880 --> 00:01:16,880 You know, maybe it's a 404 if it doesn't exist and a 302 or a 401 if it does exist. 17 00:01:17,040 --> 00:01:18,160 So there's various ways of doing this. 18 00:01:18,160 --> 00:01:20,740 And it is a security flaw. 19 00:01:20,880 --> 00:01:22,260 We use it all the time in pen testing. 20 00:01:22,420 --> 00:01:31,700 It enables all of these different attacks, primarily password sprays, phishing, and then the occasional targeted RCE that can affect users if you have their email address. 21 00:01:32,500 --> 00:01:33,820 It's an unnecessary feature. 22 00:01:33,960 --> 00:01:35,020 It doesn't need to be here. 23 00:01:35,120 --> 00:01:36,160 It's purely cosmetic. 24 00:01:36,340 --> 00:01:39,160 And then it also allows the identification of targets. 25 00:01:39,500 --> 00:01:39,980 Right? 26 00:01:40,020 --> 00:01:43,200 So we often use first dot last name. 27 00:01:43,280 --> 00:01:45,920 We use our identities in our email addresses. 28 00:01:46,160 --> 00:01:47,260 So when that's possible. 29 00:01:47,260 --> 00:01:53,320 It's possible then to not just identify a user name, like a numeric user name. 30 00:01:53,400 --> 00:01:56,100 But when it's John Smith, you know that person's identity. 31 00:01:56,360 --> 00:01:56,980 You can find them. 32 00:01:57,420 --> 00:02:01,820 So this is a dangerous thing because it allows all of these different attacks to happen. 33 00:02:03,180 --> 00:02:04,460 Especially with password sprays. 34 00:02:04,480 --> 00:02:05,520 I just want to mention on this real quick. 35 00:02:05,820 --> 00:02:07,580 It is enormous. 36 00:02:07,840 --> 00:02:11,380 If you are on a pen test and you can't do user enumeration, you're going to have a bad time. 37 00:02:11,940 --> 00:02:14,580 If you're looking at, like, for instance, J Smith format. 38 00:02:14,780 --> 00:02:16,480 If you're using census data from 2010. 39 00:02:16,480 --> 00:02:17,960 That's 4.2 million lines. 40 00:02:18,500 --> 00:02:21,520 If you can reduce that to 2,000 lines or less, right? 41 00:02:21,680 --> 00:02:23,600 If you can find just the valid users. 42 00:02:23,680 --> 00:02:26,420 Now all of a sudden you're not wasting a day doing password sprays. 43 00:02:26,440 --> 00:02:31,100 You can rotate every hour or as often as you can without setting their lockout up. 44 00:02:31,980 --> 00:02:33,600 So it's huge for that. 45 00:02:33,680 --> 00:02:36,180 It wouldn't really be possible if it wasn't for user enumeration. 46 00:02:36,480 --> 00:02:38,040 It would be not worth the time. 47 00:02:39,100 --> 00:02:45,440 And often, if you've ever dumped a domain controller, I'm sure that you know that there's always one or two bad passwords in there. 48 00:02:45,440 --> 00:02:52,060 I can count on one hand the number of times that I've dumped a DC and not found anything that I was like, oh, yeah, that's, yeah. 49 00:02:52,280 --> 00:03:00,460 So instead of thinking about it like you're trying to guess the password when you're doing password sprays, assume that there's going to be one out of those 100 top passwords in there. 50 00:03:00,760 --> 00:03:02,360 Instead, focus on finding the users. 51 00:03:02,680 --> 00:03:06,480 Because if you can get complete enumeration, you can almost always find a weak password. 52 00:03:06,860 --> 00:03:10,220 So think about it that way instead of thinking about it as trying to find the password. 53 00:03:10,420 --> 00:03:14,040 You're trying to find the user with that weak password that we assume exists somewhere. 54 00:03:15,440 --> 00:03:20,120 So it really matters in Azure because everybody uses Azure. 55 00:03:21,080 --> 00:03:22,580 Not everybody, but nearly. 56 00:03:22,820 --> 00:03:28,500 So in the Fortune 500, for instance, 99% have Azure tenants, whether they use them or not, right? 57 00:03:28,560 --> 00:03:29,640 They might have just registered it. 58 00:03:29,780 --> 00:03:37,420 But out of those, 96% had SharePoint enabled, and I've identified valid usernames via OneDrive in 89% of the Fortune 500. 59 00:03:37,620 --> 00:03:38,740 So they are being used. 60 00:03:38,880 --> 00:03:39,680 It is widespread. 61 00:03:40,800 --> 00:03:44,680 If you look at state government adoption, every state government uses Azure. 62 00:03:44,680 --> 00:03:45,960 This is so widespread. 63 00:03:46,380 --> 00:03:50,460 Everyone is affected by things that come up in Azure, especially with the user enumeration. 64 00:03:51,320 --> 00:03:53,780 There are federal government agencies that use Azure. 65 00:03:55,140 --> 00:04:00,420 Everything has the same vulnerability built in there with OneDrive and other user enumeration methods. 66 00:04:00,900 --> 00:04:03,680 So who might not want to be enumerated, right? 67 00:04:03,720 --> 00:04:06,440 Who might want to stay kind of hidden from view? 68 00:04:07,320 --> 00:04:12,880 There are a number of areas where you think maybe we shouldn't allow them to make lists of potential cyber targets, right? 69 00:04:12,940 --> 00:04:14,140 People that might be targeted. 70 00:04:14,680 --> 00:04:16,400 With phishing, password sprays, et cetera. 71 00:04:18,000 --> 00:04:21,500 And it's not new to think about user enumeration as a vulnerability. 72 00:04:21,680 --> 00:04:24,420 This has been recognized by many large organizations. 73 00:04:27,400 --> 00:04:33,220 It shouldn't be the case that Microsoft makes the argument that user enumeration isn't a vulnerability. 74 00:04:33,980 --> 00:04:39,500 And you can see that they don't take it seriously because if you look from back even to 2014, that's a decade ago almost, 75 00:04:39,760 --> 00:04:43,600 that's when I believe the first exchange time-based user enumeration was identified. 76 00:04:44,760 --> 00:04:46,720 There were multiple loans after that, you can see. 77 00:04:48,320 --> 00:04:52,620 And it's just persistent throughout all their products because they don't consider it a vulnerability. 78 00:04:54,040 --> 00:04:56,900 You can see this actually if you were to go to look at their bounty page. 79 00:04:57,480 --> 00:04:59,660 Out of scope submissions and vulnerabilities. 80 00:05:00,660 --> 00:05:02,320 These are not in scope for submission. 81 00:05:03,520 --> 00:05:04,880 So it's not surprising. 82 00:05:05,000 --> 00:05:08,260 I submitted the SharePoint OneDrive enumeration vulnerability to them. 83 00:05:08,620 --> 00:05:12,960 And you can actually see they actually gave us a really nice verbose response. 84 00:05:14,680 --> 00:05:21,300 So the parts that I want to point out are basically we would not consider it on its own a security vulnerability 85 00:05:21,300 --> 00:05:24,760 and that it's similar to knowing a website IP address. 86 00:05:25,040 --> 00:05:26,660 And that's something that's public, right? 87 00:05:26,960 --> 00:05:30,180 That's not something that's considered private information at all. 88 00:05:30,420 --> 00:05:31,960 So that is their stance on it. 89 00:05:32,340 --> 00:05:33,100 It's not a bug. 90 00:05:33,260 --> 00:05:34,060 It's a feature. 91 00:05:34,220 --> 00:05:34,960 It's built in. 92 00:05:35,320 --> 00:05:39,220 So with that, we arrive at stage one, user enumeration. 93 00:05:41,820 --> 00:05:44,140 So knowing that OneDrive can enumerate users, 94 00:05:44,140 --> 00:05:46,300 and it can do so silently via HTTP. 95 00:05:46,560 --> 00:05:49,500 It's just a head request, and you can tell if the user is valid or not. 96 00:05:50,320 --> 00:05:51,580 It's basically web scraping. 97 00:05:51,780 --> 00:05:55,880 There's no authentication attempt, unlike Graph and other methods where you have to actually try to make a login, 98 00:05:56,000 --> 00:05:59,720 which is sketchy if you're going to try doing something on a large scale. 99 00:06:00,920 --> 00:06:02,840 But OneDrive doesn't have any of those problems. 100 00:06:03,020 --> 00:06:06,040 You can use this, and nobody can see it except for Microsoft. 101 00:06:07,380 --> 00:06:09,600 So there's a few different Azure enumeration methods. 102 00:06:09,700 --> 00:06:11,300 These are the popular ones that I'm aware of. 103 00:06:11,980 --> 00:06:14,060 The Graph one has a logon attempt made. 104 00:06:14,140 --> 00:06:15,140 It shows up in any logs. 105 00:06:15,780 --> 00:06:18,000 That's the normal one that people will use to attack oftentimes. 106 00:06:19,460 --> 00:06:19,860 Oops. 107 00:06:19,980 --> 00:06:20,380 Sorry. 108 00:06:20,600 --> 00:06:21,160 My bad. 109 00:06:21,300 --> 00:06:21,700 Sorry. 110 00:06:22,340 --> 00:06:28,480 So the next one down, Seamless SSL, that's a quiet one, but you get false positives with it. 111 00:06:28,920 --> 00:06:32,520 There's the Teams presence, but you need to have the external access enabled. 112 00:06:32,680 --> 00:06:33,740 We'll be talking about that later. 113 00:06:33,880 --> 00:06:34,840 And so we have OneDrive. 114 00:06:35,240 --> 00:06:37,800 OneDrive has no rate limits, no false positives. 115 00:06:38,220 --> 00:06:38,920 It's simple. 116 00:06:39,540 --> 00:06:41,740 It's easy to script out because it's so easy. 117 00:06:41,860 --> 00:06:44,120 You can, in fact, use Durbuster if you really wanted to. 118 00:06:44,140 --> 00:06:46,760 To do the same type of enumeration. 119 00:06:49,600 --> 00:06:53,600 Now, in order to enumerate a OneDrive user, there are a few things that you need to know. 120 00:06:53,640 --> 00:06:56,200 You need to know the domain name, and you need to know the tenant name. 121 00:06:56,880 --> 00:06:58,640 But you don't always know what the tenant name is. 122 00:06:59,460 --> 00:07:04,800 Oftentimes, it will match the domain name minus the TLD, but that's not always the case. 123 00:07:04,940 --> 00:07:07,560 And, in fact, a good portion of the time, it's not the case. 124 00:07:07,720 --> 00:07:10,420 And so that's an important requirement to doing the OneDrive enumeration. 125 00:07:10,420 --> 00:07:16,300 And, thankfully, Dr. Azure AD, who is amazing, identified a way to do this. 126 00:07:16,360 --> 00:07:18,060 He published it in AAD Internals. 127 00:07:18,140 --> 00:07:22,780 And then Trevor Spray added it into their tool, which is also amazing, and you should check it out. 128 00:07:23,440 --> 00:07:26,700 And it identifies the tenant names using a Microsoft lookup service. 129 00:07:28,120 --> 00:07:31,640 So I implemented these into my own tool, OneDrive enum. 130 00:07:32,080 --> 00:07:36,340 And I started enumerating users. 131 00:07:36,600 --> 00:07:39,300 And I then added networking capabilities. 132 00:07:40,140 --> 00:07:43,520 And just had basically a SQL backend and a bunch of VPSs. 133 00:07:44,120 --> 00:07:48,720 For this, I used Clue, which is not a codified likeness, but it's a cloud lookup utility. 134 00:07:50,140 --> 00:07:54,880 And so that would just talk back to my Tron server and sync up word lists, et cetera. 135 00:07:54,960 --> 00:07:57,280 And then you could run your enumeration on there. 136 00:07:57,360 --> 00:08:01,680 And I had the original Clue crew was only a small squad. 137 00:08:01,860 --> 00:08:05,940 But after about six months or so of doing this, I decided to go a little bit harder. 138 00:08:06,040 --> 00:08:08,280 And we upped it up a little bit. 139 00:08:08,760 --> 00:08:12,520 At one time, I did reach 56, but it was a little, that's too much. 140 00:08:13,780 --> 00:08:15,040 40 was my running. 141 00:08:15,220 --> 00:08:18,840 And over the course of a year and a half, I was able to enumerate 24 million users. 142 00:08:19,140 --> 00:08:22,700 So these are users at the largest organizations in the world. 143 00:08:22,940 --> 00:08:26,600 Not just limited to Fortune 500 and 1000, but I did specifically look at those. 144 00:08:28,700 --> 00:08:31,920 So for reference, 20 million users. 145 00:08:32,000 --> 00:08:38,020 It's kind of hard to imagine, but it's about the state of Florida or Australia or New York State. 146 00:08:39,060 --> 00:08:39,820 It's a lot of users. 147 00:08:42,500 --> 00:08:45,700 So let's take a look at some of the results of the user enumeration that I did. 148 00:08:46,660 --> 00:08:49,040 The total usernames that were found were 24 million. 149 00:08:50,300 --> 00:08:51,920 The unique were about 10 million. 150 00:08:52,800 --> 00:08:56,540 Took about 556 days and averaged around 40K or so a day. 151 00:08:57,960 --> 00:09:00,160 And this was with a small scale operation. 152 00:09:00,420 --> 00:09:02,840 You know, if somebody really wanted to do it, they could scale it up a lot. 153 00:09:04,540 --> 00:09:08,260 So this is the total operating budget for this, by the way, was about $5,000. 154 00:09:08,280 --> 00:09:10,660 So it's more than I wanted to spend. 155 00:09:10,840 --> 00:09:15,160 But it's something that proves that it would be so cheap for anybody in the world to do this. 156 00:09:17,080 --> 00:09:21,280 Now, looking at username formats, when you're trying to identify... 157 00:09:23,360 --> 00:09:23,760 Okay. 158 00:09:27,360 --> 00:09:27,760 So... 159 00:09:31,340 --> 00:09:32,140 Let's try... 160 00:09:35,140 --> 00:09:35,540 So... 161 00:09:38,600 --> 00:09:39,660 I don't know about this. 162 00:09:43,760 --> 00:09:45,340 Microsoft doesn't want this to happen. 163 00:09:48,200 --> 00:09:48,640 Okay. 164 00:09:48,720 --> 00:09:50,540 Well, let's see what we can do here. 165 00:09:51,280 --> 00:09:53,860 So to identify username formats, I use the survey script. 166 00:09:54,900 --> 00:09:59,360 And in doing so, I would run a set of different usernames against that. 167 00:09:59,440 --> 00:10:02,680 And then you can get back the number of the matching formats. 168 00:10:02,740 --> 00:10:06,800 So, for instance, here you can see J. Smith was the top format. 169 00:10:06,800 --> 00:10:09,520 Let me just see if I can jiggle some stuff here. 170 00:10:09,960 --> 00:10:11,120 I might be able to get it going. 171 00:10:14,300 --> 00:10:14,700 Oh. 172 00:10:15,940 --> 00:10:22,820 Well, so going through the different username formats, I actually sprayed this against all of the Fortune 1000 companies. 173 00:10:23,140 --> 00:10:26,360 And we can see overall what were the most prevalent username formats. 174 00:10:26,780 --> 00:10:29,760 We have John Smith as the top, followed by J. Smith, etc. 175 00:10:30,720 --> 00:10:32,140 It's just kind of interesting to see. 176 00:10:32,320 --> 00:10:36,300 The one thing you have to realize, though, is that this is probably not really... 177 00:10:36,940 --> 00:10:37,380 perfect. 178 00:10:37,880 --> 00:10:43,760 You know, obviously there's more variation in John Smith username formats than there are in J. Smith. 179 00:10:44,060 --> 00:10:47,080 So it's going to be a little bit skewed. 180 00:10:47,100 --> 00:10:50,020 John Smith is probably underrepresented in this survey here. 181 00:10:53,560 --> 00:11:00,500 One of the interesting things that I identified when I was doing this is that I had originally assumed that people would have one username format. 182 00:11:00,740 --> 00:11:02,200 That it would only be the single one. 183 00:11:02,560 --> 00:11:03,840 But that's not the case, right? 184 00:11:03,900 --> 00:11:05,580 Because you run out of username space eventually. 185 00:11:06,300 --> 00:11:10,820 So starting with J. Smith, you have to do something when you get that, you know, 2,000th user or so. 186 00:11:11,600 --> 00:11:12,720 And you can do it a few ways. 187 00:11:12,800 --> 00:11:13,840 You can either go up in digits. 188 00:11:14,560 --> 00:11:15,540 You can add a format. 189 00:11:15,720 --> 00:11:17,880 You can switch over from J. Smith to JJ Smith, for instance. 190 00:11:17,980 --> 00:11:18,540 Something like that. 191 00:11:18,720 --> 00:11:19,680 Or you truncate it. 192 00:11:19,720 --> 00:11:23,840 And those are the main areas that I saw organizations would move as they were doing this. 193 00:11:24,200 --> 00:11:29,920 So I went through and I kind of did a catalog of that as well, looking at what combinations were used. 194 00:11:30,140 --> 00:11:35,300 So you can see here that it's actually sorted also, commonly limited by popularity. 195 00:11:36,380 --> 00:11:40,380 So the third and fourth lines down, they're basically the same thing but flipped, right? 196 00:11:41,880 --> 00:11:45,080 So it's just kind of interesting to see the variations and how they fall out. 197 00:11:46,740 --> 00:11:54,400 So looking at Fortune 1000 companies, I just pulled these out specifically just so we'd be targeting large organizations and not picking on anybody really small. 198 00:11:54,700 --> 00:11:58,540 But just to show kind of what type of user enumeration is possible. 199 00:11:58,700 --> 00:12:01,480 And you'll notice here that a lot of these actually are over 100%. 200 00:12:01,480 --> 00:12:04,480 And the reason for that is with OneDrive, you actually... 201 00:12:04,480 --> 00:12:10,120 The URL exists until you delete the user and then you empty your recycle bin. 202 00:12:10,240 --> 00:12:13,620 So if you have a long retention policy, that's going to keep them in there a long time. 203 00:12:13,700 --> 00:12:18,340 And or if you have a high turnover, that would also super inflate your findings there. 204 00:12:18,600 --> 00:12:22,000 But at any rate, even for an attacker, that reduces it drastically. 205 00:12:22,360 --> 00:12:23,120 So it's still worthwhile. 206 00:12:27,480 --> 00:12:33,020 So in Azure, there are tenants and then there are domain or email addresses associated with those tenants. 207 00:12:34,480 --> 00:12:39,900 There are some multi-tenant domain or organizations like Microsoft where you can see they have their main Microsoft. 208 00:12:40,140 --> 00:12:42,280 But then they also have APC in Europe, etc. 209 00:12:42,600 --> 00:12:45,340 And this is just the breakdown of the users I found there. 210 00:12:45,420 --> 00:12:50,000 I got about 126K in Microsoft's main tenant on Microsoft.com. 211 00:12:50,700 --> 00:12:52,240 You can see LinkedIn is in there. 212 00:12:52,880 --> 00:12:55,040 I had forgotten that they had acquired that. 213 00:12:55,360 --> 00:13:00,220 And then you can see actually there is a Microsoft APC or Microsoft Europe. 214 00:13:00,320 --> 00:13:02,320 Yeah, both of Microsoft.com domains there. 215 00:13:02,360 --> 00:13:03,600 So you can see how they're actually split up. 216 00:13:04,480 --> 00:13:09,260 So if you're an attacker, you could actually target one of those specific geographic locations based on that tenant name. 217 00:13:16,420 --> 00:13:17,940 So got phase one done. 218 00:13:18,820 --> 00:13:20,500 Does anybody remember what phase two is? 219 00:13:23,500 --> 00:13:25,840 We're going to do some presence enumeration here. 220 00:13:26,400 --> 00:13:27,220 Stage two. 221 00:13:28,700 --> 00:13:30,380 So to do this, we're going to monitor teams. 222 00:13:30,720 --> 00:13:34,280 Before we talk about that, I'm just going to give you a real brief timeline here about teams. 223 00:13:34,480 --> 00:13:36,180 And prior to that, Skype for Business. 224 00:13:36,280 --> 00:13:37,440 And prior to that, Lync. 225 00:13:37,580 --> 00:13:39,560 And before that, Office Communicator, I guess. 226 00:13:39,960 --> 00:13:41,420 But they're all really the same thing. 227 00:13:41,540 --> 00:13:43,140 They're just incarnations of it. 228 00:13:43,140 --> 00:13:44,000 Again, they label it new. 229 00:13:44,080 --> 00:13:45,280 But they all have the same problems. 230 00:13:45,800 --> 00:13:49,180 So here, it started out with being called Open Federation. 231 00:13:49,460 --> 00:13:52,520 And that lets anybody from anywhere message people at your organization. 232 00:13:53,240 --> 00:13:54,380 That's back when it was Lync. 233 00:13:54,920 --> 00:14:02,860 I just want to point out here, in 2016, Carl Fossum spoke about Power Skype and attacking Federated Skype for Business at DerbyCon. 234 00:14:02,860 --> 00:14:08,660 That was the first talk that I'm aware of where anybody discussed using presence enumeration. 235 00:14:08,880 --> 00:14:10,380 And he had a great tool for it there. 236 00:14:10,540 --> 00:14:13,220 They eventually did shut down the PowerShell APIs that were on the back end. 237 00:14:13,320 --> 00:14:14,560 But it had a good run. 238 00:14:14,900 --> 00:14:17,880 And so this problem with presence enumeration is not new. 239 00:14:18,680 --> 00:14:21,060 I actually had a little side project here. 240 00:14:21,220 --> 00:14:22,320 I was going to release it. 241 00:14:22,340 --> 00:14:23,140 You know how things happen. 242 00:14:24,080 --> 00:14:26,100 You don't end up getting around to releasing it. 243 00:14:26,340 --> 00:14:29,040 But I was trying to prove that this is a problem back then. 244 00:14:29,340 --> 00:14:32,840 And so I took a bunch of the CEOs from the biggest corporations in the world. 245 00:14:32,860 --> 00:14:36,620 And I would monitor their online presence so you could look at a website and see if they're online or not. 246 00:14:36,720 --> 00:14:39,800 You could message them directly because they have external access enabled. 247 00:14:40,840 --> 00:14:44,500 So that was just kind of a thing to prove out that this is an issue back then. 248 00:14:44,580 --> 00:14:45,880 So this is not a new thing at all. 249 00:14:47,320 --> 00:14:48,960 Right now it's called external access. 250 00:14:49,220 --> 00:14:49,900 And that's in Teams. 251 00:14:50,240 --> 00:14:53,800 And it's the default setting to have it enabled to let anybody speak with you. 252 00:14:54,980 --> 00:14:55,960 You can see it right there. 253 00:14:56,020 --> 00:14:59,660 And you might recognize it from an Outlook if you ever see a green dot show up next to somebody's email. 254 00:14:59,840 --> 00:15:02,360 And you have the Teams plug-in installed. 255 00:15:02,860 --> 00:15:03,460 That's what that is. 256 00:15:05,960 --> 00:15:07,740 So again, it's not a bug. 257 00:15:08,080 --> 00:15:08,760 It's a feature. 258 00:15:11,100 --> 00:15:15,460 So one day while I was playing with Graph Explorer, I noticed that there was a feature in there for presence lookups. 259 00:15:15,840 --> 00:15:17,420 So you can look up somebody's presence. 260 00:15:17,620 --> 00:15:19,240 And you're using unauthenticated. 261 00:15:19,360 --> 00:15:19,960 You're on the outside. 262 00:15:21,320 --> 00:15:23,200 And somehow it was doing the presence lookup. 263 00:15:23,280 --> 00:15:26,620 And I was like, wait, that's kind of weird because you need to be licensed. 264 00:15:26,840 --> 00:15:27,760 You need to be logged in to do that. 265 00:15:28,340 --> 00:15:30,160 So I started playing with it in Burp. 266 00:15:30,620 --> 00:15:35,360 And it turns out there's a weird bearer token set. 267 00:15:35,440 --> 00:15:37,980 And if you're familiar with bearer tokens, that is not a normal bearer token. 268 00:15:38,780 --> 00:15:40,060 So I went digging around. 269 00:15:40,280 --> 00:15:45,560 And lo and behold, in the source code, they have a bypass to make anonymous presence lookups. 270 00:15:46,280 --> 00:15:47,380 It's on GitHub even. 271 00:15:48,040 --> 00:15:53,440 And so here you can actually see they're proxying the graph request through graph.office.net. 272 00:15:53,940 --> 00:15:59,900 So with this, if you have the UUID, which is that last item there on the right, the long string of characters, 273 00:16:00,160 --> 00:16:03,480 if you have that for a user, you can check their presence via this lookup. 274 00:16:05,480 --> 00:16:08,800 So enter team filtration. 275 00:16:09,840 --> 00:16:12,660 So this was released last year actually at DEF CON 30. 276 00:16:13,040 --> 00:16:14,820 And you can use it to enumerate teams. 277 00:16:16,260 --> 00:16:18,720 Microsoft messed a little bit with the external access enumeration. 278 00:16:18,840 --> 00:16:20,900 But you can still do it if they have external access enabled. 279 00:16:21,480 --> 00:16:25,500 Prior to that, you could tell even if they didn't have external access enabled, you could still enumerate them via that. 280 00:16:25,780 --> 00:16:29,900 At any rate, what we're looking for are the GUIDs that they can look up for teams. 281 00:16:31,760 --> 00:16:34,900 So we can now pull down a list of users' GUIDs. 282 00:16:35,460 --> 00:16:43,200 And using that previous trick, we can start looking up their presence without having to worry about any authentication. 283 00:16:43,220 --> 00:16:46,280 We're not using an actual account or anything. 284 00:16:46,640 --> 00:16:49,640 So you can do this purely anonymously. 285 00:16:50,080 --> 00:16:51,800 Now beware, there are limits on this. 286 00:16:51,900 --> 00:16:53,520 There are rate limits on this. 287 00:16:53,940 --> 00:16:56,880 And so keep that in mind. 288 00:16:56,980 --> 00:16:58,500 There will be a tool drop later. 289 00:16:58,500 --> 00:17:00,020 If you're looking for it right now, I'm sorry, it's not there. 290 00:17:00,120 --> 00:17:01,000 It will be later today. 291 00:17:01,820 --> 00:17:02,900 So keep your eye out for it. 292 00:17:03,340 --> 00:17:05,400 My Twitter handle will be out later, so check that. 293 00:17:06,560 --> 00:17:08,520 Now, so what should we do with something like this, right? 294 00:17:08,620 --> 00:17:10,600 This is pretty cool, but what should we do? 295 00:17:11,680 --> 00:17:12,780 We should track a company. 296 00:17:13,960 --> 00:17:15,880 And who better than Microsoft, right? 297 00:17:15,940 --> 00:17:16,780 This is their feature. 298 00:17:17,240 --> 00:17:19,260 They've enabled it by default on everybody's. 299 00:17:19,260 --> 00:17:20,400 They have to know how it works. 300 00:17:20,480 --> 00:17:22,840 And if they don't, who can be expected to know how it works? 301 00:17:23,780 --> 00:17:28,360 So I don't really feel bad about doing this because it's their feature that I'm demonstrating. 302 00:17:29,780 --> 00:17:33,180 So I started doing some monitoring around April 28th. 303 00:17:34,860 --> 00:17:36,560 And I started graphing it out. 304 00:17:36,640 --> 00:17:37,400 And it's kind of neat, right? 305 00:17:37,440 --> 00:17:40,520 You can see their daily activity throughout the day, how many people are online. 306 00:17:42,160 --> 00:17:43,120 And it was great. 307 00:17:43,200 --> 00:17:44,340 I submitted it to DEF CON. 308 00:17:44,560 --> 00:17:46,240 I was like, yes, this is going to be good. 309 00:17:47,020 --> 00:17:49,220 And then a week later this happened. 310 00:17:49,680 --> 00:17:50,660 I was so bummed out. 311 00:17:51,060 --> 00:17:54,440 I was like, okay, this is going to be way more complicated now. 312 00:17:54,920 --> 00:17:57,300 I'm going to have to spin up an Azure tenant, blah, blah, blah. 313 00:17:58,420 --> 00:17:59,380 But I waited. 314 00:17:59,620 --> 00:18:01,000 And a month later it came back. 315 00:18:01,280 --> 00:18:02,500 So I don't know what happened. 316 00:18:02,600 --> 00:18:04,220 But things are working again. 317 00:18:05,440 --> 00:18:06,780 And you can now do this. 318 00:18:07,400 --> 00:18:09,960 I'm going to be, I'm actually not monitoring that anymore. 319 00:18:10,060 --> 00:18:12,100 So you guys are free to use this and not worry about the rate limits. 320 00:18:13,100 --> 00:18:15,620 Yeah, so here's something interesting that popped up one day. 321 00:18:17,980 --> 00:18:19,220 Any guesses on what this is? 322 00:18:22,000 --> 00:18:24,100 It's an all-hands meeting there for just a little bit. 323 00:18:24,240 --> 00:18:25,940 And you can actually see two of them, right? 324 00:18:25,940 --> 00:18:29,020 There's one for probably in the Americas and probably one for overseas. 325 00:18:31,560 --> 00:18:36,240 There's actually, you can see a Microsoft build event there where they announce that. 326 00:18:36,360 --> 00:18:39,180 And then the two days that they're actually out there and busy on those days. 327 00:18:41,300 --> 00:18:43,880 I just want to put this up here for a second while I take a drink of water. 328 00:18:48,360 --> 00:18:49,940 So you can also draw heat maps. 329 00:18:50,300 --> 00:18:55,280 You can find out what day people are active, how many available users are active on any given day. 330 00:18:55,280 --> 00:19:00,520 And you can actually see, I think the 4th of July this week being on a weekday, you know, I think that messed with people taking off. 331 00:19:00,580 --> 00:19:02,560 People were still checking their phones, you can see, on the holiday. 332 00:19:02,640 --> 00:19:04,380 They were more off on the weekend before. 333 00:19:05,800 --> 00:19:06,640 But yeah, it's kind of neat. 334 00:19:06,740 --> 00:19:08,020 And on Fridays, of course, look on Fridays. 335 00:19:09,120 --> 00:19:09,440 Summertime. 336 00:19:10,660 --> 00:19:12,800 So I took all their out-of-office messages, too. 337 00:19:12,860 --> 00:19:15,320 These are also all available through the presence lookup. 338 00:19:15,420 --> 00:19:17,400 So Team Filtration will do this. 339 00:19:17,660 --> 00:19:22,000 Yeah, so I've got all their out-of-office messages and just kind of, it's not very useful, but it's kind of neat. 340 00:19:24,220 --> 00:19:24,540 But... 341 00:19:26,180 --> 00:19:28,960 So back to identities and emails being linked, right? 342 00:19:31,400 --> 00:19:35,200 So you can go on LinkedIn, right, and find members of the Microsoft security team. 343 00:19:35,980 --> 00:19:41,740 And then enumerate their email addresses and pull them up to make sure they're the right one. 344 00:19:41,820 --> 00:19:43,340 Because Teams will tell you their display name. 345 00:19:43,460 --> 00:19:47,060 So you can verify that that's actually who you're looking for and not just somebody else named Jay Smith. 346 00:19:48,900 --> 00:19:53,000 So if an attacker were to do this, there are a few things that they might be interested in, right? 347 00:19:53,880 --> 00:19:55,140 Are they online right now? 348 00:19:55,280 --> 00:19:56,080 Who's on vacation? 349 00:19:56,540 --> 00:19:57,400 Who's out of office? 350 00:19:57,580 --> 00:20:00,700 Who should I call to talk to the person that's out of office? 351 00:20:01,720 --> 00:20:05,100 And then the other thing is it doesn't even have to be an adversary. 352 00:20:05,320 --> 00:20:10,060 This could be, you know, some marketing person that wants to, like, reach somebody when they're at their desk. 353 00:20:10,160 --> 00:20:14,160 Just find out what their schedule is and now I know that they're going to be there right now and I can email them. 354 00:20:15,220 --> 00:20:22,540 So the other thing is that even if the usernames were completely anonymous, right, you can still tell a lot about somebody based on their schedule. 355 00:20:23,320 --> 00:20:24,720 Like, when are their normal hours? 356 00:20:24,800 --> 00:20:25,200 Are they anonymous? 357 00:20:25,280 --> 00:20:26,360 Are they night owl or are they up in the morning? 358 00:20:26,580 --> 00:20:28,060 What holidays are they taking off? 359 00:20:28,260 --> 00:20:31,620 Are they taking religious holidays or are they taking holidays particularly to One Nation? 360 00:20:32,040 --> 00:20:40,720 Even if you used numeric usernames, you could still identify a lot about people by putting, you know, 20 questions there, you know, figuring out this or that, this or that. 361 00:20:40,880 --> 00:20:44,000 And you can really narrow down who that could possibly be. 362 00:20:45,780 --> 00:20:47,300 So that was the end of that one. 363 00:20:47,760 --> 00:20:52,020 Stage three is the really interesting part, guest enumeration. 364 00:20:54,560 --> 00:20:59,540 So just real quick, know that it is possible to enumerate guest users in Azure. 365 00:21:00,220 --> 00:21:04,080 So you should consider any guests that you have to be public information. 366 00:21:07,880 --> 00:21:11,540 Real quick, how it works, right, you invite somebody to your tenant in Azure. 367 00:21:12,300 --> 00:21:12,740 Beware. 368 00:21:12,880 --> 00:21:14,720 So anything, I'm going to show you some stuff here. 369 00:21:15,440 --> 00:21:17,480 These do not imply business relationships. 370 00:21:18,920 --> 00:21:22,000 Anybody can invite a guest user by default, even other guests. 371 00:21:22,000 --> 00:21:29,220 So if, you know, if you invited me to your tenant, I can then turn around and invite a random third party to your tenant because that's the default setting there. 372 00:21:30,300 --> 00:21:32,480 And I don't know how many people actually go through and change that. 373 00:21:32,700 --> 00:21:34,720 But I'm just telling you, that's what it is by default. 374 00:21:34,780 --> 00:21:43,480 So there's a lot of, like, ambiguity here about relationships if you're trying to infer them by looking at guests, guest users at an organization. 375 00:21:44,020 --> 00:21:50,120 But on the other hand, if you see that there's, like, maybe 30 or 100 guest users at an org, that might not be just a coincidence. 376 00:21:52,020 --> 00:21:54,420 So it's actually, this is all out in plain sight, too. 377 00:21:54,580 --> 00:22:00,140 So if you go to log into the Azure portal and you go to a guest account and you pull it up, this is the user principal name you'll see. 378 00:22:00,500 --> 00:22:06,760 And it's not too hard to decipher what we need to change, you know, from the e-mail address to get to that user name. 379 00:22:07,820 --> 00:22:14,300 And because user enumeration isn't a vulnerability, it's a feature. 380 00:22:16,640 --> 00:22:21,980 So I have to say, Dr. Azure ID is the first one to discover guest enumeration. 381 00:22:22,640 --> 00:22:26,040 I ran across this, and he actually found it four years ago. 382 00:22:26,120 --> 00:22:27,460 So this is not new at all. 383 00:22:28,160 --> 00:22:29,720 Not new in the least. 384 00:22:30,340 --> 00:22:33,980 He didn't make a big deal about it, and it was kind of published midway down. 385 00:22:35,520 --> 00:22:40,240 And I also think the other reason this hasn't received much attention yet is this will not come up on a pen test. 386 00:22:40,740 --> 00:22:42,580 This is not in scope on a pen test, right? 387 00:22:42,800 --> 00:22:47,400 I can't try pivoting to another tenant there, so why would I even care if I can enumerate users there? 388 00:22:47,540 --> 00:22:49,340 But it's been possible this whole time. 389 00:22:49,740 --> 00:22:51,980 And so I'm rather certain that people are using this. 390 00:22:52,000 --> 00:22:53,280 Why wouldn't they? 391 00:22:53,380 --> 00:22:54,200 You know, it's been out there. 392 00:22:54,900 --> 00:22:58,320 There are various ways of doing this, so why wouldn't people be doing this already? 393 00:22:58,480 --> 00:23:00,400 So keep that in mind while I show you these next ones. 394 00:23:01,060 --> 00:23:03,580 So real quick, though, I'll show you how it works, right? 395 00:23:03,720 --> 00:23:04,920 This is how simple it is. 396 00:23:05,000 --> 00:23:05,600 How simple. 397 00:23:05,720 --> 00:23:08,440 You can do it from a browser yourself if you know the e-mail addresses. 398 00:23:08,840 --> 00:23:15,380 So on the left, that's an invalid one, fake user underscore domain dot com, Microsoft dot on Microsoft dot com. 399 00:23:15,520 --> 00:23:19,020 So that's Microsoft's tenant there, Microsoft dot on Microsoft dot com. 400 00:23:19,400 --> 00:23:21,920 You can see on the left side, I'm showing you some valid users. 401 00:23:22,000 --> 00:23:24,980 You get redirected to a sign-in page if it's a valid user. 402 00:23:25,040 --> 00:23:25,760 So you can tell immediately. 403 00:23:25,880 --> 00:23:27,020 You don't even need to authenticate. 404 00:23:27,200 --> 00:23:30,560 You're simply entering that username there in that sign-in page. 405 00:23:33,820 --> 00:23:35,640 So another tool drop that will be out. 406 00:23:35,760 --> 00:23:40,980 There's another method of doing this, too, that I identified, which is via graph enumeration. 407 00:23:41,140 --> 00:23:45,240 So the same enumeration method that we use for, you know, other enumerations that are interactive. 408 00:23:45,660 --> 00:23:46,700 Same thing works there. 409 00:23:47,440 --> 00:23:49,260 There are a few differences, though. 410 00:23:50,760 --> 00:23:54,580 Graph-based user enumeration is an authentication attempt against graph. 411 00:23:55,100 --> 00:23:56,760 But you can't log in this way. 412 00:23:58,360 --> 00:24:00,520 So even if you have the valid password, it won't let you in. 413 00:24:00,600 --> 00:24:02,120 It won't tell you if it's a valid password or not. 414 00:24:02,500 --> 00:24:03,300 Nothing about it. 415 00:24:03,320 --> 00:24:07,140 It's not possible to log in via this avenue with that guest account. 416 00:24:08,520 --> 00:24:13,040 So it's not really a login attempt, but if you decide to use this method, just keep that in mind. 417 00:24:14,340 --> 00:24:19,240 In the tool, the password is set to a really long GUID, so there won't be any chance that somebody actually logs in. 418 00:24:19,240 --> 00:24:21,540 It actually has that password, but you can't leave the field blank. 419 00:24:21,700 --> 00:24:22,680 So it has to be there. 420 00:24:22,740 --> 00:24:23,100 Just beware. 421 00:24:23,180 --> 00:24:24,100 It will show up in logs. 422 00:24:24,240 --> 00:24:32,120 And, Defenders, if you see this in your logs where you see a failed guest EXC login on your account, don't be alarmed. 423 00:24:32,160 --> 00:24:35,240 You can't get in that way, but do know that somebody's found out about that account. 424 00:24:37,620 --> 00:24:39,060 Now, what can we do with this, right? 425 00:24:39,140 --> 00:24:41,680 If only we had a giant list of usernames from somewhere. 426 00:24:44,220 --> 00:24:45,500 Then we could do something interesting. 427 00:24:45,760 --> 00:24:47,640 We could try identifying some partnerships. 428 00:24:48,820 --> 00:24:49,620 Between companies. 429 00:24:50,700 --> 00:24:53,980 So, I started by looking at, you know, going to Google. 430 00:24:54,080 --> 00:24:56,860 Say, okay, so-and-so partners with blank. 431 00:24:57,040 --> 00:24:57,700 Who comes up? 432 00:24:57,900 --> 00:24:58,640 Let's look at that. 433 00:24:59,100 --> 00:25:02,320 So, took a few consultant companies, and I got some hits back. 434 00:25:02,420 --> 00:25:03,100 Okay, this works. 435 00:25:03,160 --> 00:25:03,520 For real. 436 00:25:03,620 --> 00:25:06,680 I can prove it out that it's actually actionable attack in the real world. 437 00:25:06,800 --> 00:25:09,520 This is not just, you know, an idea. 438 00:25:10,700 --> 00:25:14,220 So, this is what 30,000 guest connections between companies looks like. 439 00:25:15,680 --> 00:25:16,080 So, 440 00:25:17,640 --> 00:25:19,260 these are a lot of big companies in America. 441 00:25:20,660 --> 00:25:21,820 Now, this one isn't color-coded. 442 00:25:21,880 --> 00:25:24,920 I left Microsoft in there because, again, this is their feature. 443 00:25:26,680 --> 00:25:30,520 But I'm going to show you here in just a slide or two here. 444 00:25:30,640 --> 00:25:33,320 But we identified guest accounts among all these giant organizations. 445 00:25:33,500 --> 00:25:38,580 Ones that maybe they don't want people knowing who potentially, you know, right? 446 00:25:38,640 --> 00:25:42,760 Because we don't know for sure if there's actually a business relationship there. 447 00:25:42,980 --> 00:25:46,620 But potentially could be because of this guest relationship. 448 00:25:47,840 --> 00:25:50,320 Now, one more sip of water. 449 00:25:55,540 --> 00:25:56,260 Where was I? 450 00:25:57,180 --> 00:25:59,540 So, let's look at Microsoft's guest relationships. 451 00:26:00,300 --> 00:26:01,580 I've taken out all the names. 452 00:26:01,680 --> 00:26:01,980 I'm sorry. 453 00:26:02,080 --> 00:26:02,820 Not going to be that fun. 454 00:26:03,020 --> 00:26:05,740 But you can see the diversity of relationships there. 455 00:26:05,880 --> 00:26:10,380 Now, any of the blue ones are where Microsoft has guest access to. 456 00:26:10,540 --> 00:26:15,180 Any of the red ones are where that entity has guest access to Microsoft. 457 00:26:16,060 --> 00:26:23,000 Now, by default, you know, they might just have guest access and no actual group membership, et cetera. 458 00:26:23,160 --> 00:26:24,200 No special privileges. 459 00:26:24,380 --> 00:26:25,920 But they are there. 460 00:26:26,320 --> 00:26:31,200 Any of the green that are interconnected are in between partners of Microsoft that also have a connection to Microsoft. 461 00:26:31,660 --> 00:26:33,520 So, you can see between various entities there. 462 00:26:33,800 --> 00:26:39,120 And the larger it is, the bigger or the greater number of connections there are to that node. 463 00:26:39,360 --> 00:26:41,120 So, that's what you're seeing here. 464 00:26:44,080 --> 00:26:45,040 Now, again. 465 00:26:45,040 --> 00:26:46,920 This is Microsoft's stance. 466 00:26:47,000 --> 00:26:48,240 This is pure user enumeration. 467 00:26:48,480 --> 00:26:49,860 Nothing about this is an attack. 468 00:26:50,040 --> 00:26:51,060 This is user enumeration. 469 00:26:51,320 --> 00:26:51,720 Pure. 470 00:26:54,360 --> 00:26:56,480 So, I want to focus on Microsoft. 471 00:26:56,860 --> 00:27:03,320 But to show, like, the width of this and how it affects everybody, I'm just going to show you a few other large companies here. 472 00:27:03,840 --> 00:27:05,940 So, for instance, here's Metas. 473 00:27:06,960 --> 00:27:07,660 You can see. 474 00:27:10,500 --> 00:27:12,280 We've got Tesla. 475 00:27:13,200 --> 00:27:14,060 Might be interesting. 476 00:27:16,480 --> 00:27:18,800 Again, I apologize if it's not more juicy. 477 00:27:18,980 --> 00:27:22,380 But here's a company in Palant here. 478 00:27:22,440 --> 00:27:23,600 I don't know if anybody's heard of that one. 479 00:27:24,860 --> 00:27:29,480 Remember that blue says that they have guest access to that tenant. 480 00:27:32,180 --> 00:27:38,840 So, looking at the most widespread companies, I'm just showing you a few of the top ones here that I found the most connections to organizations. 481 00:27:40,240 --> 00:27:43,240 And these are distinct hosts that they have connections to. 482 00:27:43,880 --> 00:27:45,000 You can see a bunch of concerns. 483 00:27:45,040 --> 00:27:45,960 Consultancy companies there. 484 00:27:47,000 --> 00:27:47,980 Not too unusual. 485 00:27:50,700 --> 00:28:00,180 But, so, speaking again about users and identities, right, and enumeration, with this type of information, we know the email address that's there, right? 486 00:28:00,220 --> 00:28:01,360 So, we have their identity oftentimes. 487 00:28:02,280 --> 00:28:09,160 So, you can actually do some deeper digging and give it some more context with what years these guest relationships were active. 488 00:28:09,300 --> 00:28:10,940 Because almost nobody cleans up guests. 489 00:28:11,340 --> 00:28:13,500 They almost always just leave them out there. 490 00:28:13,580 --> 00:28:14,840 And maybe they disable them or whatnot. 491 00:28:14,840 --> 00:28:17,180 But they almost always leave them there. 492 00:28:17,240 --> 00:28:19,160 So, you can at least see when they are. 493 00:28:19,300 --> 00:28:22,420 The oldest one I identified personally that I verified was, like, 2018. 494 00:28:22,980 --> 00:28:24,200 So, that's a little ways ago. 495 00:28:25,500 --> 00:28:27,580 So, how does this matter, right, for attackers, right? 496 00:28:27,660 --> 00:28:35,260 If you're looking at these guest relationships, now, all of a sudden, if you're trying to hit a hardened target, you might want to say, hey, let's see what we can do around these peripherals. 497 00:28:35,460 --> 00:28:40,060 You know, can we compromise another tenant and see if we have any access? 498 00:28:40,220 --> 00:28:41,180 You know, it might be a fruitless effort. 499 00:28:41,560 --> 00:28:42,460 But it might be something. 500 00:28:43,220 --> 00:28:43,780 So, I mean. 501 00:28:43,780 --> 00:28:48,780 This is providing a roadmap to allow attackers to identify their next steps. 502 00:28:49,560 --> 00:28:51,440 And this is pure user enumeration. 503 00:28:51,760 --> 00:28:52,160 Right? 504 00:28:52,500 --> 00:28:53,380 Not a vulnerability. 505 00:28:55,620 --> 00:29:00,140 So, one of the last things I want to say is that this is a U.S. adversary's dream. 506 00:29:00,580 --> 00:29:01,020 Right? 507 00:29:01,480 --> 00:29:03,720 You have nations that love to do data collection. 508 00:29:04,560 --> 00:29:07,080 Do you think that they're not doing something with this yet? 509 00:29:07,900 --> 00:29:11,700 Do you think that they're just letting this sit out there because it's not ethical to collect this? 510 00:29:13,780 --> 00:29:16,760 I mean, look at these different industries. 511 00:29:16,940 --> 00:29:18,480 All of America is tied up in this. 512 00:29:18,600 --> 00:29:18,680 Right? 513 00:29:19,940 --> 00:29:22,380 State governments, federal corporations. 514 00:29:23,100 --> 00:29:25,740 And if they don't take this seriously, they're not going to fix this. 515 00:29:25,860 --> 00:29:26,660 They're going to let this sit. 516 00:29:27,840 --> 00:29:29,840 And this isn't just like a short-term investment. 517 00:29:29,980 --> 00:29:30,860 This is a long-term investment. 518 00:29:31,060 --> 00:29:31,860 Names are durable. 519 00:29:32,000 --> 00:29:32,180 Right? 520 00:29:32,360 --> 00:29:34,960 How many times do most people change their name in their life? 521 00:29:35,840 --> 00:29:36,560 A couple times. 522 00:29:36,720 --> 00:29:37,140 Maybe a few. 523 00:29:37,440 --> 00:29:39,400 But most people don't change their names very often. 524 00:29:39,720 --> 00:29:42,860 So, once you make these lists, they're valid for a long time. 525 00:29:42,860 --> 00:29:43,080 Right? 526 00:29:43,140 --> 00:29:45,880 They might switch organizations, but that person's name, you still have that. 527 00:29:46,100 --> 00:29:48,900 You can make permutations out of that and try those other places. 528 00:29:49,360 --> 00:29:52,880 So, I mean, this isn't something that I think we should let. 529 00:29:53,080 --> 00:29:54,400 Is this something that we want? 530 00:29:54,600 --> 00:29:57,980 You know, is this how we want to have our stuff run? 531 00:29:58,360 --> 00:30:04,780 I think that we should maybe recommend politely that they take this a little more seriously. 532 00:30:05,720 --> 00:30:10,020 I mean, so we've demonstrated that it's possible to get 24 million users out of Azure. 533 00:30:10,720 --> 00:30:12,720 We've demonstrated 100,000 users. 534 00:30:12,860 --> 00:30:15,460 Every 30 minutes, so twice a day. 535 00:30:15,520 --> 00:30:17,100 That's a huge number of requests. 536 00:30:17,380 --> 00:30:18,240 We're able to do that. 537 00:30:19,100 --> 00:30:21,640 We can monitor an entire company as big as Microsoft. 538 00:30:22,540 --> 00:30:28,700 We can select out users from there and monitor them exclusively if we wanted to on an even finer, you know, rotation. 539 00:30:29,540 --> 00:30:32,740 And then we've shown that we can do guest enumeration, right, between different companies. 540 00:30:32,960 --> 00:30:34,480 This is all user enumeration. 541 00:30:34,620 --> 00:30:37,260 This isn't an exploit, at least not by Microsoft's stance. 542 00:30:38,180 --> 00:30:40,540 This is all just user enumeration. 543 00:30:40,900 --> 00:30:41,340 So. 544 00:30:42,400 --> 00:30:46,800 I just want you to remember, though, in closing, that I am just the messenger here. 545 00:30:46,920 --> 00:30:49,400 I'm just showing you what the logical conclusion of this is, right? 546 00:30:49,660 --> 00:30:50,720 I'm not anybody special. 547 00:30:51,080 --> 00:30:54,720 I'm just some dude that this is basically sysadmin 101, right? 548 00:30:54,800 --> 00:30:55,640 I made a SQL server. 549 00:30:55,820 --> 00:30:56,760 I still have servers. 550 00:30:56,780 --> 00:30:57,560 And I had a report back. 551 00:30:57,720 --> 00:30:58,800 I made a Python script. 552 00:30:59,020 --> 00:31:00,180 It's not hard stuff. 553 00:31:00,840 --> 00:31:02,800 And it only cost me about 5K, right? 554 00:31:02,960 --> 00:31:08,360 If you're a nation state or somebody who really wants to invest in this, you can do something much bigger than I did. 555 00:31:08,740 --> 00:31:11,320 This is just like a hobby that I didn't spare time to try to do. 556 00:31:11,340 --> 00:31:12,400 I wanted to get Microsoft to fix this. 557 00:31:12,800 --> 00:31:14,400 And that is why I did this. 558 00:31:14,500 --> 00:31:15,960 I want Microsoft to fix this. 559 00:31:16,140 --> 00:31:17,380 I don't know how else to go about it. 560 00:31:17,420 --> 00:31:20,000 We've talked to Microsoft, and they don't take it seriously as an issue. 561 00:31:20,120 --> 00:31:25,720 So, at this point, I just wanted to share this with you so at least we can all be on the same footing and know what's possible out there. 562 00:31:26,360 --> 00:31:26,720 So. 563 00:31:27,220 --> 00:31:29,160 With that, some shoutouts. 564 00:31:29,300 --> 00:31:30,380 Dr. Azuray D. 565 00:31:31,200 --> 00:31:31,560 TechRomancer. 566 00:31:31,800 --> 00:31:32,680 Carl Fossum. 567 00:31:32,760 --> 00:31:33,260 He's awesome. 568 00:31:34,340 --> 00:31:34,700 RootSecDev. 569 00:31:34,960 --> 00:31:35,320 Flagwick. 570 00:31:35,520 --> 00:31:37,300 And then everybody at TrustedSec, of course. 571 00:31:38,540 --> 00:31:41,040 These are some links to the different tools. 572 00:31:41,640 --> 00:31:44,280 The last two will be out later today, so just keep an eye on that. 573 00:31:44,340 --> 00:31:44,960 Follow me on Twitter. 574 00:31:45,280 --> 00:31:46,440 And thank you so much.