WEBVTT

00:00.000 --> 00:04.500
Alright, thanks everyone for your patience while we worked through technical delays.

00:04.580 --> 00:09.300
Now I'd love to introduce Jesus and David on behavioral biometrics and context analytics.

00:09.300 --> 00:11.780
If we could all give them a huge round of applause.

00:14.990 --> 00:16.410
Hello everyone.

00:16.410 --> 00:19.250
Thank you for joining us, despite the hand cover.

00:19.290 --> 00:24.170
Today we are presenting how we reimagined the risk-based authentication system.

00:24.290 --> 00:28.730
Our work analyzes information from the device and also from the user.

00:28.730 --> 00:33.930
From the device, a web-based fingerprinting, and from the user, behavioral biometrics patterns.

00:34.090 --> 00:39.390
My name is Jesus Solano, Lead Data Scientist, and this is David Camacho, Lead Data Architect.

00:39.390 --> 00:43.090
We both work at Cistera Technologies in their research team.

00:43.390 --> 00:45.590
To start, let me ask you something.

00:46.050 --> 00:52.790
Aren't you bored of having to remember long and complex passwords?

00:53.590 --> 00:54.790
Yes, you are.

00:54.790 --> 00:55.790
I am too.

00:56.560 --> 00:59.570
How many of you have been in this situation?

01:00.190 --> 01:02.550
I think most of you.

01:04.910 --> 01:08.850
We have been using passwords during the last 60 years.

01:08.850 --> 01:11.510
But they are not secure anymore.

01:11.670 --> 01:16.830
And to be honest, they have not been secure for a long time.

01:17.130 --> 01:18.750
The question is why?

01:18.850 --> 01:21.070
There are two main reasons.

01:21.070 --> 01:25.630
The first one, passwords don't validate user identity.

01:25.630 --> 01:35.840
And the second one, usually, originally, the passwords are meant to be difficult to guess by other humans.

01:36.190 --> 01:39.760
But today we are not dealing with humans guessing passwords.

01:40.270 --> 01:43.610
We are dealing with computers guessing passwords.

01:43.670 --> 01:47.110
So, they are not secure anymore.

01:47.110 --> 01:53.860
For instance, imagine that you are setting up your password in your Yahoo account email.

01:53.860 --> 01:58.160
Even if you put this long password, you are not safe.

01:58.780 --> 02:00.560
The question is why?

02:00.580 --> 02:05.220
Well, because it is very easy to guess by a computer.

02:06.120 --> 02:12.260
And especially if you are like this kind of people, then you are not safe enough in the web.

02:14.020 --> 02:20.020
Now, how are the online services protecting us in the web?

02:20.020 --> 02:23.120
How are they protecting our identity?

02:23.120 --> 02:24.160
Do you know?

02:25.580 --> 02:29.720
Well, well, that's an important question indeed.

02:29.800 --> 02:31.200
Think about your cell phone.

02:31.200 --> 02:34.480
Think about your email accounts, your corporate accounts.

02:34.760 --> 02:38.380
How are they protecting our data and our identity?

02:38.520 --> 02:39.340
What are they doing?

02:39.340 --> 02:41.340
What do you have to do to protect them?

02:41.680 --> 02:47.140
So, definitely, many of you, if not all of you, have been in this situation.

02:47.140 --> 02:49.020
Looking at this kind of thing.

02:49.020 --> 02:51.200
Trying to match all the requirements.

02:51.200 --> 02:54.860
And you end up with a long password that you cannot remember.

02:54.960 --> 02:59.880
Or you just put it through, I don't know, some password manager or something.

02:59.940 --> 03:03.180
That's kind of hard and it's difficult to remember, right?

03:03.700 --> 03:17.360
To enforce the password protection, or maybe the model that we use right now with passwords, the system has to ask us to set up some security questions or challenge questions.

03:17.360 --> 03:20.220
But these questions have another problem.

03:20.220 --> 03:22.480
It also requires a lot of our memory.

03:22.480 --> 03:24.200
And we have two different options.

03:24.200 --> 03:30.980
If we want to remember them, we put, just put the truth, like literally the truth of what they're asking us.

03:30.980 --> 03:35.340
But that's information that may be publicly available and it's easy to guess.

