WEBVTT

00:00.000 --> 00:02.600
Okay, let's start.

00:09.710 --> 00:16.450
She was Margaret Bourke-White, a pioneer American photojournalist.

00:16.450 --> 00:28.630
She broke barriers as the first female photographer at Life magazine and captured history from the front lines of World War II.

00:28.630 --> 00:35.070
Her lens froze decisive moments like Gandhi's final hours.

00:35.070 --> 00:45.150
One of her quotes encapsulates the mindset of every hacker, every red teamer and social engineer.

00:45.210 --> 00:50.950
Because in our world, access is everything.

00:51.050 --> 00:56.150
But what if the door doesn't need to be open?

00:56.190 --> 01:05.010
What if it's already there, hiding in plain sight, just waiting for someone to notice?

01:08.060 --> 01:18.460
I am Daniel Eisler, I'm team leader of Friendly Rats, the social engineering unit at DreamLab Technologies.

01:19.400 --> 01:33.660
It's not only a pleasure and an honor to be speaking at DEF CON for the sixth time, yeah, and of course, big thanks to Adversary Village to make it possible.

01:33.800 --> 01:40.420
It's also deeply meaningful to be here, representing my team, because it's our 10th anniversary.

01:40.860 --> 01:44.300
We only do social engineering stuff.

01:44.340 --> 01:54.240
It's been two years that we didn't make any phishing, so it's very, like, vintage style.

01:54.520 --> 02:08.860
What you are about to see now is the result of a lot of work, a lot of failures, but a lot of love from a bunch of rats, a bunch of Friendly Rats.

02:09.520 --> 02:22.880
So, most of people come to social engineering talks looking for a big red button, some magic trick to change user behavior.

02:22.880 --> 02:33.040
But the truth is, the red button has always been themselves, and that is the hardest part to accept.

02:35.390 --> 02:46.790
There's a deeply root belief in social engineering consulting that if you have the perfect pretext, you can achieve anything.

02:46.970 --> 03:01.330
And yes, pretext matters, just like the right outfit, the right tone of voice, a well-crafted email, technical lingo, and a solid OSINT over your target.

03:01.990 --> 03:05.730
All that helps.

03:06.050 --> 03:13.310
But what happens when the person you rehearse with is not the person that you have in front of you?

03:13.670 --> 03:19.210
What if just that morning the company changed the physical access protocols?

03:20.110 --> 03:25.130
What do you do when someone says to you, can you repeat your name?

03:25.130 --> 03:27.670
You are not in the company database.

03:28.150 --> 03:42.290
So in our experience, the main reason infiltration failed isn't because the plan was bad, it's because someone didn't know when to let go of the plan.

03:42.990 --> 03:47.390
And that happens to all of us, all the time.

03:47.650 --> 04:05.350
The pen tester who forces a tool even though the environment has changed, the salesperson who keeps reading their pitch even after the customer already says yes, the DEF CON attendee who keeps connecting to free Wi-Fi.

04:05.590 --> 04:08.210
Rigidity kills instinct.

04:08.650 --> 04:15.290
And in social engineering, instinct is the line between getting in or staying out.

04:15.350 --> 04:23.030
So that's why we stop looking for the perfect script and start looking for something else.

04:23.490 --> 04:27.210
The perfect moment to drop the script.

04:29.050 --> 04:35.830
This is gonna... I don't wanna say names, but it's a real case.

04:36.350 --> 04:39.010
We had everything ready.

04:39.010 --> 04:49.210
The pretext of being authorized suppliers, the customs, fake credential, props, a careful craft plan.

04:49.210 --> 04:59.750
But right before executing the infiltration, we stopped to extract proximity card codes from the RFID reader at the main entrance.

05:01.670 --> 05:07.850
And that's when the environment spoke first.

05:07.850 --> 05:12.910
As we were pulling credentials from the reader, we noticed a technician rushing by.

05:12.910 --> 05:15.070
We heard strange noises.

05:15.070 --> 05:18.350
We followed the sound and reached a door half open.

05:18.350 --> 05:21.990
We peeked inside and saw chaos.

05:22.010 --> 05:31.150
Not the kind of chaos that you run from, the kind of chaos that invites you to improvise.

05:32.490 --> 05:45.430
So, just like in the movies, sorry, when everything slows down, the world fades into slow motion and the main character stands still while the camera zooms in.

05:45.430 --> 05:46.630
Remember that?

05:47.170 --> 06:03.010
We saw people running, pieces of ceiling in the floor, water pouring from above the reception desk, and a technician on a ladder, trying to save the world.

