1 00:00:00,000 --> 00:00:06,840 Thanks for making it out today. There's a lot of people here. I hope you guys are 2 00:00:06,840 --> 00:00:12,300 ready to learn some very interesting things based on our research of search 3 00:00:12,300 --> 00:00:18,440 engine hacking. My name is Rob Regan. This is Fran Brown. We work at Stack & Lou 4 00:00:18,440 --> 00:00:23,440 doing security assessments. And we are the Lords of the Bing. 5 00:00:31,500 --> 00:00:58,760 So basically, we set out to improve upon search engine hacking. And we realized that most tools that exist were getting blocked. Most tools, most slides don't work when you need them to. But we actually, we realized that we thought it was a shame, really a crying shame, that Google 6 00:00:58,760 --> 00:00:59,920 hacking seemed to be a 7 00:00:59,920 --> 00:01:29,900 dying technique. I had a bit of a weep. You guys, though, if you also weep with me, then you can stop now. There's no need to cry anymore because we are bringing it back. We sought out to make tools that don't get blocked. We sought out to actually make practical techniques that you, maybe you don't actually have to go out and scan actively. You can just have something that's, you know, running all the time and letting you know what happens. And we also just wanted people to really think differently. 8 00:01:29,900 --> 00:01:38,440 About the way you approach Google hacking. And also to blow your minds, as you can see by the icon. 9 00:01:38,780 --> 00:01:40,700 The nice blow your mind icon there. 10 00:01:44,340 --> 00:01:58,160 So we basically decided that Google and Bing were our favorite search engines. Yahoo is good, and that's something we're going to explore more as well. But what we focused on now was these indexes. 11 00:01:59,900 --> 00:02:04,740 troves on the internet to openly find free information 12 00:02:04,740 --> 00:02:07,600 on error messages that are occurring in websites, 13 00:02:08,080 --> 00:02:10,200 vulnerable software that's being used in websites. 14 00:02:11,080 --> 00:02:13,920 And really, like I said before, we just really thought 15 00:02:13,920 --> 00:02:18,140 it was a shame that not many people actively are using 16 00:02:18,140 --> 00:02:20,080 Google Hacking to find this information. 17 00:02:20,600 --> 00:02:26,660 And we basically decided that these crawlers are the best to 18 00:02:26,660 --> 00:02:31,640 gather this information, and they had to cache it so that 19 00:02:31,640 --> 00:02:33,440 it's forever available to you. 20 00:02:34,180 --> 00:02:39,720 And how many people here have done Google Hacking before, 21 00:02:39,820 --> 00:02:40,740 familiar with Google Hacking? 22 00:02:41,020 --> 00:02:42,040 Yeah, I assumed everyone has. 23 00:02:42,080 --> 00:02:42,820 Assumed everybody, right? 24 00:02:43,220 --> 00:02:45,580 How many people have Google Hacked your company 25 00:02:45,580 --> 00:02:46,220 that you work for? 26 00:02:48,760 --> 00:02:50,880 How many people here have Google Hacked a person? 27 00:02:52,260 --> 00:02:53,540 You can't Google Hack a person. 28 00:02:53,640 --> 00:02:54,200 That's just stalking. 29 00:02:58,900 --> 00:03:00,960 You guys seem to be familiar with Google Hacking 30 00:03:00,960 --> 00:03:01,600 for the most part. 31 00:03:02,160 --> 00:03:04,240 The types of things we're looking at here is just 32 00:03:04,240 --> 00:03:07,520 looking at the old Google Hack database, is advisories, error 33 00:03:07,520 --> 00:03:10,080 messages, files containing passwords, things like that. 34 00:03:11,820 --> 00:03:14,740 Just as an example, looking for some SQL errors being 35 00:03:14,740 --> 00:03:19,000 dumped at the screen, or some password lists in the URL. 36 00:03:21,680 --> 00:03:22,820 These are our new tools. 37 00:03:23,060 --> 00:03:25,980 These are the ones that you're going to use from now on. 38 00:03:27,040 --> 00:03:30,640 Basically, we're leveraging the Google AJAX API now that 39 00:03:30,640 --> 00:03:31,900 doesn't get you blocked. 40 00:03:32,740 --> 00:03:34,900 It doesn't violate terms of service if that's something 41 00:03:34,900 --> 00:03:35,240 you could add. 42 00:03:35,280 --> 00:03:36,240 No one at DEF CON cares about that. 43 00:03:36,320 --> 00:03:38,360 You guys want to violate the hell out of some services. 44 00:03:40,840 --> 00:03:43,720 So these are the tools you're going to use because we have 45 00:03:43,720 --> 00:03:45,360 reutilized the Google Custom Search Engine. 46 00:03:45,460 --> 00:03:46,520 How many of you have heard of that? 47 00:03:47,840 --> 00:03:51,520 What it lets you do is create customized search results. 48 00:03:51,740 --> 00:03:56,420 Let's say you only care about star.fedex.com or something 49 00:03:56,420 --> 00:03:56,640 like that. 50 00:03:56,660 --> 00:04:00,480 Maybe you only want to see results that come out of that. 51 00:04:00,720 --> 00:04:03,760 You can set a Google Custom Search interface that will 52 00:04:04,240 --> 00:04:06,120 only give you the wildcards that you specify. 53 00:04:07,020 --> 00:04:09,700 And you can utilize that in our tools. 54 00:04:10,020 --> 00:04:13,640 And for the first time ever, we also released a Bing hacking 55 00:04:13,640 --> 00:04:15,420 tool that actually will get vulnerability information. 56 00:04:16,380 --> 00:04:19,640 It's not just giving you passive footprinting 57 00:04:19,640 --> 00:04:19,900 information. 58 00:04:21,280 --> 00:04:25,260 We made a Bing hacking database that we converted the 59 00:04:25,260 --> 00:04:26,440 traditional Johnny Long's. 60 00:04:26,660 --> 00:04:31,840 Google hacking database from 2003, 2004 to work with Bing 61 00:04:32,420 --> 00:04:36,960 and enumerate things such as URLs from sites. 62 00:04:37,240 --> 00:04:40,100 And also, Bing has a feature that a lot of people, I think, 63 00:04:40,140 --> 00:04:42,420 don't know about that I wanted to make you aware of that you 64 00:04:42,420 --> 00:04:43,220 can search by IP address. 65 00:04:44,000 --> 00:04:46,740 And this is really interesting because you can see things 66 00:04:46,740 --> 00:04:48,300 like virtual host IP address. 67 00:04:48,840 --> 00:04:52,940 You can see server farms, something like Rackspace that 68 00:04:52,940 --> 00:04:55,240 has a lot of domains all on the same IP address. 69 00:04:55,240 --> 00:04:58,680 I actually was talking to some people yesterday at Black Hat 70 00:04:58,680 --> 00:05:02,820 that they had done pen tests where they saw a site 71 00:05:02,820 --> 00:05:07,220 administrator actually hosting his personal site or porn site 72 00:05:07,860 --> 00:05:09,240 on corporate infrastructure. 73 00:05:09,920 --> 00:05:12,140 And no one knew about that because they kind of had that 74 00:05:12,140 --> 00:05:13,200 as a closely guarded secret. 75 00:05:13,640 --> 00:05:14,920 But Bing knew about it. 76 00:05:15,080 --> 00:05:17,400 So you could put in things like just the IP address of your 77 00:05:17,740 --> 00:05:20,120 server and then see all the domains that are hosted on it 78 00:05:20,120 --> 00:05:20,820 that are publicly available. 79 00:05:23,380 --> 00:05:24,280 And we also. 80 00:05:24,280 --> 00:05:27,520 For those people that I know, I know all of you do, want to 81 00:05:27,520 --> 00:05:30,460 violate the hell out of some terms of service, are releasing 82 00:05:30,460 --> 00:05:32,700 a script that everyone kind of knew was theoretically possible. 83 00:05:32,840 --> 00:05:34,840 I just didn't know of anything that was out there and 84 00:05:34,840 --> 00:05:39,500 available for you to use that would utilize a list of open 85 00:05:39,500 --> 00:05:43,040 proxies that are known to work to just pull results from 86 00:05:43,040 --> 00:05:43,320 Google. 87 00:05:43,660 --> 00:05:49,220 And this will indefinitely dump millions of URLs for 88 00:05:49,220 --> 00:05:50,720 whatever type of information you're trying to scrape. 89 00:05:51,040 --> 00:05:53,880 So either have an army of people ready to analyze it or 90 00:05:53,880 --> 00:05:56,920 be ready to write your own tools to analyze it because it's 91 00:05:56,920 --> 00:05:59,240 something that's just going to give you massive amounts of 92 00:05:59,240 --> 00:05:59,520 information. 93 00:06:00,360 --> 00:06:04,600 And it also utilizes some things that we found deep in the 94 00:06:04,600 --> 00:06:08,620 Google documentation, such as user IP query stream parameter. 95 00:06:09,080 --> 00:06:09,940 That lets you. 96 00:06:10,080 --> 00:06:11,700 Basically, it's designed for the Ajax API. 97 00:06:11,900 --> 00:06:14,140 And it's designed for people that are embedding widgets in 98 00:06:14,140 --> 00:06:17,420 their site that kind of makes them the middle man proxy 99 00:06:17,420 --> 00:06:21,660 between their client users and then people that want to search 100 00:06:21,660 --> 00:06:22,620 that site using Google. 101 00:06:23,880 --> 00:06:26,600 And we just can specify a random value for that to reduce 102 00:06:26,600 --> 00:06:27,960 getting blocked by Google. 103 00:06:28,100 --> 00:06:31,400 Also, it scrapes the mobile interface, which is what comes 104 00:06:31,740 --> 00:06:34,300 up automatically based on your user agent when you hit Google 105 00:06:34,300 --> 00:06:36,140 from your iPhone or your Android phone. 106 00:06:36,420 --> 00:06:40,280 And that we're utilizing because it seems to have less 107 00:06:40,280 --> 00:06:41,900 restrictions on getting you blocked. 108 00:06:42,100 --> 00:06:43,120 It also is very lightweight. 109 00:06:43,220 --> 00:06:45,720 It has nothing like advertisements or other 110 00:06:45,720 --> 00:06:50,760 superfluous links that you would be more overhead in 111 00:06:50,760 --> 00:06:52,100 scraping this type of information. 112 00:06:53,880 --> 00:06:55,640 So just a little background on this. 113 00:06:56,580 --> 00:07:00,460 I don't know how many of you know, but the Google SOAP API, 114 00:07:00,980 --> 00:07:02,940 they stopped issuing keys back in 2006. 115 00:07:03,740 --> 00:07:06,600 And most of the existing Google hacking tools that kind 116 00:07:06,600 --> 00:07:09,640 of hobbled along until then finally just all stopped 117 00:07:09,640 --> 00:07:12,400 working last September when Google finally closed that down 118 00:07:12,400 --> 00:07:12,680 altogether. 119 00:07:15,080 --> 00:07:17,980 Our primary tool uses the Google Ajax API, as we 120 00:07:17,980 --> 00:07:20,860 mentioned, which is the approved way of doing it. 121 00:07:20,900 --> 00:07:22,520 But it does have several limitations. 122 00:07:23,940 --> 00:07:27,280 Notably of which is that it limits you to 64 results per 123 00:07:27,280 --> 00:07:30,360 query, which is fine if you're just trying to Google hack a 124 00:07:30,360 --> 00:07:32,320 small company or something along those lines. 125 00:07:32,580 --> 00:07:37,160 It does make footprinting using Google pretty much impossible. 126 00:07:37,480 --> 00:07:41,320 If you want to enumerate URLs of an application you're trying to 127 00:07:41,320 --> 00:07:44,960 footprint or domains for your company, 64 results is going to 128 00:07:44,960 --> 00:07:45,320 limit you. 129 00:07:45,620 --> 00:07:53,760 Whereas Google Scrape Diggity, while violating terms of service, probably, will give you 130 00:07:53,760 --> 00:07:55,240 1,000 results, just like the web interface. 131 00:07:55,560 --> 00:07:57,160 So it's a primary reason for doing that. 132 00:07:58,080 --> 00:08:01,100 As we see on the right there, how many of you guys are familiar with 133 00:08:01,100 --> 00:08:01,460 Scroogle? 134 00:08:02,280 --> 00:08:03,140 Anyone use Scroogle? 135 00:08:03,500 --> 00:08:04,300 A few people. 136 00:08:04,640 --> 00:08:09,460 But that kind of inspired us for this, and they found other interfaces that were stripped 137 00:08:09,460 --> 00:08:11,660 down, didn't have advertisements that are easy to scrape. 138 00:08:12,840 --> 00:08:13,880 This is just one here. 139 00:08:14,000 --> 00:08:18,040 They shut down the old interface, but this is just using Windows, or actually scraping 140 00:08:18,040 --> 00:08:22,480 Windows Mobile, or Windows Mobile, Google Mobile, which is a nice stripped down interface, 141 00:08:22,620 --> 00:08:23,540 easier for us to scrape. 142 00:08:26,860 --> 00:08:30,120 And like we said, for the first time ever, we've created a Bing hacking database 143 00:08:30,120 --> 00:08:34,200 that would actually give you good vulnerability disclosures from Bing. 144 00:08:34,660 --> 00:08:40,000 A lot of the disparate features between Google and Bing made it so that the known Google 145 00:08:40,000 --> 00:08:41,180 hacking queries didn't work. 146 00:08:41,420 --> 00:08:44,300 Things such as in URL, you can't use in Bing. 147 00:08:44,520 --> 00:08:47,080 But there are substitute features if you read into the documentation. 148 00:08:47,120 --> 00:08:49,280 Things like in anchor instead of in URL. 149 00:08:49,580 --> 00:08:52,620 And things like the file type are very limited in title. 150 00:08:55,360 --> 00:08:58,500 But basically, this is just something we made for you to utilize, and we're giving 151 00:08:58,500 --> 00:09:00,380 away for free via our website. 152 00:09:00,880 --> 00:09:01,260 Yeah. 153 00:09:01,340 --> 00:09:05,620 So we have close to 1,000 queries in the Bing hacking database now. 154 00:09:05,780 --> 00:09:07,580 And to my knowledge, I haven't seen any. 155 00:09:07,800 --> 00:09:11,460 The limited amount of Bing tools we've seen in the past have just been strictly footprinting 156 00:09:11,460 --> 00:09:13,120 type tools, not actually finding vulnerabilities. 157 00:09:16,100 --> 00:09:20,700 And we're also giving away the Stack and Lude database, which is just a list of queries 158 00:09:20,700 --> 00:09:22,040 we compiled from forums. 159 00:09:22,080 --> 00:09:22,600 And we're also giving away the Stack and Lude database, which is just a list of queries. 160 00:09:22,620 --> 00:09:27,380 And kind of underground lists that were beyond the Johnny Long Google hacking database and 161 00:09:27,380 --> 00:09:28,040 the Foundstone database. 162 00:09:28,440 --> 00:09:32,180 And it's also stuff that we actually have intern actively adding to. 163 00:09:32,380 --> 00:09:33,180 Chained to a desk. 164 00:09:33,420 --> 00:09:33,640 Yeah. 165 00:09:33,720 --> 00:09:35,120 Just banging out stuff. 166 00:09:35,160 --> 00:09:36,840 Interesting searches from Google all day. 167 00:09:37,640 --> 00:09:41,180 And he's also working on some other stuff from Google Code Search, which I'll tell you 168 00:09:41,180 --> 00:09:41,780 about a little bit later. 169 00:09:43,140 --> 00:09:45,460 So we're not happy just giving you the old stuff converter. 170 00:09:45,540 --> 00:09:48,980 We're going to be continuing to develop new regexes and adding them to this. 171 00:09:49,040 --> 00:09:49,200 Yeah. 172 00:09:49,220 --> 00:09:50,020 Like this first one here. 173 00:09:50,100 --> 00:09:50,680 This first example. 174 00:09:50,680 --> 00:09:56,160 Actually, I found sites that they were giving away, or they had exposed to the internet, 175 00:09:56,300 --> 00:09:57,080 their salary information. 176 00:09:57,480 --> 00:10:00,280 Basically, their pay band of what employees make what amount. 177 00:10:00,580 --> 00:10:04,100 That's definitely a sensitive information leak that you don't want on your website. 178 00:10:04,360 --> 00:10:06,800 And you could use this search to find it in Google's index. 179 00:10:08,940 --> 00:10:11,280 So now we're going to demonstrate some of our tools to you. 180 00:10:12,680 --> 00:10:17,120 We basically decided that all the old tools that we didn't want to use anymore needed 181 00:10:17,120 --> 00:10:18,460 improved upon for several reasons. 182 00:10:19,220 --> 00:10:20,660 And we came up with this. 183 00:10:20,680 --> 00:10:22,940 So basically what we're going to do is we're going to take this user interface to utilize 184 00:10:22,940 --> 00:10:25,120 our new techniques on Google and Bing. 185 00:10:25,260 --> 00:10:30,520 They pre-ship with the Foundstone database, the Google hacking database, and SLDB, and 186 00:10:31,120 --> 00:10:33,600 allow you to do things like multiple domains. 187 00:10:34,320 --> 00:10:37,420 That was one thing that all the previous tools didn't do. 188 00:10:37,560 --> 00:10:41,320 You had to do one domain at a time, which is completely unrealistic if you're actually 189 00:10:41,320 --> 00:10:44,300 trying to monitor a company of any sort of size. 190 00:10:44,780 --> 00:10:47,140 Most of our clients are Fortune 100 companies. 191 00:10:47,140 --> 00:10:50,500 companies, and one of them has 700 domains. 192 00:10:50,820 --> 00:10:53,500 It's just completely unrealistic to say, I want to 193 00:10:53,500 --> 00:10:54,500 do one at a time. 194 00:10:55,340 --> 00:10:58,440 And you can also plug in the Google Custom Search key 195 00:10:58,840 --> 00:10:59,280 that's provided. 196 00:10:59,500 --> 00:11:01,520 As I mentioned before, that allows you to filter your 197 00:11:01,520 --> 00:11:03,500 results just down to things you care about. 198 00:11:05,180 --> 00:11:07,460 So basically, for that client, we created a Google 199 00:11:07,460 --> 00:11:09,880 Custom Search engine that just filtered on those 700 200 00:11:09,880 --> 00:11:10,360 domains. 201 00:11:10,740 --> 00:11:12,760 Then they could just check every box and just run it 202 00:11:12,760 --> 00:11:15,280 against that, making it a lot easier for them to Google 203 00:11:15,280 --> 00:11:15,760 hack themselves. 204 00:11:16,340 --> 00:11:20,420 But on an unrelated note, how many people are tired of 205 00:11:20,420 --> 00:11:22,460 looking at socks that are just normal, and you want to get 206 00:11:22,460 --> 00:11:26,000 two socks that have pictures of wolves on them, or clothes 207 00:11:26,000 --> 00:11:27,640 that have pictures of wolves on them in general? 208 00:11:27,880 --> 00:11:29,020 You have some wolf wardrobe? 209 00:11:29,320 --> 00:11:30,400 Yeah, I know you do. 210 00:11:30,860 --> 00:11:32,020 Yeah, wolf sweaters. 211 00:11:33,560 --> 00:11:35,260 Yeah, that was one of the funnest things about 212 00:11:35,260 --> 00:11:38,140 just looking at these results. 213 00:11:38,540 --> 00:11:42,620 One of the searches looks for OpenX shopping cart, 214 00:11:42,700 --> 00:11:45,440 open-source shopping cart software that's known to have 215 00:11:45,440 --> 00:11:46,680 several vulnerabilities in it. 216 00:11:46,800 --> 00:11:51,460 And we found a website that actually specializes in selling 217 00:11:51,460 --> 00:11:55,100 clothing with wolves on it that's using that shopping cart. 218 00:11:55,160 --> 00:11:57,040 So if you want some free wolf clothes, go to 219 00:11:57,040 --> 00:12:03,880 wolfpeople.com, and you'll be stocked with all the wolf socks 220 00:12:03,880 --> 00:12:04,940 you can possibly have. 221 00:12:05,220 --> 00:12:05,920 Look at that. 222 00:12:06,640 --> 00:12:08,340 Even for the children, you use socks. 223 00:12:08,780 --> 00:12:09,700 They get them early. 224 00:12:11,560 --> 00:12:14,460 So basically, the fact that powered by XCart, 225 00:12:14,460 --> 00:12:16,560 shopping cart software that's known to have vulnerabilities 226 00:12:16,560 --> 00:12:21,620 in the page, was what Google finds as it's indexing the 227 00:12:22,100 --> 00:12:24,600 content of the page, and then allows us to generate queries 228 00:12:24,600 --> 00:12:27,180 to find vulnerable software in use. 229 00:12:30,320 --> 00:12:31,180 So we've got Bing. 230 00:12:31,380 --> 00:12:33,840 And the Bing interface, actually, you have to have a 231 00:12:33,840 --> 00:12:35,060 SOAP key. 232 00:12:35,300 --> 00:12:37,880 And we actually provided a link for you to go to the site and 233 00:12:37,880 --> 00:12:41,120 associate your Hotmail or Live account, whatever Microsoft 234 00:12:41,120 --> 00:12:44,100 Passport account you have, just make one up, and they'll issue 235 00:12:44,100 --> 00:12:45,080 a key for free. 236 00:12:45,440 --> 00:12:47,020 And you just need to plug that in. 237 00:12:47,180 --> 00:12:49,740 And as I said before, Bing has a really nice feature that 238 00:12:49,740 --> 00:12:50,760 allows you to search by IP address. 239 00:12:51,140 --> 00:12:53,800 And as someone that does network risk assessments, a lot 240 00:12:53,800 --> 00:12:55,960 of times, we don't even get domain names. 241 00:12:56,220 --> 00:12:58,680 We get an IP address range. 242 00:12:58,900 --> 00:13:02,000 So you can plug in IP addresses there up in the top 243 00:13:02,000 --> 00:13:06,160 right via, you can either specify one at a time, start 244 00:13:06,160 --> 00:13:08,220 IP, dash, and IP, or a class. 245 00:13:08,420 --> 00:13:12,080 And it'll enumerate all of those for sites, and then dump 246 00:13:12,080 --> 00:13:14,080 the results from whatever Google Query site you're using. 247 00:13:14,080 --> 00:13:14,200 So you don't have to worry about what queries you're 248 00:13:14,200 --> 00:13:14,700 specifying. 249 00:13:14,780 --> 00:13:18,120 We also allowed you to specify any queries appended to the end 250 00:13:18,120 --> 00:13:20,600 of all of the things loaded in via the flat files, which you 251 00:13:20,600 --> 00:13:22,460 can go to the File menu and also load in your own flat file 252 00:13:22,460 --> 00:13:24,680 if you have some awesome Google hacking queries that you 253 00:13:24,680 --> 00:13:26,500 want to keep secret, or if they're just something that 254 00:13:26,500 --> 00:13:29,380 maybe no one else cares about that you just want to use to 255 00:13:30,020 --> 00:13:32,020 monitor your sites or whatever you're interested in. 256 00:13:32,720 --> 00:13:35,120 And also, on the Simple tab, there's just an interface to 257 00:13:35,120 --> 00:13:38,700 plug in any query you want that would be akin to just hitting 258 00:13:38,700 --> 00:13:40,540 the web interface, which I think most people do now. 259 00:13:40,840 --> 00:13:41,200 Yeah. 260 00:13:41,320 --> 00:13:43,900 So again, this is just the Bing interface. 261 00:13:43,980 --> 00:13:44,060 Yeah. 262 00:13:44,080 --> 00:13:46,120 And it's awesome to show that Bing does have tons of 263 00:13:46,120 --> 00:13:47,720 information about vulnerabilities. 264 00:13:48,260 --> 00:13:52,380 Just doing a simple search on Entitle Snap Server will give 265 00:13:52,380 --> 00:13:54,620 us some Snap Servers online. 266 00:13:56,000 --> 00:13:56,300 Yeah. 267 00:13:57,540 --> 00:14:00,940 You're hitting someone's web storage just by finding this 268 00:14:00,940 --> 00:14:02,700 and able to look through their information. 269 00:14:08,320 --> 00:14:12,800 Oh, and last but not least, this is still in 270 00:14:12,800 --> 00:14:13,700 prototype phase. 271 00:14:13,700 --> 00:14:17,180 But the Google Scrape Diggity, just to kind of illustrate, we 272 00:14:17,180 --> 00:14:21,420 could take in either a query or a query file full of regexes 273 00:14:21,420 --> 00:14:25,200 from the Google Hack database, a list of Google servers, 274 00:14:25,420 --> 00:14:28,700 proxy lists, max results, and just to show you to enumerate 275 00:14:28,700 --> 00:14:30,160 them for footprinting purposes. 276 00:14:31,740 --> 00:14:38,940 There's a quote at the end of the Perl file extension. 277 00:14:41,660 --> 00:14:42,100 Yeah. 278 00:14:42,200 --> 00:14:43,680 I mean, obviously, we're not going to demo this. 279 00:14:43,700 --> 00:14:46,280 We're downloading millions of URLs right now. 280 00:14:46,380 --> 00:14:49,680 But this is something that can go beyond the AJAX API 64 281 00:14:49,680 --> 00:14:50,520 result limit. 282 00:14:51,740 --> 00:14:55,380 So we see 73 results here, clearly above 64, and 283 00:14:55,860 --> 00:14:58,740 utilizing it in a way that's practical. 284 00:14:59,060 --> 00:15:02,200 If I was trying to do an assessment of stackgoo.com, I 285 00:15:02,200 --> 00:15:05,340 might want a list of every URL that they have in Google for 286 00:15:05,340 --> 00:15:06,500 this, if this makes it possible. 287 00:15:10,540 --> 00:15:13,680 One thing we realized, though, is that we're not going to do a 288 00:15:13,680 --> 00:15:13,880 lot of this stuff because we're going to be doing more of this 289 00:15:13,880 --> 00:15:16,160 But the other thing that was utilized is that the traditional 290 00:15:16,160 --> 00:15:19,860 defenses against finding these sensitive information leaks or 291 00:15:19,860 --> 00:15:21,540 vulnerable software was to just Google hack yourself. 292 00:15:22,300 --> 00:15:24,420 How many people that are responsible for guarding the 293 00:15:24,420 --> 00:15:28,420 security of a domain actually do this on a regular basis? 294 00:15:29,600 --> 00:15:30,700 A few hands. 295 00:15:32,380 --> 00:15:34,600 Most of the people we talked to just don't do this. 296 00:15:34,820 --> 00:15:37,540 And most of the people, if they do, maybe once a quarter, 297 00:15:37,640 --> 00:15:38,640 which just isn't good enough. 298 00:15:38,640 --> 00:15:42,100 There could be something that happens between quarters that 299 00:15:42,100 --> 00:15:44,200 you can entirely miss, because it was added to the index and 300 00:15:44,200 --> 00:15:48,680 maybe removed after the Google bot crawls that site again. 301 00:15:49,480 --> 00:15:52,300 Other things that people do to protect against this are 302 00:15:52,300 --> 00:15:55,080 update robots.txt or put meta tags into their pages to 303 00:15:55,780 --> 00:15:57,300 prevent it from being indexed by Google. 304 00:15:57,560 --> 00:16:01,320 We also realized that's something you should be doing, 305 00:16:01,400 --> 00:16:03,260 but it's not something that always happens when new 306 00:16:03,260 --> 00:16:05,540 features or new applications are launched on the website. 307 00:16:05,540 --> 00:16:08,640 Another thing that people do is they use data loss 308 00:16:08,640 --> 00:16:11,760 prevention tools that take a hash of your intellectual 309 00:16:11,760 --> 00:16:14,600 property and then monitor anything that's going out via 310 00:16:14,600 --> 00:16:17,780 email or anything that's going across the network to see if 311 00:16:18,240 --> 00:16:21,440 employees are leaking things, which is something you can do, 312 00:16:21,540 --> 00:16:24,600 but also we realized not really good enough to prevent 313 00:16:24,600 --> 00:16:25,200 this type of thing. 314 00:16:25,460 --> 00:16:27,820 Also, you should be using policies and legal 315 00:16:27,820 --> 00:16:31,420 restrictions, but again, it's only so much protection. 316 00:16:31,740 --> 00:16:33,940 So to really take it to the next level, to really do 317 00:16:33,940 --> 00:16:37,680 prevention in depth, we realized that all these failed 318 00:16:37,680 --> 00:16:38,580 and we needed something better. 319 00:16:38,720 --> 00:16:39,240 See all this stuff? 320 00:16:39,360 --> 00:16:39,880 Forget it. 321 00:16:39,900 --> 00:16:40,340 It's dead. 322 00:16:40,500 --> 00:16:41,040 This is done. 323 00:16:41,720 --> 00:16:43,480 This way of doing things is over. 324 00:16:43,680 --> 00:16:44,600 It's not effective. 325 00:16:44,660 --> 00:16:47,300 As we saw, one or two guys raised their hands and said 326 00:16:47,300 --> 00:16:48,760 they Google hacked themselves on a regular basis. 327 00:16:49,260 --> 00:16:50,600 I think they were probably lying. 328 00:16:51,080 --> 00:16:51,960 Nobody does it. 329 00:16:52,020 --> 00:16:52,520 That's probably lying to you. 330 00:16:52,740 --> 00:16:54,880 And because of this, the Wolfsock companies 331 00:16:54,880 --> 00:16:58,440 of the world are left insecure and it's just a scary place. 332 00:16:59,840 --> 00:17:02,100 So now we're going to tell you about some more advanced 333 00:17:02,100 --> 00:17:03,580 techniques that we came up with. 334 00:17:03,940 --> 00:17:04,660 Protect your neck, fool. 335 00:17:04,760 --> 00:17:05,500 Protect your neck. 336 00:17:06,960 --> 00:17:08,720 As we said, the tools exist, but they're not 337 00:17:08,720 --> 00:17:09,700 convenient, we realized. 338 00:17:09,860 --> 00:17:11,600 We realized that you don't get real-time updates. 339 00:17:11,880 --> 00:17:13,000 You don't get multi-engine results. 340 00:17:13,520 --> 00:17:17,000 You don't have any way to monitor the data and keep a 341 00:17:17,000 --> 00:17:19,460 historical log of everything that's found. 342 00:17:19,720 --> 00:17:23,060 And you don't have multi-domain searching, but 343 00:17:23,660 --> 00:17:24,240 that's until now. 344 00:17:26,580 --> 00:17:28,560 We're going to tell you a little bit about Google 345 00:17:28,560 --> 00:17:30,200 hacking alerts and Bing alerts, which is something we 346 00:17:30,200 --> 00:17:30,500 came up with. 347 00:17:30,560 --> 00:17:32,500 How many people here have heard of Google Alerts? 348 00:17:33,200 --> 00:17:34,420 Do you use Google Alerts? 349 00:17:34,420 --> 00:17:38,900 Maybe you get email updates on things that you care about on 350 00:17:38,900 --> 00:17:39,380 the web, maybe. 351 00:17:39,640 --> 00:17:41,820 Put your own name in there and see what's going on with 352 00:17:41,820 --> 00:17:42,280 you on Google. 353 00:17:42,280 --> 00:17:44,080 If you're really narcissistic like me, you do that. 354 00:17:45,960 --> 00:17:49,060 So we took the entire Google Hacking Database, 355 00:17:49,060 --> 00:17:53,120 Foundstone Database, and our SLDB, and loaded it into Google 356 00:17:53,120 --> 00:17:53,740 Alerts. 357 00:17:53,980 --> 00:17:57,620 And we set it up to, as soon as something's added to the 358 00:17:57,620 --> 00:18:01,020 Google index, let us know via an RSS feed. 359 00:18:01,840 --> 00:18:02,320 OK. 360 00:18:02,320 --> 00:18:02,480 OK. 361 00:18:02,500 --> 00:18:04,660 And we're looking at, you know, maybe there's a SQL 362 00:18:04,660 --> 00:18:07,140 injection in this site, or maybe there's a password file 363 00:18:07,140 --> 00:18:08,960 that's been disclosed on this site. 364 00:18:09,380 --> 00:18:11,440 And it's monitoring the entire web. 365 00:18:12,020 --> 00:18:15,480 We have over 2,400 queries that are loaded into there and 366 00:18:15,480 --> 00:18:21,680 we're getting basically 3,000 to 4,000 updates a day. 367 00:18:22,700 --> 00:18:25,260 And finding really interesting things, like James Bond's 368 00:18:25,260 --> 00:18:26,940 website, vulnerable to SQL injection. 369 00:18:26,960 --> 00:18:27,840 JAMES BOND IS IN TROUBLE. 370 00:18:27,940 --> 00:18:28,540 He needs some help. 371 00:18:28,680 --> 00:18:30,880 He's dumping MySQL errors right to the screen. 372 00:18:32,500 --> 00:18:34,840 Which is a really dangerous domain to have SQL injection on. 373 00:18:35,840 --> 00:18:37,960 This is just the interface where they sell things like 374 00:18:37,960 --> 00:18:40,720 James Bond DVDs, and t-shirts, and other merchandise. 375 00:18:41,320 --> 00:18:43,460 Actually dumping MySQL error messages. 376 00:18:43,740 --> 00:18:45,840 And one thing that I realized about importing this into 377 00:18:45,840 --> 00:18:50,400 Google Reader that really makes it beneficial is all 378 00:18:50,400 --> 00:18:52,780 RSS feeds that come from Google are going through 379 00:18:52,780 --> 00:18:53,220 FeedBurner. 380 00:18:53,360 --> 00:18:54,680 That means they're cached forever. 381 00:18:55,460 --> 00:19:00,740 And basically, there was a situation like, once a user 382 00:19:00,740 --> 00:19:02,300 started complaining about this error message. 383 00:19:03,980 --> 00:19:04,780 And the user was like, OK, I'll just hide that error message. 384 00:19:04,780 --> 00:19:05,980 And so the developer's like, all right, fine. 385 00:19:06,100 --> 00:19:07,040 I'll just hide that error message. 386 00:19:07,260 --> 00:19:08,620 Now, the SQL injection's not fixed. 387 00:19:08,820 --> 00:19:10,600 As you know, it's just become blind SQL injection. 388 00:19:11,880 --> 00:19:14,200 And let's say you Google hacked yourself at start of 389 00:19:14,200 --> 00:19:18,380 Q2, and then Google hacked yourself at start of Q3, you 390 00:19:18,380 --> 00:19:19,460 would have missed something like that. 391 00:19:19,580 --> 00:19:21,420 You would have missed that they covered up that error message. 392 00:19:21,700 --> 00:19:26,000 But setting up a Google alert for the string of MySQL error 393 00:19:26,000 --> 00:19:26,920 messages would catch that. 394 00:19:27,100 --> 00:19:29,320 And then you'd actually have all this historical data 395 00:19:29,320 --> 00:19:31,480 archived and everything that was ever found. 396 00:19:32,300 --> 00:19:34,660 And you would be able to see that, oh, well, OK, we had 397 00:19:34,660 --> 00:19:36,260 SQL injection, did the developer actually fix it? 398 00:19:36,340 --> 00:19:37,840 Or did they just hide that error message? 399 00:19:39,180 --> 00:19:41,480 And that's one of the benefits of actually having this 400 00:19:41,480 --> 00:19:44,920 imported into your RSS feeder, which I recommend Google's 401 00:19:44,920 --> 00:19:47,260 because you get that cache, and you get that great 402 00:19:47,260 --> 00:19:47,740 searching ability. 403 00:19:50,540 --> 00:19:52,860 Also, I don't know if you guys are familiar with this, 404 00:19:52,960 --> 00:19:57,240 but if you do a perform a Bing search, and you append n 405 00:19:57,240 --> 00:20:00,120 format equals RSS, you can actually turn Bing search 406 00:20:00,120 --> 00:20:01,760 results into RSS feeds. 407 00:20:01,900 --> 00:20:02,280 OK. 408 00:20:02,280 --> 00:20:03,040 That'll also update. 409 00:20:03,420 --> 00:20:08,420 So we took our over 900 Bing hacking database queries and 410 00:20:08,420 --> 00:20:11,600 turned them all into RSS feeds as well, and have that piping 411 00:20:11,600 --> 00:20:12,940 to us, as we could see. 412 00:20:13,080 --> 00:20:15,660 And it provides nice little snippets in Google Reader for 413 00:20:15,660 --> 00:20:17,980 us there to see what we're looking at for 414 00:20:17,980 --> 00:20:19,240 vulnerabilities in Bing. 415 00:20:22,580 --> 00:20:25,340 And let me show this. 416 00:20:27,020 --> 00:20:30,320 FRAN basically was like, I want to know as soon as 417 00:20:30,320 --> 00:20:32,120 anything happens to the sites. 418 00:20:32,280 --> 00:20:33,640 That we're caring about. 419 00:20:34,060 --> 00:20:40,160 And he created also some thick clients that you can use, such 420 00:20:40,160 --> 00:20:41,520 as like a Google desktop reader. 421 00:20:42,180 --> 00:20:44,580 So just to, this is important, so I just want to 422 00:20:44,580 --> 00:20:46,740 just restate this, just so it sinks in. 423 00:20:46,900 --> 00:20:51,460 At this point, for both Google and Bing, any new site 424 00:20:51,460 --> 00:20:54,740 that gets indexed by Google or Bing that matches any one of 425 00:20:54,740 --> 00:20:59,760 these several thousand hacking database queries, as they get 426 00:20:59,760 --> 00:21:02,120 indexed, are being sent to us live feeds. 427 00:21:02,120 --> 00:21:03,420 In an organized fashion. 428 00:21:03,840 --> 00:21:06,780 So from this point forward, every single thing that meets 429 00:21:06,780 --> 00:21:09,220 the Google hacking database, or Bing hacking database, is 430 00:21:09,220 --> 00:21:11,600 being sent to us and organized for us. 431 00:21:11,980 --> 00:21:14,700 We're talking, it's up to hundreds of thousands of 432 00:21:14,700 --> 00:21:18,520 vulnerabilities, and climbing by 3,000, 4,000, 5,000 a day 433 00:21:18,520 --> 00:21:20,340 of vulnerable websites on the internet. 434 00:21:20,500 --> 00:21:23,440 And the great thing is, we did all the footwork for you. 435 00:21:23,540 --> 00:21:27,120 We loaded all of those queries into Google Alerts. 436 00:21:27,180 --> 00:21:30,280 And we can give you, it's available for download right 437 00:21:30,280 --> 00:21:30,960 now from our website. 438 00:21:30,960 --> 00:21:34,860 The OPML file for this Google Reader subscription. 439 00:21:35,200 --> 00:21:38,840 So that's just the XML file that allows anyone to import 440 00:21:38,840 --> 00:21:40,960 these types of alerts into their RSS reader. 441 00:21:41,260 --> 00:21:42,800 So you just download this file. 442 00:21:43,320 --> 00:21:44,640 You subscribe to all the feeds. 443 00:21:44,740 --> 00:21:46,320 They're automatically nice and organized for you. 444 00:21:46,400 --> 00:21:47,040 You can start searching. 445 00:21:47,620 --> 00:21:50,860 This is probably one of the largest repositories of live 446 00:21:50,860 --> 00:21:51,860 vulnerabilities on the internet. 447 00:21:52,500 --> 00:21:54,500 Hundreds of thousands of vulnerable websites. 448 00:21:57,480 --> 00:22:00,620 Now, obviously, we kind of, our 449 00:22:00,620 --> 00:22:03,060 intent with this was just a way to monitor our own, like 450 00:22:03,060 --> 00:22:04,000 about sites that we care about. 451 00:22:04,240 --> 00:22:06,920 But this is also the next generation of 452 00:22:06,920 --> 00:22:07,940 mass injection tools. 453 00:22:08,380 --> 00:22:11,220 Obviously, people kind of glaze over the fact that when 454 00:22:11,220 --> 00:22:16,240 malware is spreading via mass injection, step one is search 455 00:22:16,240 --> 00:22:20,560 Google for vulnerable classic ASP pages that have SQL 456 00:22:20,560 --> 00:22:21,760 injection vulnerabilities in them. 457 00:22:22,160 --> 00:22:26,500 But I probably see, as malware writers get a little bit 458 00:22:26,500 --> 00:22:28,200 smarter about that, they'll actually have maybe an RSS 459 00:22:28,200 --> 00:22:30,480 feed that's feeding their mass injection worm. 460 00:22:30,620 --> 00:22:33,720 So that as soon as there's a new site discovered in the 461 00:22:33,720 --> 00:22:37,980 index, that it's infected with their attack. 462 00:22:38,500 --> 00:22:41,600 I know Rob mentioned this briefly, but just to hit it, 463 00:22:41,660 --> 00:22:43,460 if you're not interested in looking through Google Reader 464 00:22:43,460 --> 00:22:45,700 at hundreds of thousands of vulnerabilities of everything 465 00:22:45,700 --> 00:22:47,860 on the internet, and you're just interested for just 466 00:22:47,860 --> 00:22:50,380 yourself, you could download our Google desktop gadget and 467 00:22:51,020 --> 00:22:53,660 just specify your domains, as many as you want. 468 00:22:53,840 --> 00:22:56,240 And it'll take those RSS feeds and filter them for you 469 00:22:56,240 --> 00:22:59,880 and give you nice little system tray alerts that you have a 470 00:22:59,880 --> 00:23:00,300 new vulnerability. 471 00:23:00,300 --> 00:23:01,240 And Bing or Google. 472 00:23:02,080 --> 00:23:04,880 Also, a Droid app coming soon, so that you'll get these 473 00:23:04,880 --> 00:23:05,800 alerts right on your phone. 474 00:23:05,960 --> 00:23:07,180 Yeah, yeah. 475 00:23:07,740 --> 00:23:10,740 So you absolutely cannot leave home without our Google diggity 476 00:23:10,740 --> 00:23:12,000 and Bing diggity hacking alerts. 477 00:23:12,260 --> 00:23:13,720 You have to have it with you at all times. 478 00:23:13,800 --> 00:23:14,820 You have it on your Droid. 479 00:23:15,280 --> 00:23:19,440 Yeah, so basically, all the problems that we saw with this 480 00:23:19,440 --> 00:23:23,220 act of just every once in a while searching yourself is 481 00:23:23,220 --> 00:23:27,040 really replaced by just having Google's cron system always 482 00:23:27,040 --> 00:23:30,060 just run as soon as new things are added to the index and 483 00:23:30,060 --> 00:23:30,660 give you these alerts. 484 00:23:30,820 --> 00:23:31,900 You're getting them in real time. 485 00:23:32,120 --> 00:23:34,220 You're getting them from multiple engines, because we 486 00:23:34,220 --> 00:23:38,520 took the Bing hacking database feature of appending format 487 00:23:38,520 --> 00:23:41,000 equals RSS to all those searches, imported those into 488 00:23:41,000 --> 00:23:41,860 Google Reader as well. 489 00:23:42,400 --> 00:23:44,760 And you're getting historical data that you can search. 490 00:23:44,960 --> 00:23:46,980 You'll never miss a vulnerability that was indexed. 491 00:23:47,080 --> 00:23:48,500 You'll basically see everything that happens. 492 00:23:48,560 --> 00:23:50,560 You kind of get a timeline of what happened when. 493 00:23:52,200 --> 00:23:55,220 And this is, as I said, really the most 494 00:23:55,220 --> 00:23:56,420 convenient way to do it. 495 00:23:57,140 --> 00:23:57,780 Pretty cool. 496 00:23:59,100 --> 00:24:00,040 And one more thing. 497 00:24:00,060 --> 00:24:02,060 One thing that we're seeing, and another reason that we 498 00:24:02,060 --> 00:24:06,220 wanted to investigate Google hacking, was that the 499 00:24:06,220 --> 00:24:08,380 techniques were kind of waning. 500 00:24:08,500 --> 00:24:10,360 And no one was really actively developing it. 501 00:24:10,460 --> 00:24:12,120 But the search engines were still adapting. 502 00:24:12,620 --> 00:24:14,440 Bing's coming out with new features all the time. 503 00:24:14,600 --> 00:24:16,460 Google is having an app explosion. 504 00:24:16,680 --> 00:24:18,280 In the last five years, they've bought a ton of 505 00:24:18,280 --> 00:24:20,860 companies that are integrating those and creating new apps. 506 00:24:21,640 --> 00:24:23,860 Google Health is a thing that they have now. 507 00:24:23,920 --> 00:24:24,980 How many people know about that? 508 00:24:25,020 --> 00:24:28,260 How many people want their health care and health records 509 00:24:28,260 --> 00:24:29,100 indexed by Google? 510 00:24:29,100 --> 00:24:33,080 And a nice, easily searchable interface for us to exploit. 511 00:24:33,800 --> 00:24:39,240 Yeah, and there's things like the Google code search, which 512 00:24:39,240 --> 00:24:40,160 we're going to talk about in a minute. 513 00:24:40,300 --> 00:24:42,800 We're talking about the Google insights for search. 514 00:24:43,040 --> 00:24:45,300 Basically, that's their zeitgeist feature. 515 00:24:45,480 --> 00:24:48,420 Get the gist of what people are searching for now. 516 00:24:48,560 --> 00:24:49,180 Get the trends. 517 00:24:50,020 --> 00:24:53,100 We identified that this treasure trove of information 518 00:24:53,100 --> 00:24:54,500 is really useful for spear phishing. 519 00:24:55,220 --> 00:24:57,120 We've been calling Eric Schmidt every day. 520 00:24:57,260 --> 00:24:59,080 He hasn't returned any of our phone calls yet. 521 00:25:00,840 --> 00:25:04,640 So basically, for those of you who don't know, he's the CEO 522 00:25:04,640 --> 00:25:05,080 of Google. 523 00:25:06,560 --> 00:25:09,380 And if you're looking for information on specific people 524 00:25:09,380 --> 00:25:12,220 that you maybe want to find their individual email address 525 00:25:12,220 --> 00:25:15,080 or their phone number to try to social engineer them or try 526 00:25:15,080 --> 00:25:21,640 to basically send them malware via an email. 527 00:25:22,380 --> 00:25:24,900 And we're also leveraging Google code search. 528 00:25:25,180 --> 00:25:26,740 How many of you guys are familiar with Google code 529 00:25:26,740 --> 00:25:27,020 search? 530 00:25:28,340 --> 00:25:29,180 About half. 531 00:25:29,340 --> 00:25:29,600 Yeah. 532 00:25:29,680 --> 00:25:32,580 So what this lets you do is actually use Google to search 533 00:25:32,580 --> 00:25:35,060 open source code repositories, things like SourceForge, 534 00:25:35,100 --> 00:25:37,120 things like Microsoft's CodePlex, and even 535 00:25:37,120 --> 00:25:40,220 Google's repository that they provide. 536 00:25:40,420 --> 00:25:41,320 It's just a subversion. 537 00:25:42,040 --> 00:25:43,780 But it indexes all of that code. 538 00:25:43,920 --> 00:25:45,440 And you can write regular expressions against it. 539 00:25:46,420 --> 00:25:49,540 You can search for things such as a select query that's also 540 00:25:49,540 --> 00:25:53,060 utilizing request.queryString in the same line. 541 00:25:53,380 --> 00:25:56,120 And identify SQL injection. 542 00:25:56,260 --> 00:25:56,840 Identify remote. 543 00:25:57,020 --> 00:25:57,520 File includes. 544 00:25:58,100 --> 00:25:59,360 Identify cross-site scripting. 545 00:26:00,440 --> 00:26:04,840 And we realized that this is extremely valuable information. 546 00:26:05,040 --> 00:26:06,100 I just want to skip over that demo. 547 00:26:06,680 --> 00:26:07,080 Yeah. 548 00:26:08,740 --> 00:26:12,240 Basically, we're finding that we can develop these regular 549 00:26:12,240 --> 00:26:14,360 expressions, actually identify. 550 00:26:14,500 --> 00:26:18,820 I found things like someone's tennis match scheduling 551 00:26:18,820 --> 00:26:20,120 software for them and their friends. 552 00:26:20,220 --> 00:26:21,860 Like, OK, that has SQL injection in it. 553 00:26:21,880 --> 00:26:22,440 No one really cares. 554 00:26:22,500 --> 00:26:24,200 It's just them and their friends scheduling tennis 555 00:26:24,200 --> 00:26:24,520 matches. 556 00:26:24,620 --> 00:26:25,620 Not much you can do with that. 557 00:26:25,880 --> 00:26:26,840 But we're also 558 00:26:26,840 --> 00:26:29,580 finding popular open source software, like PHP commenting 559 00:26:29,580 --> 00:26:34,160 systems, PHP forums, and blog software, and verifying the 560 00:26:34,160 --> 00:26:35,840 vulnerabilities are indeed legit. 561 00:26:36,160 --> 00:26:40,100 And then if they're used by a lot of people, it's worth 562 00:26:40,100 --> 00:26:42,620 publishing an advisory over that and adding a query that 563 00:26:42,620 --> 00:26:45,860 would find those sites that are vulnerable to our SLDB. 564 00:26:46,160 --> 00:26:48,740 And this is another thing we have an intern just chained to 565 00:26:48,740 --> 00:26:49,160 a desk doing. 566 00:26:50,640 --> 00:26:53,140 So we're seeing one thing that he found. 567 00:26:53,260 --> 00:26:56,320 He actually reads Chinese, which was helpful, because he 568 00:26:56,320 --> 00:26:59,620 found a site that is a blog software that's vulnerable. 569 00:26:59,880 --> 00:27:03,780 It has a powered by, this blog name, version number at the 570 00:27:03,780 --> 00:27:04,500 bottom of the page. 571 00:27:04,760 --> 00:27:06,560 And then you can also search for that string. 572 00:27:06,740 --> 00:27:10,040 And then you can search for inurl member.asp, which is the 573 00:27:10,040 --> 00:27:10,580 vulnerable page. 574 00:27:10,800 --> 00:27:13,560 And we're seeing thousands of results of people in China 575 00:27:13,560 --> 00:27:15,060 using this blog software that's vulnerable. 576 00:27:15,660 --> 00:27:18,860 So it's kind of a two-stage process of using Google 577 00:27:18,860 --> 00:27:22,340 Code Search to look for SQL injection in software to begin 578 00:27:22,340 --> 00:27:26,300 with finding a vulnerable blog software, then developing a 579 00:27:26,300 --> 00:27:28,380 regex for powered by that blog software. 580 00:27:28,800 --> 00:27:31,360 And then finding, I think for that particular case, it was 581 00:27:31,880 --> 00:27:34,540 over 25,000 people who were actually using that blog 582 00:27:34,540 --> 00:27:36,540 software that we knew was vulnerable to SQL injection. 583 00:27:37,940 --> 00:27:41,220 And conversely, the black hat side of this is that 584 00:27:41,220 --> 00:27:44,500 this is going to be another evolution of the way mass 585 00:27:44,840 --> 00:27:45,900 injection attacks will spread. 586 00:27:46,080 --> 00:27:48,520 You'll do that same process, although rather than doing the 587 00:27:49,000 --> 00:27:52,400 good guy thing and publishing an advisory and putting out 588 00:27:52,400 --> 00:27:54,560 something to help people find these sites, you can just search 589 00:27:54,560 --> 00:27:55,800 the web and mass inject them. 590 00:27:57,800 --> 00:27:59,360 How many people have heard of black hat SEO? 591 00:28:02,800 --> 00:28:05,440 It's search engine optimization, basically the 592 00:28:05,440 --> 00:28:09,460 concept of getting search results for certain terms that 593 00:28:09,460 --> 00:28:11,800 are searched to the top of the results. 594 00:28:12,020 --> 00:28:14,920 Like you want to get ideally in the top 10 Google results, 595 00:28:15,020 --> 00:28:15,980 and you're going to get the most visitors. 596 00:28:16,580 --> 00:28:21,300 And black hats are using this technique to actually take 597 00:28:21,880 --> 00:28:24,100 whatever's the popular search term of the day, maybe when 598 00:28:24,940 --> 00:28:26,080 twilight comes out. 599 00:28:26,300 --> 00:28:27,620 A lot of people are searching that. 600 00:28:27,840 --> 00:28:28,620 And it was actually identified. 601 00:28:28,620 --> 00:28:29,600 When the World Cup was out? 602 00:28:29,740 --> 00:28:33,720 Yeah, when the World Cup was out, it was identified that a 603 00:28:33,720 --> 00:28:36,120 lot of the malware links were rising to the top of results 604 00:28:36,120 --> 00:28:38,060 for the World Cup. 605 00:28:38,400 --> 00:28:39,320 And what was it? 606 00:28:40,200 --> 00:28:43,820 Some kid you grew up with was on Fox News talking about the 607 00:28:43,820 --> 00:28:44,560 twilight results. 608 00:28:44,960 --> 00:28:46,720 Yeah, some kid I grew up with who, yeah. 609 00:28:47,640 --> 00:28:51,480 He got himself a spot on Fox News as an internet expert. 610 00:28:51,840 --> 00:28:55,580 And he gave a story. 611 00:28:55,580 --> 00:28:56,140 He gave a story. 612 00:28:56,280 --> 00:28:57,720 He gave a good segment on when twilight came out about 613 00:28:57,720 --> 00:28:58,360 black hat SEO. 614 00:28:58,680 --> 00:29:01,960 And basically said the defenses were to eyeball the 615 00:29:01,960 --> 00:29:05,900 URLs and Google results and see if it looks OK or not, which 616 00:29:05,900 --> 00:29:08,280 is possibly the worst advice that you could possibly give. 617 00:29:08,380 --> 00:29:11,060 Yeah, there's no way you can tell these things are actually 618 00:29:12,180 --> 00:29:13,380 trying to attack you. 619 00:29:13,660 --> 00:29:17,060 I mean, maybe you're expert eyes a little bit better than 620 00:29:17,060 --> 00:29:19,380 your mom's, but your mom doesn't know that the fake AV 621 00:29:19,380 --> 00:29:24,140 software that her computer box is telling her that she needs 622 00:29:24,140 --> 00:29:26,160 is something that she should. 623 00:29:26,160 --> 00:29:26,800 She shouldn't install. 624 00:29:27,280 --> 00:29:31,360 But one thing that Google provides is the Google Trends 625 00:29:31,360 --> 00:29:34,160 and Google Insight for Search to kind of get an idea of what 626 00:29:34,160 --> 00:29:35,160 people are searching for the most. 627 00:29:35,280 --> 00:29:38,580 So this is the technique that attackers are using. 628 00:29:39,700 --> 00:29:43,840 One thing that was identified was that since 2004, is it, 629 00:29:43,920 --> 00:29:45,840 that lyrics was the number one search term? 630 00:29:46,140 --> 00:29:48,180 Yeah, and I guess that makes kind of sense. 631 00:29:48,360 --> 00:29:49,200 I mean, you're in a car. 632 00:29:49,360 --> 00:29:50,820 You hear a song that you like. 633 00:29:51,460 --> 00:29:54,540 It's Lady Gaga, Poker Face, or something like that. 634 00:29:54,760 --> 00:29:55,540 Poker face. 635 00:29:56,280 --> 00:29:57,440 And you go home. 636 00:29:57,520 --> 00:29:58,520 You want to know the name of the song. 637 00:29:58,880 --> 00:30:04,460 Obviously, it's Poker Face, but you type in Lady Gaga, the 638 00:30:04,460 --> 00:30:06,280 couple of lyrics that you heard, that you remember, and 639 00:30:06,280 --> 00:30:09,180 the word lyrics, and click Go, and lyric sites come up. 640 00:30:09,300 --> 00:30:11,060 And that's how you find the song that you can then 641 00:30:11,060 --> 00:30:13,880 illegally download or buy the CD. 642 00:30:16,620 --> 00:30:18,080 So this is just a perfect example. 643 00:30:18,460 --> 00:30:19,900 This was a couple months ago. 644 00:30:20,840 --> 00:30:21,600 People will wait. 645 00:30:21,660 --> 00:30:23,240 They waited for a Java exploit to come out. 646 00:30:23,400 --> 00:30:25,700 Within a number, within a few hours of an 647 00:30:25,700 --> 00:30:31,440 exploit being released, these people put up Lady Gaga and Rihanna fake lyrics websites. 648 00:30:31,860 --> 00:30:36,060 And then they used search engine optimization, or black hat search engine optimization, to 649 00:30:36,060 --> 00:30:40,420 make their fake lyric websites come up on top in the Google results. 650 00:30:40,700 --> 00:30:47,380 So if you went home, heard Poker Face or any Rihanna song, typed it in to Google, all 651 00:30:47,380 --> 00:30:51,040 the first pages of results, if you clicked on any of them, automatically owned. 652 00:30:51,200 --> 00:30:53,800 Your computer's taken over exploiting this Java bug. 653 00:30:54,260 --> 00:30:55,680 Within a few hours of it coming out. 654 00:30:57,660 --> 00:31:03,080 So obviously, the solution to this is that artists just need to sing more clearly, so 655 00:31:03,080 --> 00:31:06,000 that no one has to search to understand what the lyrics actually say. 656 00:31:06,280 --> 00:31:07,440 Which is not always easy. 657 00:31:07,560 --> 00:31:13,600 I mean, it can work against you with incorrect lyrics like, I've become a wet dream tomato. 658 00:31:13,880 --> 00:31:17,620 Have you guys heard that Alicia Keys song in Jay-Z, the Empire State of Mind? 659 00:31:17,800 --> 00:31:18,460 The New York one? 660 00:31:19,440 --> 00:31:23,220 Next time you listen to it, next time you listen to that song, it's still on the radio a lot. 661 00:31:23,520 --> 00:31:25,660 When she comes in with the, with the, I don't know, I don't know, I don't know, I don't 662 00:31:25,680 --> 00:31:28,160 She comes in with the hook, and she goes, you listen, all you were gonna hear from this 663 00:31:28,160 --> 00:31:32,200 point on is, I've become a wet dream tomato. 664 00:31:33,820 --> 00:31:35,580 Nothing you can do. 665 00:31:35,880 --> 00:31:38,140 You will not hear anything else from now on, I promise you. 666 00:31:40,380 --> 00:31:41,080 Like that? 667 00:31:43,040 --> 00:31:44,080 Won't quit my day job. 668 00:31:47,620 --> 00:31:52,440 So, but actually, rather than artists singing more clearly, which might be a difficult task, 669 00:31:52,880 --> 00:31:55,660 some of the defenses that you can utilize are, you know, you can do a lot of things 670 00:31:55,680 --> 00:31:59,680 that, things that the major search providers and browser providers are already building 671 00:31:59,680 --> 00:32:00,140 for us. 672 00:32:00,260 --> 00:32:04,200 They're trying to protect users by building the Google Safe Browsing API, which is a black 673 00:32:04,200 --> 00:32:08,680 list of known malware, known phishing sites, that if you've ever gone to a page that said, 674 00:32:08,840 --> 00:32:13,540 this is a reported attack site, continue at your own risk, that's something they're 675 00:32:13,540 --> 00:32:19,340 integrating into search results, especially useful for anyone that's utilizing black 676 00:32:19,340 --> 00:32:21,980 hat SEO techniques to get those search results to the top, that they're gonna protect you 677 00:32:21,980 --> 00:32:22,380 from that. 678 00:32:23,100 --> 00:32:25,660 Sandboxing software is another thing that's becoming more and more popular. 679 00:32:25,660 --> 00:32:26,140 It's much more useful. 680 00:32:26,260 --> 00:32:27,420 Anyone here use Sandboxy? 681 00:32:27,540 --> 00:32:28,120 I do. 682 00:32:28,240 --> 00:32:29,140 Yeah, you guys do? 683 00:32:29,340 --> 00:32:29,880 I know. 684 00:32:30,140 --> 00:32:30,680 Fran's hooked. 685 00:32:30,800 --> 00:32:32,520 My friend, Oscar, told me about it. 686 00:32:32,600 --> 00:32:33,260 I know he uses it. 687 00:32:33,500 --> 00:32:40,140 And it's basically gonna run your browser, or any application for that matter, in a sandbox 688 00:32:40,140 --> 00:32:45,440 that's protecting write access to things on your system, such as anything that you download. 689 00:32:45,660 --> 00:32:47,620 It's gonna say, do you want to recover this outside your sandbox? 690 00:32:47,820 --> 00:32:53,120 Or if any malware were to actually exploit your system, it's protecting from things like, 691 00:32:53,140 --> 00:32:55,300 such as writes to the registry, such as named piped access. 692 00:32:55,660 --> 00:32:59,120 Or anything that's sensitive on the system. 693 00:32:59,280 --> 00:33:02,420 And if you were to get infected by something, you can just throw that sandbox away. 694 00:33:03,100 --> 00:33:03,320 And... 695 00:33:03,320 --> 00:33:08,620 So you could browse all the malware, Rihanna, Lyric sites that you want all day, and then 696 00:33:08,620 --> 00:33:12,140 just throw the sandbox away when you're done, which is really the way to go. 697 00:33:12,300 --> 00:33:13,480 And it seems to be the trend. 698 00:33:13,580 --> 00:33:18,520 I think in the last week or week and a half alone, Dell released their own version of 699 00:33:18,520 --> 00:33:20,380 a secure browser using sandboxing. 700 00:33:21,280 --> 00:33:24,800 Adobe released their next version of Reader. 701 00:33:24,800 --> 00:33:27,760 Reader is gonna have a protected mode that's utilizing sandboxing. 702 00:33:27,840 --> 00:33:31,400 And I believe Office 2010 has a sandboxing mode as well. 703 00:33:31,520 --> 00:33:37,980 So this is really the, as good of a defense as eyeballing up URLs and Google results is 704 00:33:37,980 --> 00:33:40,140 to see if it's good or not. 705 00:33:40,240 --> 00:33:41,420 Sandboxing is really the way to go. 706 00:33:44,140 --> 00:33:51,640 And really, this seems to be the trend, basically, that malware writers are unleashing things 707 00:33:51,640 --> 00:33:53,320 on the web, maybe because they have a decided purpose. 708 00:33:53,460 --> 00:33:54,100 One example. 709 00:33:54,800 --> 00:34:00,440 Well, just last month was some guys in China wanted to release this malware that would 710 00:34:00,440 --> 00:34:04,440 steal passwords to some online games in China. 711 00:34:04,620 --> 00:34:05,940 And it got out of control. 712 00:34:06,260 --> 00:34:10,820 It basically, as I said, like the fact that people glazed over that step one is search 713 00:34:10,820 --> 00:34:16,400 Google for vulnerable websites, it started hitting things like the ad providers for Wall 714 00:34:16,400 --> 00:34:16,900 Street Journal. 715 00:34:17,400 --> 00:34:23,900 And for Jerusalem Post was another site that ended up distributing this malware that was 716 00:34:23,900 --> 00:34:26,200 trying to steal Chinese game passwords. 717 00:34:26,660 --> 00:34:33,240 And this is a common problem that I only expect to increase, especially as they get smarter 718 00:34:33,240 --> 00:34:38,380 about scraping the results and scraping the new vulnerable websites from Google. 719 00:34:38,640 --> 00:34:39,100 Yeah. 720 00:34:39,300 --> 00:34:43,540 And it's important to note, I read like 20 articles on this and all the ones you read 721 00:34:43,540 --> 00:34:46,600 are very vague about how this actually started. 722 00:34:46,700 --> 00:34:50,800 I mean, if you see in the bottom right there, they believe they compromised the total number 723 00:34:50,800 --> 00:34:53,880 of websites of 7,214 websites. 724 00:34:54,600 --> 00:35:00,080 It's kind of a big range of, I don't know how many there are, let's say a billion, gajillion, 725 00:35:00,180 --> 00:35:00,480 bajillion. 726 00:35:00,620 --> 00:35:00,940 I don't know. 727 00:35:02,420 --> 00:35:05,020 But they don't really cover how that happened to begin with. 728 00:35:05,280 --> 00:35:10,060 And it's our belief that people are utilizing either Google or Bing or things like that 729 00:35:10,060 --> 00:35:15,700 to find 100,000 vulnerable websites to begin with before they do these mass SQL injection 730 00:35:15,700 --> 00:35:16,080 attacks. 731 00:35:19,060 --> 00:35:23,880 And as we said, it's great that they're providing these blacklists of knowns. 732 00:35:24,700 --> 00:35:26,480 It's great that they're providing these blacklists of knowns. 733 00:35:26,480 --> 00:35:26,520 It's great that they're providing these blacklists of knowns. 734 00:35:26,900 --> 00:35:34,280 But one idea that I had was, how can we mine that information to monitor our websites? 735 00:35:34,720 --> 00:35:39,580 Because the fact of the matter is, most website administrators have no idea when they get 736 00:35:39,580 --> 00:35:40,420 out of that blacklist. 737 00:35:40,580 --> 00:35:43,020 This is something I found on the netsec list on Reddit. 738 00:35:43,260 --> 00:35:48,780 It said that, this guy says, some dickhead emailed me a few weeks ago and told me that 739 00:35:48,780 --> 00:35:49,200 my site... 740 00:35:49,200 --> 00:35:49,860 Claiming that it was malware. 741 00:35:50,220 --> 00:35:50,520 Yeah. 742 00:35:50,640 --> 00:35:53,180 Basically saying that his site was in the blacklist. 743 00:35:53,300 --> 00:35:53,860 And when people are going to Google it, they're going to be like, oh, it's a blacklist. 744 00:35:53,860 --> 00:35:56,720 And when people are visiting it in Chrome, it would say, reported attack site. 745 00:35:56,900 --> 00:35:58,580 He said, no way this is possible. 746 00:35:59,040 --> 00:36:04,000 But then he actually checked it and realized, oh, yeah, it is saying that. 747 00:36:04,140 --> 00:36:05,460 Why am I on this blacklist? 748 00:36:05,720 --> 00:36:10,680 And I just thought, we have all these capabilities and all these features in Google and Bing 749 00:36:10,680 --> 00:36:16,200 to be able to identify what we're linking to and what's linking to us. 750 00:36:16,380 --> 00:36:21,180 Why not have something better than dickhead alert system to let us know that... 751 00:36:21,180 --> 00:36:22,200 This is the existing defense. 752 00:36:22,420 --> 00:36:23,840 The dickhead notification alert system. 753 00:36:23,840 --> 00:36:24,340 alert system. 754 00:36:24,640 --> 00:36:27,160 Some dickhead emailed me and told me that my site is 755 00:36:27,160 --> 00:36:27,880 serving up malware. 756 00:36:28,240 --> 00:36:31,920 Yeah, basically, I just wanted to investigate what would be 757 00:36:31,920 --> 00:36:32,440 better than that. 758 00:36:32,520 --> 00:36:35,980 What can we do for the average person to know if they've been 759 00:36:35,980 --> 00:36:36,960 added to these blacklists? 760 00:36:37,840 --> 00:36:40,720 And so one of the advanced techniques we came up with was 761 00:36:40,720 --> 00:36:42,560 to protect our neck. 762 00:36:44,040 --> 00:36:46,880 Something that we're calling malware diggity at this point. 763 00:36:47,480 --> 00:36:51,780 And Bing has a great feature called Link from Domain that 764 00:36:51,780 --> 00:36:55,660 you can get all of the off-site links, all the sites 765 00:36:55,660 --> 00:36:58,880 basically that you'll dump all the URLs on your site that 766 00:36:58,880 --> 00:37:00,940 aren't linking to that domain. 767 00:37:01,220 --> 00:37:03,740 So let's say we want Link from Domain, StackBlue.com, 768 00:37:03,920 --> 00:37:07,440 that has every external host that we're linking to. 769 00:37:08,000 --> 00:37:11,360 And I wanted to take those results and compare them to 770 00:37:11,820 --> 00:37:15,480 URLs that are in this blacklist, see if any of 771 00:37:15,480 --> 00:37:18,640 those URLs are phishing websites or malware websites. 772 00:37:18,960 --> 00:37:20,980 And that would help you get kind of 773 00:37:21,780 --> 00:37:24,160 an alert system together to let you know if you've been a 774 00:37:24,160 --> 00:37:25,520 victim of one of these mass injections. 775 00:37:27,340 --> 00:37:29,860 And even to get that information more real-time, we 776 00:37:29,860 --> 00:37:33,580 can use the append format equals RSS onto those Bing 777 00:37:33,580 --> 00:37:36,540 results to actively monitor any new links. 778 00:37:36,980 --> 00:37:38,620 Let's say you have user-generated content on 779 00:37:38,620 --> 00:37:41,880 your site, like a commenting system or a forum, and anyone's 780 00:37:41,880 --> 00:37:42,480 allowed to add a link. 781 00:37:42,740 --> 00:37:45,220 I came up with this idea when I was doing an assessment of a 782 00:37:45,220 --> 00:37:46,780 site that was kind of like MySpace. 783 00:37:47,020 --> 00:37:48,700 It was what MySpace was supposed to be. 784 00:37:48,820 --> 00:37:51,480 It let venues and artists and fans. 785 00:37:51,780 --> 00:37:55,860 log in and upload music and basically share information 786 00:37:55,860 --> 00:37:56,520 about concerts. 787 00:37:56,860 --> 00:37:59,340 And after they fixed all the cross-site scripting that I 788 00:37:59,340 --> 00:38:02,900 found, they also still wanted to allow external links. 789 00:38:03,000 --> 00:38:04,660 They still wanted to let people link to 790 00:38:04,660 --> 00:38:05,100 whatever they wanted. 791 00:38:05,220 --> 00:38:07,980 And I just thought about, there's some risk in that you 792 00:38:08,400 --> 00:38:10,840 might be utilized as a phishing platform, especially 793 00:38:10,840 --> 00:38:15,640 with your large user base, and especially your prime target 794 00:38:15,640 --> 00:38:17,000 for distributing malware as well. 795 00:38:17,180 --> 00:38:19,260 So you should actually integrate some code into your 796 00:38:19,260 --> 00:38:21,460 app that uses that. 797 00:38:21,480 --> 00:38:21,760 . 798 00:38:21,760 --> 00:38:24,940 The Google Safe Browsing API to identify any new links that 799 00:38:24,940 --> 00:38:25,500 users are adding. 800 00:38:25,960 --> 00:38:28,700 But they basically were like, well, we don't have time to do 801 00:38:28,700 --> 00:38:29,740 that, we're going to launch the site anyway. 802 00:38:30,180 --> 00:38:33,560 But you could utilize something like just Google's 803 00:38:33,560 --> 00:38:36,760 crawler or Bing's crawler to let you know of any links on 804 00:38:36,760 --> 00:38:39,260 your site that are in that blacklist. 805 00:38:40,020 --> 00:38:42,080 So how many of you guys are familiar with 806 00:38:42,080 --> 00:38:43,840 what happened last month with the Wall Street Journal 807 00:38:43,840 --> 00:38:44,160 incident? 808 00:38:45,220 --> 00:38:46,340 Not many people, right? 809 00:38:46,380 --> 00:38:47,120 I'm surprised about that. 810 00:38:47,280 --> 00:38:50,280 100,000 websites compromised and nobody's heard about it. 811 00:38:50,720 --> 00:38:51,500 Basically, just to 812 00:38:51,500 --> 00:38:54,940 give you a quick visual of what it is, is they had 10,000 813 00:38:54,940 --> 00:38:58,200 or 100,000 or whatever you could imagine number of 814 00:38:58,200 --> 00:38:59,780 websites scoped out for SQL injection. 815 00:39:00,060 --> 00:39:00,780 And they waited. 816 00:39:00,900 --> 00:39:02,860 They waited for a browser bug to come out. 817 00:39:03,080 --> 00:39:05,440 I believe it was an Adobe Flash vulnerability. 818 00:39:05,980 --> 00:39:08,460 Soon as that did, what they did was create an exploit for 819 00:39:08,460 --> 00:39:12,040 that, they SQL injected all 100,000 of these websites, 820 00:39:12,640 --> 00:39:16,040 appended to every page, include this piece of JavaScript 821 00:39:16,600 --> 00:39:20,460 that's an off-site link that exploits this browser bug, so 822 00:39:20,460 --> 00:39:21,480 that anyone who went to any of these websites, they could get 823 00:39:21,500 --> 00:39:23,600 to any one of these websites the next day, including the Wall 824 00:39:23,600 --> 00:39:24,120 Street Journal. 825 00:39:24,320 --> 00:39:25,520 Have any of you guys read the Wall Street Journal? 826 00:39:25,800 --> 00:39:28,420 If you went to that website, it linked you to this piece of 827 00:39:28,420 --> 00:39:30,740 malware that exploited your browser and popped you. 828 00:39:30,840 --> 00:39:33,260 So everyone who went to those websites that day automatically 829 00:39:33,260 --> 00:39:34,220 gets their browsers out. 830 00:39:34,440 --> 00:39:38,940 So it was 1 to 10,000 to God knows how many people went to 831 00:39:38,940 --> 00:39:39,360 those sites. 832 00:39:39,480 --> 00:39:41,400 And there's still tons of them, actually, if you just 833 00:39:41,400 --> 00:39:43,020 Google for these links, these off-site links. 834 00:39:43,560 --> 00:39:46,920 And if using our tools, MalwareDiggity, you could sit 835 00:39:46,920 --> 00:39:49,840 there and monitor what's linking off of my site and 836 00:39:49,840 --> 00:39:50,900 compare it against these lists. 837 00:39:51,500 --> 00:39:55,160 And not have to have some dickhead email you and let you 838 00:39:55,160 --> 00:39:57,160 know that, hey, by the way, everyone who comes to your site 839 00:39:57,160 --> 00:39:58,680 is getting owned or fake AV installed. 840 00:40:00,220 --> 00:40:02,680 You can now get a new off-site link. 841 00:40:02,780 --> 00:40:04,220 And by the way, it's in this malware list. 842 00:40:04,480 --> 00:40:05,660 Maybe you should look into that. 843 00:40:05,820 --> 00:40:07,680 It's a little better than the existing defenses. 844 00:40:10,400 --> 00:40:12,760 And this is just a demonstration of the results. 845 00:40:13,140 --> 00:40:15,780 Actually, this worked really well for monitoring new links 846 00:40:15,780 --> 00:40:17,860 on Twitter that were distributing malware phishing. 847 00:40:18,000 --> 00:40:20,860 I was getting a lot of hits based on comparing those URLs 848 00:40:20,860 --> 00:40:22,160 to what's in the blacklist. 849 00:40:22,420 --> 00:40:25,940 And that's just one example of a good way 850 00:40:25,940 --> 00:40:26,540 to use this technique. 851 00:40:27,500 --> 00:40:31,040 Also, Yahoo has a Site Explorer that lets you see inlinks 852 00:40:31,040 --> 00:40:31,480 to your site. 853 00:40:31,560 --> 00:40:33,500 So I thought it would be interesting to see, take a 854 00:40:33,500 --> 00:40:35,340 known malware URL, like the URL for the Wall Street Journal 855 00:40:35,940 --> 00:40:39,600 injection was robint.us. 856 00:40:40,020 --> 00:40:43,080 So if you could just input that URL in Yahoo Site Explorer, 857 00:40:43,320 --> 00:40:48,020 and its bot had gone out and indexed all of the sites that 858 00:40:48,020 --> 00:40:50,180 are linking to that, so that we know all the ones that are 859 00:40:50,180 --> 00:40:50,440 infected. 860 00:40:50,860 --> 00:40:53,040 That's also useful information that you can gather. 861 00:40:53,600 --> 00:40:55,680 And if you want something a little bit more professional, 862 00:40:55,780 --> 00:40:58,540 a little more enterprise that's actually going out and 863 00:40:58,540 --> 00:41:01,800 crawling your site and identifying things, doing 864 00:41:01,800 --> 00:41:05,460 things like JavaScript obfuscation and analyzing 865 00:41:06,140 --> 00:41:09,520 all the content on your site actively, Armorize has a new 866 00:41:09,520 --> 00:41:10,540 thing called Hack Alert. 867 00:41:10,800 --> 00:41:13,380 But if you want something free and crude, you can use these 868 00:41:13,380 --> 00:41:15,260 techniques from Bing that we're providing. 869 00:41:16,440 --> 00:41:18,220 And so basically, we identified that it was 870 00:41:18,220 --> 00:41:20,780 possible to monitor our external links and our 871 00:41:20,860 --> 00:41:23,560 incoming links, and then compare those to the blacklist, 872 00:41:23,740 --> 00:41:26,360 and then detect infections, and then alert you to that. 873 00:41:26,880 --> 00:41:30,380 But my friend asked me, is it possible to get people added 874 00:41:30,380 --> 00:41:31,020 to the blacklist? 875 00:41:31,460 --> 00:41:34,620 And I was like, hmm, that would be devastating. 876 00:41:35,480 --> 00:41:39,720 Because the black hat side of this is that you can, if you 877 00:41:39,720 --> 00:41:43,080 show the next slide, identify the links that are in those 878 00:41:43,080 --> 00:41:46,020 blacklists, and mass inject your competition via comment 879 00:41:46,020 --> 00:41:48,840 spam, or if they have any user-generated content or 880 00:41:48,840 --> 00:41:49,220 forums. 881 00:41:49,220 --> 00:41:53,880 And then basically, let's say you want to wipe out all the 882 00:41:53,880 --> 00:41:56,580 other distributors of Wolf Socks on the internet so that 883 00:41:56,580 --> 00:42:00,220 you're the primary retailer of Wolf Socks, you could have your 884 00:42:00,220 --> 00:42:01,160 competition blacklisted. 885 00:42:01,260 --> 00:42:02,700 And then their page rank goes to zero. 886 00:42:03,800 --> 00:42:06,580 And basically, they're not going to show up in the top 887 00:42:06,580 --> 00:42:07,360 results of Google anymore. 888 00:42:07,500 --> 00:42:09,300 If people do click the link, they're going to get warned 889 00:42:09,300 --> 00:42:11,600 that it's a reported attack site, and you can't go there 890 00:42:11,600 --> 00:42:11,860 anymore. 891 00:42:12,280 --> 00:42:15,660 And basically, this is something that companies could 892 00:42:15,660 --> 00:42:16,120 profit from. 893 00:42:16,220 --> 00:42:18,080 I'm not sure if this technique is actively being used. 894 00:42:18,300 --> 00:42:18,660 . 895 00:42:18,660 --> 00:42:18,680 . 896 00:42:18,680 --> 00:42:19,200 . 897 00:42:19,200 --> 00:42:21,140 The algorithm that identifies links that belong in a 898 00:42:21,140 --> 00:42:22,500 blacklist is a closely guarded secret. 899 00:42:23,040 --> 00:42:25,420 And this is something I want to test some more to be able to 900 00:42:25,420 --> 00:42:28,160 identify how you could get someone added to the blacklist. 901 00:42:28,660 --> 00:42:31,900 But I could see this as a service line that the Russian 902 00:42:31,900 --> 00:42:35,180 business network might offer, saying, we'll take out your 903 00:42:35,180 --> 00:42:35,440 competition. 904 00:42:35,680 --> 00:42:37,940 Or as a mafia technique, they could say something like, 905 00:42:38,820 --> 00:42:41,720 either give us money, or we'll add you to the blacklist. 906 00:42:43,120 --> 00:42:45,620 And this is just something that's kind of unexplored, 907 00:42:45,620 --> 00:42:48,840 that information that you can easily gather from these 908 00:42:48,840 --> 00:42:51,300 search engines, I think, could be utilized to do something 909 00:42:51,300 --> 00:42:51,760 like that. 910 00:42:51,980 --> 00:42:53,600 Yeah, I could tell you how I would use it. 911 00:42:53,660 --> 00:42:55,980 If you Google for Fran Brown, you will not find our 912 00:42:55,980 --> 00:42:57,140 researcher, me, in any way. 913 00:42:57,300 --> 00:42:59,280 You will find the Fran Brown College of Beauty. 914 00:43:00,760 --> 00:43:03,400 So if I can get that knocked off the Google page results, I 915 00:43:03,400 --> 00:43:05,820 want to use this search engine de-optimization. 916 00:43:09,960 --> 00:43:10,760 Future predictions. 917 00:43:11,220 --> 00:43:14,420 So just to wrap things up with where we think things are going, 918 00:43:14,500 --> 00:43:15,640 because things are rapidly changing. 919 00:43:16,200 --> 00:43:18,640 They've been a little stagnant since 2004, 2005. 920 00:43:18,640 --> 00:43:21,020 But we're kicking things back off again. 921 00:43:21,860 --> 00:43:24,140 As we mentioned earlier, I believe there's going to be a 922 00:43:24,140 --> 00:43:25,000 continued data explosion. 923 00:43:25,380 --> 00:43:28,780 Google will index health records to phone records to 924 00:43:29,280 --> 00:43:32,600 open source code to anything they could possibly index and 925 00:43:32,600 --> 00:43:35,020 provide an easily searchable interface to. 926 00:43:35,240 --> 00:43:37,380 So we're going to see a lot more data indexed, real time 927 00:43:37,380 --> 00:43:38,100 streaming updates. 928 00:43:39,340 --> 00:43:41,460 I also believe that we're going to see renewed tool 929 00:43:41,460 --> 00:43:43,840 development, both on the hacker side, as well as the 930 00:43:43,840 --> 00:43:44,860 security side. 931 00:43:45,040 --> 00:43:48,160 So we're stepping things up on the security side, but we're 932 00:43:48,160 --> 00:43:50,580 going to start seeing things like more automated Google 933 00:43:50,580 --> 00:43:52,700 worms, real time detection and exploitation. 934 00:43:53,240 --> 00:43:56,500 People are just sitting there waiting in real time, finding 935 00:43:56,500 --> 00:43:57,920 these vulnerabilities on Google and automatically 936 00:43:57,920 --> 00:43:58,640 exploiting them. 937 00:43:59,100 --> 00:44:02,060 And then finally, I believe that Google involvement, as 938 00:44:02,060 --> 00:44:04,340 well as Bing involvement, will start getting involved more. 939 00:44:04,560 --> 00:44:07,920 Google's been getting a lot of heat from security, from 940 00:44:08,400 --> 00:44:11,980 losing their custom authentication code to China, 941 00:44:12,080 --> 00:44:15,840 allegedly, and stealing everyone's wireless in Europe 942 00:44:15,840 --> 00:44:17,000 that they're going around. 943 00:44:17,160 --> 00:44:18,140 So there's a lot of heat. 944 00:44:18,160 --> 00:44:19,320 There's a lot of heat on Google right now, from a 945 00:44:19,320 --> 00:44:20,040 security perspective. 946 00:44:20,360 --> 00:44:23,340 And I know it's led to them hiring a lot more in the 947 00:44:23,340 --> 00:44:23,980 security department. 948 00:44:24,300 --> 00:44:26,720 I think this will be lower on their priority list, but I 949 00:44:26,720 --> 00:44:28,340 think they'll start getting more involved in the Google 950 00:44:28,340 --> 00:44:29,660 hacking and Bing hacking side of things. 951 00:44:32,080 --> 00:44:33,960 And just to show you, I don't know if you guys have ever 952 00:44:33,960 --> 00:44:34,820 messed with this interface. 953 00:44:35,400 --> 00:44:37,860 Just regular Google, if you expand the side and go to 954 00:44:37,860 --> 00:44:40,400 updates, they are providing. 955 00:44:40,580 --> 00:44:42,900 You could see what was indexed and what was going on in 956 00:44:42,900 --> 00:44:45,800 Twitter and Google five minutes ago, or at 2 PM this 957 00:44:45,800 --> 00:44:46,160 afternoon. 958 00:44:46,820 --> 00:44:48,080 Google's providing real time. 959 00:44:48,160 --> 00:44:49,960 They're streaming updates of this information. 960 00:44:50,300 --> 00:44:53,840 So we're going to start seeing more and more real time uses of 961 00:44:53,840 --> 00:44:56,140 this information in exploitation. 962 00:44:58,860 --> 00:45:01,480 So I will be available for questions after the talk. 963 00:45:02,260 --> 00:45:05,280 I hope you appreciate what we shared today.