03:35.340 --> 03:42.720
And if not, we just create some random made up answer, but it's hard to remember.

03:42.720 --> 03:51.400
So again, you throw it up to a last password or any password manager that is able to store these questions.

03:52.040 --> 03:58.000
And finally, they enforce the security using systems like CAPTCHA.

03:58.240 --> 04:05.520
But CAPTCHA can only tell or differentiate between humans and computers, or maybe bots.

04:05.580 --> 04:07.760
Except for this one.

04:07.760 --> 04:12.040
It is a robot arm that is able to bypass the I'm not a robot test.

04:12.040 --> 04:15.600
So it's not secure enough, definitely.

04:15.600 --> 04:26.240
We, we have, we need actually something that actually protects our identity and focuses on something different beyond just secrecy.

04:27.040 --> 04:35.440
Cyber security industry in the last, in the latest years have come, came up with three main approaches.

04:35.440 --> 04:38.460
The first one is passwordless logging.

04:38.460 --> 04:47.460
The idea with passwordless logging is that you want to replace your password with something that is dynamically created like an OTP.

04:47.460 --> 04:51.420
But it's attached to your device and your device can also be stolen.

04:51.560 --> 04:58.780
The other way to do this is just use biometrical information like your face recognition or fingerprint recognition.

04:58.840 --> 05:03.960
However, these patterns can, or maybe these systems can be easily fooled.

05:03.960 --> 05:12.360
We saw in a, in a previous presentation that you could just add some noise to an image and it will, the system will be fooled.

05:12.360 --> 05:23.680
Or there are some research that shows that you can just print a 3D mask of your face and it will fool most of the, the face recognition systems.

05:24.300 --> 05:27.960
Another important approach is the continuous authentication.

05:28.200 --> 05:33.880
The continuous authentication is not meant for static logging, I mean, not for the password or logging time.

05:33.880 --> 05:36.600
It's meant for the use of the system.

05:36.600 --> 05:45.700
It tries to understand how you interacted with the system and stop anyone that is not you from doing any possible harm.

05:45.780 --> 05:53.740
However, this approach takes a long time window and it opens a huge window to the attacker to be successful.

05:54.140 --> 05:57.120
And finally, there is the connection behavior.

05:57.120 --> 06:06.760
The connection behavior, what it does is try to understand how you connect to the system in terms of connection, timing, location, or even your device.

06:06.860 --> 06:11.100
However, there are one, two particular problems here.

06:11.100 --> 06:33.580
The first one is that if you are like very stable in your behavior, like you always connect from your office, the same IP, the same machine, at the same time, labor hours, the time you are traveling or you're connecting from your home, you will have a false positive and will allow you with a second factor authentication or something.

06:33.760 --> 06:37.960
And if you travel a lot, anything will be normal for you.

06:38.020 --> 06:43.180
So you never, I mean, you always be exposed and you will never have an alert, right?

06:44.300 --> 06:52.260
So the main goal we want to do with our project, with our proposal here, is to successfully validate the user's identity.

06:52.260 --> 07:04.380
I mean, avoid just relying on secrecy, on passwords that are not revealed, and start looking at who are the people who claims to be.

07:07.140 --> 07:13.160
Since early 2000s, there have been two main approaches to analyze this problem.

07:13.160 --> 07:18.660
The first one, the context-based authentication, and the second one, the behavioral biometrics authentication.

07:18.660 --> 07:24.020
In the first one, we can create a profile from the user from the connection patterns.

07:24.020 --> 07:34.740
That means that we are recording the browser, the operating system, and also the time of connection, and we can recreate a pattern from the user, from this connection.

07:34.840 --> 07:39.320
With this pattern, you want to differentiate from user for another one.

07:39.320 --> 07:43.740
And you can help the user to enhance their security.

07:44.140 --> 07:47.180
On the other hand, we have the behavioral biometrics.

07:47.180 --> 07:53.120
Here, you want to learn how the user moves their mouse, and also how the user types.

07:53.260 --> 08:02.900
However, if you want to create a good profile from the user for these patterns, unique patterns, you have to have very long timeframes in order to analyze.

08:02.900 --> 08:08.260
That means that you cannot analyze the user in the login time.