06:03.570 --> 06:15.710
What for anyone else would be a nightmare, for us, it was like being kids again, and suddenly someone hands you a bag and says, it's piñata time.

06:17.170 --> 06:31.270
So, as Sun Tzu says in The Art of War, he who can modify his tactics in relation to his opponent, and thereby succeeding winning, may be called a heaven-born captain.

06:31.270 --> 06:33.210
So, we did.

06:33.210 --> 06:36.970
We changed our entire plan on the spot.

06:36.970 --> 06:48.850
We graphed fake email threads in a very special place, on a tablet, disguised as an HTML browser.

06:49.590 --> 07:03.290
We quickly produced new IDs, new lanyards, because the environment had just handed us a story, a story that no outsider could possibly know.

07:04.330 --> 07:07.690
We entered as headquarter staff.

07:07.690 --> 07:14.190
We said we received an alert about a water leak that may be affecting the electrical system.

07:14.190 --> 07:17.810
We need to check it out to prevent an operational outage.

07:17.810 --> 07:21.190
We didn't need to convince anyone anymore.

07:21.190 --> 07:26.430
We just had to reinforce what was already happening there.

07:26.430 --> 07:29.330
And that is way more powerful.

07:31.090 --> 07:39.350
I'm going to make a little pause to show you an experiment.

07:41.010 --> 07:42.370
It's an example.

07:42.370 --> 07:45.090
Maybe most of you know this.

07:45.090 --> 07:49.970
It's a TV show from Nathan Fielder, named The Rehearsal.

07:50.530 --> 08:07.690
He builds hyper-realistic simulations to rehearse every possible decision, trying in theory, to achieve the perfect outcome, to resolve the personal problem of a person.

08:07.970 --> 08:10.770
Let's see a little bit.

08:12.230 --> 08:14.410
I think I don't have sound.

08:14.410 --> 08:15.970
But don't worry.

08:17.210 --> 08:19.890
He's the patient.

08:19.890 --> 08:21.370
He's Nathan.

08:22.210 --> 08:32.810
And he's explained to him that they're going to rehearse all the possible decisions, like now.

08:32.810 --> 08:34.890
He said, what, what, what?

08:34.890 --> 08:35.870
Like now?

08:35.870 --> 08:36.590
Yes.

08:36.590 --> 08:41.150
This conversation I already have with other person.

08:41.650 --> 08:45.170
Dozens of times in a replica of your house.

08:45.610 --> 08:49.250
So it's look cool.

08:49.850 --> 08:57.970
But in the end, sorry, the show show us something deeper.

08:57.970 --> 09:05.090
No matter how much we try to control reality, reality always change.

09:05.090 --> 09:08.010
In social engineering, it's the same.

09:08.010 --> 09:10.850
The key isn't control.

09:10.850 --> 09:14.530
I know it's hard for labs, hackers.

09:14.530 --> 09:19.390
But where you're in the field, everything's change every day.

09:19.390 --> 09:23.890
The key is being to improvise with precision.

09:23.890 --> 09:28.490
That's I'm going to show you two frameworks that we use for this.

09:30.210 --> 09:32.870
So the first framework.

09:37.650 --> 09:42.770
We see the same process approach from two different words.

09:42.770 --> 09:46.170
One from psychiatry, another for military tactics.

09:46.950 --> 09:50.730
But they build the same process.

09:51.530 --> 10:00.710
Because every action we take in life responds to a chain of internal and external signals.

10:01.390 --> 10:06.230
Perceive, evaluate or value, decide and act.

10:06.230 --> 10:09.110
Everything in life is like that.

10:09.110 --> 10:22.350
When you want to buy a drink, when you want to buy a car, when you want to say hi to someone, when you open a door and you don't know what is inside of the door.

10:22.910 --> 10:24.690
So first I perceive.

10:25.410 --> 10:31.650
I see, I hear, I smell, I think, I remember what's happening here.

10:31.690 --> 10:34.250
Then I value, I evaluate.

10:34.270 --> 10:37.130
Does what I see works for me?

10:37.510 --> 10:41.670
Do I need to modify myself or influence to other person?

10:42.570 --> 10:51.290
Then, if I have all of that, I decide, I change the plan and finally I act.

10:51.790 --> 10:55.110
Producing the response that the context demands.

10:55.370 --> 11:02.530
I'm going to make a real example that happens yesterday.

11:02.530 --> 11:08.430
It's not prepared this, but I think you will understand better the framework.

