start	end	text
0	8240	All right. I have no less of an authority of speaking at DEF CON than Jason Scott here.
8300	11860	Everyone is really confused about what room they're supposed to be in.
12000	14420	And talks should start like a few minutes late.
14580	18880	So to fill in some time before I get started, I thought I'd just tell you a little story
18880	25200	about my other experience with computers and the police,
25200	27480	which was soon after I got to MIT.
27480	32060	You know, you get to MIT and there's this whole kind of pulling hacks ethic,
32060	34380	like doing these pranks to amuse people.
34960	40580	And so, you know, you start immediately looking for things to do.
40580	46400	And I noticed outside my lab across the street there was a manhole that had been opened
46400	50700	and there were some lights in it and some power cables dangling in it,
50700	54300	like extension cords, and it sat there like that for weeks.
54880	56860	And, you know, what the hell is going on?
56860	61920	There wasn't even like cones around the manhole to stop people from falling in.
62280	64660	It just sat there and we were just like, well, we don't know what's going on here,
64660	67980	but maybe we should turn it into a hack.
69060	76160	So we got an old VT220 terminal and decided we would set it up on the edge of the manhole
76160	80500	with a lamp as though someone, some hacker, had like popped out of the manhole
80500	84860	and was up to no good with their VT220, hacking, you know, whatever was in the manhole.
84860	88680	And we would film it, we'd set up a camera on the 7th floor of the building next door
88680	92220	and film what was going on to see if we got any good reactions.
92860	97520	So we go down, you know, at about 8pm or something, it's dark in Boston at 8pm,
97520	102740	and we set up our VT220 on a little desk lamp and everything and make this kind of setup.
103140	107120	And we go back in and take the elevator up to the 7th floor to set up the video camera.
107600	112260	And that was the fatal error because by the time we had got up to the 7th floor office
112260	117460	to set up the video camera, the cops had already arrived and were staring at this computer,
117460	121820	you know, wondering what was going on. And then, you know, we're looking at the cops,
121820	126640	looking at this computer, and then suddenly, for no apparent reason,
126640	128780	they just start kicking the shit out of it.
130740	135480	And one of the cops picks up the keyboard, you know, BAM! And keycaps are flying everywhere.
135480	139160	And we're just like, oh my God, why didn't we set up the computer?
139160	143960	Well, I mean, the video camera, you know, this is like Rodney King for computers right here.
146300	151760	So, we learned two lessons from that. Firstly, you know, always set up the video first.
151760	156320	And secondly, we started, you know, fantasizing about what else we could have done.
156320	161400	You imagine, because after they'd finished beating it up, they loaded all the broken parts into the police car
161400	167140	and they took it off. Who knows where? And we thought, if only we had some kind of radio transmitter
167140	171140	hidden in that B2220, so we could hear what those guys were saying.
171140	177060	What did they think it was? What kind of totally evil computer break-in to this manhole,
177060	181120	which is probably like a sewer or a steam tunnel, could have been going on.
181520	186140	So, second lesson, recordings. Audio, video, get a radio link,
186140	190760	because you just never know what's going to happen, even with the police, they're very unpredictable.
192420	195300	So, okay, we're almost four minutes in, so I think I can get started.
196420	200420	You guys have all read the description of the talk, so you know the basic gist.
200680	204380	My desktop computer got stolen out of my place.
204520	208040	And there's been a lot of stories lately about people who had their computer stolen
208040	210420	or their iPhone stolen and have recovered it.
210420	214360	So they've recovered their laptop because they've clicked the iSight
214360	217720	and they've retrieved a picture of the person using it and they've got the
217720	219880	where's my iPhone feature and stuff like that.
219960	224700	But this is not a mobile piece of equipment. It doesn't have a camera in it.
224700	226960	So the situation is a little bit more complicated.
227880	233560	And the circumstances of the theft, I just have to confess what happened.
233560	236240	It was a straightforward physical security fail.
236620	242140	My place is on the second floor. There are three locks between...
242140	244820	I rate everything in terms of zombie defense.
244820	247760	So my keys are coded in terms of danger of zombie access.
247760	251980	So the green key is the outside. The yellow key is the second floor.
251980	255340	And then the red key is my room.
256860	259760	But unfortunately, we're not dealing with zombies in this case.
259760	264260	They climbed through a second floor window via an access method that I hadn't noticed
264260	266460	and then busted the red lock.
266920	269060	So I just had to bypass one door.
269520	272800	It's the kind of thing where this whole situation could have been prevented
272800	277120	with a $20 deadbolt. So that's worth keeping in mind.
277120	284220	But the upshot of it was my Macintosh, which was a Quicksilver G4, my pride and joy,
284220	285460	was now gone.
285800	289160	I'm the kind of person that keeps religious daily backups.
289580	293620	In fact, I kept religious daily redundant backups.
294260	297240	Unfortunately, both of those were stored in the same room as the server
297240	298720	and were also stolen.
302470	304470	Lesson, off-site backups.
306110	309570	These days, I dumped everything onto a portable hard disk
309570	312090	and gave it to my parents in Australia and said,
312090	315450	I hope I never need to ask you for this back, but I might one day.
316390	318210	Very, very traumatic to me.
318210	324990	I lost all my music, all my photos, all my video projects.
326890	328730	That's what the Internet's for.
329290	332590	So I had to channel that energy into trying to find my machine.
332590	334690	I get very angry without my heavy metal.
336250	338370	So what I did have was the serial number of the machine
338370	340330	and the stats of what machine it was,
340330	343130	and so I started to look for it in the kind of usual places
343130	344970	you would think someone would dispose of a machine.
344970	350410	So I started searching eBay and Craigslist for months,
350410	352490	and I didn't find it. Fuck.
355770	358410	Now, someone asked me almost immediately when it got stolen,
358410	361670	if it gets plugged back into the network, will you be able to find it again?
361670	365170	And I thought, yes! I'm running a DynDNS updater.
365170	367750	It'll update the domain record and I'll see it again.
368490	370710	And then I thought about it a bit more, and I thought, well,
370710	373630	the machine is set to auto-boot into single user mode.
373630	377390	So my data security policy at that time could definitely have used work.
379130	382350	And I thought, well, the guy can boot into it,
382350	384570	but it's not going to get back on the network
384570	387770	because I'm pretty sure the network settings are locked,
387770	389190	and it's on an intranet.
389190	394110	So the thief is not going to be easily able to reconnect it to the network
394110	397530	unless they happen to have an intranet with the same settings as I did.
397570	401170	Unlikely. So, fuck.
403570	405910	So even with my legendary stubbornness,
406350	409990	I eventually gave up looking for the machine on sale sites
409990	411970	and trying to get people to go to...
411970	414670	I was in San Francisco filming Prototype This at the time,
414670	417170	so I'm trying to get people in Boston to go to flea markets for me
417170	419950	and look for it, and they're telling me to fuck off, as you would expect.
420670	423510	So, all right, time passes.
424430	429390	Now, if you use DynDNS and you use the automatic updating service,
429390	433770	if you don't update it for a while, you start to get messages like this,
433770	436930	which say, your account looks inactive.
437130	439390	So you can either just let your account be deleted
439390	441650	or you can click on this link and reactivate it.
442130	444350	So I would click on these links once a month
444350	448370	because I felt like, you know, why set it up again if I start using it again?
448830	452590	And at some point, I noticed something, and I thought, that's funny.
452590	455350	I don't remember getting one of those emails in a while.
455390	456750	I wonder what's up with that.
456750	459210	So I'll log into DynDNS and see.
459550	463670	And there I see, holy shit, two years later,
463670	466990	that domain record has started to be updated.
468070	469430	What the fuck?
472320	475120	So, quickly, NS look up the IP.
476220	479660	And, pretty interesting, my machine that was stolen in Boston
479660	482880	now seems to be in a Cox.net dial-up in Las Vegas.
485960	491620	So I call the cops right away, and they say, oh yeah, we'll subpoena that IP record.
491800	496380	And I said, well, you got to make sure that you get a historical record for this
496380	500160	because this is a dial-up dynamic IP, it's going to change a lot,
500160	502280	it's going to be totally worthless if you look it up now,
502780	505240	and it's not assigned to anyone or it's assigned to someone different.
505300	507900	And sure enough, they came back a month later with their subpoena results
507900	510360	that said that IP address isn't registered to anyone.
510700	511560	No shit.
512160	515240	But I wasn't staying idle in the meantime, waiting for them.
515660	518160	First thing I did, of course, was ping it and see if it was up.
518160	519080	But it wasn't.
519580	522160	So, you know, it's a dial-up, it's not always online,
522160	525020	so let's do that thing a whole shitload all the time
525020	526540	and wait for it to come back.
527760	530800	And sooner or later, it did come back.
532280	534720	Let's see if we can still SSH into that box.
536700	537720	Fuck yeah.
546790	549490	So SSH is not the only service I was running on that machine,
549490	552150	I'm also running VNC, so let's see if that's still up.
556460	559360	So my machine, I can still SSH to it, I can still VNC to it,
559360	562680	the machine has not been reformatted or locked down,
562680	566220	but he did at least go to the trouble of changing my desktop background.
566220	567160	I'll give him that.
569120	572880	Now, this is a Macintosh, so we can enter things on the command line
572880	574480	that make it do things.
574960	577620	Like text-to-speech that comes out of the built-in speaker
577620	579740	with no apparent window or source.
589210	592110	But childish fun aside, I want that machine back.
592550	594710	So let's start taking a look to see what we can find out
594710	596110	about the guy that has it.
597010	599850	So, he hasn't changed the names of my hard disks.
601670	604850	There are some PDFs on the desktop, they look like forms
604850	606930	for unemployment benefits in Nevada.
608030	610750	It turns out they are unemployment forms in Nevada,
610750	612810	but they're not filled in electronically, they've just been downloaded
612810	614810	and probably printed out, so that's a dead end.
615470	618470	But we have some stuff that are JPEGs.
618610	620870	Maybe they're interesting pictures, let's take a look.
632320	637640	So now, either whoever has this computer is really into saving photos
637640	640660	from diamond-earring-wearing-douchebags.com,
641800	644680	or these are pretty hilarious self-portraits.
645080	647700	So let's find out a little bit more about what this guy is into.
647700	649920	Let's take a look at his browser cookie file.
651660	653880	So here's an excerpt.
654300	657700	So here are some sites, we've got blackfatbooty.com,
658460	661240	bigbuttbrazilianmoms.com, freebigassporn.com,
661240	662940	elephantarses.com.
664940	666760	What about some searches?
666960	669080	We've got sexybeautifulfatass.
669880	672260	We've got several searches for freeporn.
672660	674760	Not something I thought that was that difficult to find,
674760	677000	but we're getting a psychological profile.
678440	680340	Now I know some of you out there, right?
680340	683980	You're thinking, this is my machine, these are my cookies.
686960	688720	Now I swear to you that they're not.
688720	690400	You're just going to have to take my word for that.
691380	693100	What are you searching for?
695640	698140	We've got some location information in these cookies.
698940	700500	Oh, you want an answer to that?
700500	704060	I'll give you the same answer I gave at my DEF CON talk two years ago.
704140	705480	ASCII goatsy.
710290	713150	Yeah, so location information in the cookies, but nothing we didn't know.
713150	714210	It's all Las Vegas.
714790	718590	But a little bit deeper here we find Gmail address.
719590	722690	Nice, thank you Google for keeping that stuff very easy to find.
723190	723970	So what have we got?
723970	725670	We've got location in Las Vegas.
725830	726970	We've got a name.
727270	728630	We've got a face.
728970	730610	We've got a Gmail account.
730810	732810	And we've got a Keylogger installed.
742140	744620	So at this point I've got sweaty palms.
744620	747500	I'm like, oh, I can't wait for this machine to come back online.
747500	752500	Because it goes offline typically eight or ten hours after it comes online.
752620	756160	So waiting to get that first Keylog back.
756160	758600	And here's some of the initial Keylog stuff.
759160	762280	So right away we have a street name.
762980	765540	But not a street number.
766480	767480	Could be his.
767580	768820	Might not be.
769040	770700	We've got one login and password.
771160	773440	But we don't really have a lot here.
773720	775480	There's a lot of weird key presses.
775740	777520	And I know that he's using the web a lot.
777520	779760	Because I'm watching also on BNC some of the time.
779760	781980	When I happen to be there when it's happening.
782760	786640	But how is he logging into things without typing many passwords?
786640	790740	Well, the browser he's using is Camino.
790740	792960	Which is the browser that I had installed.
792960	794460	Because he can't install new software.
794460	796380	Because he doesn't have the admin password.
796760	799680	And Camino is a Macintosh build of Mozilla.
799720	803880	It's integrated well with the macOS keychain for storing passwords.
804760	806720	Now the keychain is encrypted.
807560	810100	But he's storing his passwords in my keychain.
810100	812100	And it's encrypted with my password.
815300	819260	So I download the keychain file and open it in keychain manager.
819720	820740	And he's pwned.
825010	827890	So at this point, you know, I just need to find out a little bit more.
827890	828870	I need a full street address.
828870	831310	I need to find out maybe some more info about this guy.
832610	834230	So what about his birthday?
834370	837530	Well, army.com is nice enough to send him a birthday greeting.
837530	839210	That tells us the day and the month.
839330	841630	But what about the year? It's not in there.
841630	842310	Hmm.
843130	846810	Well, maybe his logins and passwords can shed some light on the subject.
852200	855020	You think maybe he was born in 1985?
856420	858400	Well, eBay tells us that he was.
861500	865540	But, you know, this guy's not using the same password for everything.
865540	868880	Like, I don't want to completely denounce his password behavior.
869040	870120	He does mix it up a bit.
870120	873360	We've got some twiddling on the numeric keypad going on for some of these.
881080	887240	So what we have at this point now is a name, and an address, and a birthday, but still not the street number.
887460	889820	Kind of need that to send the cops around.
890260	892920	Oh, wait. Some recent PayPal receipts.
898060	900940	And, you know, I don't want to send the police on a wild goose chase.
900940	902940	I need some confirmation here.
902940	908200	So I happen to be watching one day, and I'm watching him log into his credit card account over VNC.
909040	911140	And it's a good thing, isn't it?
911140	917800	That his bank's security is strong, and he's got this image identifier that's protecting him from phishing attacks.
917880	920720	Doesn't that make us all feel warm and fuzzy?
922080	924320	But there we go. Logged in. There's the address.
924620	926480	So that goes off to the police.
927200	931780	But while the police are doing their work, let's take a closer look at this guy.
931780	933120	Let's get to know him a bit.
933180	935420	You know, he's using my computer.
937080	939220	Who is Melvin Guzman?
940180	946140	Well, Melvin Guzman is the kind of person who spells his own name wrong on his Facebook page.
953410	957830	His main activity is taking photos of himself on online dating sites.
957830	961570	And when he saves those pictures, he just mashes on the keyboard.
962410	968670	So my stolen computer, my beloved Mac, is being used by someone less competent than a typewriting chimp.
971290	978750	But, you know, maybe if he stole an infinite number of computers, we might figure out if the complete works of Shakespeare could fit in a Mac OS X filename.
982310	987970	But thanks to his self-portrait obsession, I hereby present the many sexy faces of Melvin Guzman.
994580	996340	I'm sure the ladies love that one.
1002550	1005050	The profile seems to be very important.
1010350	1011490	Wink, wink.
1011490	1016830	And all the ladies out there, this man is available.
1017670	1019950	Contact me if you would like his phone number.
1032000	1038280	Now, I'm sorry to anyone who wanted to see the full Monty here, but after I originally submitted the slides,
1038280	1048080	the DEF CON staff told me that they might have trouble when they put the videos of this talk on the CDs that they have for sale afterwards.
1048080	1050920	And they might have some trouble with the AV company if I left it in.
1050920	1054740	So I had to search for something to cover up the wiener here, if you like.
1055220	1061920	But let me just say that when I searched for DEF CON logo images on Google Images, I only had to search for icon size.
1066970	1072290	If you've ever wondered what photographers mean when they say make love to the camera, that's what they mean.
1073450	1076770	And after making love to the camera, he doesn't mind cuddling it afterwards.
1079410	1085710	But this seems to work, all right, because the sexy ladies of the internet responded and it worked out for him.
1085710	1087670	So here's what he was receiving back.
1089850	1093350	So at last he found the fat booty he was looking for.
1096920	1100800	I assume so. But here's a side note on online dating techniques, right?
1100800	1107460	I don't know a lot about this, but I noticed when I was looking at the key logger that there were a lot of control Vs.
1107460	1111060	And I found out why that was from watching in VNC.
1111120	1115500	This guy would write a message once and then copy and paste it to literally hundreds of women.
1121100	1127560	I think this used to be called the shotgun approach, but I don't think they make shotguns that can hit 200 targets at once.
1128060	1131060	So I think maybe we need to call it the nuke from orbit approach.
1133260	1137340	And finally, an interesting bit of info, considering this is a guy using a stolen computer,
1138480	1141500	he's taking an online course for criminal justice.
1141780	1145220	I think he's enrolled in my online course for criminal justice.
1146260	1151720	But armed with all the address information that I was able to give them, the police were able to go and recover the computer.
1151720	1156660	In fact, I think they did that the day after I submitted these DEF CON slides, after the deadline.
1157100	1160540	And it taught me some lessons that I thought I would share with you.
1161140	1168480	First of all, obviously my security of the machine, in a data security sense,
1168480	1174320	in terms of not encrypting the hard disk and letting it boot into single user mode, was shithouse.
1174560	1179440	But if I had better security, then I would never have been able to recover the computer.
1179440	1187960	If the guy couldn't log into it, if he had to wipe the drives, if he couldn't reconnect it to the network, same deal.
1187960	1191340	So I actually recovered the hardware, and I did recover some of my data.
1192540	1195140	Some of it had been erased, but I got a little bit of it back.
1195140	1199760	And I set up rsync scripts every time it was online to pull in more and more of the stuff.
1199880	1204180	I often wonder if he was paying for bandwidth as well, because every time it would connect,
1204180	1207140	I'd be slurping gigabytes of stuff back down his dial-up.
1210060	1215460	The second lesson is, a lot of these services are potential vulnerabilities against a trained threat.
1215460	1220860	Everyone here is thinking, oh yeah, you're running VNC, and if you're not tunneling it over SSH,
1220860	1223220	then you're totally making a mistake.
1224140	1228000	Especially also having a daemon that tracks the IP address of wherever this machine moves,
1228000	1230260	especially if this was a mobile platform.
1230640	1234720	If I was running a DynDNS on my laptop, people would know where I was all the time.
1234860	1238760	So that would be bad against a trained threat, but very good against a low-tech threat.
1238780	1242840	So it's all about threat modeling, and remembering to buy that $20 deadbolt.
1243980	1246240	Another thing, the keychain versus keyloggers.
1246240	1250320	I'm one of those guys that never really trusted the keychain, because it's a single point of failure.
1250320	1252640	It's got everything in it. What if you could get into it?
1253140	1256740	But it's actually an interesting defense against keyloggers,
1256740	1260380	which is something that you're more likely to have on your machine from spyware and stuff.
1260480	1262240	There are more sophisticated keyloggers.
1262240	1265000	There are ones that log mouse movements and clicks and things like that.
1265000	1270140	But for a very basic keylogger, having forms and passwords and stuff just fill themselves in automatically
1270140	1274660	when you're logged in once is potentially protective.
1276600	1279340	And then finally, having my serial number was great.
1279380	1283380	Being able to give that to the cops, file a police report, meant that the hardware could be recovered.
1283380	1286880	Without that serial number, there's no way. So write that down somewhere.
1287420	1290980	And then the final lesson learned, of course, I'm sure you all know,
1290980	1293180	don't fuck with a hacker's machine. Thank you.
1293180	1293760	Thank you all very much.
