1 00:00:00,000 --> 00:00:08,040 So, I figured I'd start a little bit early, being as you're all here and there's more of you than I thought would be here and stuff. 2 00:00:09,300 --> 00:00:22,780 So last time I had a microphone in my hand, I was dressed as a fairy in a gold lame leotard with fake stuff, purple hair, singing Hey Big Spender. 3 00:00:25,060 --> 00:00:29,380 So, I've got pictures, quick show of hands, who wants to see what that looks like? 4 00:00:29,380 --> 00:00:31,100 Right, you may not recover. 5 00:00:36,160 --> 00:00:37,580 I'll be back for it later. 6 00:00:39,700 --> 00:00:43,540 Alright, that's enough, you don't want to, I'm sorry about that everybody. 7 00:00:46,860 --> 00:00:52,100 So my talk today is, can I just try the other microphone because I kind of like to walk around a little bit. 8 00:00:52,200 --> 00:00:53,260 So that you, yeah. 9 00:00:54,920 --> 00:00:55,700 Is that working? 10 00:00:56,680 --> 00:00:58,940 Sorry, I'll try and turn it down a little bit. 11 00:00:59,380 --> 00:01:07,300 So my talk today is Social Networking Special Ops Extending Data Visualization Tools for Faster Pwnage. 12 00:01:08,100 --> 00:01:16,200 I almost called it, you know, after Tom Ryan's talk at Black Hat, getting in bed with the Sugmeister, but I thought nobody would turn up to that. 13 00:01:18,740 --> 00:01:23,660 So, okay, I'm going to rattle through quite a few slides pretty quickly. 14 00:01:23,700 --> 00:01:29,220 There's a ton of stuff out on my website in a white paper, so don't worry too much about the details. 15 00:01:29,380 --> 00:01:30,020 It's all in there. 16 00:01:30,620 --> 00:01:39,100 Quick disclaimer, if anybody does happen to know who I work for, then this talk has got absolutely nothing to do with that particular organization. 17 00:01:39,800 --> 00:01:45,540 I'm just talking here by myself, for myself, and well, you get the idea. 18 00:01:45,740 --> 00:01:49,060 Okay, so what are you in for today? 19 00:01:50,120 --> 00:01:53,800 First of all, I'll give you a quick intro to social network analysis and visualization. 20 00:01:54,020 --> 00:01:56,840 So I'm assuming a lot of people are already familiar with that sort of stuff. 21 00:01:56,920 --> 00:01:58,860 So that's going to go through really quickly. 22 00:01:58,860 --> 00:02:00,260 The details are in the white paper. 23 00:02:01,100 --> 00:02:06,980 I'm going to do a case study with Twitter and a tool called Maltigo, which I'll talk a little bit more about, 24 00:02:07,180 --> 00:02:13,220 and then something a little bit darker using Facebook and Maltigo. 25 00:02:13,580 --> 00:02:22,140 So, okay, goals of the presentation, I want to leave people with an overview or appreciation of really what's happening in this field. 26 00:02:22,540 --> 00:02:27,120 I'm no expert in this sort of stuff, but there's plenty of people that are. 27 00:02:27,300 --> 00:02:28,330 So hopefully, congenital. 28 00:02:28,860 --> 00:02:32,760 So hopefully, you can generate some interest in this room, and you can go off and play with this yourselves. 29 00:02:34,200 --> 00:02:39,880 I want to expose you to some of the ideas that you can imply in different contexts as well. 30 00:02:39,980 --> 00:02:48,400 So I'm talking about Twitter and Facebook, but as you'll see, you can apply this to just about anything that you want to look at in terms of visual representation. 31 00:02:50,020 --> 00:02:54,000 So, quickly, who's the talk aimed at so that I don't waste anybody's time? 32 00:02:54,120 --> 00:02:57,160 Well, I might waste your time, but at least, you know, that's your decision then. 33 00:02:58,200 --> 00:02:58,640 So. 34 00:02:58,860 --> 00:03:06,720 So on the left-hand side, you've got data visualization dudes, and on the bottom, you've got social network analysis dudes. 35 00:03:07,120 --> 00:03:14,620 So if, like me, you fit into the new category, this talk will probably be pretty interesting to you. 36 00:03:15,280 --> 00:03:24,360 If you fit into this category and you're a data visualization expert or a social network analysis expert, you may get something out of it. 37 00:03:24,440 --> 00:03:27,600 And if you're there, then you probably already get it. 38 00:03:28,140 --> 00:03:30,180 But stick around, because I've got a free skateboard. 39 00:03:32,600 --> 00:03:33,780 So who am I? 40 00:03:35,100 --> 00:03:41,640 So I don't know if it's the same for everybody else, but, you know, when you sign up for Twitter, you look for a name, and that name's gone. 41 00:03:41,800 --> 00:03:46,200 So my nickname at school used to be Suggie, and everybody calls me Suggie back at home. 42 00:03:47,180 --> 00:03:49,140 So I looked for Suggie, and somebody's got that. 43 00:03:49,280 --> 00:03:52,840 So then I thought, well, I'll try the Sugginator, because that's kind of rad. 44 00:03:54,180 --> 00:03:55,780 And somebody had got that as well. 45 00:03:55,900 --> 00:03:57,420 So then I went for the Suggmeister. 46 00:03:57,420 --> 00:03:58,320 And there it was. 47 00:03:58,480 --> 00:04:03,140 And this is my favorite cup that a friend got me for Christmas. 48 00:04:03,900 --> 00:04:06,040 I don't know what they were trying to tell me. 49 00:04:07,360 --> 00:04:09,420 By day, I'm in corporate security. 50 00:04:10,300 --> 00:04:14,980 By night, I do this sort of stuff, data analysis, visualization, watch TV. 51 00:04:15,180 --> 00:04:16,120 I didn't put that on there. 52 00:04:16,180 --> 00:04:17,040 I figured everyone does that. 53 00:04:17,180 --> 00:04:21,080 And I attend DC4420, one of the DEF CON chapters. 54 00:04:21,320 --> 00:04:24,240 If you're not familiar with DEF CON chapters, go and take a look at them. 55 00:04:24,300 --> 00:04:26,260 Excellent source of information. 56 00:04:28,040 --> 00:04:34,380 And a strange sequence of events led to me appearing here, which I'll talk about shortly. 57 00:04:34,560 --> 00:04:36,300 So, okay, quick slide here. 58 00:04:36,420 --> 00:04:44,160 Social network analysis, target-rich environment equals a problem or an opportunity, depending on how you're sort of viewing it, really. 59 00:04:45,260 --> 00:04:53,320 This dude here, Jacob Marino, he's sort of credited with being, if you like, the grandfather of social network analysis. 60 00:04:53,480 --> 00:04:56,920 And that sort of graph first appeared in the New York Times. 61 00:04:56,920 --> 00:04:58,040 In 1933. 62 00:04:59,520 --> 00:05:05,140 And it's, you know, around the whole Gestalt psychology movement. 63 00:05:06,140 --> 00:05:09,540 But before then, you can, you know, you can date this stuff back to the Greeks. 64 00:05:09,680 --> 00:05:14,580 But, you know, they didn't really have the same sort of computing power that we've got. 65 00:05:14,700 --> 00:05:16,620 So they were limited, largely. 66 00:05:17,280 --> 00:05:19,620 So target-rich environment, real quick. 67 00:05:20,040 --> 00:05:25,460 There's a Cisco report that said there's 21 exabytes of data flowing around per month or something like that. 68 00:05:25,460 --> 00:05:34,600 There was another report that had a different figure, but of personal content like photos and music and CV, resumes, sorry, and, you know, that kind of stuff. 69 00:05:35,160 --> 00:05:40,260 Before I got out here, I heard that Facebook had 500 million-ish users. 70 00:05:41,620 --> 00:05:44,780 So, you know, Twitter, what was it, 100 million and so on. 71 00:05:44,820 --> 00:05:47,260 So there's a lot of people got their information out there. 72 00:05:47,680 --> 00:05:53,460 And then there was this thing I noticed, which was called sort of the privacy paradox, or what I termed the privacy paradox. 73 00:05:53,540 --> 00:05:55,440 There was a study published. 74 00:05:55,460 --> 00:05:56,500 It was done by Stanford University. 75 00:05:56,860 --> 00:05:59,260 At least I think it was Stanford where it might have been Carnegie. 76 00:05:59,460 --> 00:06:00,200 I can't remember now. 77 00:06:00,280 --> 00:06:01,020 It's in the white paper. 78 00:06:01,700 --> 00:06:03,520 Where they interviewed a bunch of students. 79 00:06:04,760 --> 00:06:10,120 And the students said, well, I take security and privacy seriously, especially with social networking. 80 00:06:10,340 --> 00:06:19,100 But when they actually then looked at their profiles on these social networking sites, they were doing the exact opposite, which is kind of helpful. 81 00:06:19,240 --> 00:06:21,320 So 89% used their real names. 82 00:06:21,340 --> 00:06:24,400 61% used, you know, identifiable pictures. 83 00:06:24,720 --> 00:06:25,440 And what happened? 84 00:06:25,440 --> 00:06:25,700 They didn't have you. 85 00:06:26,600 --> 00:06:33,300 And then finally, this is a really cool paper, especially if you've been trying to explain to your friends who say, well, I've got nothing to hide. 86 00:06:33,360 --> 00:06:34,140 I really don't mind. 87 00:06:35,200 --> 00:06:37,800 They're probably not going to read this paper because it's quite a wedge. 88 00:06:37,920 --> 00:06:40,680 But maybe you can read it and just sort of summarize it for them. 89 00:06:41,540 --> 00:06:44,660 I've got nothing to hide and other misunderstandings of privacy. 90 00:06:45,580 --> 00:06:47,660 So you can help them with this as well. 91 00:06:47,760 --> 00:06:54,740 So while my searches are anonymous, I don't care that Google's correlating all my IP addresses, for example, if they are. 92 00:06:54,740 --> 00:06:55,620 I don't know if they are. 93 00:06:56,780 --> 00:06:58,160 But they're not all that anonymous. 94 00:06:58,480 --> 00:07:17,060 And this lady here, Thelma Arnold, the New York Times, again, there's her name, got a bunch of search results from AOL and managed to figure out that, you know, this lady who was searching for dogs and stuff like that, dog grooming in Georgia was this lady called Thelma Arnold. 95 00:07:17,220 --> 00:07:19,480 And her name didn't appear in it at all. 96 00:07:19,500 --> 00:07:20,700 They were just able to track it back. 97 00:07:20,760 --> 00:07:22,480 And that was like in 2006 or something. 98 00:07:22,560 --> 00:07:24,620 So you can Google her. 99 00:07:24,740 --> 00:07:26,720 There's a lot of background for that if it interests you. 100 00:07:26,780 --> 00:07:31,820 The data is still out there, actually, so you can perform that sort of analysis yourself and see if you arrive at the same conclusion. 101 00:07:32,840 --> 00:07:35,340 So opportunity, lots of data, lots of noise. 102 00:07:36,220 --> 00:07:38,060 So how do you find the interesting stuff? 103 00:07:38,140 --> 00:07:40,500 Just a little bit quicker is really what this talk is about. 104 00:07:42,420 --> 00:07:49,720 By combining data mining, screen scraping techniques, name density recognition, meta crawling, that sort of stuff, and visualization. 105 00:07:51,680 --> 00:07:54,280 So a quick intro to some of the things. 106 00:07:54,740 --> 00:08:01,080 We're going to talk about in the next two sections, name density recognition or NER. 107 00:08:01,080 --> 00:08:07,580 If you look on Wikipedia, you'll see that this kind of definition here, parsing data to extract and classify information. 108 00:08:10,320 --> 00:08:11,400 So sweet. 109 00:08:11,580 --> 00:08:12,180 Get up, man. 110 00:08:14,960 --> 00:08:15,720 Nice one. 111 00:08:17,320 --> 00:08:19,300 Come up here and say a few words. 112 00:08:23,260 --> 00:08:24,080 Oh, my gosh. 113 00:08:26,000 --> 00:08:33,160 All I got to say is that ever since I was a kid, I've enjoyed skateboarding in addition to being here and enjoying this conference. 114 00:08:34,080 --> 00:08:36,460 But this is absolutely beautiful. 115 00:08:37,040 --> 00:08:40,340 And I don't want to take up your time too much, but I really appreciate it. 116 00:08:40,380 --> 00:08:41,760 And thank you very much for the opportunity. 117 00:08:42,400 --> 00:08:43,460 Ice skate to create. 118 00:08:44,620 --> 00:08:45,060 Sweet. 119 00:08:45,140 --> 00:08:45,900 Thanks very much. 120 00:08:45,900 --> 00:08:46,460 Nice one. 121 00:08:49,300 --> 00:08:49,440 Thank you. 122 00:08:51,540 --> 00:08:53,180 Google is doing pretty good then, actually. 123 00:08:53,240 --> 00:08:54,760 If you want to come up and finish that. 124 00:08:55,300 --> 00:08:55,700 Yeah. 125 00:08:56,400 --> 00:08:57,160 So, yeah. 126 00:08:57,260 --> 00:08:59,640 So completely at randomly, I chose this phrase. 127 00:09:00,240 --> 00:09:03,220 Greg bought 300,000 shares of Legat in 2010. 128 00:09:03,400 --> 00:09:07,540 And if you were to put that, if you don't know about Legat, then please do Google that. 129 00:09:07,580 --> 00:09:08,260 It's very interesting. 130 00:09:08,800 --> 00:09:10,100 Legat and attrition. 131 00:09:10,120 --> 00:09:11,260 And you should be on to something. 132 00:09:12,680 --> 00:09:17,560 So if you run that phrase through name density recognition, you'd come out with something a little bit like this. 133 00:09:17,560 --> 00:09:23,100 Now, I'm mentioning name density recognition because it's a feature in Maltego, which is a tool I'm going to talk about a little bit later. 134 00:09:23,660 --> 00:09:28,060 There's a bunch of products out there that I mentioned in the white paper called Open Calais and stuff like that. 135 00:09:28,180 --> 00:09:28,740 It's really cool. 136 00:09:29,180 --> 00:09:30,280 Go check it out. 137 00:09:30,520 --> 00:09:31,660 So data visualization. 138 00:09:32,340 --> 00:09:35,660 This guy here has done an incredible amount with data visualization. 139 00:09:35,760 --> 00:09:38,920 If you've not read this book, I recommend you go and get it. 140 00:09:39,040 --> 00:09:47,080 And he mentions a tool called processing, which is a pretty phenomenal data visualization tool if you've not used it. 141 00:09:47,720 --> 00:09:52,860 But he also lists these kinds of steps here on the right about how you go and get visual data. 142 00:09:53,020 --> 00:09:55,720 So you're acquiring data, parsing it, filtering it, mining it. 143 00:09:55,760 --> 00:09:57,520 And then eventually you render it. 144 00:09:57,600 --> 00:09:59,300 And then you can interact with it. 145 00:10:00,000 --> 00:10:08,820 Well, I was really interested in this interaction piece because I want to interact with data but not leave the visualization sort of interface. 146 00:10:09,960 --> 00:10:11,760 So I'm going to talk a little bit more about that. 147 00:10:11,800 --> 00:10:12,560 But check out the book. 148 00:10:12,640 --> 00:10:13,280 It's really good. 149 00:10:14,000 --> 00:10:16,380 And then I met this guy here just before the talk. 150 00:10:17,080 --> 00:10:23,300 I met up with him a few times here at Black Hat and B-Sides and what have you and here at DEF CON, Rafael Marti. 151 00:10:23,300 --> 00:10:24,240 And he's written this book. 152 00:10:24,560 --> 00:10:27,680 And he's put together this secviz.org site. 153 00:10:28,380 --> 00:10:31,860 If you're into visualization, security visualization, check him out. 154 00:10:31,980 --> 00:10:35,580 He seems to know everyone in the field and has done some really great work. 155 00:10:35,680 --> 00:10:37,980 And I appreciate him sort of reaching out to me. 156 00:10:38,100 --> 00:10:39,760 So these are the tools, some of the tools. 157 00:10:39,840 --> 00:10:40,980 It's not an exhaustive list. 158 00:10:42,200 --> 00:10:46,560 You know, the secviz will show you a little bit more multi-ego processing. 159 00:10:46,560 --> 00:10:50,040 Prefuse and Prefuse Flare are really nice environments. 160 00:10:50,180 --> 00:10:54,300 There's a Linux distribution as well, a Linux environment you can play with. 161 00:10:55,660 --> 00:10:57,560 But I'm going to focus on multi-ego. 162 00:10:57,720 --> 00:11:01,140 So this is where we change the pace of the talk a little bit from the science. 163 00:11:01,220 --> 00:11:05,620 If the stuff in the previous, in this section has interested you, the white paper will have all the references. 164 00:11:05,980 --> 00:11:08,100 So what's multi-ego? 165 00:11:10,420 --> 00:11:16,540 So multi-ego is an information gathering tool that allows you to visualize. 166 00:11:16,540 --> 00:11:18,380 You can visually see relationships. 167 00:11:18,940 --> 00:11:26,160 And typically that's been like infrastructure, like DNS names, web servers, IP addresses and whatnot. 168 00:11:26,460 --> 00:11:30,900 And also human information, like email addresses, phone numbers and stuff. 169 00:11:31,220 --> 00:11:33,080 And this is really the cool bit. 170 00:11:33,140 --> 00:11:35,860 It's extendable by design. 171 00:11:36,160 --> 00:11:44,220 So if you haven't got something in there by default, you can add what are called local transforms. 172 00:11:44,320 --> 00:11:45,860 I'll talk a little bit more about that. 173 00:11:46,540 --> 00:11:49,400 So you go to the Perturba.com site. 174 00:11:49,480 --> 00:11:56,640 This is written by two guys, Rolof Tmingi and Andy McPherson or Andrew Mohawk. 175 00:11:56,920 --> 00:12:02,280 They were with Sensepost originally and left to create this company. 176 00:12:02,800 --> 00:12:10,340 And right now, this week, I'm not on commission, by the way, but there's a 25% discount if you use the coupon code BLACKHAT. 177 00:12:11,240 --> 00:12:15,200 So you fire up multi-ego, you get an interface that looks a little bit like this. 178 00:12:16,540 --> 00:12:19,660 And then let's say you want to have a look at some of the domains. 179 00:12:21,060 --> 00:12:23,620 I just chose six domains at random. 180 00:12:23,700 --> 00:12:31,720 You can't really read it here, but it's like legat, legatsecurity, thecyberwars.com, and securitygeek.com with threes in the geek bit. 181 00:12:31,780 --> 00:12:32,560 And that's my website. 182 00:12:32,840 --> 00:12:37,580 And I wanted to see if there was sort of anything in common with these websites. 183 00:12:38,620 --> 00:12:42,940 So here's the interesting thing about the MX records. 184 00:12:42,940 --> 00:12:55,080 High Tech Hustler, Cyber Wars, Legat International Security or legat.com all point to these MX records, which, of course, could be completely by chance. 185 00:12:55,760 --> 00:12:58,520 And mine is off to something completely different. 186 00:12:58,700 --> 00:13:00,760 You can go a lot further with that then. 187 00:13:00,820 --> 00:13:03,860 You can sort of have a look at which websites are hosted on that domain. 188 00:13:04,740 --> 00:13:11,940 What I also played around with, but I'm not going to share here today, is that you could get all of the email addresses that appear on those websites. 189 00:13:11,940 --> 00:13:17,260 And then you can see what other websites those email addresses appear on. 190 00:13:17,340 --> 00:13:18,000 So I did that. 191 00:13:18,120 --> 00:13:30,620 I got a bunch of email addresses, ran a transform against all of those email addresses, and found out that those email addresses appeared largely in two main sites, which were attrition.org and pastebin. 192 00:13:30,740 --> 00:13:33,360 So, you know, if you know nothing about it, you'll find out something. 193 00:13:33,540 --> 00:13:34,060 So, okay. 194 00:13:35,180 --> 00:13:41,060 Second part of the talk really is around doing this sort of stuff, but with Twitter. 195 00:13:41,480 --> 00:13:41,920 Okay. 196 00:13:41,940 --> 00:13:49,200 I thought Twitter was a little bit lame until I came to DEF CON last year and had my mind changed and thought I'd get into it. 197 00:13:50,200 --> 00:13:51,840 There's a couple of people I started following. 198 00:13:51,940 --> 00:13:53,740 One of the guys was Ryan Russell. 199 00:13:53,900 --> 00:13:55,020 I don't know if he's here. 200 00:13:55,080 --> 00:13:57,180 He was heading off to the Hofbrauhaus. 201 00:13:57,500 --> 00:14:01,740 But, yeah, so he's a good guy to follow, actually. 202 00:14:02,560 --> 00:14:07,940 And another guy I followed was this dude, Tony Hawk, the skateboard dude. 203 00:14:08,380 --> 00:14:09,720 I'm not sure how that happened. 204 00:14:09,720 --> 00:14:22,820 But I got involved in something called a Tony Hawk Twitter hunt, which is basically where he hides boxes or delivers boxes to people to hide around the world. 205 00:14:23,700 --> 00:14:32,920 And then they send Tony clues of where they've hidden packages, and Tony tweets out the clue to all of his 2 million plus followers. 206 00:14:33,180 --> 00:14:36,380 And then they go around and try and hunt it down. 207 00:14:36,480 --> 00:14:38,440 He got the idea as he was driving home one day. 208 00:14:38,440 --> 00:14:47,540 And had a broken skateboard that he had just wrecked and chucked it out of the window along some interstate here in the U.S. 209 00:14:47,540 --> 00:14:50,420 And said, hey, I've just thrown a board out of the window. 210 00:14:50,440 --> 00:14:51,000 Go get it. 211 00:14:51,080 --> 00:14:54,160 And a bunch of people went and found it. 212 00:14:54,240 --> 00:15:00,220 So, anyway, he sent out a tweet last year sort of after DEF CON saying, I'm doing something really big. 213 00:15:00,800 --> 00:15:05,680 If you want to get involved with it, send me a tweet of who you are, where you live, and why I can trust you. 214 00:15:05,740 --> 00:15:07,180 So, you know, I did that. 215 00:15:09,060 --> 00:15:14,080 And then, to my surprise, I got selected to, you know, get involved in this event. 216 00:15:14,320 --> 00:15:18,960 And I was, like, really excited because, you know, I mean, I'm pushing 40 years of age. 217 00:15:19,120 --> 00:15:25,220 So, clearly, anything that's to do with, like, a skateboard legend and, you know, Tony Hawk, I'm like, oh, yes, fantastic. 218 00:15:27,360 --> 00:15:29,180 Which is probably a little bit sad. 219 00:15:29,260 --> 00:15:36,860 But my wife tolerates it because she's seen his house on MTV Cribs and thinks it's the coolest thing she's ever seen. 220 00:15:37,000 --> 00:15:38,280 So, I'm telling you. 221 00:15:38,280 --> 00:15:50,260 All of my colleagues at work who are also, you know, in security and whatnot, far later than I am, I said, oh, I'm doing this thing with Tony Hawk on Twitter. 222 00:15:50,500 --> 00:15:52,900 And he's going to send me a box to my house. 223 00:15:52,980 --> 00:15:54,220 And I'm going to hide it somewhere. 224 00:15:55,000 --> 00:16:08,260 So, one of my colleagues, a gentleman called Pat Udor who's sitting down here, he said, okay, Chris, so you've given your address to somebody on Twitter who claims to be Tony Hawk. 225 00:16:10,980 --> 00:16:22,080 And he's going to send you a box which you're going to hide in a city that got rid of dustbins because of the IRA. 226 00:16:26,900 --> 00:16:30,100 And no problems there at all, Chris, were his exact words. 227 00:16:32,700 --> 00:16:38,260 And then, you know, a couple of days ago, over dinner, he was saying, oh, yeah, that would be great. 228 00:16:38,260 --> 00:16:39,720 That would be a really cool thing to do. 229 00:16:39,820 --> 00:16:41,540 Pretend to be somebody else on Twitter. 230 00:16:41,960 --> 00:16:43,820 Get them engaged with what you're doing. 231 00:16:43,920 --> 00:16:49,500 Let's say you have a Twitter ID called the Real Lady Gaga and stuff and say, hey, I'm going to hide something around the world. 232 00:16:49,620 --> 00:16:50,860 Just need to send you a parcel. 233 00:16:52,300 --> 00:16:53,600 You know, what's in it for you? 234 00:16:53,700 --> 00:16:56,480 Extra Farmville points, I think, was what he suggested. 235 00:16:57,440 --> 00:16:59,580 So, maybe it's a Facebook hunt or something. 236 00:16:59,880 --> 00:17:06,800 And then you could really launch something quite incredible just by getting other people who are quite innocent to do stuff for you. 237 00:17:06,860 --> 00:17:08,240 So, I was like, oh, that's really cool. 238 00:17:08,260 --> 00:17:08,620 That's a really good idea. 239 00:17:08,700 --> 00:17:09,300 I'll mention that. 240 00:17:11,880 --> 00:17:13,480 But don't do it because that would be illegal. 241 00:17:14,140 --> 00:17:18,280 So, anyway, Tony sent me this box undeterred by all of this. 242 00:17:18,400 --> 00:17:19,580 Is it the real Tony Hawk? 243 00:17:19,660 --> 00:17:20,440 I'm like, yeah, of course it is. 244 00:17:20,480 --> 00:17:21,180 It's got the blue tick. 245 00:17:21,480 --> 00:17:22,360 How could it not be? 246 00:17:23,860 --> 00:17:30,620 If you're not familiar with Twitter and, you know, if you're a celebrity or something, you get like a little blue tick. 247 00:17:30,900 --> 00:17:33,500 There's obviously a delay because I haven't got mine yet. 248 00:17:35,820 --> 00:17:38,240 So, I had to hide the... 249 00:17:38,260 --> 00:17:40,720 I had to hide the box and then come out with a clue. 250 00:17:40,800 --> 00:17:48,000 So, this was my clue guarded by a fearsome troll northwest from a house where you might have to pay money to pass and a skateboard. 251 00:17:48,160 --> 00:17:52,000 Well, I live sort of northwest of a toll house. 252 00:17:52,340 --> 00:17:55,720 That's the house where you might have to pay money to pass. 253 00:17:56,260 --> 00:17:57,960 Northwest of that is a skate park. 254 00:17:58,040 --> 00:18:04,320 And if you keep going northwest, you'll head to two bridges that look a little bit like this. 255 00:18:04,680 --> 00:18:06,720 So, I was... 256 00:18:06,720 --> 00:18:09,920 I hid the package under the bridge. 257 00:18:10,220 --> 00:18:12,140 And at this point, I was a little bit concerned. 258 00:18:12,220 --> 00:18:13,060 So was my wife. 259 00:18:14,640 --> 00:18:20,340 Because clearly, this bridge and the other bridge are two of the main arteries around our village. 260 00:18:20,540 --> 00:18:22,300 So, they're very sensitive. 261 00:18:23,220 --> 00:18:24,860 And I didn't want to get spotted. 262 00:18:25,020 --> 00:18:28,500 So, I figured I'd do this under the cover of broad daylight. 263 00:18:30,420 --> 00:18:32,540 And nobody challenged me at all. 264 00:18:33,120 --> 00:18:34,560 Which was pretty interesting. 265 00:18:34,860 --> 00:18:35,860 And I sent the clue out. 266 00:18:35,860 --> 00:18:40,800 Now, this guy here at Stephen Gill, who's now one of my heroes. 267 00:18:41,460 --> 00:18:48,380 He was so amped about this whole Tony Hawk thing that he drove up from a different city in the UK and camped out in Basingstoke. 268 00:18:48,740 --> 00:18:51,380 Which is the culture capital of Europe, by the way. 269 00:18:52,300 --> 00:18:53,940 If you've not been there, you should. 270 00:18:55,700 --> 00:19:00,060 So, he camped out there all day just waiting for Tony, who's based in San Diego, to send out a tweet. 271 00:19:00,180 --> 00:19:02,160 So, you can imagine that Tony's a skateboarder. 272 00:19:02,180 --> 00:19:03,980 And skateboarders probably don't get up that early. 273 00:19:04,040 --> 00:19:05,500 So, he sent the tweet out. 274 00:19:05,500 --> 00:19:07,020 You know, a little bit later. 275 00:19:08,780 --> 00:19:11,100 And he went on a mad hunt and kept tweeting, 276 00:19:11,220 --> 00:19:12,060 Has anybody found it yet? 277 00:19:12,100 --> 00:19:12,880 Has anybody found it? 278 00:19:12,880 --> 00:19:13,580 And I'm thinking, I don't know. 279 00:19:13,640 --> 00:19:14,180 I'm at work. 280 00:19:14,840 --> 00:19:15,580 Miles away. 281 00:19:17,260 --> 00:19:19,600 And then eventually I got this from him. 282 00:19:20,260 --> 00:19:21,020 Camo netting. 283 00:19:21,020 --> 00:19:21,920 You're a bad man. 284 00:19:22,000 --> 00:19:25,840 He'd been to a number of the bridges and hadn't spotted it because I'd camouflaged the box. 285 00:19:26,100 --> 00:19:29,500 But anyway, this is what he looked like. 286 00:19:29,540 --> 00:19:30,440 He was a happy camper. 287 00:19:30,640 --> 00:19:31,800 And this is what he won. 288 00:19:32,400 --> 00:19:34,440 The IHAC Charities badge. 289 00:19:34,440 --> 00:19:35,760 I put on there. 290 00:19:35,880 --> 00:19:43,600 And I thought it'd be a nice twist to add a Union Jack flag in there because most of these packages were being hid in the US. 291 00:19:44,040 --> 00:19:52,260 So, clearly I don't have a life because this is what I wanted to see. 292 00:19:52,440 --> 00:19:54,560 And I can't explain why I wanted to see this. 293 00:19:54,660 --> 00:19:55,680 But I wanted to see it. 294 00:19:56,060 --> 00:19:59,600 I wanted to see a Google map with where all of the things were hidden. 295 00:19:59,960 --> 00:20:00,940 Who hid them. 296 00:20:01,060 --> 00:20:02,440 And who found them. 297 00:20:02,540 --> 00:20:03,860 And what it was they found. 298 00:20:03,860 --> 00:20:05,620 So, I thought, well, that'll be easy enough. 299 00:20:07,360 --> 00:20:11,620 All of the people that hid stuff followed this dude on Twitter at hiding it. 300 00:20:11,680 --> 00:20:16,300 All of the people who found stuff tweeted at I found one. 301 00:20:16,900 --> 00:20:20,060 Or was supposed to tweet at I found one. 302 00:20:20,120 --> 00:20:26,800 And Tony was meant to send out a tweet saying found with the hashtag THTH with the location and who found it. 303 00:20:26,880 --> 00:20:28,180 So, I thought that'll be a piece of cake. 304 00:20:28,840 --> 00:20:33,840 I'll do that in the two hours that my, you know, my eight month pregnant wife at the time was going to be there. 305 00:20:33,840 --> 00:20:34,980 To get a, you know, a haircut. 306 00:20:35,140 --> 00:20:36,020 I thought, yes, I'll do that. 307 00:20:37,200 --> 00:20:38,560 So, I did what I do now. 308 00:20:38,620 --> 00:20:39,280 I don't use Google. 309 00:20:39,340 --> 00:20:40,420 I just go straight to Twitter. 310 00:20:41,600 --> 00:20:43,480 And I ask people on Twitter. 311 00:20:43,540 --> 00:20:45,160 I say, how do I do X, Y, and Z? 312 00:20:46,560 --> 00:20:49,420 Which is, you know, basically like read the manual. 313 00:20:50,100 --> 00:20:53,280 But some people do actually jump in and say, yeah, this is how you do it. 314 00:20:53,340 --> 00:20:57,500 So, this guy here, Lost Highway, who's really helped with a lot of this stuff. 315 00:20:57,520 --> 00:20:58,420 He may be here as well. 316 00:20:58,500 --> 00:21:00,300 He said, oh, you should play around with Maltigo. 317 00:21:01,160 --> 00:21:01,740 There you go. 318 00:21:02,400 --> 00:21:04,180 You can't read that, but it's not important. 319 00:21:04,380 --> 00:21:06,200 Go and play around with Maltigo. 320 00:21:06,200 --> 00:21:06,780 That'll do it. 321 00:21:06,780 --> 00:21:08,420 Or you can hack it to make it do what you want. 322 00:21:08,620 --> 00:21:09,980 So, I was like, okay, I'll try it. 323 00:21:10,080 --> 00:21:15,100 So, hider, finder, Google map, piece of cake, basically what I was thinking. 324 00:21:15,240 --> 00:21:17,440 So, let's see who's friends of the hiders. 325 00:21:17,640 --> 00:21:20,780 And this is where we do this in Maltigo. 326 00:21:20,920 --> 00:21:25,920 So, with Maltigo, I did it this sort of half-assed sort of way. 327 00:21:26,200 --> 00:21:27,740 Sorry, half-assed sort of way. 328 00:21:28,840 --> 00:21:31,000 What you do, you can't really see it here. 329 00:21:31,000 --> 00:21:39,980 But to get to, like, a Twitter entity or person, I had to go this sort of obscure route, 330 00:21:40,700 --> 00:21:42,820 which is where you put the phrase entity. 331 00:21:43,380 --> 00:21:45,640 This is all in the white paper, so I'll move quickly. 332 00:21:45,760 --> 00:21:46,960 You put the phrase entity on there. 333 00:21:47,040 --> 00:21:47,800 It was at hiding it. 334 00:21:47,840 --> 00:21:50,700 So, I wanted to see all the tweets that had at hiding it in it. 335 00:21:52,620 --> 00:21:55,700 Then I used this transform here to do that. 336 00:21:55,820 --> 00:21:59,400 So, search Twitter with all those tweets with the at hiding it in it. 337 00:21:59,660 --> 00:22:00,760 Get those tweets. 338 00:22:00,760 --> 00:22:05,280 There they all are, the purple sort of strictly virusy sort of things. 339 00:22:06,120 --> 00:22:09,820 And then convert one of those to an actual Twitter user. 340 00:22:10,440 --> 00:22:17,820 And voila, that's French for you get the at hiding it entity. 341 00:22:18,080 --> 00:22:19,500 So, I was like, yeah, okay, you can do that. 342 00:22:19,540 --> 00:22:23,040 There is a quick way to do that, but I explained earlier I'm not lead. 343 00:22:23,680 --> 00:22:25,300 So, I do things the long way. 344 00:22:25,880 --> 00:22:28,640 Actually, but not as long as Pat Udall's daughter, 345 00:22:28,640 --> 00:22:33,360 who was trying to get some images off a website 346 00:22:33,360 --> 00:22:37,540 and wasn't quite familiar with the sort of right-click download image. 347 00:22:38,580 --> 00:22:41,560 So, she really is lead because she fired up the fiddler, 348 00:22:42,180 --> 00:22:44,960 which is like a web proxy to download those images, 349 00:22:45,060 --> 00:22:46,200 which I thought was pretty neat. 350 00:22:47,160 --> 00:22:51,620 Sorry, that's a tangent, but not a dark tangent. 351 00:22:51,860 --> 00:22:53,560 Okay, friends of this person. 352 00:22:53,640 --> 00:22:55,300 So, here you can do this. 353 00:22:55,340 --> 00:22:57,260 This is built into Multigo. 354 00:22:57,260 --> 00:22:59,840 So, I can go around, select this thing. 355 00:22:59,920 --> 00:23:00,700 It's called a transform. 356 00:23:00,920 --> 00:23:05,240 Basically, what it does is transform an entity into a bunch of other stuff. 357 00:23:05,340 --> 00:23:07,180 So, you go ahead and click that, 358 00:23:07,340 --> 00:23:12,060 and then you get all of the people that are following at hiding it. 359 00:23:12,520 --> 00:23:13,540 So, I picked one. 360 00:23:14,080 --> 00:23:14,980 Here I am. 361 00:23:15,920 --> 00:23:19,040 You can apply this to all of the entities in the graph 362 00:23:19,040 --> 00:23:22,520 or just one or, you know, just a bunch that you select. 363 00:23:23,820 --> 00:23:26,820 And I wanted to see the tweets that this person had written 364 00:23:27,260 --> 00:23:27,760 or that I'd written. 365 00:23:28,380 --> 00:23:30,660 And that's where this kind of thing happened. 366 00:23:30,760 --> 00:23:31,740 Actually, that didn't happen. 367 00:23:31,820 --> 00:23:32,800 I did get some results. 368 00:23:32,900 --> 00:23:34,220 That's the fail whale on Twitter. 369 00:23:34,300 --> 00:23:35,340 It means bad things. 370 00:23:37,500 --> 00:23:40,540 It turns out there are a number of limitations with Twitter search. 371 00:23:42,120 --> 00:23:46,640 First of all, you're only going to get about two weeks' worth of data indexed. 372 00:23:47,180 --> 00:23:50,820 So, if you send tweets out before that time, you're not going to be able to look at it. 373 00:23:50,860 --> 00:23:51,740 It doesn't index everybody. 374 00:23:54,500 --> 00:23:55,580 So, you're limited. 375 00:23:55,580 --> 00:23:58,860 So, I knew that was a problem because I was expecting like 53 tweets. 376 00:23:59,320 --> 00:24:02,080 That was before I went on Twitter overdrive, 377 00:24:02,140 --> 00:24:05,460 and now I'm at like 4,500, mainly complete nonsense. 378 00:24:07,260 --> 00:24:08,680 And I only got 12 results. 379 00:24:09,140 --> 00:24:09,740 That's weird. 380 00:24:09,860 --> 00:24:13,380 So, I pinged the guys who wrote Maltego, Roloff, and Andy. 381 00:24:13,480 --> 00:24:14,560 I was like, I'm only getting these results. 382 00:24:14,780 --> 00:24:17,020 And they must have been thinking, oh, God, I wish he'd go away. 383 00:24:18,680 --> 00:24:20,020 And they tried it as well 384 00:24:20,760 --> 00:24:23,420 because I told them what I was trying to do with the Tony Hawk thing. 385 00:24:24,160 --> 00:24:25,040 And they were like, oh. 386 00:24:25,580 --> 00:24:25,920 That's weird. 387 00:24:27,220 --> 00:24:28,620 We're seeing the same thing. 388 00:24:28,680 --> 00:24:29,440 I wonder what's going on. 389 00:24:29,480 --> 00:24:32,300 So, I did some digging around, found about all these Twitter search limitations. 390 00:24:32,680 --> 00:24:33,520 And I thought, oh, bollocks. 391 00:24:34,680 --> 00:24:35,660 What am I going to do? 392 00:24:35,860 --> 00:24:39,920 And this is where Roloff said, well, you know, if you can write something 393 00:24:40,920 --> 00:24:46,080 and you can pass it an argument and you can return data in standard output, 394 00:24:46,220 --> 00:24:48,420 then you can write what's called a local transform. 395 00:24:49,700 --> 00:24:53,480 And Maltego have got these like forums where they've got all these examples on there. 396 00:24:56,500 --> 00:24:59,020 So, I'll talk a little bit more about that in a minute. 397 00:24:59,120 --> 00:25:03,920 But the concept here, if you want to analyze anything visually and you can call a script, 398 00:25:04,140 --> 00:25:10,580 and even I, an Excel jockey, can write a script and pass data back, then you're away. 399 00:25:11,120 --> 00:25:14,740 You could buy this book or you could just look on Twitter.com 400 00:25:14,740 --> 00:25:17,900 and search for the API stuff that's got a ton of great information there. 401 00:25:19,560 --> 00:25:22,080 What you'll find is that you've got three APIs with Twitter. 402 00:25:22,100 --> 00:25:25,560 You've got a search one, another one for picking up data. 403 00:25:25,560 --> 00:25:29,560 You've got the data from Twitter and the streaming API or the firehose. 404 00:25:31,140 --> 00:25:34,260 The rest API, one of them is search. 405 00:25:34,420 --> 00:25:38,840 The reason search is kind of screwed is because it was by another company which Twitter then bought. 406 00:25:39,200 --> 00:25:41,860 And this is kind of what the call would look like. 407 00:25:42,020 --> 00:25:44,980 So, you can't see it. You don't need to read it. 408 00:25:45,040 --> 00:25:48,240 It's not that important right now. It's in the white paper and on the slides. 409 00:25:48,640 --> 00:25:50,220 So, these are the gotchas that you get. 410 00:25:50,280 --> 00:25:51,560 You've got a 200-tweet limit. 411 00:25:51,720 --> 00:25:55,460 So, every time you call Twitter, that's one API. 412 00:25:55,560 --> 00:25:57,120 Every time you do an API call, you get 200 things back. 413 00:25:58,260 --> 00:26:00,060 You can't search by date. 414 00:26:00,120 --> 00:26:02,500 The max history is about 3,200 tweets. 415 00:26:02,740 --> 00:26:06,660 And you've got a limit of 158 API calls an hour. 416 00:26:08,700 --> 00:26:13,840 So, if you've got 100 people, three API calls each, say, 417 00:26:13,860 --> 00:26:16,980 because you want to get tweets, like 600 tweets for them, 418 00:26:17,080 --> 00:26:20,540 then that's 300 and that's going to blow your API calls for an hour. 419 00:26:20,660 --> 00:26:23,960 So, if you scale that to looking at 1,000 people, for example, 420 00:26:23,960 --> 00:26:24,780 you're clearly screwed. 421 00:26:26,520 --> 00:26:28,320 But this is where whitelisting comes in. 422 00:26:28,420 --> 00:26:30,140 So, if you're playing around with Twitter and data mining, 423 00:26:30,180 --> 00:26:31,740 trying to do anything interesting with it, 424 00:26:31,780 --> 00:26:33,640 I'd encourage you to explore the whitelisting. 425 00:26:33,640 --> 00:26:35,180 Just Google Twitter whitelisting. 426 00:26:36,380 --> 00:26:40,220 You have to apply for it based on, like, a static IP or a username. 427 00:26:40,780 --> 00:26:45,280 And then that bumps up your API calls from 150 an hour to 20,000, 428 00:26:45,360 --> 00:26:48,420 which enables you to do all sorts of weird and wonderful cool things. 429 00:26:49,740 --> 00:26:51,240 So, okay, back in business. 430 00:26:51,260 --> 00:26:53,400 Now I want to find where the winners of the packages were. 431 00:26:53,400 --> 00:26:55,280 So I'll pull out Tony Hawk here 432 00:26:56,080 --> 00:26:59,560 and then list all of the people that Tony Hawk had mentioned in his tweets 433 00:26:59,560 --> 00:27:02,300 over a period of time, which was roughly sort of 600 tweets, 434 00:27:02,520 --> 00:27:06,300 because I figured he'd say somebody, Dave, for example, 435 00:27:06,320 --> 00:27:09,260 found skateboard in San Francisco. 436 00:27:10,220 --> 00:27:13,220 And then I'd be able to look at all of the people who were following it, 437 00:27:13,240 --> 00:27:15,240 hiding it in the location of San Francisco. 438 00:27:15,320 --> 00:27:16,400 So I did that like that. 439 00:27:16,560 --> 00:27:20,580 There are all the people that Tony mentions, potential finders. 440 00:27:21,080 --> 00:27:25,940 And I repeated that for all of the people that Tony mentioned. 441 00:27:26,820 --> 00:27:28,680 And you do that a couple more times, 442 00:27:28,740 --> 00:27:31,140 and you start getting a graph that looks a little bit like this. 443 00:27:31,240 --> 00:27:33,200 So once you've completed that exercise 444 00:27:33,200 --> 00:27:35,680 and done the same thing for the people hiding packages, 445 00:27:36,000 --> 00:27:40,580 you end up with one of these, which is big. 446 00:27:42,280 --> 00:27:44,680 So I thought, at this point, I saved it. 447 00:27:44,740 --> 00:27:45,500 And I thought, well, that's good. 448 00:27:45,580 --> 00:27:50,440 But I wonder what happens if I now get all of the people they mentioned in all of their tweets, 449 00:27:50,940 --> 00:27:53,720 I know it's going to take a little bit of time, so I'll go for a run. 450 00:27:53,960 --> 00:27:57,440 And it was about halfway around a six-mile run, so it was about ten hours in. 451 00:27:58,840 --> 00:28:04,240 I thought, shit, all of this stuff's actually going on on some service in South Africa 452 00:28:04,240 --> 00:28:07,080 for some dude who'd given me a license key for 21 days 453 00:28:07,080 --> 00:28:09,660 to play around with a tool to write a blog post from a skateboarder 454 00:28:09,660 --> 00:28:10,660 that they don't even know about. 455 00:28:11,800 --> 00:28:13,400 They're fans of him now, by the way. 456 00:28:13,700 --> 00:28:14,340 Thanks, Tony. 457 00:28:14,880 --> 00:28:15,640 So I did that. 458 00:28:15,700 --> 00:28:18,700 And when I got back, I was greeted with this. 459 00:28:20,760 --> 00:28:24,760 So you've got to be a little bit sensible about what you do. 460 00:28:24,860 --> 00:28:29,120 They didn't come and get me or anything because, well, they haven't done yet. 461 00:28:29,940 --> 00:28:33,640 So what you do then, you want to sort of reduce your graph a little bit 462 00:28:33,640 --> 00:28:37,780 so you can select all of the people who haven't talked to anybody else or are irrelevant, 463 00:28:37,860 --> 00:28:40,240 and you get a much cleaner-looking graph. 464 00:28:40,860 --> 00:28:43,400 And then you can play with the views of the graph. 465 00:28:43,560 --> 00:28:44,180 So here you are. 466 00:28:44,240 --> 00:28:46,700 Here's what's called a centrality layout. 467 00:28:46,900 --> 00:28:50,360 So you can see all of the people that are following, hiding it, 468 00:28:50,360 --> 00:28:52,860 all of the people that are following or friends of Tony Hawk. 469 00:28:53,200 --> 00:28:55,480 You can see people Tony's mentioned there, 470 00:28:55,600 --> 00:28:58,920 and you can see people following and hiding it. 471 00:28:58,920 --> 00:29:01,020 And you can see the communication between the two of them. 472 00:29:01,060 --> 00:29:02,520 So you've already got a bit of a link. 473 00:29:02,600 --> 00:29:04,480 They've been talking about something probably. 474 00:29:04,700 --> 00:29:06,680 Hey, I hid that package in San Francisco. 475 00:29:06,720 --> 00:29:07,840 You found it. Cool job. 476 00:29:09,680 --> 00:29:11,980 You can also see that in an organic view 477 00:29:11,980 --> 00:29:15,300 where you get nice little pictures of the people that you're looking at like this. 478 00:29:15,360 --> 00:29:16,060 So here's me. 479 00:29:16,060 --> 00:29:17,940 Here's Steve and Gil, Tony, and hiding it. 480 00:29:18,020 --> 00:29:19,600 And you can see that we had some communication. 481 00:29:22,060 --> 00:29:25,080 Then you can explore that in an edge-weighted context as well 482 00:29:25,080 --> 00:29:27,440 so that you can actually pull out the major players 483 00:29:27,440 --> 00:29:29,940 or major conversationalists in an event. 484 00:29:30,200 --> 00:29:32,480 So I could look at this for DEF CON afterwards 485 00:29:32,480 --> 00:29:35,980 and see who had the most interesting talks and stuff like that. 486 00:29:37,080 --> 00:29:40,860 In this, then I found that you had some dude called Jerome Case. 487 00:29:41,020 --> 00:29:43,900 Now, I knew that name Jerome Case because he had sent me the skateboard, 488 00:29:44,520 --> 00:29:46,120 but I didn't know he was on Twitter, 489 00:29:46,240 --> 00:29:47,780 so that was quite an interesting find. 490 00:29:48,440 --> 00:29:49,520 And then looking at this, 491 00:29:49,520 --> 00:29:51,740 if you knew nothing about Tony Hawk's Twitter hunt, 492 00:29:51,820 --> 00:29:54,300 you'd see that I had something to do with it 493 00:29:54,300 --> 00:29:56,500 and you'd see that Steve and Gil had something to do with it. 494 00:29:56,560 --> 00:29:58,700 And the reason we were mentioned a lot of times in this 495 00:29:59,220 --> 00:30:04,200 is because we wrote two blog posts about my tales of sort of hiding the package 496 00:30:04,200 --> 00:30:05,560 and his tales of finding it. 497 00:30:05,660 --> 00:30:09,360 And Tony retweeted that a bunch of times to like a million plus people, 498 00:30:10,000 --> 00:30:13,220 at which point I was so excited I didn't sleep for three days. 499 00:30:14,360 --> 00:30:16,840 And neither did my wife because she was giving birth. 500 00:30:17,440 --> 00:30:17,880 Um... 501 00:30:20,140 --> 00:30:22,200 So, yeah, that was kind of unrelated. 502 00:30:22,360 --> 00:30:25,540 This is what Tony and Jerome Case looked like. 503 00:30:25,700 --> 00:30:27,120 Sweet Jerome and Tony Hawk. 504 00:30:27,660 --> 00:30:31,700 They've been pretty awesome with this whole DEF CON Twitter hunt thing as well. 505 00:30:31,780 --> 00:30:32,540 So lessons learned. 506 00:30:32,680 --> 00:30:33,980 Plan what you're going to do 507 00:30:35,140 --> 00:30:36,900 because if you don't plan, 508 00:30:36,960 --> 00:30:38,980 then you can spend a lot of time generating pretty graphs 509 00:30:38,980 --> 00:30:40,500 but not actually doing anything constructive. 510 00:30:41,720 --> 00:30:42,780 Take a look at this thing. 511 00:30:42,820 --> 00:30:44,180 It's the speed and accuracy bar. 512 00:30:44,840 --> 00:30:46,700 If you have it slid over to the left, 513 00:30:46,740 --> 00:30:48,620 then you get like a minimal number of results back. 514 00:30:49,160 --> 00:30:50,360 Like 12 or so. 515 00:30:50,420 --> 00:30:51,940 And if you have it slid over to the right, 516 00:30:52,080 --> 00:30:55,040 then you get a whole stack of results back. 517 00:30:55,140 --> 00:30:57,520 So test it with it slid over to the left. 518 00:30:57,540 --> 00:30:58,300 Make sure it works. 519 00:30:58,360 --> 00:31:00,780 When it works, slide it over to the right and let it rip. 520 00:31:01,960 --> 00:31:03,100 So lessons learned. 521 00:31:03,640 --> 00:31:05,680 Local transforms open up a world of opportunity. 522 00:31:06,580 --> 00:31:09,580 If you're in an enterprise and you're looking to do this sort of thing, 523 00:31:09,700 --> 00:31:12,080 consider the Perturba server platform. 524 00:31:13,280 --> 00:31:16,300 If you're really going to leverage the Twitter API heavily, 525 00:31:16,480 --> 00:31:17,620 then consider... 526 00:31:18,620 --> 00:31:20,000 making a whitelisting request. 527 00:31:20,600 --> 00:31:23,280 So I did end up with the Google map. 528 00:31:23,940 --> 00:31:25,740 We did that while my wife was in hospital 529 00:31:25,740 --> 00:31:28,040 and I was in hospital with her and we had a lot of time to kill. 530 00:31:28,140 --> 00:31:29,780 We actually got all of the results 531 00:31:29,780 --> 00:31:33,000 and we did it by hand on paper in the end. 532 00:31:33,500 --> 00:31:35,140 So I kind of failed. 533 00:31:35,260 --> 00:31:39,020 But what was interesting is that this guy did something similar 534 00:31:39,020 --> 00:31:41,360 but didn't fail or suck as badly as I did. 535 00:31:42,080 --> 00:31:45,040 So if you Google just landed and processing, 536 00:31:46,640 --> 00:31:48,440 processing was the tool that I mentioned with 537 00:31:48,620 --> 00:31:50,220 what this guy did. 538 00:31:50,980 --> 00:31:53,920 Jeff Thorpe, who I've been talking to a little bit, 539 00:31:54,000 --> 00:31:55,480 at least in email, 540 00:31:57,180 --> 00:31:59,880 he got all of the phrases on Twitter 541 00:31:59,880 --> 00:32:00,880 where somebody had said, 542 00:32:00,960 --> 00:32:02,460 I've just landed in so-and-so 543 00:32:02,460 --> 00:32:04,460 or wheels down in so-and-so. 544 00:32:04,600 --> 00:32:07,900 And then he'd got their location from their Twitter profiles 545 00:32:07,900 --> 00:32:09,880 and then he'd mapped the two and found 546 00:32:09,880 --> 00:32:12,740 where these people were flying from and to 547 00:32:12,740 --> 00:32:16,700 and so on and drew this really pretty map 548 00:32:16,700 --> 00:32:17,740 in processing, 549 00:32:17,740 --> 00:32:19,680 where the things actually sort of bounce around. 550 00:32:19,960 --> 00:32:21,880 There's like a nice video of it. 551 00:32:21,960 --> 00:32:23,860 So if you're trying to model sweet data, 552 00:32:24,000 --> 00:32:25,300 then that's it. 553 00:32:26,020 --> 00:32:29,300 And then I used the same stuff that I'd done 554 00:32:29,300 --> 00:32:33,480 with the Tony Hawk thing. 555 00:32:33,520 --> 00:32:35,480 I applied it to a UK charity. 556 00:32:35,540 --> 00:32:37,440 This isn't Digital Equipment Corporation, 557 00:32:37,820 --> 00:32:39,020 although they were a fine company. 558 00:32:39,860 --> 00:32:43,320 This is a disaster and emergency charity in the UK. 559 00:32:44,260 --> 00:32:47,280 And they wanted to do some social media analysis 560 00:32:47,280 --> 00:32:49,120 using what they're doing with Twitter. 561 00:32:49,140 --> 00:32:51,980 And the peak there is the number of tweets 562 00:32:51,980 --> 00:32:53,540 that were retweeted at the same time 563 00:32:53,540 --> 00:32:54,580 as the earthquake in Haiti. 564 00:32:55,400 --> 00:32:59,020 So if you really want to see how the pros do it, 565 00:32:59,100 --> 00:33:02,520 follow Dakort or Damon Cortese, 566 00:33:02,520 --> 00:33:04,180 who's responsible for tweet stats 567 00:33:04,180 --> 00:33:05,720 and roadfeeder.com. 568 00:33:06,840 --> 00:33:08,340 What he does is incredible. 569 00:33:08,640 --> 00:33:10,040 Okay, so I'll switch gear 570 00:33:10,040 --> 00:33:11,300 to a slightly different context. 571 00:33:13,040 --> 00:33:16,980 And you've got 419 crimes in Nigeria. 572 00:33:16,980 --> 00:33:19,120 Does anybody know who this dude is? 573 00:33:20,000 --> 00:33:21,160 There's a reason why I'm asking. 574 00:33:21,340 --> 00:33:22,420 It's because I can't remember his name. 575 00:33:23,040 --> 00:33:25,600 But he wrote a song called 576 00:33:25,600 --> 00:33:27,240 I Go Chop Your Dollar, 577 00:33:27,320 --> 00:33:29,440 which you can Google, go have a look at, 578 00:33:30,060 --> 00:33:32,820 which is basically a kind of anthem 579 00:33:32,820 --> 00:33:34,220 to a lot of people in Nigeria 580 00:33:35,720 --> 00:33:37,460 about 419 scams. 581 00:33:37,680 --> 00:33:43,260 So I think it's like the third biggest income generator 582 00:33:43,260 --> 00:33:46,960 for Nigeria and made like $9.3 billion last year. 583 00:33:48,060 --> 00:33:50,340 So let me just start with a quick disclaimer 584 00:33:50,340 --> 00:33:52,200 in case anybody here is from Nigeria 585 00:33:52,200 --> 00:33:54,360 and wants to knob on my knees in the car park. 586 00:33:55,800 --> 00:33:57,340 The only way you can tell the truth 587 00:33:57,340 --> 00:33:58,340 is through fiction, 588 00:33:58,440 --> 00:34:01,260 which I spotted on one of Richard Thiem's talks. 589 00:34:01,540 --> 00:34:03,300 And I'm a Richard Thiem fanboy. 590 00:34:03,460 --> 00:34:04,740 I make no excuse of that. 591 00:34:04,940 --> 00:34:06,980 So all of the events, names, images, 592 00:34:07,040 --> 00:34:08,900 and stuff like that that you're about to see 593 00:34:08,900 --> 00:34:10,960 have been kind of cobbled together 594 00:34:10,960 --> 00:34:13,060 in a fictitious way that's going to protect me 595 00:34:13,060 --> 00:34:15,040 from being bumped off by Nigerians 596 00:34:16,280 --> 00:34:16,960 who want to kill me. 597 00:34:16,980 --> 00:34:17,820 Or want to bump me off, basically. 598 00:34:18,420 --> 00:34:20,200 Or want to bump somebody else off 599 00:34:20,200 --> 00:34:21,420 and confuse me with somebody else. 600 00:34:21,560 --> 00:34:23,820 Okay, so meet Jess. 601 00:34:25,780 --> 00:34:30,720 Jess sold a laptop on a popular auction site. 602 00:34:32,380 --> 00:34:35,420 It got bought quickly at the buy now price. 603 00:34:35,860 --> 00:34:37,780 And probably a lot of you are thinking, 604 00:34:37,900 --> 00:34:41,260 well, if you buy anything at the buy now price, 605 00:34:41,440 --> 00:34:42,660 then it's obviously a scam. 606 00:34:42,760 --> 00:34:44,140 Well, you know, if you don't know that, 607 00:34:44,220 --> 00:34:45,040 you don't know that. 608 00:34:46,980 --> 00:34:50,320 So she exchanges email with the buyer. 609 00:34:50,380 --> 00:34:51,500 So far, so good. 610 00:34:51,640 --> 00:34:53,160 Except she's got a strange name, 611 00:34:53,240 --> 00:34:55,520 like Larry the Cable Guy or something like that. 612 00:34:55,600 --> 00:34:57,300 But in the UK, we've never heard of, like, 613 00:34:57,300 --> 00:34:58,160 Larry the Cable Guy. 614 00:34:58,260 --> 00:35:00,320 So how's she to know that there's anything 615 00:35:00,320 --> 00:35:01,760 phishing going on there? 616 00:35:03,820 --> 00:35:07,520 Then she gets this notification from PayPal saying, 617 00:35:07,680 --> 00:35:09,760 you know, your funds have been cleared. 618 00:35:09,820 --> 00:35:13,020 You now proceed to send the goods. 619 00:35:13,220 --> 00:35:16,720 So she sent her laptop to a valid address in the UK. 620 00:35:16,720 --> 00:35:17,780 Now, she was fairly smart, 621 00:35:17,900 --> 00:35:20,620 so she checked the address existed, right? 622 00:35:21,480 --> 00:35:22,560 And she did that. 623 00:35:22,620 --> 00:35:24,540 And then she got a notice from the auction site saying, 624 00:35:24,680 --> 00:35:26,180 terribly sorry about this, 625 00:35:26,260 --> 00:35:29,620 but the account of the person that you sold the stuff to 626 00:35:29,620 --> 00:35:30,620 appears to have been hacked. 627 00:35:32,400 --> 00:35:34,160 And it's probably a scam. 628 00:35:34,340 --> 00:35:36,300 And of course, at this point in time, 629 00:35:36,320 --> 00:35:39,280 her laptop was winging its way to another city in the UK. 630 00:35:41,400 --> 00:35:45,480 So there was little she could do apart from contact the police. 631 00:35:45,480 --> 00:35:47,500 So if this happens to you and you're in the UK, 632 00:35:47,580 --> 00:35:49,160 at least, I don't know how it is in the US, 633 00:35:49,800 --> 00:35:51,740 don't contact your local police force. 634 00:35:51,800 --> 00:35:55,400 Contact the police force of the place that the package is going to arrive in 635 00:35:55,400 --> 00:35:57,000 because they can get around to the house, 636 00:35:57,100 --> 00:35:58,520 knock on the door a lot quicker. 637 00:35:59,080 --> 00:36:00,320 She didn't do that. 638 00:36:00,400 --> 00:36:02,860 And I'll explain a little bit more about what happens there. 639 00:36:03,100 --> 00:36:08,480 So another hypothesis was that if I got the scammer 640 00:36:09,040 --> 00:36:11,640 and I got the address of the person that, 641 00:36:11,640 --> 00:36:15,460 you know, got the person who received the stolen goods, 642 00:36:15,480 --> 00:36:19,340 then we'd be able to retrieve the laptop and get them busted by 5-0. 643 00:36:19,400 --> 00:36:21,060 I believe that's what they're called here, right? 644 00:36:22,620 --> 00:36:24,720 We call them the police, but I'm... 645 00:36:25,160 --> 00:36:25,600 Yeah. 646 00:36:27,240 --> 00:36:29,380 Clearly I'm down, so... 647 00:36:30,500 --> 00:36:31,380 And gangster. 648 00:36:31,580 --> 00:36:34,340 So, okay, so where is our scammer? 649 00:36:35,660 --> 00:36:38,080 I thought, right, well, I need to get the email header, 650 00:36:38,120 --> 00:36:39,840 but he or she uses webmail 651 00:36:39,840 --> 00:36:42,540 and I haven't figured out a way to do that very easily. 652 00:36:43,700 --> 00:36:44,920 So I thought, well, 653 00:36:45,480 --> 00:36:47,660 we'd sign up for a blog site like this one, 654 00:36:47,800 --> 00:36:49,580 and there's a number of them out there that are free 655 00:36:49,580 --> 00:36:51,660 and don't require any identity or anything like that, 656 00:36:51,800 --> 00:36:54,260 where I could host, you know, an image 657 00:36:55,540 --> 00:36:58,260 and then send the spammer an email 658 00:36:58,260 --> 00:37:00,440 with that embedded image in it, 659 00:37:00,520 --> 00:37:03,380 which would, you know, have a random name 660 00:37:03,380 --> 00:37:04,320 but be something compelling. 661 00:37:04,480 --> 00:37:05,500 So I'd send him an email saying, 662 00:37:05,700 --> 00:37:07,120 hey, I've got this other laptop. 663 00:37:07,380 --> 00:37:08,980 I just sold you one, but I've got this other one. 664 00:37:09,040 --> 00:37:10,740 Would you be interested in buying this one too? 665 00:37:10,860 --> 00:37:13,940 And sure enough, after doing some of this, 666 00:37:14,040 --> 00:37:14,480 he responded, 667 00:37:14,480 --> 00:37:16,120 he responded and said, 668 00:37:16,220 --> 00:37:18,060 yeah, I might be interested. 669 00:37:18,200 --> 00:37:18,600 How much? 670 00:37:19,240 --> 00:37:22,400 So I went back to the visitor logs here 671 00:37:22,400 --> 00:37:25,280 and saw the IP address of where he came from, 672 00:37:25,360 --> 00:37:27,180 which was Lagos in Nigeria, 673 00:37:27,420 --> 00:37:30,220 or at least that's where he'd rooted his connection through. 674 00:37:30,340 --> 00:37:32,260 But I figured that he probably wasn't likely 675 00:37:32,260 --> 00:37:34,640 to be rocking Tor at the time. 676 00:37:35,520 --> 00:37:38,480 If you want to do a proper bang-up nice job of this, 677 00:37:38,600 --> 00:37:40,740 then I'd recommend seeing some of the stuff 678 00:37:40,740 --> 00:37:43,140 that Jeremiah Grossman's been talking about this week, 679 00:37:43,240 --> 00:37:44,220 which I haven't seen. 680 00:37:44,480 --> 00:37:45,840 So he might not have been talking about it, 681 00:37:45,880 --> 00:37:48,620 but he did some sort of browser vulnerability stuff 682 00:37:48,620 --> 00:37:51,460 where he was able to convince people to click on a link 683 00:37:51,460 --> 00:37:52,940 that'd give up all sorts of things 684 00:37:52,940 --> 00:37:55,080 that they'd put in the autocomplete form stuff. 685 00:37:55,460 --> 00:37:56,840 If anybody has seen it, 686 00:37:56,840 --> 00:37:57,840 you can probably set me straight, 687 00:37:57,940 --> 00:37:59,880 but it looked pretty cool from the description 688 00:38:00,440 --> 00:38:01,940 and a nice way of getting more data. 689 00:38:02,140 --> 00:38:03,800 So here's our scammer. 690 00:38:04,760 --> 00:38:07,080 So now, where did the package really go? 691 00:38:07,200 --> 00:38:08,240 So we've got the scammer, 692 00:38:08,240 --> 00:38:09,980 NS is the Nigerian scammer. 693 00:38:10,000 --> 00:38:10,900 Here's all his details. 694 00:38:11,160 --> 00:38:13,920 And Alice is in Newcastle 695 00:38:13,920 --> 00:38:14,600 in the UK, 696 00:38:14,700 --> 00:38:16,000 or at least that's where the package went. 697 00:38:16,440 --> 00:38:19,220 Now in the UK you've got a site like this called 192.com, 698 00:38:19,300 --> 00:38:20,680 which tells you who lives at what address, 699 00:38:21,740 --> 00:38:24,780 except it didn't work because she was probably renting 700 00:38:24,780 --> 00:38:25,880 or didn't live there anymore. 701 00:38:26,220 --> 00:38:29,920 So, okay, I don't know if anybody else is familiar with this song, 702 00:38:29,980 --> 00:38:30,960 but I heard it the other night, 703 00:38:31,080 --> 00:38:32,800 and if you haven't, you should Google Alice. 704 00:38:32,900 --> 00:38:34,180 Alice, who is Alice? 705 00:38:35,140 --> 00:38:37,560 And it's a pretty groovy song actually, 706 00:38:37,620 --> 00:38:39,740 especially if you've had a couple of beers at the Hofbrauhaus 707 00:38:41,100 --> 00:38:42,980 or any other drinking location. 708 00:38:42,980 --> 00:38:43,720 There are plenty. 709 00:38:43,980 --> 00:38:45,900 So information gathering, 710 00:38:46,400 --> 00:38:47,320 searched on Google, 711 00:38:47,420 --> 00:38:50,780 found a bunch of sort of social network sites where she was, 712 00:38:50,840 --> 00:38:51,800 including that one there. 713 00:38:52,980 --> 00:38:56,440 So I wanted to apply the same techniques I did with the Tony Hawk thing, 714 00:38:56,560 --> 00:39:00,360 but for this scammer. 715 00:39:00,800 --> 00:39:03,440 Now, because I'm not Leet, 716 00:39:03,520 --> 00:39:05,780 I looked around for ways of doing this, 717 00:39:05,820 --> 00:39:07,060 and I found that this guy here, 718 00:39:07,640 --> 00:39:08,280 Dominic White, 719 00:39:08,440 --> 00:39:11,300 who I was fortunate enough to meet at Black Hat, 720 00:39:11,760 --> 00:39:12,720 really is Leet, 721 00:39:12,720 --> 00:39:12,960 and he's really good. 722 00:39:12,980 --> 00:39:14,260 He's called at Singe on Twitter, 723 00:39:14,360 --> 00:39:16,560 and he wrote some really cool transforms for Facebook 724 00:39:17,120 --> 00:39:18,160 based on Python, 725 00:39:18,200 --> 00:39:19,440 recognize beautiful soup, 726 00:39:19,580 --> 00:39:21,500 which would do a whole bunch of things with Facebook. 727 00:39:21,600 --> 00:39:23,140 But if you see there at the end, 728 00:39:23,180 --> 00:39:24,980 they'd break the Facebook terms of service, 729 00:39:25,040 --> 00:39:25,860 so don't use them. 730 00:39:27,060 --> 00:39:28,780 It's only anecdotal evidence, 731 00:39:28,900 --> 00:39:30,520 but I've heard that they've got really big dogs, 732 00:39:30,600 --> 00:39:31,820 and they know where everybody lives. 733 00:39:32,300 --> 00:39:34,240 So if you do break the terms of service, 734 00:39:34,360 --> 00:39:35,700 then they'll come after you really hard 735 00:39:35,700 --> 00:39:37,660 and bust your nuts basically, 736 00:39:37,720 --> 00:39:38,500 unless you're a lady, 737 00:39:38,560 --> 00:39:39,860 in which case they'll probably let you off. 738 00:39:42,920 --> 00:39:43,880 Or bust... 739 00:39:43,880 --> 00:39:44,240 I don't know. 740 00:39:44,280 --> 00:39:45,020 Anyway, let's move on. 741 00:39:46,460 --> 00:39:48,120 So which Alice is there? 742 00:39:48,160 --> 00:39:50,580 Because there's a lot of Alice's on social networking sites. 743 00:39:50,840 --> 00:39:52,000 Here I've listed three, 744 00:39:52,100 --> 00:39:53,680 just so that we could simplify the diagram. 745 00:39:54,560 --> 00:39:55,940 So which one is it? 746 00:39:57,940 --> 00:40:00,860 We list all of the friends for Alice 747 00:40:01,480 --> 00:40:05,940 based on this conceptual Facebook to friends transform. 748 00:40:06,840 --> 00:40:09,240 We see where her friends live 749 00:40:09,240 --> 00:40:11,160 to give us a better idea 750 00:40:12,380 --> 00:40:15,300 for which one she's got any connections with, 751 00:40:15,360 --> 00:40:16,620 like Nigeria, for example. 752 00:40:17,100 --> 00:40:18,340 We do that and we see, 753 00:40:18,460 --> 00:40:20,960 okay, this Alice here out of all of them 754 00:40:20,960 --> 00:40:23,560 is one of the Alice's that's got connections in Nigeria 755 00:40:24,000 --> 00:40:26,920 and in this place in the UK called Newcastle. 756 00:40:28,020 --> 00:40:29,600 They pronounce it a little bit different, 757 00:40:29,680 --> 00:40:30,440 but I'm not Geordie. 758 00:40:31,820 --> 00:40:33,240 But a fine city anyway. 759 00:40:35,220 --> 00:40:37,240 So that helped me at least narrow down 760 00:40:37,240 --> 00:40:39,220 which Alice it was, 761 00:40:39,240 --> 00:40:43,340 so here's a video or talk 762 00:40:43,340 --> 00:40:45,240 that was done by a chap called Pete Warden 763 00:40:45,240 --> 00:40:47,360 called How to Get Sued by Facebook. 764 00:40:47,620 --> 00:40:50,440 This is really cool and makes me look kind of lame. 765 00:40:50,600 --> 00:40:52,560 Again, there's a theme here. 766 00:40:52,680 --> 00:40:55,940 He built his own sort of social network search engine, 767 00:40:56,600 --> 00:41:00,400 which was essentially a 100-machine Hadoop cluster 768 00:41:00,400 --> 00:41:02,300 for about $10 an hour, 769 00:41:02,860 --> 00:41:04,380 and he crawled Facebook. 770 00:41:06,660 --> 00:41:09,180 He retrieved 220 million profiles 771 00:41:09,680 --> 00:41:12,900 name, location, email in 10 hours, 772 00:41:13,060 --> 00:41:14,660 and as he puts it on his website, 773 00:41:14,700 --> 00:41:15,760 for $100, 774 00:41:17,160 --> 00:41:18,520 which was pretty awesome. 775 00:41:19,480 --> 00:41:23,060 But he ended up in a whole bunch of hot water with Facebook 776 00:41:23,060 --> 00:41:25,700 and it's really not the sort of hot water 777 00:41:25,700 --> 00:41:28,440 anyone wants to land in 778 00:41:28,440 --> 00:41:31,340 because they really are aggressively going after people 779 00:41:31,340 --> 00:41:32,780 who are scraping their sites. 780 00:41:33,660 --> 00:41:35,420 So don't do that, ask them nicely, 781 00:41:35,540 --> 00:41:36,580 even if you're law enforcement, 782 00:41:36,700 --> 00:41:37,840 because there's a whole bunch of laws 783 00:41:37,840 --> 00:41:39,760 that protect people there. 784 00:41:40,800 --> 00:41:43,280 But 220 million, I thought that was awesome. 785 00:41:43,460 --> 00:41:44,100 Check him out. 786 00:41:44,440 --> 00:41:46,140 He's done some really cool stuff. 787 00:41:46,320 --> 00:41:47,720 He was looking at where people were, 788 00:41:48,160 --> 00:41:50,200 who was talking to who in which states, 789 00:41:50,380 --> 00:41:51,520 which parts of the country, 790 00:41:52,160 --> 00:41:54,320 and who was moving around and stuff like that. 791 00:41:54,440 --> 00:41:55,680 It was very interesting stuff 792 00:41:55,680 --> 00:41:56,840 and it's all out there to read. 793 00:41:57,880 --> 00:42:01,020 So, okay, so what information is out there on Facebook? 794 00:42:01,160 --> 00:42:02,760 If their privacy is set to everyone, 795 00:42:02,860 --> 00:42:03,340 then you're in. 796 00:42:03,500 --> 00:42:03,920 That's what I mean, 797 00:42:03,920 --> 00:42:05,980 public profiles and what have you. 798 00:42:06,760 --> 00:42:08,640 If not, then you can only do so much 799 00:42:08,640 --> 00:42:09,420 without being a friend. 800 00:42:09,860 --> 00:42:12,820 So, okay, so how do you, you know, 801 00:42:12,820 --> 00:42:14,440 show me the good stuff, essentially. 802 00:42:14,600 --> 00:42:16,840 Well, you could create some bad applications, 803 00:42:16,940 --> 00:42:18,300 see the social zombies talk 804 00:42:18,300 --> 00:42:20,080 that was at DEFCON two years ago 805 00:42:20,080 --> 00:42:21,960 and then I think ShmooCon and whatnot last year, 806 00:42:22,000 --> 00:42:22,860 social zombies too. 807 00:42:24,080 --> 00:42:26,320 That's really some great ideas there. 808 00:42:26,400 --> 00:42:27,180 Then there's the whole, 809 00:42:27,280 --> 00:42:28,580 you could just be friends with them. 810 00:42:28,640 --> 00:42:29,880 Satan is on my friend list. 811 00:42:30,780 --> 00:42:31,900 Go and see that one. 812 00:42:32,060 --> 00:42:34,100 That's maybe DEFCON a couple of years ago. 813 00:42:34,300 --> 00:42:35,520 Or you could just be smart 814 00:42:35,520 --> 00:42:35,960 like the whole thing. 815 00:42:35,980 --> 00:42:36,380 There's the Harmony guy 816 00:42:36,380 --> 00:42:37,560 who's found various sort of books 817 00:42:37,560 --> 00:42:38,460 and things in Facebook 818 00:42:39,420 --> 00:42:40,680 and do it that way, 819 00:42:40,740 --> 00:42:42,160 but you'll get busted by Facebook. 820 00:42:42,360 --> 00:42:43,580 So, okay, making new friends. 821 00:42:44,440 --> 00:42:46,100 Possibly create a credible account. 822 00:42:46,540 --> 00:42:47,720 Build up your identity. 823 00:42:48,240 --> 00:42:50,240 Don't guide directly for your target. 824 00:42:50,520 --> 00:42:51,600 Join similar groups, 825 00:42:51,640 --> 00:42:52,580 universities and whatnot. 826 00:42:53,120 --> 00:42:54,940 Then friends of friends and stuff like that. 827 00:42:55,020 --> 00:42:56,200 If somebody's got a thousand friends, 828 00:42:56,380 --> 00:42:57,540 then they're going to be really easy 829 00:42:58,900 --> 00:43:00,020 to friend with, 830 00:43:00,120 --> 00:43:01,400 so you could do that. 831 00:43:01,660 --> 00:43:02,660 Take your time. 832 00:43:03,040 --> 00:43:04,180 I didn't do that 833 00:43:04,180 --> 00:43:06,720 because I couldn't be bothered waiting, 834 00:43:06,900 --> 00:43:08,340 so I did all that in about two hours, 835 00:43:09,260 --> 00:43:10,260 which isn't a good way 836 00:43:10,260 --> 00:43:11,460 because it really exposes you 837 00:43:11,460 --> 00:43:12,240 to just being random, 838 00:43:12,300 --> 00:43:13,780 but people obviously don't seem to care. 839 00:43:14,740 --> 00:43:16,120 Or you could automate it, 840 00:43:16,180 --> 00:43:17,380 which is pretty much what I did, 841 00:43:17,480 --> 00:43:18,920 and get all of the nasty business 842 00:43:18,920 --> 00:43:19,800 over with quickly. 843 00:43:20,820 --> 00:43:22,040 So, will you be my friend? 844 00:43:23,220 --> 00:43:25,260 That's kind of how my intros went, 845 00:43:25,360 --> 00:43:25,920 sort of thing. 846 00:43:26,080 --> 00:43:26,620 And it was like, hey, 847 00:43:26,680 --> 00:43:27,640 how do I know you? 848 00:43:28,440 --> 00:43:29,740 At which point I thought that. 849 00:43:30,140 --> 00:43:31,780 I've been busted. 850 00:43:32,140 --> 00:43:34,160 Clearly not assured enough. 851 00:43:36,160 --> 00:43:38,500 So I sent this back and said, 852 00:43:38,560 --> 00:43:39,540 I'm a friend of Alice's. 853 00:43:39,540 --> 00:43:40,300 I'm sorry, 854 00:43:40,400 --> 00:43:41,700 I'm just getting started with Facebook, 855 00:43:41,760 --> 00:43:42,060 clearly, 856 00:43:42,080 --> 00:43:43,060 and I really don't know him. 857 00:43:43,060 --> 00:43:46,160 I probably just went a little bit too far there. 858 00:43:46,280 --> 00:43:46,900 And she was like, 859 00:43:46,960 --> 00:43:47,460 oh, well, that's cool. 860 00:43:47,520 --> 00:43:48,500 Well, Alice is my best friend. 861 00:43:48,580 --> 00:43:49,340 So if you know Alice, 862 00:43:49,440 --> 00:43:50,040 then you've got to be cool. 863 00:43:50,080 --> 00:43:50,340 Sweet. 864 00:43:54,140 --> 00:43:57,300 So building a map of interesting people. 865 00:43:57,420 --> 00:43:58,560 So here's what I did really. 866 00:43:58,620 --> 00:43:59,120 Get the friend, 867 00:43:59,280 --> 00:44:00,100 get the location, 868 00:44:01,400 --> 00:44:02,480 get the location. 869 00:44:02,480 --> 00:44:03,640 If the location was Nigeria, 870 00:44:03,820 --> 00:44:04,160 they got the location. 871 00:44:04,160 --> 00:44:05,660 If it wasn't a bunch of other places in Nigeria, 872 00:44:05,900 --> 00:44:08,480 then I'd want to see more posts and photos. 873 00:44:09,760 --> 00:44:11,460 Download any interesting photos 874 00:44:11,460 --> 00:44:14,120 or just download all of them with a name. 875 00:44:14,360 --> 00:44:15,840 And if they were interesting, 876 00:44:15,960 --> 00:44:17,840 I wanted to pipe the results back to Maltego 877 00:44:17,840 --> 00:44:19,280 so I could get a map. 878 00:44:19,480 --> 00:44:23,200 So here's like a Facebook to friends transform, 879 00:44:23,840 --> 00:44:25,420 which generates a map like that. 880 00:44:25,480 --> 00:44:26,340 And you keep doing that 881 00:44:26,340 --> 00:44:27,920 and eventually you get a map like this 882 00:44:27,920 --> 00:44:29,260 or a graph like this, 883 00:44:29,340 --> 00:44:30,580 which shows you the bigger dots 884 00:44:30,580 --> 00:44:31,760 and the more interesting people. 885 00:44:31,760 --> 00:44:36,400 The red circle thing in the bottom left is the UK 886 00:44:36,400 --> 00:44:38,120 and the top one is Nigeria. 887 00:44:38,340 --> 00:44:39,400 So it's pretty interesting. 888 00:44:40,160 --> 00:44:42,280 And then you can see graphs like this, 889 00:44:42,360 --> 00:44:44,120 which you can't actually see the connections, 890 00:44:44,220 --> 00:44:46,280 but they're all joined in the bigger dots 891 00:44:46,280 --> 00:44:48,320 and more exciting places to have a look. 892 00:44:48,420 --> 00:44:50,160 Well, Nigerian criminals make a lot of money. 893 00:44:52,080 --> 00:44:53,780 7K in five days was what I found. 894 00:44:53,820 --> 00:44:55,700 And if you look at the Facebook profiles 895 00:44:55,700 --> 00:44:56,480 and stuff like that, 896 00:44:56,560 --> 00:44:59,580 lots of money, flashy rides, expensive chicks. 897 00:44:59,660 --> 00:45:01,560 No, expensive clothes, hot chicks. 898 00:45:01,760 --> 00:45:03,140 Hot, expensive chicks. 899 00:45:03,840 --> 00:45:05,480 Hot, expensive, luxury chicks. 900 00:45:05,660 --> 00:45:09,420 And they're easy to spot because they're like Yemen. 901 00:45:12,860 --> 00:45:14,960 Really, they're not ballers on a budget, 902 00:45:16,080 --> 00:45:17,860 which was a phrase I heard this year. 903 00:45:18,000 --> 00:45:20,440 So then you saw like status updates like this. 904 00:45:20,560 --> 00:45:23,100 I get paid in pounds for collecting Nigeria. 905 00:45:23,180 --> 00:45:26,200 Lots of pictures of Western Union. 906 00:45:26,560 --> 00:45:30,240 They party hard like ninjas, 907 00:45:30,940 --> 00:45:31,980 but less leet. 908 00:45:32,120 --> 00:45:33,760 Or maybe not less leet, actually. 909 00:45:33,800 --> 00:45:34,640 Who cares? They do it. 910 00:45:35,340 --> 00:45:36,520 Western Union pictures. 911 00:45:37,760 --> 00:45:39,240 So, you know, what's the attraction? 912 00:45:39,480 --> 00:45:41,860 Well, base salary or average salary in Nigeria 913 00:45:41,860 --> 00:45:44,200 is like $200, 4,000 in the US. 914 00:45:44,240 --> 00:45:48,680 So obviously there's also a lot of history there. 915 00:45:48,720 --> 00:45:49,660 I'll ramble through this quickly 916 00:45:49,660 --> 00:45:50,820 because I've got like five minutes. 917 00:45:50,960 --> 00:45:53,760 But I saw some pictures like this, 918 00:45:53,780 --> 00:45:54,640 but not these ones. 919 00:45:54,720 --> 00:45:56,240 So if you Google duffel bag full of money, 920 00:45:56,320 --> 00:45:57,860 you'll find out where this picture came from. 921 00:45:57,920 --> 00:46:00,100 But there were other pictures out there. 922 00:46:00,100 --> 00:46:01,440 And you can Google them. 923 00:46:01,460 --> 00:46:03,040 Some of them looked a little bit more like that, 924 00:46:03,080 --> 00:46:04,020 but they weren't those ones 925 00:46:04,020 --> 00:46:05,440 because otherwise I'd get bummed off. 926 00:46:06,520 --> 00:46:08,220 And then there was stuff like this as well. 927 00:46:09,160 --> 00:46:11,320 That's actually my laptop this morning. 928 00:46:11,920 --> 00:46:12,700 No, it's not. 929 00:46:14,860 --> 00:46:16,240 Clearly I'm using a Mac, 930 00:46:16,380 --> 00:46:18,540 and I don't drink whatever that is. 931 00:46:19,140 --> 00:46:21,660 But then I saw lots of pictures of Nigerian dudes 932 00:46:21,660 --> 00:46:22,900 with these things, 933 00:46:22,980 --> 00:46:25,600 which is, I believe, the Americanism for gun, right? 934 00:46:26,580 --> 00:46:27,960 I may have got that wrong. 935 00:46:30,100 --> 00:46:31,980 I want to get through the rest. 936 00:46:32,220 --> 00:46:33,940 So links with terror. 937 00:46:34,180 --> 00:46:35,920 There's an organization called 938 00:46:35,920 --> 00:46:39,560 Ultrascan Advanced Global Investigations. 939 00:46:39,780 --> 00:46:41,340 They're based out of Amsterdam. 940 00:46:43,380 --> 00:46:45,620 And they're really the experts in this field. 941 00:46:45,700 --> 00:46:46,980 They've done a lot of research in there. 942 00:46:47,140 --> 00:46:48,720 And they got a 2009 paper 943 00:46:48,720 --> 00:46:52,000 which noted that 2008-2009 944 00:46:52,000 --> 00:46:53,760 there was direct evidence linking 945 00:46:53,760 --> 00:46:59,340 advanced fee fraud networks to terrorist activity. 946 00:47:00,100 --> 00:47:02,160 So, okay, true identity of the scammer. 947 00:47:02,320 --> 00:47:03,720 Hey, this is Alice. 948 00:47:03,840 --> 00:47:06,340 I sent him an email from a different account. 949 00:47:06,840 --> 00:47:07,760 Will you be my friend? 950 00:47:07,920 --> 00:47:08,080 Sure. 951 00:47:08,540 --> 00:47:09,920 Post a note on Facebook 952 00:47:09,920 --> 00:47:12,320 because I'm having some problems. 953 00:47:12,400 --> 00:47:12,740 Sure. 954 00:47:13,400 --> 00:47:13,760 Thanks. 955 00:47:13,940 --> 00:47:14,460 Hot stuff. 956 00:47:15,400 --> 00:47:16,440 Say hi to X. 957 00:47:17,200 --> 00:47:18,500 That's the scammer saying that. 958 00:47:18,580 --> 00:47:20,220 And X was a friend of hers on Facebook. 959 00:47:20,320 --> 00:47:22,700 So now I had a little bit more of a link. 960 00:47:22,840 --> 00:47:27,080 This is the link that I saw on Facebook. 961 00:47:27,120 --> 00:47:27,920 Oh, we've got plenty of time. 962 00:47:27,960 --> 00:47:28,500 We've got five minutes. 963 00:47:28,500 --> 00:47:30,820 This was a link that we saw on Facebook. 964 00:47:31,020 --> 00:47:32,180 So the scammer's like, 965 00:47:32,280 --> 00:47:33,120 Hi, sort of thing. 966 00:47:33,620 --> 00:47:34,240 So I was like, 967 00:47:34,320 --> 00:47:34,880 Right, bingo. 968 00:47:34,960 --> 00:47:36,680 We've got the connection between Alice 969 00:47:36,680 --> 00:47:38,540 and the Nigerian scammer. 970 00:47:38,700 --> 00:47:39,880 And because he said, 971 00:47:39,920 --> 00:47:40,660 Say hi to XXX, 972 00:47:41,180 --> 00:47:43,540 which then found out that it was Alice's man 973 00:47:44,140 --> 00:47:45,020 or what have you. 974 00:47:45,200 --> 00:47:48,780 So we had this interesting connection now 975 00:47:48,780 --> 00:47:50,220 where you had Nigerian scammers 976 00:47:50,220 --> 00:47:51,200 all sort of hanging together. 977 00:47:53,240 --> 00:47:54,180 So scammer networks, 978 00:47:54,460 --> 00:47:55,160 how do they work? 979 00:47:55,980 --> 00:47:57,180 On record, at least, 980 00:47:57,200 --> 00:47:58,480 you've got 62 different scammers. 981 00:47:58,480 --> 00:48:00,540 You've got a lot of different Nigerian crime cells in the UK. 982 00:48:01,740 --> 00:48:05,680 Spain's the highest in the world with 72 organized crime cells. 983 00:48:05,820 --> 00:48:08,320 The USA is 53. 984 00:48:08,500 --> 00:48:09,620 But don't feel too bashful 985 00:48:09,620 --> 00:48:13,460 because you've got like 2,500 people in those 53 cells, 986 00:48:13,960 --> 00:48:15,740 twice the number of anybody else. 987 00:48:15,880 --> 00:48:18,520 And 916 around the world, 988 00:48:18,680 --> 00:48:21,880 lots of members raking in $9.3 billion a year. 989 00:48:22,040 --> 00:48:23,500 So how would you get paid? 990 00:48:23,660 --> 00:48:27,100 So you could compile all the information into a blog post 991 00:48:27,100 --> 00:48:28,920 or create a Facebook fan site saying, 992 00:48:29,000 --> 00:48:30,260 This person stole all my stuff. 993 00:48:30,380 --> 00:48:31,180 I'd kind of like it back. 994 00:48:32,100 --> 00:48:33,680 Then you can email the scammers and say, 995 00:48:34,460 --> 00:48:37,340 If we don't reach an amicable agreement, 996 00:48:37,580 --> 00:48:39,520 then Google's going to index this 997 00:48:39,520 --> 00:48:40,280 and it'll be there forever. 998 00:48:41,180 --> 00:48:42,260 Follow up with a call. 999 00:48:42,600 --> 00:48:44,320 See Jason Street's talk from yesterday. 1000 00:48:44,580 --> 00:48:45,840 In fact, you could do that anonymously. 1001 00:48:46,240 --> 00:48:47,280 Agree amicable terms. 1002 00:48:48,020 --> 00:48:48,760 So then they're like, 1003 00:48:48,860 --> 00:48:49,880 Okay, how do I send you the money? 1004 00:48:49,960 --> 00:48:50,420 It's like, well, 1005 00:48:51,320 --> 00:48:53,260 cash, bank, PayPal, Western Union 1006 00:48:53,260 --> 00:48:54,340 are all going to get you whacked. 1007 00:48:55,880 --> 00:48:57,080 The other one might be, 1008 00:48:57,100 --> 00:48:57,360 You might not, 1009 00:48:57,800 --> 00:48:59,160 but there's a limit on there. 1010 00:48:59,300 --> 00:49:01,500 So okay, let me end with a health warning. 1011 00:49:01,780 --> 00:49:05,680 Messing with criminals can reduce your life expectancy. 1012 00:49:05,900 --> 00:49:07,800 So to do that, 1013 00:49:07,840 --> 00:49:09,420 you're either limited to public information 1014 00:49:09,420 --> 00:49:10,780 due to terms of service. 1015 00:49:10,980 --> 00:49:13,060 If you friend up with people with your own profile, 1016 00:49:13,200 --> 00:49:15,440 which is the only terms of service compliant way to do it, 1017 00:49:15,500 --> 00:49:17,260 you'll need balls of steel. 1018 00:49:19,020 --> 00:49:21,000 If you work with law enforcement, 1019 00:49:21,100 --> 00:49:21,700 then you're okay. 1020 00:49:22,720 --> 00:49:25,040 But you'd still have to break the terms of service 1021 00:49:25,040 --> 00:49:26,320 and Facebook will come after you. 1022 00:49:27,360 --> 00:49:30,860 Mining data is more accessible than ever before 1023 00:49:30,860 --> 00:49:32,220 because there's so much of it out there 1024 00:49:32,220 --> 00:49:32,920 and it's a lot of fun. 1025 00:49:33,880 --> 00:49:35,520 Visualization can help you hone in 1026 00:49:35,520 --> 00:49:37,140 on interesting relationships 1027 00:49:37,140 --> 00:49:39,980 and NER and Named Entity Recognition 1028 00:49:39,980 --> 00:49:40,980 can help you classify it. 1029 00:49:41,400 --> 00:49:42,600 Combine all three of those 1030 00:49:42,600 --> 00:49:44,760 and you're onto some interesting stuff. 1031 00:49:46,640 --> 00:49:48,100 If you're on Twitter 1032 00:49:48,100 --> 00:49:50,020 and you want to see who's tweeting about Maltigo, 1033 00:49:50,240 --> 00:49:54,200 at Paterva, at Singe, Mubix and Colin Lownage, 1034 00:49:54,240 --> 00:49:56,060 you're all far, far smarter than I am. 1035 00:49:56,900 --> 00:49:58,540 Social network tweeters, 1036 00:49:58,700 --> 00:50:01,060 Tom Aston, Robin Wood, Agent 0x0, 1037 00:50:02,180 --> 00:50:06,400 DigiNinja have done the social zombies talk, 1038 00:50:06,620 --> 00:50:08,320 Harmony Guy, follow him, he's awesome, 1039 00:50:08,560 --> 00:50:09,940 and Social Media Security, 1040 00:50:10,320 --> 00:50:10,780 and Dan. 1041 00:50:11,600 --> 00:50:12,720 Data mining visualization, 1042 00:50:13,360 --> 00:50:15,080 Damon Cortese, Neil Codner. 1043 00:50:15,880 --> 00:50:18,780 If you tweet Full Metal Jacket, 1044 00:50:18,780 --> 00:50:20,840 then you get the Sergeant Major dude 1045 00:50:20,840 --> 00:50:22,780 from Full Metal Jacket 1046 00:50:22,780 --> 00:50:23,820 giving you crap on Twitter. 1047 00:50:24,600 --> 00:50:25,740 Try that, it's funny. 1048 00:50:25,740 --> 00:50:26,220 That's Neil. 1049 00:50:27,760 --> 00:50:28,900 Pete Warden's the dude 1050 00:50:28,900 --> 00:50:30,220 who nearly got sued by Facebook, 1051 00:50:30,260 --> 00:50:33,040 and Rafael Marti and Secviz are the same person, 1052 00:50:34,440 --> 00:50:35,660 and awesome guy. 1053 00:50:35,860 --> 00:50:39,280 So that's about all I've got to say about that. 1054 00:50:40,740 --> 00:50:43,680 I'm in room, what is it, 111 or something? 1055 00:50:43,960 --> 00:50:45,300 One question before we get around to class. 1056 00:50:45,640 --> 00:50:46,080 Okay. 1057 00:50:47,880 --> 00:50:49,100 And that's the website. 1058 00:50:49,100 --> 00:50:50,900 It's got the white paper from the talk 1059 00:50:50,900 --> 00:50:52,060 and stuff like that. 1060 00:50:53,940 --> 00:50:55,260 So that's all, folks. 1061 00:50:55,260 --> 00:50:56,340 Um...