11:08.430 --> 11:15.730
So, let's not delve into why.

11:15.830 --> 11:23.650
I show up in the middle of a large and totally empty white maze in the middle of the convention center.

11:24.450 --> 11:28.890
To be more specific, this one, that one.

11:31.350 --> 11:38.070
And I was walking, I noticed two large bodies, perceived.

11:40.370 --> 11:44.290
Two large bodies, rudely saying, hey dude, what you are doing here?

11:44.290 --> 11:46.250
You are not allowed to be here.

11:46.850 --> 11:52.750
I see their red shirts, the patches, I value.

11:53.410 --> 12:01.350
And I say, whoa, tomorrow I have this presentation, I don't want to be kicked off.

12:02.060 --> 12:11.070
And in that moment, one of them throws out an almost existential question.

12:11.490 --> 12:14.600
He says, are you human?

12:17.980 --> 12:20.760
And that was a gift for me.

12:20.760 --> 12:29.000
I value, I say, this is my chance to show myself vulnerable and get out of this.

12:29.000 --> 12:35.500
I'm going to talk with them like the cat of Shrek.

12:36.970 --> 12:46.980
So, I modify my tone of voice and say, yes sir, I am human.

12:48.120 --> 12:53.240
And they stay silent and kindly escort me to the exit.

12:54.300 --> 13:08.480
The fun fact, if you want to know what there is inside there, there is, this place is the best individual restroom in the conference center, but only for them.

13:09.900 --> 13:12.360
So, remember the framework.

13:16.340 --> 13:17.820
Okay, let's continue.

13:18.680 --> 13:20.200
Back to the intrusion.

13:20.820 --> 13:28.840
Without bypassing any control, we walked straight to the reception desk and introduced ourselves with a new pretext.

13:28.840 --> 13:35.040
The receptionist greets us, listens carefully and calls the manager of the floor.

13:35.560 --> 13:41.120
A manager we hadn't mapped in our OSINT stage.

13:41.140 --> 13:45.600
Because later we found out this was a temporary replacement.

13:45.900 --> 13:50.400
The original person had resigned just a few weeks earlier.

13:51.580 --> 14:01.000
So, she came to us, she greeted us, and introduced herself by the name, can you tell me a name, any name?

14:01.340 --> 14:03.300
Anna, thank you.

14:03.300 --> 14:06.320
So, she said, hi, I'm Anna.

14:06.340 --> 14:12.320
Oh no, once again, no one from headquarters told me anything about our visit.

14:12.900 --> 14:18.780
And in that moment, the second framework, which you will learn about shortly, was activated.

14:18.780 --> 14:23.020
She validated us without even knowing it.

14:23.020 --> 14:29.040
Then, we showed her the fake email threads, stuff with big names that she recognized.

14:29.040 --> 14:32.280
She had no idea it was just a local HTML.

14:32.800 --> 14:39.400
She asked us to include her in the next visit and told us we could go ahead on our own.

14:39.400 --> 14:41.100
So, we did.

14:41.580 --> 14:44.240
We didn't invent a character.

14:44.660 --> 14:48.760
We became exactly what the environment needed to see.

14:49.630 --> 14:56.660
And we moved freely through every part of the facility, until we reached the server room.

14:56.780 --> 15:02.160
And the server room, with a very strict guard, serious, focused.

15:02.440 --> 15:08.540
He checks our credentials, he hesitates, picks up the phone, and starts dialing.

15:08.720 --> 15:15.620
We glanced at each other in that moment, and we know this is the moment, so we interrupt him.

15:15.620 --> 15:18.420
You can call Anna.

15:18.540 --> 15:22.560
She's now in charge, and she can confirm our visit.

15:22.800 --> 15:26.520
His micro-expressions said it all, no words needed.

15:26.660 --> 15:29.520
Just the slight shift in his face.

15:29.520 --> 15:36.560
But before we get what happens next, let's break down technically how we pulled this off.

15:38.240 --> 15:40.580
This was our shot.

15:40.580 --> 15:57.360
As Henri Cartier-Vresson once said, the French photographer known as the father of photojournalism, famous for capturing the decisive moment with invisible and poetic precision.

15:57.680 --> 15:59.600
This was ours.

15:59.680 --> 16:06.260
The guard's expression shifts, a hint of laughter, a few casual, friendly remarks.

16:06.260 --> 16:10.840
He looks down the phone and smiles, and says, go ahead, guys.

16:10.840 --> 16:17.140
Moments later, he was personally escorting us through a critical areas facility.

16:17.960 --> 16:21.180
They didn't see us as outsiders.

