start	end	text
0	4500	Alright, thanks everyone for your patience while we worked through technical delays.
4580	9300	Now I'd love to introduce Jesus and David on behavioral biometrics and context analytics.
9300	11780	If we could all give them a huge round of applause.
14990	19250	Hello everyone. Thank you for joining us, despite the hand cover.
19290	24170	Today we are presenting how we reimagined the risk-based authentication system.
24290	28730	Our work analyzes information from the device and also from the user.
28730	33930	From the device, a web-based fingerprinting, and from the user, behavioral biometrics patterns.
34090	39390	My name is Jesus Solano, Lead Data Scientist, and this is David Camacho, Lead Data Architect.
39390	43090	We both work at Cistera Technologies in their research team.
43390	45590	To start, let me ask you something.
46050	52790	Aren't you bored of having to remember long and complex passwords?
53590	55790	Yes, you are. I am too.
56560	59570	How many of you have been in this situation?
60190	62550	I think most of you.
64910	68850	We have been using passwords during the last 60 years.
68850	71510	But they are not secure anymore.
71670	76830	And to be honest, they have not been secure for a long time.
77130	78750	The question is why?
78850	81070	There are two main reasons.
81070	85630	The first one, passwords don't validate user identity.
85630	95840	And the second one, usually, originally, the passwords are meant to be difficult to guess by other humans.
96190	99760	But today we are not dealing with humans guessing passwords.
100270	103610	We are dealing with computers guessing passwords.
103670	107110	So, they are not secure anymore.
107110	113860	For instance, imagine that you are setting up your password in your Yahoo account email.
113860	118160	Even if you put this long password, you are not safe.
118780	120560	The question is why?
120580	125220	Well, because it is very easy to guess by a computer.
126120	132260	And especially if you are like this kind of people, then you are not safe enough in the web.
134020	140020	Now, how are the online services protecting us in the web?
140020	143120	How are they protecting our identity?
143120	144160	Do you know?
145580	149720	Well, well, that's an important question indeed.
149800	154480	Think about your cell phone. Think about your email accounts, your corporate accounts.
154760	158380	How are they protecting our data and our identity?
158520	161340	What are they doing? What do you have to do to protect them?
161680	167140	So, definitely, many of you, if not all of you, have been in this situation.
167140	169020	Looking at this kind of thing.
169020	171200	Trying to match all the requirements.
171200	174860	And you end up with a long password that you cannot remember.
174960	179880	Or you just put it through, I don't know, some password manager or something.
179940	183180	That's kind of hard and it's difficult to remember, right?
183700	190260	To enforce the password protection, or maybe the model that we use right now with passwords,
191140	197360	the system has to ask us to set up some security questions or challenge questions.
197360	200220	But these questions have another problem.
200220	202480	It also requires a lot of our memory.
202480	204200	And we have two different options.
204200	208360	If we want to remember them, we put, just put the truth,
208360	210980	like literally the truth of what they're asking us.
210980	215340	But that's information that may be publicly available and it's easy to guess.
215340	222720	And if not, we just create some random made up answer, but it's hard to remember.
222720	228840	So again, you throw it up to a last password or any password manager that is able to
228840	231400	store these questions.
232040	238000	And finally, they enforce the security using systems like CAPTCHA.
238240	245520	But CAPTCHA can only tell or differentiate between humans and computers, or maybe bots.
245580	247760	Except for this one.
247760	252040	It is a robot arm that is able to bypass the I'm not a robot test.
252040	255600	So it's not secure enough, definitely.
255600	262180	We, we have, we need actually something that actually protects our identity and focuses
262180	266240	on something different beyond just secrecy.
267040	274040	Cyber security industry in the last, in the latest years have come, came up with three
274040	275440	main approaches.
275440	278460	The first one is passwordless logging.
278460	283440	The idea with passwordless logging is that you want to replace your password with
283440	287460	something that is dynamically created like an OTP.
287460	291420	But it's attached to your device and your device can also be stolen.
291560	296680	The other way to do this is just use biometrical information like your face recognition
296680	298780	or fingerprint recognition.
298840	303960	However, these patterns can, or maybe these systems can be easily fooled.
303960	309600	We saw in a, in a previous presentation that you could just add some noise to an image
309600	312360	and it will, the system will be fooled.
312360	318480	Or there are some research that shows that you can just print a 3D mask of your face
318480	323680	and it will fool most of the, the face recognition systems.
324300	327960	Another important approach is the continuous authentication.
328200	332700	The continuous authentication is not meant for static logging, I mean, not for the password
332700	336600	or logging time. It's meant for the use of the system.
336600	342580	It tries to understand how you interacted with the system and stop anyone that is not you
342580	345700	from doing any possible harm.
345780	352300	However, this approach takes a long time window and it opens a huge window to the attacker
352300	353740	to be successful.
354140	357120	And finally, there is the connection behavior.
357120	361840	The connection behavior, what it does is try to understand how you connect to the system
361840	366760	in terms of connection, timing, location, or even your device.
366860	371100	However, there are one, two particular problems here.
371100	378560	The first one is that if you are like very stable in your behavior, like you always connect
378560	384480	from your office, the same IP, the same machine, at the same time, labor hours,
384480	389760	the time you are traveling or you're connecting from your home, you will have a false positive
389760	393580	and will allow you with a second factor authentication or something.
393760	397960	And if you travel a lot, anything will be normal for you.
398020	403180	So you never, I mean, you always be exposed and you will never have an alert, right?
404300	410180	So the main goal we want to do with our project, with our proposal here, is to successfully
410180	412260	validate the user's identity.
412260	419920	I mean, avoid just relying on secrecy, on passwords that are not revealed,
419920	424380	and start looking at who are the people who claims to be.
427140	433160	Since early 2000s, there have been two main approaches to analyze this problem.
433160	438660	The first one, the context-based authentication, and the second one, the behavioral biometrics authentication.
438660	444020	In the first one, we can create a profile from the user from the connection patterns.
444020	450900	That means that we are recording the browser, the operating system, and also the time of connection,
450900	454740	and we can recreate a pattern from the user, from this connection.
454840	459320	With this pattern, you want to differentiate from user for another one.
459320	463740	And you can help the user to enhance their security.
464140	467180	On the other hand, we have the behavioral biometrics.
467180	473120	Here, you want to learn how the user moves their mouse, and also how the user types.
473260	478580	However, if you want to create a good profile from the user for these patterns, unique patterns,
478580	482900	you have to have very long timeframes in order to analyze.
482900	488260	That means that you cannot analyze the user in the login time.
488520	493900	You only can analyze the user if you get more than 30 seconds of interaction.
493900	500340	But a common login time is less than 25 seconds.
500420	508700	So, this usually works very well on continuous authentication, but not in static authentication.
509680	515500	Moreover, when we are dealing with this information, you are dealing with information that is sensitive.
515500	522720	That means, if you are recording the keystrokes typing, then you are recording the password or your credit card number.
522720	524040	It is not good.
524140	527580	Then, you want to anonymize the data.
527580	537160	But, if you anonymize the data, the most typical thing that happens is that your model lost predictable information.
537160	543700	So, you have to make a tradeoff between the privacy and the model performance.
544240	547960	However, all of this is in the theoretical side.
547960	551140	In the real life, the data is complex.
551320	553900	And the behavioral patterns are very complex.
553900	555040	How are they?
557100	564960	Well, as many of us may know, in real life, things do not often happen the way they were supposed to, right?
564960	570100	So, we make a lot of assumptions and they are not just fulfilled in the real life.
570100	583480	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.
583520	592920	For that, we collected a dataset containing 320 hours of computer-human interaction.
592920	606800	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.
607540	616720	From the part of the context data, or device identification, we collected more than 2 million users.
616720	617880	Real users.
617880	624040	And these users, or this information of the users, were collected using our company's products.
624040	627100	So we know that it's real data that is out there.
628760	640600	But, to test our hypothesis of how this individual and our approach works in static context authentication, we have to test them before.
640600	649260	So, we created some features out of this data and tried with a random forest algorithm.
649260	662060	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.
662060	663060	What does it mean?
663060	671720	It means that almost 80% of the time, we can differentiate when it's an attack or a real user trying to log in.
671720	677300	However, 20% of not recognizing really well means a lot.
677300	683680	So, at your left, you will see a shadow area in the graph.
684160	691520	This shadow area shows the best possible area of thresholds you could select for this algorithm.
691860	702880	As you can see, the crossing point, which would be the best you can choose, shows 80% accuracy, but 80% recall.
702880	703980	What does it mean?
703980	712420	It means that if you're 80% accurate, you can tell 8 from 10 times when an attacker is occurring.
712420	718760	However, 2 of 10 times, you will let an attacker pass.
718860	725140	That's a lot of time, and that could mean a lot of loss and a lot of problems, actually.
725140	735760	As we can see here, the conclusion with this algorithm is that behavioral biometrics by itself will be useful maybe enough,
735760	741860	but you have to select your threshold very, very carefully, and it depends on your data.
743100	751860	In the best case, you have an accuracy of 0.72 or 72%, but if you move just a little threshold,
751860	757660	you will see an important decrease in your accuracy and also in your recall.
757660	764460	So it means every time you move just a little your threshold, you will be losing more and more attacks.
765480	770960	Now, testing with the same algorithm, the random forest algorithm, our base context authentication,
772020	775700	we see that it has a better performance in general.
775700	786900	I mean, we have an AUC value of 0.82, or maybe close to the 80% again, just a little higher, of accuracy.
786900	790940	But it's also sensitive, however, it's more stable.
791120	799660	Now, it means that in general terms, people has a normal behavior or unstable behavior that could be predicted,
799660	806160	but if you see here at the plot on your left, you will see there is a threshold that is really low.
806480	818880	Also, that means that you are probably missing a lot of attacks or you will confuse a lot of different machines.
818880	830640	Also, the known weakness of this algorithm is that the context could be easily mimicked or easily replicated.
830760	839740	So, this kind of algorithms only works as a decision criteria, but are not definite, and definitely it doesn't really protect our identity.
840440	847000	So, as you can see here, it's more stable, but the results are not really definitive.
847000	856260	I mean, we can catch 75% of the attacks, but 30% of the attacks are just bypassed.
857060	863220	So, to finally understand the problem we're trying to solve here, we need to answer this question.
863220	868360	Who are we defending from? Who are we protecting our users from?
869840	880360	Let us introduce three types of attacks. The first one, the simple attack, the second one, a context attack, and finally, the physical attack.
880360	887440	For the simple attack, imagine a hacker anywhere in the world who is trying to log in your email account.
887640	897860	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.
897860	904220	And finally, in the physical attack, imagine you are tired and you want to get some coffee.
904220	913040	You get up and go for the coffee, but in this time, a colleague from you takes your machine and filters some important data.
914060	923500	Now, let us show how the previous model behaves in these three types of attacks.
923500	934340	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.
934380	945080	But in context and physical, we cannot recognize the hacker because the hacker is different from you, then it misses the authentication.
945080	957480	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.
957480	976760	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.
976760	980920	The question is how? How do we combine these models?
980920	994780	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.
995120	1000620	Then you have an output for the behavioral biometrics and also an output for the web-based fingerprinting.
1000920	1008540	If you combine these outputs, you can create an enhanced security model.
1008540	1020260	How is this combination? Well, we made a sensitive analysis and then we combined in a parametric linear combination the outputs of these machine learning algorithms.
1020680	1026420	After seeing this, our results are very good compared to the single models.
1026580	1035000	Here you can see the AUC and it is almost 21 better than the other single models.
1035000	1045980	Also, you can see here that the Receive Operating Characteristic curve, or ROC curve, is softer compared to the single models.
1046240	1054360	Here, the dashed line is for the coin. That means that you are guessing.
1054360	1062020	But when you are close to the point 0,1, then you are in the better scenario.
1062020	1068940	As you can see, the green line is the best scenario of our three models. That means the combined model.
1069400	1075560	To be more specific, let me show some statistics about our model.
1075560	1088320	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.
1088320	1100320	If you reduce the false positive, then it is easier than a legitimate user log in the website.
1100480	1111560	On the other hand, we are reducing the false negative. That means that we are increasing the security, because a hacker is very difficult to access to the system.
1111560	1120680	And finally, if you sum up these two metrics and also add the accuracy, then we are creating a more robust model.
1121060	1128960	And all of these models are based on robustness, but also are reducing the friction from the user.
1128960	1142220	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.
1142780	1155560	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.
1155560	1168880	As you can notice here, we are only testing in static authentication. That means less than 30 seconds.
1168880	1184780	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.
1184780	1193440	So, this model is working well not only in the static authentication, but also in the continuous authentication problem.
1195970	1204310	Well, to close this talk, I want you to leave three things so you can take it home.
1204310	1211930	The first one is that as landscape security has changed and evolved since a lot of years ago,
1212750	1220770	the focus of security nowadays, today, should be focused on who are you, on identity, not just secrecy.
1220770	1226850	Because we've been working with an old model and it's just easy to fool.
1227190	1235050	Second, the behavior are just little details that tells a lot about us.
1235050	1241290	Focusing on these little details will increase a lot our security.
1241290	1246070	And that is because, first of all, it's hard to replicate that kind of little details.
1246090	1252310	And second of all, because it will tell who is the real person and who is not.
1253070	1261970	And finally, I hope we could convince you that security is not the complete opposite of user experience.
1261970	1269470	In this case, we're not just increasing the security of logging, but also reducing the annoyance
1269470	1276730	of having to perform a second-factor authentication or having to remember long and complex stuff
1276730	1282970	or just trying to pass in a simple challenge that even a machine can pass.
1283070	1289830	So that's everything we have today. Hope you like it and we're ready for taking some questions.
1289830	1290730	Thank you.
1309800	1313700	Actually, here the attacks are artificially generated.
1313700	1318660	That means that an action from the one user is the attacks from another user.
1318660	1321740	Because they are performing the same action in the dataset.
1321860	1325940	Then you can have this user as an attacker from this user.
1347240	1350640	The short answer here is yes, we use it.
1350640	1357500	However, basically the main difference here is that behavioral biometrics by itself or on its own
1357500	1360800	is not enough for a static user. I mean for logging time.
1360800	1364520	Like less than 15 seconds where you're typing your password and stuff.
1364520	1371520	But if you combine that using behavioral biometrics, a little difference of our future extraction we did,
1371520	1378180	and you combine it with a sensitivity of the device identification and connection behavior,
1378180	1379600	you will have a better accuracy.
1379600	1387000	Because what makes our approach better in the results is the combination rather than using just one single approach.
1394670	1405150	Well, as most of the machine learning algorithms, the output saying that it is an attack is just an actionable alert.
1405150	1415330	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.
1415330	1419190	So think about you detecting a 70% probability of attack.
1419190	1423330	That seems like suspicious but not necessarily malicious, right?
1423330	1428790	So you may want to actually annoy the user with a second factor authentication.
1428790	1433550	But what happens is a lot less than usual or the individual approaches.
1433550	1438350	And if you have like a 99% of attack, you could just deny the action.
1438350	1492270	Okay, I'm going to repeat the question. Basically the question is about if we replace password with this approach,
1492270	1496410	will hackers have another vector of attack? It's serverless.
1499470	1506170	Okay, that's an excellent question. And basically the answer here is that as you're logging once again,
1506710	1510310	one important thing is that you have some sort of noise, maybe.
1511550	1517110	Every time you type your password or move your mouse, you won't do it exactly the same time.
1517110	1522210	However, you have like habits, right? We're trying to detect the habits.
1522370	1527050	And if someone tries to imitate that habit, it will be very, very hard
1527050	1531530	because the time is so little and the difference could be so noticeable.
1531810	1537170	And of course, a system that uses any machine learning algorithm will be retrained
1537170	1539430	because it won't last forever, right?
1539430	1544830	So at the end of the day, one of the cool things that maybe we didn't show but it's important here
1544830	1550850	is that we could use little interactions to start identifying people.
1551130	1555730	And as the attackers and actual people tries to log in into the system,
1555730	1559770	we could just train it with more and more data that gave us a better recognition of the,
1559770	1562190	uh, a better profiling of the users.
1562190	1566730	So at the end, we don't necessarily need to replace password per se.
1566730	1570770	We could just use it as a better identity double check, maybe.
1570770	1572510	That's part of our approach.
1591530	1598050	Actually, we don't create one model. We create two models, one for each one.
1598070	1603550	And the features for each model are different because one are features from the context-based
1603550	1605470	and the other for the behavioral biometrics.
1605470	1611770	But the features from each model, when they give one output in the machine learning,
1611770	1615370	then we create a risk-based model.
1615370	1618090	That means that we sum up the outputs
1618090	1622090	and then we create a final output.
1622090	1624370	This output is probabilistic, as they say.
1624370	1631190	But this output is giving us a level of risk that this connection is legitimate
1631190	1633030	or maybe an attack.
1644510	1650370	We made a sensitive analysis and we found out that the model who is contributing most
1650370	1653330	than the other, in this case, is the context-based authentication
1653330	1657650	because we have more data in this case,
1657650	1669610	but also because the connection patterns are easier to get despite the other behavioral biometrics.
1743070	1746570	Well, basically your question, if I get it right,
1746570	1751670	is about what happens when a hacker could bypass one individual model
1751670	1755070	and then summon a conjoined attack.
1789850	1797890	Okay, so first of all, we showed earlier that there are like three categories of attack.
1797890	1801950	There is another kind of four category of attack that we didn't show
1801950	1805250	because it's just our future work.
1805350	1807090	And here's the thing.
1807590	1812430	If a hacker is able to bypass one single model, I mean individually,
1812430	1814710	that actually requires a lot of work.
1814710	1820630	In terms of like investigating information to replicate your machine
1820630	1824470	or actually having physical access to your machine.
1824550	1833530	The other part is what are hackers doing to actually replicate a valid behavior of you?
1833530	1839790	Because as I said before, it's more than, I mean, you won't have exactly the same values
1839790	1843850	each time you log in, but you will have close enough values
1843850	1847690	and that difference is what I'm trying to measure, right?
1847850	1855250	Now, someone that takes the time enough or puts himself on the task
1855250	1859850	or doing both stuff, it's definitely a target attack.
1859850	1864110	And it's less probable and it's kind of out of the scope right now
1864110	1866910	because that's part, I mean, that same question we have it
1866910	1869130	and that's a part of our future work.
1869130	1873990	And so the short answer here will be like, yeah, it is definitely probable
1873990	1879330	that if someone does a chips to bypass both attacks,
1879330	1886330	individually, maybe a conjoined attack could bypass kind of easily our current work.
1886530	1891630	But we haven't, I mean, we haven't created that kind of a scenario yet.
1894320	1897140	I think that's all the time we have. Thank you for joining us.
1897340	1897480	Thank you.