08:08.520 --> 08:13.900
You only can analyze the user if you get more than 30 seconds of interaction.

08:13.900 --> 08:20.340
But a common login time is less than 25 seconds.

08:20.420 --> 08:28.700
So, this usually works very well on continuous authentication, but not in static authentication.

08:29.680 --> 08:35.500
Moreover, when we are dealing with this information, you are dealing with information that is sensitive.

08:35.500 --> 08:42.720
That means, if you are recording the keystrokes typing, then you are recording the password or your credit card number.

08:42.720 --> 08:44.040
It is not good.

08:44.140 --> 08:47.580
Then, you want to anonymize the data.

08:47.580 --> 08:57.160
But, if you anonymize the data, the most typical thing that happens is that your model lost predictable information.

08:57.160 --> 09:03.700
So, you have to make a tradeoff between the privacy and the model performance.

09:04.240 --> 09:07.960
However, all of this is in the theoretical side.

09:07.960 --> 09:11.140
In the real life, the data is complex.

09:11.320 --> 09:13.900
And the behavioral patterns are very complex.

09:13.900 --> 09:15.040
How are they?

09:17.100 --> 09:24.960
Well, as many of us may know, in real life, things do not often happen the way they were supposed to, right?

09:24.960 --> 09:30.100
So, we make a lot of assumptions and they are not just fulfilled in the real life.

09:30.100 --> 09:43.480
But, to create a robust model, something that is usable in the real life for real users, we need at least real data that will make us closer to something that is actually usable.

09:43.520 --> 09:52.920
For that, we collected a dataset containing 320 hours of computer-human interaction.

09:52.920 --> 10:06.800
It means, in a gamified environment, real people use real computers performing tasks like day-to-day tasks, such as writing emails, browsing the internet, or creating documents.

10:07.540 --> 10:16.720
From the part of the context data, or device identification, we collected more than 2 million users.

10:16.720 --> 10:17.880
Real users.

10:17.880 --> 10:24.040
And these users, or this information of the users, were collected using our company's products.

10:24.040 --> 10:27.100
So we know that it's real data that is out there.

10:28.760 --> 10:40.600
But, to test our hypothesis of how this individual and our approach works in static context authentication, we have to test them before.

10:40.600 --> 10:49.260
So, we created some features out of this data and tried with a random forest algorithm.

10:49.260 --> 11:02.060
So, our results show that the random forest for the behavioral biometrics in static context authentication, or login time if you want to, is 0.79.

11:02.060 --> 11:03.060
What does it mean?

11:03.060 --> 11:11.720
It means that almost 80% of the time, we can differentiate when it's an attack or a real user trying to log in.

11:11.720 --> 11:17.300
However, 20% of not recognizing really well means a lot.

11:17.300 --> 11:23.680
So, at your left, you will see a shadow area in the graph.

11:24.160 --> 11:31.520
This shadow area shows the best possible area of thresholds you could select for this algorithm.

11:31.860 --> 11:42.880
As you can see, the crossing point, which would be the best you can choose, shows 80% accuracy, but 80% recall.

11:42.880 --> 11:43.980
What does it mean?

11:43.980 --> 11:52.420
It means that if you're 80% accurate, you can tell 8 from 10 times when an attacker is occurring.

11:52.420 --> 11:58.760
However, 2 of 10 times, you will let an attacker pass.

11:58.860 --> 12:05.140
That's a lot of time, and that could mean a lot of loss and a lot of problems, actually.

12:05.140 --> 12:21.860
As we can see here, the conclusion with this algorithm is that behavioral biometrics by itself will be useful maybe enough, but you have to select your threshold very, very carefully, and it depends on your data.

12:23.100 --> 12:37.660
In the best case, you have an accuracy of 0.72 or 72%, but if you move just a little threshold, you will see an important decrease in your accuracy and also in your recall.

12:37.660 --> 12:44.460
So it means every time you move just a little your threshold, you will be losing more and more attacks.

12:45.480 --> 12:55.700
Now, testing with the same algorithm, the random forest algorithm, our base context authentication, we see that it has a better performance in general.

12:55.700 --> 13:06.900
I mean, we have an AUC value of 0.82, or maybe close to the 80% again, just a little higher, of accuracy.

