start	end	text
0	4860	All right, we're going to get this next speaker underway, so if we could start to quiet down
4860	16050	and give our attention to Chris Pritchard. He's been conducting ever more security tests and
16050	22230	audits of the ICS in the rail, air, maritime and utility sectors, as well as CNI work at
22230	27090	nuclear sites. His skills also include social engineering, and he successfully gained access
27090	32110	into CNI airports and casinos, which are regarded as some of the most secure facilities
32110	36790	in the industry. We're going to give our attention now to Chris, the basics of social
36790	53870	engineering, aka how I break into casinos, airports and CNI. Wow. Hello, DEF CON. How
53870	61470	awesome is this? So, as I mentioned, my name is Chris, and for those of you who think I'm
61470	66710	Australian, I'm not, I'm British, and no, I don't know the Queen, which is a very common
66710	71630	question that I get asked as soon as I tell people I'm British. So, I'm going to talk
71630	75750	about the basics of social engineering. This is for people who want to get into social
75750	79670	engineering, but think that they must know everything about body language, facial
79670	86050	expressions. You don't. So here are some things that I have learnt through my experience, and
86050	93470	these tips have got me into some places that you really should not be in. So, casinos,
93470	101670	airports, you should not be breaking into airports. You can, and you can do it too. With
101670	108790	permission. So, just quickly some terminology, just in case you're unaware of some of these
108790	113370	phrases. SE, obviously, we wouldn't be here if we didn't know that one, but I'm going to put
113370	118930	it out there just in case. CNI stands for Critical National Infrastructure, that is
118930	124310	airports, but also nuclear power plants, water treatment works, things along that level.
124310	130730	Things that the government tends to protect quite crucially. OSINT, Open Source
130730	136050	Intelligence, that's obviously, as we know, using things like Google, Street View, etc. to find
136050	144230	information normally about our target. Pretext. Now, this is the Wikipedia definition, but
144230	148870	basically, this is the lie. This is the story you're going to tell somebody about why
148870	153850	you were there. And the last one, NDA, non-disclosure agreements, if we get to the
153850	158170	point, because my timing is a bit tight, but if we get to the point where some questions, if I
158170	161750	say no comment, it's because I'm under a non-disclosure agreement and I can't talk about
161750	171270	that specific thing. So, step one, reconnaissance, doing your homework. So, the
171270	176650	first thing I always do is perform open source intelligence. I look at Google, I look at
176650	181710	Street View, I look at their website, I look at social media, anything that is going to help me
181710	188830	understand what this company looks like, how they dress, what their sort of ethos, culture
188830	194850	is, that's really, really useful. It really, really helps you. The next thing I suggest you
194850	200710	doing is actually go there, go to the place, go to that target, that thing that you want to get
200710	207950	into, and walk around it. Walk around and look for weaknesses. And there are going to be
207950	213990	weaknesses, I guarantee it. So, common weaknesses that I tend to look out for, back
213990	219310	entrances, most security is built around people coming in the front entrance, it's not built
219310	227070	around people coming in the back entrance. So, that's a great place to go. Smoking shed. Now, I
227070	234170	gave up smoking 20 odd years ago, but I bought a vape machine, just so I can go and stand in a
234170	239970	smoking shed, and build a rapport with people and talk to people. And it's so easy when you're in
239970	245710	that position, to then walk back into the building with them, because you're a part of them, you're a
245710	254070	smoker. So, that's a good one to go to. Shared offices are interesting. So, in bigger cities, if
254070	259550	you get a high rise building, what often happens is that the place that you are trying to get into is
259550	264790	probably on one very specific floor. Now, it's very, very careful and very, very important that you
264790	269950	don't go to the wrong one. Because your get out of jail free letter, if you have one, probably doesn't
269950	275790	cover the other offices. So, take a note of which office you're actually trying to get into and what
275790	281870	floor they're on. Again, really, really important. And the great thing about these big sort of
281870	289710	offices is they often have this sort of communal reception area. That is great. Go and sit in there for a
289710	295430	good couple of hours, take a laptop or something, pretend you're working and just sit there and
295430	300930	observe what's going on. Look around. And some really, really important things to note from that when
300930	306470	you're in there is, what are the staff wearing? Now, if you're going to try and sort of tailgate in and
306470	312950	appear like you should be there and are one of them, you need to match that. So, take a note of that. What are
312950	317990	they wearing? Are they wearing really smart office wear? Are they wearing smart casual, just like a
317990	324250	shirt with no tie, for example? Or are they wearing jeans and t-shirt? If you're doing that thing and you
324250	330150	want to get in there looking like that, you need to take a note of that. So, the other thing that I think is
330150	335630	really interesting, when are the busy times? When are the busy entry and exit times? If you want to
335630	342070	tailgate in, you want to tailgate in when it's busy. There's no point tailgating in when it's quiet. But
342070	347910	conversely, if you've seen a weakness somewhere in a back door, a back entrance somewhere, and you think
347910	352650	you can do some kind of door bypass, the best time to go and do that is when it's quiet, because you're
352650	360570	less likely to get caught. So, take a note of that sort of stuff. Really useful. The other thing, what else
360570	367590	do you notice? How are they wearing their ID badges, for example? Are they portrait, landscape? What
367590	373950	colour are they? What colour are the lanyards themselves? Do they have metal pins on the lanyard?
373950	381310	Anything that's similar that you can make look the same, do it. What I found is eventually that you end up
381310	390650	with a collection. And I can tell you that this blue lanyard with, as you can see, a blank ID badge, but with
390650	398910	some metal jangly bits on, that's what got me into an airport, because that's what they were wearing. Yeah. The
398910	404310	other fun thing is you often end up with a bit of a collection of lanyards like this after a time. Don't wear
404310	413930	them all at once, that's a bit obvious. So, before you do the entry and after you've done this reconnaissance,
413930	421710	construct this pretext, construct this lie that you're going to use as your story. But crucially, fit it around what
421710	428730	you know. Now, I come from an IT support background, so I often pretend I'm an IT network engineer, because I know
428730	435470	that stuff. And if people challenge me about it, I know how to talk IT network stuff. I don't know how to talk
435470	442790	about alarm information, so I don't pretend I'm an alarm engineer. So, fit that pretext around your knowledge,
442790	448750	because what you want is if you're challenged, you want that information to come from your conscious. You don't
448750	455970	want to have to think about it from your subconscious, because you will end up going, I'm here to fix the
455970	462870	alarm. That's not what you want. Hey, I'm here to fix the IT. I believe you've got some internet issues is going
462870	467750	slow. Oh, yeah, just let me plug in here. Let me log on to your browser. Let me go to this website. You know that
467750	475230	stuff. So, fit that pretext around your knowledge. It will help you. It'll make you feel better about it. Because
475230	480690	they say if you shroud a story in part truth, it becomes believable. Not believable just to you, but to the person
480690	489650	that you're telling it to as well. So, the other thing, get your outfit. If you are going to pretend to be an alarm
489650	496190	engineer, dress like an alarm engineer. If you're going to pretend to be a construction worker, dress like a
496190	503190	construction worker. Obviously, that's all pretext dependent. But yeah, you want to match it. And again, that's
503190	508110	where that OSINT and where sitting in that reception comes in really, really handy. You've noticed all that stuff
508110	514410	down, go out, buy the things, match it. You want to look like them. You want to look like the person or the
514410	522270	building that you're trying to get into. Match it. Also, if you are going to be an alarm engineer, you need some
522270	527110	alarm engineer stuff. I don't know what alarm engineer people carry, but I'm guessing they carry some kind of
527110	533690	box with some tools in it. If I'm going to be an IT system network engineer, I'm going to bring a laptop. Who
533690	540770	turns up to fix an IT problem without a laptop and maybe a Cat5 cable? So, think about what you're going to do
540770	547250	there and what this pretext is going to be and bring some props. Because again, props help you reinforce the
547250	560400	idea of you should be there. So, gates. Gates are interesting. We often see gates day to day. And when we
560400	568660	try to gain access to a building, they're often seen as a barrier. But it can also be a weakness as well. So,
568660	574860	here's a gate that I saw. This is not a very clear picture. I appreciate that. But the white window that you can
574860	581680	see there is the security office. And the security office, that is their side window. And they were looking out
581680	590940	the front. They were not looking out of the side. Now, that barrier is, well, frankly, pathetic. And most
590940	596680	people can either step over it or underneath it. But what was worse about it, and I've got another example
596680	603340	here, there was a massive gap at the end. There's a gap between the wall and the end of the barrier that you
603340	613500	could actually just sort of walk around it like that. Okay. So, that's a weakness. The next one. So, we call this
613500	619720	the long man technique. You have to excuse the quality of the pictures. This was actually taken from a video. But I
619720	626620	couldn't redact company names easily enough from the video. So, I had to take stills from that. So, here's my
626620	635100	colleague, James. He is swiping in. He's bent down. He's swiping into this gate. And then you see me coming in. I'm
635100	643580	not bent down and I'm not swiping into that gate. And then what I only noticed the other day, not amazingly clear on
643580	651420	this picture, there's a cleaner in the far corner. And she stood there like this. I only noticed this the other day
651420	658900	when I looked at this picture. Anyway. So, anybody notice anything odd about how I've walked in there? Bearing in
658900	667300	mind, this is called the long man technique. Shout it out. Tailgating. I am tailgating. Yeah. But I'm tricking the
667300	675600	gate system. And I've put a laptop bag directly behind James. And I trick the system into thinking there is someone
675600	684460	still there, i.e. a long man. And that is an easy, easy, easy way to get in. The number of times I've done that and
684460	692400	been successful is unbelievable. So, don't see gates as a hard and fast barrier. There are ways around them. They
692400	706360	are a weakness in some cases. So, you got in. What are you going to do now? So, my first, my first tip is actually
706360	719160	keep calm. Because you are going to have this massive, massive adrenaline buzz going, Oh, my God, I'm in. And if
719160	723800	you have that adrenaline buzz, you're going to give yourself away because somebody is going to go, it looks really
723800	735280	funny. So, keep calm. Now, you did some motion. You walked around the building. Relate those, that location to where
735280	740940	you are and think about it. And bear in mind, I've caught out, I've been caught out with this before. Those, those
740940	749000	maps that you see aren't always accurate. So, just think about it as a skeleton if you like. The next thing I'd
749000	757460	say, once you're in there, is be observant. We as human beings are terrible at noting things. And especially if
757460	763420	we're buzzing on adrenaline from having just successfully gained entry into somewhere we definitely shouldn't be.
763720	774340	So, I look out for things like this, exit signs. And I look for toilet signs. And I suggest you do the same. Because
774340	784180	hiding in a toilet is brilliant. A colleague of mine has actually printed out a laminated sign with sticky tape on the
784180	791860	back of it that says, out of order. And he goes and hides in the toilet for a good 20 to 30 minutes. And that is a
791860	798540	brilliant thing to do. Because all that adrenaline comes out of you, you have a little bit of an adrenaline crash maybe,
798540	804180	but you then become calm and you're not acting on adrenaline, which is going to mess things up if you do have to
804180	811620	interact with people. So, go and hide in those toilets. Think about where those exits are. And also think about how
811620	819500	those exits work. Are they push button exits, i.e. can I just escape if I need to? Or are they swipe card controlled?
819500	825240	And in that case, I might be able to probably either have to find some swipe cards on people's desks, get one for
825240	835500	myself, or tailgate somebody out again. Again, really, really important information. Some more things to think
835500	845340	about when you're in there. What's the target? What have you been told by your client to do? Now, nine times out of
845340	854420	10, it's plug into the network, patch it up, walk out. Cool. Sometimes it's not. Sometimes it's I want you to go and
854420	861920	get a red folder from the finance department. That is our company results. Get out with those. That's it. Job done.
862120	869140	Think about that target and how you're going to get from where you are now, hopefully in the toilets hiding, to where
869140	878860	that thing potentially is. This has been mentioned already. Don't be afraid to ask for help. Now, I can tell you about a
878860	891620	casino that I broke into in the UK. And I saw somebody going in. It wasn't a swipe. So it was a swipe control door, but you
891620	898060	couldn't easily tailgate because you needed to swipe and a PIN number. So I saw this person approaching the door. And I
898060	904820	said, Hi, I'm from the other office. And I'm Leon from the IT network team. My badge doesn't work on this particular
904820	914200	door. Would you mind helping me in? Oh, yeah, yeah, fine. No problem. Boom. I'm in. Now, in this particular case, the target
914200	926180	was to appear at the client's desk. So I walked in and I went, Hi, Matt, I'm here. And he said, Okay, how'd you get in? I said, I
926180	935240	asked somebody for some help and they let me in. My expensive social engineering training program that he's paid for is
935240	944160	working out great. Yeah, it sure is. And he said to me, Okay, we need to go and have a little walk around. I need to point out
944160	950600	who let you in. I'm a bit uncomfortable doing that. I don't like the name and blame game. But okay, we'll do it. Because
950600	956020	it's obviously either that person's not looking at your training program, or something's gone wrong. So we walked around
956020	963140	with some coffee cups. We got back to his desk. And I said, Right, so who was it? Who was the person that let you in? I said, Oh,
963140	975640	it was that lady over there in the blue sporty dress. So what? What's the matter? That's our HR director. Okay, good. So
975640	983880	that's working well for you then. The other thing I suggest is if you get to a desk and you're sat there and you're on the
983880	992060	network, or you go into a tea and coffee area, engage in polite conversation. Now, I've put very clearly in there, don't make them
992060	998940	your best friend, you don't need to make it that level of conversation. But engaging polite conversation, you were supposed to work
998940	1006100	there. So you're supposed to talk to your normal work colleagues, as an everyday thing. So talk to people talk about you know,
1006100	1013000	if someone's talking about their holidays or vacations or whatever, engage in that conversation. Because it's really, really
1013000	1021760	helpful. And I'll explain it. So this is a Chris Hagnagy saying, if you've read his book, you'll see this in there somewhere, always
1021760	1029120	leave people better feeling better for having met you. And that's really, really useful. Because, and again, I'll give you a little
1029120	1039840	story. One airport I went into, I got into the office. And I saw at the far end, there was a lady sat there who was obviously a lady of
1039840	1050680	power. She was somebody serious, big wig in this company. And I sort of purposely walked around a bit sort of lost like this. And I'd
1050680	1057940	already noticed that each of the desks had individual numbers on. I got to this lady. And I said, I'm really sorry, I'm, I'm looking for
1057940	1066180	desk 149. Can you help me? Oh, yeah, yeah. Hold on a minute. And she got up. And she's running around like this guy. Here you go. Here it
1066180	1076960	is. Brilliant. Thanks very much. Plugged in. Network stuff. Great. Started talking to her, gauged and played conversation. But what
1076960	1085760	that meant was that everybody around thought that I should be there because I was talking to this lady of power. And it turned out she
1085760	1095440	was a PA to someone really, really high within this organization. And from that, you can come back to that person, because they're like a
1095440	1103480	focal point. And you can come back to them and go, Hi, lady in power. I really need some help with something else. And you can return
1103480	1111600	back to that new friend of yours. But also, if you are talking to somebody in power like that, it builds acceptance that you should be
1111600	1120100	there. And you shouldn't be there. But talking to someone like that makes them think that you should be there. I'm going to talk about
1120100	1128240	one piece of psychology related advice. And I wanted to stay away from this, but I think this is really, really important. So there's something in
1128240	1137280	psychology called don't negate the frame. Some of you will have heard about this. So if I say to this entire room, Hey, nobody think about pink
1137280	1147920	elephants. All right, don't do it. Don't think about pink elephants. Everyone starts thinking about pink elephants. Why is that relevant? If I went to
1147920	1156240	this lady of power and said, Hi, it's Leon from the IT network team. I just need to plug into this network and sort your internet out. Don't worry,
1156240	1169640	I'm not here to hack the network. What's the first thing that person is going to be thinking? Yeah, exactly. So don't talk about things in a
1169640	1176200	negative way like that. Think about it in positive. Hi, it's Leon from the IT network team here. I'm just going to sort out your internet. It's
1176200	1184400	going a bit slow. I'm going to make it faster for you. It's a positive thing. She's going to help me. If I say I'm not going to hack the network, she's
1184400	1196640	going to think that. So think about it and talk about it and spin it in a positive way. So you've got in. What else do you need to know? So I call this the
1196640	1207100	fear. All of us have this inner voice. And we will say things like, Chris, you're going to go to DEF CON, you're going to talk on the SE village, and you're
1207100	1216560	going to be like, really nervous. And it's your inner brain, your inner voice is going and building all these bad negative things in there. Don't listen to it.
1218060	1226220	When I when I when I did the first airport, I thought really, really carefully about where I should position my get out of jail free
1226220	1235360	letter. I was wearing a suit and tie. And originally, I thought, I know if I put my get out of jail free letter just here, in my inner suit jacket
1235360	1246980	pocket, that'll be a good place because it's easy to reach. And then I thought, hold on a minute. What kind of people protect airports? Oh, people with guns.
1247780	1264440	Right, I probably can't expense a body armour of any description, a bulletproof vest of any description. And if I get stopped by police with guns, and I have a letter that's in here, and I go to reach for it when people with guns are pointing at me, that's probably not a good place to put it.
1265380	1276560	But it was just this inner voice. It was just this fear building up in your in your brain going, this is a bad thing. This is a bad thing. It's not. Ignore that inner voice, override it and just
1276560	1281220	say, it's fine. I'm going to be okay. I'm here to do a job. It's going to be fine.
1282500	1297100	The other thing I'd say, once you first start doing this, and in fact, even to this day, I still get this nerves are natural. Don't don't worry about it. You are going to be nervous. Go and hide in that toilet. Calm down. It's absolutely fine.
1298300	1311480	And now I appreciate I'm probably speaking to a massive room full of hackers. But I don't know when I first started doing SE, I had real ethics problems. Because my mom and my my dad had always told me not to break into buildings.
1312600	1318380	If you do have those ethic problems, you might not. Just tell yourself you're acting.
1319100	1321620	And it makes it okay.
1324500	1325640	Ish, yeah.
1327740	1350060	And the other thing that I don't think gets talked about enough is is exhausting. If you are an SE job for an entire day, the adrenaline ups and downs and the crashes, pretending to be somebody else trying to hack the network for an entire day or whatever it is you're doing is absolutely exhausting. You will be so tired at the end of it.
1350060	1374980	One of the jobs I did, I did it for a day. The drive home at the end of the day was a four hour drive. Now in the UK, four hours is quite a long way. I appreciate it's not quite so long in the US and people like going long distances. But for me, that was exhausting. I should not have stayed there and done a four hour drive. And at some point, what I did is I pulled over into services and I slept like a baby for two hours.
1375920	1386140	So it's exhausting. Think about that when you're building that into your scoping or your jobs timings. Think about how tired you're going to be at the end of that day.
1387940	1403540	Some other things, just some stuff to help you improve a little bit. Read some books. Chris Voss is a FBI negotiator and he's written a book called Never Spoke a Difference. And that is about negotiating. That's a good skill to have when you're doing this.
1404160	1414220	Olivia Fox Cabane, Charisma Biff, really, really useful. If you are an introvert as well, this is a great book for helping you do SE.
1415020	1424880	Earman, another UK SE guy, very, very useful book to read. Can't come really here without mentioning this book, otherwise I'll get shot.
1426260	1433140	And then when you start getting into the point where you're interested in body language, I'd start here. This is a really good book as well.
1434480	1445040	And the other thing I'd say is practice. Get your company to get you involved in these kind of tests. You're going to fail at some point. Don't worry. Treat it as practice.
1446580	1450540	And that's it. I want to say thank you very much to the community.
1458230	1464190	And I believe it's the thing that you have to have a cat selfie picture, so I put a cat selfie picture.
1464190	1471290	But this has been on Twitter. If you want to hit me up for some more questions or ask more information, please do. Thank you very much.