16:21.600 --> 16:28.760
They saw us as part of the natural flow, like in Augusto Boal's Invisible Theater.

16:29.220 --> 16:36.240
Back in the 70s, Boal placed actors in public spaces to stage scenes.

16:36.260 --> 16:39.800
Charged with social and political meaning.

16:39.880 --> 16:42.480
But there was no stage.

16:42.920 --> 16:44.660
No lights.

16:44.660 --> 16:45.960
No announcements.

16:46.380 --> 16:48.880
People didn't realize it was theater.

16:49.280 --> 16:52.080
They accepted us as reality.

16:52.080 --> 16:56.840
And that was what made it so powerful.

16:57.600 --> 17:00.320
So we didn't explain too much.

17:00.320 --> 17:02.140
Just enough.

17:02.140 --> 17:13.120
As Hemingway says, when he spoke about dignity of the iceberg, we let the surface show and left the rest beneath.

17:14.260 --> 17:19.980
What we didn't say was exactly what convinced them most.

17:20.320 --> 17:22.960
That's how you achieve the impossible.

17:22.960 --> 17:25.060
So this is the second framework.

17:25.060 --> 17:26.580
It's not in order.

17:26.580 --> 17:31.820
You can use just one, two, or three.

17:31.820 --> 17:36.860
In this case, this framework gives us three key tools.

17:37.760 --> 17:42.360
Things to do, to know how to do, and to know.

17:42.420 --> 17:51.620
So when we are in the field, under real circumstances, it's the now we ask ourselves, is what I'm doing being accepted?

17:52.060 --> 17:55.120
If the answer is yes, we prepare the shot.

17:55.120 --> 17:59.320
We identify the right person and the exact moment to act.

17:59.380 --> 18:01.260
In every interaction.

18:01.260 --> 18:06.600
It's just important to know what not to say.

18:07.360 --> 18:14.340
And let the other person fill in the blanks to become the iceberg.

18:16.200 --> 18:25.100
So, of course, we entered the server room and left without raising any alarm.

18:25.100 --> 18:28.940
Because social engineering isn't just a technique.

18:28.940 --> 18:30.940
It's applied art.

18:30.940 --> 18:32.140
It's presence.

18:32.140 --> 18:33.240
It's rhythm.

18:33.240 --> 18:34.580
It's composition.

18:35.360 --> 18:38.680
So the best access is never forced.

18:38.680 --> 18:39.860
It's seen.

18:39.860 --> 18:41.240
It's waited for.

18:41.240 --> 18:42.440
It's recognized.

18:42.840 --> 18:47.640
Because sometimes the door is already open.

18:47.680 --> 18:52.620
You just have to know how to look.

18:52.800 --> 18:58.260
I don't have sound, but this was the original name of the talk.

18:58.260 --> 19:01.600
Because I love Rach again, the machine.

19:02.560 --> 19:08.820
And it means a lot of what things I talk to you today.

19:09.140 --> 19:11.280
And this obviously has music.

19:11.280 --> 19:12.380
But that's it.

19:12.380 --> 19:13.960
Thank you very much.

19:24.900 --> 19:26.340
Some questions?

19:28.100 --> 19:28.500
Yes?

19:28.500 --> 19:29.160
No?

19:29.160 --> 19:30.180
Any question?

19:30.180 --> 19:31.820
We have time if you want.

19:33.940 --> 19:35.140
Someone?

19:36.620 --> 19:37.820
No?

19:38.760 --> 19:41.620
We can talk downstairs, obviously.

19:42.640 --> 19:43.980
Okay, thank you.

19:44.800 --> 19:49.820
So a lot of risk after doing that kind of a thing.

19:51.650 --> 19:53.250
How long does it take off?

19:53.250 --> 19:55.490
What's your reaction to playing as a new game partner?

19:55.490 --> 19:56.730
How does that feel?

19:57.950 --> 20:02.810
In 10 years, we only get cut one time.

20:03.070 --> 20:06.730
And we have the safeguard for that.

20:06.730 --> 20:09.630
And we explain what we are doing.

20:09.890 --> 20:13.130
And we have a rule of three attempts.

20:13.130 --> 20:26.230
That if someone is very suspicious with us, we try to convince them without violence, without threats, only three times.

20:26.230 --> 20:33.370
If they're still in doubt, we say the truth.

20:33.370 --> 20:37.130
But it only happens one time in 10 years.

20:37.130 --> 20:39.930
So the framework works.

20:43.610 --> 20:43.690
Thank you.