13:06.900 --> 13:10.940
But it's also sensitive, however, it's more stable.

13:11.120 --> 13:26.160
Now, it means that in general terms, people has a normal behavior or unstable behavior that could be predicted, but if you see here at the plot on your left, you will see there is a threshold that is really low.

13:26.480 --> 13:38.880
Also, that means that you are probably missing a lot of attacks or you will confuse a lot of different machines.

13:38.880 --> 13:50.640
Also, the known weakness of this algorithm is that the context could be easily mimicked or easily replicated.

13:50.760 --> 13:59.740
So, this kind of algorithms only works as a decision criteria, but are not definite, and definitely it doesn't really protect our identity.

14:00.440 --> 14:07.000
So, as you can see here, it's more stable, but the results are not really definitive.

14:07.000 --> 14:16.260
I mean, we can catch 75% of the attacks, but 30% of the attacks are just bypassed.

14:17.060 --> 14:23.220
So, to finally understand the problem we're trying to solve here, we need to answer this question.

14:23.220 --> 14:24.960
Who are we defending from?

14:24.960 --> 14:28.360
Who are we protecting our users from?

14:29.840 --> 14:33.840
Let us introduce three types of attacks.

14:33.900 --> 14:40.360
The first one, the simple attack, the second one, a context attack, and finally, the physical attack.

14:40.360 --> 14:47.440
For the simple attack, imagine a hacker anywhere in the world who is trying to log in your email account.

14:47.640 --> 14:57.860
In the context attack, imagine a more sophisticated hacker who is trying to log in your email account, but he or she is replicating your device.

14:57.860 --> 15:04.220
And finally, in the physical attack, imagine you are tired and you want to get some coffee.

15:04.220 --> 15:13.040
You get up and go for the coffee, but in this time, a colleague from you takes your machine and filters some important data.

15:14.060 --> 15:23.500
Now, let us show how the previous model behaves in these three types of attacks.

15:23.500 --> 15:34.340
First one, the context-based model, it performs very well in the simple attack because you are from a different machine, then we can recognize the hacker.

15:34.380 --> 15:45.080
But in context and physical, we cannot recognize the hacker because the hacker is different from you, then it misses the authentication.

15:45.080 --> 15:57.480
On the other hand, the behavioral biometrics only performs good in the physical and context attacks, but it doesn't perform very well in physical attacks because the person is different.

15:57.480 --> 16:16.760
So today we are proposing a new model which combines information from those models, and then we create a new combined approach which performs very well in all the three types of attacks.

16:16.760 --> 16:18.680
The question is how?

16:18.680 --> 16:20.920
How do we combine these models?

16:20.920 --> 16:34.780
Well, take the information from the behavioral biometrics, add the information from the web-based fingerprinting, and create for each one a machine learning algorithm, in this case a random forest.

16:35.120 --> 16:40.620
Then you have an output for the behavioral biometrics and also an output for the web-based fingerprinting.

16:40.920 --> 16:48.540
If you combine these outputs, you can create an enhanced security model.

16:48.540 --> 16:50.440
How is this combination?

16:50.440 --> 17:00.260
Well, we made a sensitive analysis and then we combined in a parametric linear combination the outputs of these machine learning algorithms.

17:00.680 --> 17:06.420
After seeing this, our results are very good compared to the single models.

17:06.580 --> 17:15.000
Here you can see the AUC and it is almost 21 better than the other single models.

17:15.000 --> 17:25.980
Also, you can see here that the Receive Operating Characteristic curve, or ROC curve, is softer compared to the single models.

17:26.240 --> 17:32.180
Here, the dashed line is for the coin.

17:32.420 --> 17:34.360
That means that you are guessing.

17:34.360 --> 17:42.020
But when you are close to the point 0,1, then you are in the better scenario.

17:42.020 --> 17:46.780
As you can see, the green line is the best scenario of our three models.

17:46.780 --> 17:48.940
That means the combined model.

17:49.400 --> 17:55.560
To be more specific, let me show some statistics about our model.

17:55.560 --> 18:08.320
First, the precision is higher, but that means for the real user that we are reducing the friction, because we are reducing the false positive.

18:08.320 --> 18:20.320
If you reduce the false positive, then it is easier than a legitimate user log in the website.

18:20.480 --> 18:25.640
On the other hand, we are reducing the false negative.

18:25.640 --> 18:31.560
That means that we are increasing the security, because a hacker is very difficult to access to the system.

18:31.560 --> 18:40.680
And finally, if you sum up these two metrics and also add the accuracy, then we are creating a more robust model.

18:41.060 --> 18:48.960
And all of these models are based on robustness, but also are reducing the friction from the user.

18:48.960 --> 19:02.220
In conclusion, our model outperforms the other single models by combining the information from the behavioral biometrics' unique patterns and also from the context-based authentication.

19:02.780 --> 19:15.560
In this way, we are also reducing the friction that a final user sees when he is trying to access to the system, and finally increasing the security of a legitimate user.

19:15.560 --> 19:23.140
As you can notice here, we are only testing in static authentication.

19:24.640 --> 19:28.880
That means less than 30 seconds.

19:28.880 --> 19:44.780
However, if you imagine these 30 seconds as a time window and you aggregate the time windows, we are easily straightforward extensive this problem to the continuous authentication problem.

19:44.780 --> 19:53.440
So, this model is working well not only in the static authentication, but also in the continuous authentication problem.

19:55.970 --> 20:04.310
Well, to close this talk, I want you to leave three things so you can take it home.

20:04.310 --> 20:20.770
The first one is that as landscape security has changed and evolved since a lot of years ago, the focus of security nowadays, today, should be focused on who are you, on identity, not just secrecy.

20:20.770 --> 20:26.850
Because we've been working with an old model and it's just easy to fool.

20:27.190 --> 20:35.050
Second, the behavior are just little details that tells a lot about us.

20:35.050 --> 20:41.290
Focusing on these little details will increase a lot our security.

20:41.290 --> 20:46.070
And that is because, first of all, it's hard to replicate that kind of little details.

20:46.090 --> 20:52.310
And second of all, because it will tell who is the real person and who is not.

20:53.070 --> 21:01.970
And finally, I hope we could convince you that security is not the complete opposite of user experience.

21:01.970 --> 21:22.970
In this case, we're not just increasing the security of logging, but also reducing the annoyance of having to perform a second-factor authentication or having to remember long and complex stuff or just trying to pass in a simple challenge that even a machine can pass.

21:23.070 --> 21:26.030
So that's everything we have today.

21:26.030 --> 21:29.830
Hope you like it and we're ready for taking some questions.

21:29.830 --> 21:30.730
Thank you.

21:49.800 --> 21:53.700
Actually, here the attacks are artificially generated.

21:53.700 --> 21:58.660
That means that an action from the one user is the attacks from another user.

21:58.660 --> 22:01.740
Because they are performing the same action in the dataset.

22:01.860 --> 22:05.940
Then you can have this user as an attacker from this user.

22:27.240 --> 22:30.640
The short answer here is yes, we use it.

22:30.640 --> 22:39.780
However, basically the main difference here is that behavioral biometrics by itself or on its own is not enough for a static user.

22:39.780 --> 22:40.800
I mean for logging time.

22:40.800 --> 22:44.520
Like less than 15 seconds where you're typing your password and stuff.

22:44.520 --> 22:59.600
But if you combine that using behavioral biometrics, a little difference of our future extraction we did, and you combine it with a sensitivity of the device identification and connection behavior, you will have a better accuracy.

22:59.600 --> 23:07.000
Because what makes our approach better in the results is the combination rather than using just one single approach.

23:14.670 --> 23:25.150
Well, as most of the machine learning algorithms, the output saying that it is an attack is just an actionable alert.

23:25.150 --> 23:35.330
That means that when an attack is detected, the system will take an action based on maybe the threshold or the level of alert or whatever.

23:35.330 --> 23:39.190
So think about you detecting a 70% probability of attack.

23:39.190 --> 23:43.330
That seems like suspicious but not necessarily malicious, right?

23:43.330 --> 23:48.790
So you may want to actually annoy the user with a second factor authentication.

23:48.790 --> 23:53.550
But what happens is a lot less than usual or the individual approaches.

23:53.550 --> 23:58.350
And if you have like a 99% of attack, you could just deny the action.

23:58.350 --> 23:58.930
Okay

24:45.810 --> 24:47.910
, I'm going to repeat the question.

24:47.910 --> 24:54.890
Basically the question is about if we replace password with this approach, will hackers have another vector of attack?

24:54.890 --> 24:56.410
It's serverless.

24:59.470 --> 25:00.950
Okay, that's an excellent question.

25:00.950 --> 25:10.310
And basically the answer here is that as you're logging once again, one important thing is that you have some sort of noise, maybe.

25:11.550 --> 25:17.110
Every time you type your password or move your mouse, you won't do it exactly the same time.

25:17.110 --> 25:20.050
However, you have like habits, right?

25:20.130 --> 25:22.210
We're trying to detect the habits.

25:22.370 --> 25:31.530
And if someone tries to imitate that habit, it will be very, very hard because the time is so little and the difference could be so noticeable.

25:31.810 --> 25:39.430
And of course, a system that uses any machine learning algorithm will be retrained because it won't last forever, right?

25:39.430 --> 25:50.850
So at the end of the day, one of the cool things that maybe we didn't show but it's important here is that we could use little interactions to start identifying people.

25:51.130 --> 26:02.190
And as the attackers and actual people tries to log in into the system, we could just train it with more and more data that gave us a better recognition of the, uh, a better profiling of the users.

26:02.190 --> 26:06.730
So at the end, we don't necessarily need to replace password per se.

26:06.730 --> 26:10.770
We could just use it as a better identity double check, maybe.

26:10.770 --> 26:12.510
That's part of our approach.

26:31.530 --> 26:35.330
Actually, we don't create one model.

26:35.330 --> 26:38.050
We create two models, one for each one.

26:38.070 --> 26:45.470
And the features for each model are different because one are features from the context-based and the other for the behavioral biometrics.

26:45.470 --> 26:55.370
But the features from each model, when they give one output in the machine learning, then we create a risk-based model.

26:55.370 --> 27:02.090
That means that we sum up the outputs and then we create a final output.

27:02.090 --> 27:04.370
This output is probabilistic, as they say.

27:04.370 --> 27:13.030
But this output is giving us a level of risk that this connection is legitimate or maybe an attack.

27:24.510 --> 27:49.610
We made a sensitive analysis and we found out that the model who is contributing most than the other, in this case, is the context-based authentication because we have more data in this case, but also because the connection patterns are easier to get despite the other behavioral biometrics.

29:03.070 --> 29:15.070
Well, basically your question, if I get it right, is about what happens when a hacker could bypass one individual model and then summon a conjoined attack.

29:49.850 --> 29:57.890
Okay, so first of all, we showed earlier that there are like three categories of attack.

29:57.890 --> 30:05.250
There is another kind of four category of attack that we didn't show because it's just our future work.

30:05.350 --> 30:07.090
And here's the thing.

30:07.590 --> 30:14.710
If a hacker is able to bypass one single model, I mean individually, that actually requires a lot of work.

30:14.710 --> 30:24.470
In terms of like investigating information to replicate your machine or actually having physical access to your machine.

30:24.550 --> 30:33.530
The other part is what are hackers doing to actually replicate a valid behavior of you?

30:33.530 --> 30:47.690
Because as I said before, it's more than, I mean, you won't have exactly the same values each time you log in, but you will have close enough values and that difference is what I'm trying to measure, right?

30:47.850 --> 30:59.850
Now, someone that takes the time enough or puts himself on the task or doing both stuff, it's definitely a target attack.

30:59.850 --> 31:09.130
And it's less probable and it's kind of out of the scope right now because that's part, I mean, that same question we have it and that's a part of our future work.

31:09.130 --> 31:26.330
And so the short answer here will be like, yeah, it is definitely probable that if someone does a chips to bypass both attacks, individually, maybe a conjoined attack could bypass kind of easily our current work.

31:26.530 --> 31:31.630
But we haven't, I mean, we haven't created that kind of a scenario yet.

31:34.320 --> 31:35.880
I think that's all the time we have.

31:35.880 --> 31:37.140
Thank you for joining us.

31:37.340 --> 31:37.480
Thank you.

