[00:00.000 --> 00:02.400] Hi again, this is Temel. [00:02.720 --> 00:04.320] No brain, no gain. [00:04.680 --> 00:08.380] We are using brainwaves to authenticate in IoT environments. [00:09.060 --> 00:16.540] That's actually all we wanted to tell, but of course we have a story behind it and we are excited to tell you guys here. [00:17.260 --> 00:25.680] You know, back in 2020 I was job hunting and I thought Ankara, the capital of Turkey, would be a nice place to find a job. [00:25.680 --> 00:29.960] And I had a friend, also a co-speaker, he'll be here in a minute. [00:30.320 --> 00:32.580] He was living there. [00:32.580 --> 00:36.820] He took me in, offered me a place to stay for a while. [00:36.820 --> 00:48.040] And his place was quite busy with people coming and going and we were like playing PES tournaments, the football game, maybe you know, or soccer game for Americans. [00:48.620 --> 00:50.880] Or it's pro-revolution soccer indeed. [00:50.880 --> 00:52.500] Sorry, let me rephrase. [00:52.500 --> 00:55.480] It's a soccer game and football for others. [00:55.800 --> 00:58.280] And it was so intense. [00:58.280 --> 01:02.680] And one of the friends who was coming and going, he had a DJI drone back then. [01:02.740 --> 01:09.160] And we were a bunch of cybersecurity people and we thought to ourselves like, can we fly this drone in restricted zones? [01:09.160 --> 01:14.020] Our apartment building was really close to a military base. [01:14.160 --> 01:18.860] So we thought if we could fly this DJI drone and we tried and we succeeded. [01:18.860 --> 01:23.600] And it later became a DEF CON talk at DEF CON 29, I guess. [01:23.600 --> 01:23.800] Yeah. [01:23.800 --> 01:30.400] And the name was, I don't know, but it was like spoofing the restricted zones, et cetera. [01:30.400 --> 01:33.620] So another friend was working on brainwaves. [01:33.620 --> 01:41.220] Specifically, he was working on how to identify people using their brainwaves. [01:41.220 --> 01:44.340] Like it is very unique, as you may know. [01:44.340 --> 01:52.560] And it also got us thinking, can we use this unique feature of brainwaves to authenticate in IoT environment? [01:52.560 --> 01:54.060] And here we are. [01:54.060 --> 01:55.020] Of course, we did. [01:55.020 --> 01:57.260] And we want to talk about it. [01:58.600 --> 02:12.060] Some of the foundational concepts here, maybe you are familiar, but to provide a complete picture and set the stage for telling what we want to achieve and how to achieve it. [02:12.060 --> 02:15.640] So if you know, please take them as a reminder. [02:16.280 --> 02:21.720] And I am Temel, working as cybersecurity lead at KPMG Turkey. [02:21.720 --> 02:28.620] And my friend Önder, he's a cybersecurity consultant, mostly referred as Red Teamer. [02:28.620 --> 02:36.200] And he has helped a lot, especially for finding weaknesses, our proposed system here. [02:36.460 --> 02:40.300] And there is, of course, the name is not here, but there is Dr. [02:40.300 --> 02:41.400] Ahmet Furkan. [02:41.400 --> 02:48.700] He's an assistant professor at North Carolina University Wilmington. [02:48.700 --> 02:53.760] And of course, he has contributed a lot to us. [02:53.760 --> 03:12.520] Building on that, and given the critical need for more advanced security measures, our talk is going to outline how we use brainwaves to provide more secure approach to authentication in general. [03:12.520 --> 03:15.960] It is going to be divided into five main areas. [03:15.960 --> 03:26.760] We will begin with the necessity of such advanced authentication mechanisms, and we will touch on the current threats. [03:26.760 --> 03:40.960] Next, we will dive into fundamentals of electroencephalography, the EEG for short, explaining how brainwaves provide more secure authentication options for us. [03:40.960 --> 03:48.780] We will then compare our proposed system with traditional methods, detailing the technical architecture we used. [03:48.780 --> 03:55.320] We can't use raw EEG data for our purposes, so we process it in some algorithms. [03:55.320 --> 03:59.580] We will also talk about how we process them. [03:59.580 --> 04:03.900] Finally, we will conclude with a video demonstration of our system. [04:05.720 --> 04:08.600] Yeah, that's the agenda. [04:13.960 --> 04:22.780] You will hear industrial control systems throughout my talk from time to time, so I would like to remind you people what ICS is. [04:22.780 --> 04:26.080] Maybe some of you know, maybe some didn't hear before. [04:26.080 --> 04:43.960] It's a broad term used for systems hardware and software that manage and control industrial processes and manipulates physical world, like some of IoT devices to close my curtain or heat up my home, etc. [04:43.960 --> 05:00.420] These systems are essential for industries like manufacturing, power generation, water treatment, where they monitor physical processes, automate tasks, control devices like sensors, actuators, and smart controllers. [05:00.680 --> 05:11.320] And industrial IoT devices, which use industrial processes, of course, make up a big chunk of security controls in these areas. [05:11.320 --> 05:23.640] It is because industries are adopting IoT devices to optimize their processes, boost efficiency, or enable real-time monitoring, and so on. [05:23.640 --> 05:27.920] You know, it's all about minimizing the cost and maximizing the profit. [05:28.320 --> 05:35.760] For example, think about an industrial bakery system, you know, you need to keep the oven at certain temperature. [05:36.500 --> 05:57.200] And this is done by a sensor, our industrial IoT device here, that reads the physical data, the temperature here, processes it, which means it compares the read value to preset temperature value, and gives back instructions if needed, like if it is too hot, [05:57.200 --> 06:00.340] cool it down, it's too cold, just heat it up. [06:00.880 --> 06:06.820] So we need to trust what we see on our screens when we monitor these kinds of processes. [06:07.040 --> 06:15.640] The point is, IoT isn't just for consumer electronics, it's embedded in the heart of these kinds of systems as well. [06:15.640 --> 06:23.280] And day by day it is growing, the convergence between the IoT and ICS industrial control systems are growing. [06:23.600 --> 06:32.420] You know, every day tons of stolen credentials are put on the market, and if it's stolen or bought by some people, you know, what can they do? [06:32.420 --> 06:37.580] They can perform any actions that you can perform with your current privileges. [06:37.940 --> 06:48.480] I'm talking about this because our proposed EEG authentication mitigates most of these cybersecurity threats. [06:48.740 --> 06:58.560] Well, there might be some multi-factor authentication mechanisms, but we see that it often fails, if not often, many times it fails. [06:58.560 --> 07:03.300] Önder, he's not here yet, but he bypasses it a lot of times. [07:03.300 --> 07:18.000] Traditional authentication methods, as we know of today, including passwords, some biometrics, simply can't keep the face with today's sophisticated cyber threats landscape. [07:18.040 --> 07:21.940] And there is where our EEG biometric comes in. [07:21.940 --> 07:29.460] We are confident that it offers a promising new level of security for this environment. [07:29.460 --> 07:36.380] It provides liveliness detection, which provides high resistance to spoofing and coercion. [07:36.380 --> 07:41.380] While using authentication with EEG, we use probabilistic modeling. [07:41.380 --> 07:45.460] As I said, we don't use, we cannot use raw EEG data. [07:45.460 --> 07:48.340] We process it in some way. [07:48.340 --> 07:53.980] We are using Gaussian mixture model to authenticate with brain. [07:53.980 --> 08:02.380] And combining these and more features of EEG, it's way more difficult to bypass EEG authentication [08:05.420 --> 08:08.600] compared to traditional authentications we know of. [08:08.600 --> 08:14.500] You can include biometrics like iris or fingerprints and any others. [08:14.500 --> 08:18.700] So it is superior to our knowledge at the moment, it's still developing. [08:18.700 --> 08:21.400] It is superior to those authentication methods. [08:22.160 --> 08:26.400] Well, industrial control systems are also categorized in some other ways. [08:26.400 --> 08:31.120] I mean, they are categorized as critical infrastructure as well. [08:31.300 --> 08:40.920] This categorization is made by countries depending on their understanding of security or understanding of national security. [08:40.920 --> 09:00.660] Here in the United States, the critical infrastructure means in serious terms, systems and assets, whether physical or virtual, so virtual to United States that the incapacity or destruction of such systems and assets would have weakening impact on security, [09:00.660 --> 09:07.640] national economic security, national public health or safety, and any combination of those matters. [09:07.700 --> 09:14.140] And here in the United States, again, there are 16 fields categorized as critical infrastructure. [09:14.260 --> 09:23.940] Chemical, communications, dams, defense industrial base, emergency services, energy, healthcare and public and so on. [09:24.420 --> 09:34.280] These services we get from these infrastructures, as we may all know, we take them as granted. [09:34.820 --> 09:45.060] Imagine you are not accessing clean water for a few days, or even a few hours, it will be really like an annoying experience. [09:46.080 --> 09:59.260] The absence, sorry, to emphasize this point, we could just look at the recent history of what cyber attacks caused in the United States and Ukraine. [09:59.260 --> 10:13.120] In 2009, the colonial pipeline attack, the ransomware attack, it caused a shortage of, it caused shortage and people panicked about the gasoline. [10:13.140 --> 10:20.080] And we saw people like lining their truck beds with plastics and filling them up. [10:20.080 --> 10:26.200] And we saw this, and this is like quite an impact, I think, like millions of people are affected with this. [10:26.840 --> 10:43.480] Similarly, a few years ago, black energy attack on Ukraine's power grid proved that cyber security could, proved that cyber security caused a real world blackout of 230,000 people. [10:43.600 --> 10:52.000] You see, these incidents don't just lead to data breaches, they directly impact physical processes and human safety. [10:52.000 --> 10:59.700] We see widespread systemic weaknesses in these systems, and not just only individual flaws. [10:59.700 --> 11:15.680] It's not uncommon, especially in industrial IoT systems, to find reliance on weak or default passwords, as you may know, insecure network services, outdated firmware, and lack of encryption across many deployed systems. [11:15.980 --> 11:26.980] And one study showed that 98% of IoT traffic is unencrypted, which means nearly every bit of data is open to interception. [11:27.520 --> 11:37.960] Their design, these systems' design, prioritized longevity, like they are deployed decades ago. [11:37.960 --> 11:41.260] And we all know the CIA tried principle, right? [11:41.260 --> 11:51.080] In these systems, it is not CIA, but it is AIC, which means availability comes first and privacy comes last. [11:51.080 --> 11:54.320] So this is another dangerous situation we face. [12:04.680 --> 12:19.460] And when we talk about limitations of traditional authentication methods, passwords, PINs, physical tokens, and even biometrics like fingerprints and facial recognition, they all can be compromised in their own way, right? [12:19.460 --> 12:27.280] We can use methods like forgery, brute force, attempts to social engineering and steal or misuse these credentials. [12:27.680 --> 12:29.060] And what about biometrics? [12:29.060 --> 12:31.100] We know they're quite unique as well. [12:31.220 --> 12:38.680] A key concern with biometrics, key concern with biometrics like fingerprints and faces is their potential for replication. [12:38.680 --> 12:49.660] You know, we can replicate faces with deep fakes or fingerprints if we get them or if we get a clear picture of hand, we can just replicate these fingerprints. [12:49.880 --> 13:02.280] Here, we are not saying, okay , bypassing these traditional current methods are easy, but we are just saying these authentication mechanisms offer a way more secure way to authenticate. [13:03.860 --> 13:07.240] Of course, as I said, we are testing our systems as well. [13:07.240 --> 13:08.840] It has some vulnerabilities. [13:09.040 --> 13:13.660] Under here, he lets the vulnerability research on our system. [13:13.660 --> 13:24.640] It has some flaws, which I would like to disclose at the moment, but we are mitigating them and we are finding another vulnerabilities and it goes on. [13:25.460 --> 13:36.700] As I said, many of the traditional authentication systems lack liveness detection, which means it doesn't control if you are a live entity or not. [13:36.940 --> 13:53.480] Another disadvantage of biometric authentication, while a compromised password can be reset easily, but once your fingerprint or iris or face or numerical conversion of these are compromised, you cannot revoke it. [13:53.480 --> 13:55.080] It is gone forever. [13:55.080 --> 13:56.700] You cannot use it again. [14:00.200 --> 14:06.920] In traditional authentication, we use cryptography, but unfortunately we don't use it in some. [14:06.920 --> 14:19.160] A challenge with traditional encryption in IoT, high security often requires a lot of processing power, which many resources constraint devices lack at the moment. [14:19.160 --> 14:30.920] Conversely, lightweight methods mitigate these concerns, but also it lacks security compared to others. [14:30.920 --> 14:32.920] So this is a systemic limitation. [14:32.920 --> 14:41.320] What we want to achieve at the end is least cost, most secure and efficient algorithm for IoT devices. [14:41.340 --> 14:45.340] This can be potentially achieved with EEG authentication system. [14:45.360 --> 14:52.940] We are focusing on security at the moment, not at the cost, but we are going to optimize hopefully and we will work on that. [14:55.720 --> 15:02.460] Before we get into EEG, let's briefly look at brain's fundamental unit, which is neuron. [15:02.460 --> 15:19.880] Our brain, as you know, is a vast network of billions of cells called neurons that can generate their own electrical impulses and that communicate with one another across tiny gaps called synapses, as you may see on the screen. [15:19.880 --> 15:24.860] And as they communicate, they generate electrical signals. [15:24.860 --> 15:29.140] There are two types of electrical signals here. [15:29.140 --> 15:31.380] One is action potential. [15:31.540 --> 15:38.540] It is very fast and very weak to capture with current EEG devices. [15:38.540 --> 15:49.900] And another one, the post-synaptic potential, it is relatively slower and it sums up with other cells around it. [15:49.900 --> 15:53.540] So we are able to capture with EEG devices. [15:53.540 --> 15:54.560] That's what we are doing. [15:54.560 --> 15:56.060] I mean, that's what SEC are doing. [15:56.060 --> 16:00.360] So they are capturing these post-synaptic potentials. [16:02.280 --> 16:14.860] So EEG device we use is essentially a highly sensitive microphone, we could say, that listens to the chorus of the brain, not the lower voice of a single singer. [16:18.520 --> 16:24.260] The electrical signals we just talked about are actually driven by chemical substances. [16:24.260 --> 16:33.580] These chemicals, primarily potassium, sodium, chloride, and calcium, are what make neural transmission possible. [16:33.580 --> 16:43.460] As you can see on the left hand side, there is a very high concentration of sodium ions outside the neuron's membrane. [16:43.460 --> 16:51.140] A signal like action potential causes channels in the neuron's membrane to open. [16:51.140 --> 17:06.300] Because the inside of the neuron is negatively charged relative to the outside, the positively charged sodium ions are instantly drawn inside. [17:07.520 --> 17:16.180] This rush of ions creates a brief yet powerful electrical impulse, which is the very foundation of our brain signals. [17:18.060 --> 17:27.080] Now that we are a bit familiar with the chemical basis of the brain signals, let's look at how we actually measure them. [17:27.100 --> 17:37.840] As you can see on the left, we place electrodes on the scalp to capture the brain's electrical activity. [17:37.860 --> 17:55.020] Post-synaptic activity, which is basically change of information between neurons, creates a d-pole, which is an electrical source with distinct positive and negative poles, often generated in the folds of the brain's cortex. [17:55.120 --> 18:01.220] These d-poles generate an electrical potential field that spreads across the scalp. [18:01.220 --> 18:08.260] And it is this field that the electrodes are designed to detect. [18:08.260 --> 18:20.340] This is important because an EEG electrode doesn't measure an absolute voltage, it measures the difference in potential between two points on the scalp. [18:20.340 --> 18:29.140] So by mapping the patterns of these potential differences, we can precisely locate the source of the electrical activity inside the brain. [18:29.140 --> 18:39.500] Here we are moving from microscopic level to more micro-level, non-invasive measurement of brain functions. [18:41.410 --> 18:44.870] Here is a summary of what we just talked about. [18:44.870 --> 18:46.750] We said it's non-invasive. [18:47.730 --> 18:56.130] It means it's a method, a neurophysiological method, that records the brain's electrical activity. [18:56.690 --> 19:02.030] And it does not penetrate into your skin, or it doesn't leave any scar. [19:02.350 --> 19:11.010] Unless you are preparing for a DEF CON talk and you don't have to wear it for hours, it may leave some marks for you. [19:13.250 --> 19:23.890] The electrical activity we capture from the brain is categorized into distinct frequency bands, or what are more commonly known as brain waves. [19:23.890 --> 19:36.550] Each of these bands correlated with specific mental states, from alertness to relaxation, and cognitive processes like problem solving and decision making. [19:36.550 --> 19:49.130] The key to authentication lies in the fact that the unique patterns of these brain waves are distinct to each individual, forming a unique mental signature, we could say. [19:49.130 --> 19:56.360] This uniqueness allows EEG-based systems to reliably determine a person's identity. [19:57.030 --> 20:09.510] You may authenticate just based on identity, or you may, as we do, provide or request a mental activity, like a special mental activity. [20:09.510 --> 20:19.440] Let's say, okay, think about this memory, and we are capturing that brain waves, and we are using them as a, let's say, password hashes. [20:20.480 --> 20:24.680] So let's quickly look at these, what these bands represent. [20:24.680 --> 20:35.300] The delta waves are associated with deep, deep restorative sleep, and are generally not used for active authentication. [20:35.640 --> 20:40.280] Theta waves are linked to drowsiness and memory processing. [20:40.280 --> 20:46.000] We can use them to recognize patterns during focus and visualization tasks. [20:46.000 --> 20:50.680] Alpha waves are present during relaxed wakefulness. [20:50.800 --> 20:55.920] They provide unique brain wave patterns in calm and alert states. [20:56.500 --> 21:07.090] Beta waves are associated with active thinking and concentration, making them useful for verification during active authentication, thought tasks. [21:12.220 --> 21:18.080] Gamma waves are involved in higher cognitive functions and conscious awareness. [21:18.620 --> 21:23.320] They can be indicators of complex, like very complex mental processes. [21:23.320 --> 21:32.300] By leveraging the correlation between these frequencies and a person's mental state, we are able to create a form of authentication. [21:32.360 --> 21:40.900] The method can leverage not just who a person is, but what their brain is doing, or thinking. [21:40.900 --> 21:53.640] And it adds an internal dynamic and context-dependent layer of authentication that is much more difficult to compromise than external, static, traditional biometrics. [21:54.820 --> 22:07.500] Individual brain patterns, brain wave patterns, show distinct characteristics across different people, as you know, even under similar stimuli or resting states. [22:07.500 --> 22:12.600] A key feature truly sets EEG apart is its liveliness detection. [22:12.600 --> 22:21.820] EEG signals are generated only by a living, metabolically active brain, and stop once an individual dies. [22:21.820 --> 22:35.980] This property makes EEG authentication approach resistant to post-mortem acquisition, as well as a potential vulnerability in some other biometrics methods cannot provide. [22:35.980 --> 22:48.900] Like, this is high-stakes scenarios, of course, like if someone is dead and fingerprint is getting stolen, this might require some high-stakes situation. [22:49.420 --> 22:55.840] Another important quality we expect from any authentication method is spoof resistance. [22:55.860 --> 23:00.340] Our EEG-based approach provides this at very high level. [23:00.340 --> 23:09.040] This is because the brain's electrical activity is incredibly sensitive to an individual emotional and cognitive state. [23:09.040 --> 23:16.900] Whether you are feeling sad or happy, or actively solving a math problem, your EEG signal varies. [23:16.900 --> 23:26.640] Furthermore, since you're not sad the exact same way again, the brainwave data generated will be different each time. [23:26.640 --> 23:40.020] Like, imagine you attended to a... you see a movie at Sephir for the first time, you're excited, it's amazing, but the next time you do it, it's not going to produce exact same brainwaves. [23:40.020 --> 23:44.040] But this does not block our authentication system. [23:44.040 --> 23:45.660] Actually, we leveraged it. [23:48.360 --> 23:58.640] This dynamic nature could address the vulnerabilities that could occur with AI-driven, deepfakes, and numerical conversion of other biometrics. [23:58.640 --> 24:04.580] Another significant advantage of EEG is it is coercion resistant. [24:04.600 --> 24:15.340] There are studies that show states of stress, fear, or compulsion can drastically alter an individual's normal brainwave pattern. [24:15.340 --> 24:28.280] This physiological response makes it quite difficult, if not possible, if not impossible, for an individual under stress to produce the expected EEG signals for successful authentication. [24:28.280 --> 24:41.160] So if someone is forcing you to authenticate, of course, if you are very well aware of yourself, or you can manipulate your brain, you can, of course, authenticate, but it is not the case for the most. [24:42.340 --> 24:52.200] An attacker may be able to physically force a user to attempt authentication, but the brain is going to generate abnormal patterns of brainwaves. [24:52.200 --> 24:57.540] This physiological barrier provides an additional layer of security again. [25:00.760 --> 25:10.420] Well, we talked about revocability, I guess, like you can reset our passwords, but we cannot reset our biometrics. [25:10.420 --> 25:18.160] But in the EEG authentication case, let's say you register the system with your brainwaves, right? [25:18.160 --> 25:26.960] And the registration system requires you to, let's say, remember your worst memory, okay? [25:27.300 --> 25:33.560] And if it's compromised, you can just change the task and register in another way. [25:33.560 --> 25:35.000] This is biometrics. [25:35.000 --> 25:42.300] This is very unique and very difficult to replicate, and you can revoke it. [25:48.870 --> 25:54.330] Now let's put advantages into perspective with a comparative table here. [25:54.330 --> 26:05.030] We are looking at EEG's capabilities, contrasting traditional authentication methods and other biometrics to highlight EEG's position as a powerful solution. [26:05.350 --> 26:17.850] Looking at the first row, our comparison, you can see that for security against spoofing and forgery, traditional biometric methods like fingerprints are medium. [26:17.850 --> 26:29.650] Please keep in mind that this is relative to each other, like of course we see very quite powerful passwords, but as I said, this is just relative to each other. [26:29.670 --> 26:41.610] Even iris recognition is medium to high, but EEG is high because brainwaves are inherently difficult to imitate or capture in today's environment. [26:41.610 --> 26:47.670] When it comes to liveliness detection, passwords and physical tokens offer none. [26:47.670 --> 26:53.510] Other biometrics are limited as they can be vulnerable to coercion and deep fakes. [26:53.510 --> 27:01.550] EEG however shows high liveliness detection because it requires live active brain activity. [27:03.310 --> 27:11.850] And for coercion resistant, a crucial factor in high stakes scenarios, all traditional methods are low, they can be forced. [27:12.030 --> 27:20.670] EEG as we discussed is high because stress and fear can alter brain signals making forced authentication difficult. [27:21.570 --> 27:29.370] As for revocability, we talked about it, and I would say user comfort, ease of use. [27:29.370 --> 27:34.590] Currently EEG is not as comfortable as others, but it's improving. [27:34.790 --> 27:40.330] I don't think it would be as comfortable as passwords, never, but it's improving. [27:40.710 --> 27:49.810] Due to sensitive nature of neural data, EEG currently has high privacy concerns. [27:49.810 --> 27:58.810] Of course passwords has high privacy concerns as well, but this is relative, which is an area of ongoing research for secure data handling. [27:58.810 --> 28:07.950] You could say high for password and physical tokens, depending on your context, but as I said, it is relative. [28:07.950 --> 28:19.250] As for technical complexity cost, EEG is currently medium to high, but it is decreasing with the advancements in portable EEG devices and processing power. [28:19.250 --> 28:25.210] These are advantages of our proposed system, except for ease of use and technical complexity. [28:30.490 --> 28:37.610] Well, to summarize our why, let's look at the bigger picture of our key advantages here. [28:38.850 --> 28:43.630] Our method is unique because it is based on individual's brain activity. [28:44.830 --> 28:46.890] Others are unique as well. [28:47.110 --> 28:55.210] It is inimitable because every authentication request is unique, as you cannot produce same brain waves never again. [28:55.610 --> 29:01.810] It is dynamic because the requesting entity is a live entity, is a human. [29:01.810 --> 29:10.050] Finally, it provides multiple inputs because for registration, we can use different memories at the same time. [29:16.310 --> 29:30.930] Well, if you ask how we are going to put all of these together to actually use brainwaves for authentication, here is our proposed high-level architecture for EEG-based authentication in IoT context. [29:30.930 --> 29:47.690] At its core, a user interacts directly with an electroencephalography device, which captures the in-brain waves while they are performing a particular cognitive activity, like thinking of a memory. [29:47.690 --> 30:01.590] This raw EEG data generated by cognitive activity is then processed some algorithm, which I will talk about later, and stored within our system. [30:01.590 --> 30:06.370] And we use these registered EEG data as padlock. [30:06.370 --> 30:24.070] In a sense, the traditional key and padlock mechanisms are transformed into brain signal-derived access control, where the user's cognitive state becomes the key to unlock the padlock to IoT systems. [30:24.330 --> 30:30.910] The live human factor, the IoT device, are integrated into a unified security framework here. [30:31.830 --> 30:35.890] So how do we compare padlock and the key? [30:35.890 --> 30:49.370] Raw EEG signals are inherently noisy and complex, so trying to understand them is like trying to hear a specific conversation in a crowded room, full of background chatters and other noises. [30:49.390 --> 30:56.270] So processing is an important first step to ensure reliable Gaussian mixture model training. [30:56.270 --> 31:11.030] This phase helps guarantee that we can compare clean, accurate brain activity, which prevents model degradation and supports the integrity of the authentication process. [31:11.030 --> 31:16.770] Our core pre-processing steps include what you see on the screen. [31:16.770 --> 31:25.810] Filtering process isolates relevant brain wave frequencies while removing unwanted interference from the raw signal. [31:25.810 --> 31:32.470] This is crucial for focusing on the specific brain activity patterns needed for authentication. [31:33.070 --> 31:37.250] Here we remove both very low and very high frequencies. [31:37.590 --> 31:54.250] At denoising and artifact removal, we remove various types of noise, including biological artifacts like eye blinks and muscle movements and environmental interference from power lines or phones. [31:54.250 --> 31:59.190] We systematically remove these unwanted signals in denoising stage. [31:59.190 --> 32:12.570] For example, in our experiment, we removed the first 10 seconds of the recordings where we wanted the user to focus on a blank screen to mitigate initial noise from movement or stress. [32:12.950 --> 32:22.490] In segmentation stage, a continuous EEG data stream is divided into manageable segments based on time or events. [32:22.490 --> 32:35.470] This prepares the data for future extraction and model training, allowing for focused analysis of specific events or cognitive states. [32:36.330 --> 32:40.310] Please take a look at some of the noises on the screen. [32:40.310 --> 32:48.910] At the most left side, the motion noise, muscular noise, cardiac noise, and ocular noise. [32:48.910 --> 32:54.270] It is like drastic noise in our setup. [32:54.810 --> 32:57.750] So we need to remove this. [32:58.370 --> 33:10.710] After cleaning the raw data, the next step is future extraction, where we transform the clean EEG signals into quantifiable features for our machine learning model. [33:10.710 --> 33:15.750] Here we need to extract a unique fingerprint from the data. [33:15.790 --> 33:22.150] We extract features from the frequency domain, which we could think of as a write-them. [33:23.110 --> 33:27.790] This is like measuring the power or energy in a particular write-them. [33:27.830 --> 33:33.550] We also extract features from temporal domain, which looks at patterns over time. [33:33.670 --> 33:43.150] This is like analyzing the specific sequence of notes in the melody or the unique ups and downs of a signature. [33:43.150 --> 33:51.270] We also measure things like sample entropy, which quantifies the regulatory and predictability of the signal. [33:52.490 --> 34:03.950] Finally, we analyze the spatial domain, which looks at where on the scalp the brain activity is strongest and how it spreads across the electrodes. [34:06.510 --> 34:08.330] I will come to the fun part. [34:08.990 --> 34:14.910] So we have talked about cleaning up brain signals and finding their unique fingerprints. [34:15.130 --> 34:26.010] Now, how do we use those fingerprints to say, yes, this is a person A performing requested cognitive activity B, or no, this isn't? [34:26.010 --> 34:35.310] At the heart of our authentication system are two key players, the GMM and the expectation maximization algorithm. [34:35.310 --> 34:47.050] Imagine GMM as a smart detective who learns the distinct moods or personalities that makes up one person's overall brain signature. [34:47.350 --> 34:59.930] A GMM then says a person's entire brain signature isn't just one profile, but a blend or mixture of several such profiles. [34:59.930 --> 35:07.430] Our goal is to figure out the exact details of these personality profiles for each person. [35:07.710 --> 35:09.570] Now, here's the tricky part. [35:09.570 --> 35:16.330] When we first look at someone's brain activity, we don't know which personality profile it belongs to. [35:16.330 --> 35:21.350] That is where expectation maximization algorithm comes in. [35:21.350 --> 35:26.730] It's a smart iterative guessing game that gets better with each round. [35:26.730 --> 35:28.550] It works in two steps. [35:28.550 --> 35:43.130] At the expectation step, the algorithm looks at each piece of brain activity and calculates the probability that it belongs to each personality profile it has in its current guess. [35:43.130 --> 35:56.590] At the maximization step, it defines its guesses for each personality profile to best fit the data, taking into account the probabilities from the previous step. [35:56.590 --> 36:03.010] You repeat these two steps over and over again until the profile stops changing significantly. [36:03.190 --> 36:09.810] That's when we know we have the best possible personality profiles for that person's unique brain signature. [36:14.270 --> 36:26.970] Once our system has thoroughly learned these brain personality profiles for an individual, that personalized GMM model becomes their unique biometric signature. [36:26.970 --> 36:31.770] We can use this signature in two main modes. [36:31.770 --> 36:34.590] The first one, who is this mode? [36:34.590 --> 36:40.550] Imagine you provide your fingerprint at a security checkpoint but you are not providing your name. [36:40.770 --> 37:00.550] Our system here compares your live EEG signature against a whole database of everyone's registered... which one of these registered brain ID cards matches this new live brain print will be asked the system. [37:00.550 --> 37:05.110] So it will go over all the registered EEG patterns. [37:07.340 --> 37:12.440] The second one, are you who you say you are mode? [37:12.440 --> 37:13.660] Do verification. [37:13.660 --> 37:18.440] This is like showing your ID card and claiming to be a specific person. [37:18.440 --> 37:27.700] A user claims an identity and the system compares their live EEG signature only to that person's specific brain ID card. [37:27.700 --> 37:33.500] This is ideal for logging into devices or secure areas. [37:35.260 --> 37:40.540] Yes, it was a bit maybe complicated to digest in a short time. [37:40.540 --> 37:44.540] So please bear with me with this analogy. [37:45.460 --> 37:51.360] Imagine you have a basket full of two different fruits with green and red colors. [37:51.360 --> 37:53.760] How would you categorize them? [37:53.760 --> 37:59.100] We should be categorizing to process it in our system. [38:00.600 --> 38:04.700] So please take a moment to think about it. [38:05.560 --> 38:08.860] If anyone suggests how to... [38:12.940 --> 38:22.280] For starters, make sure what categories you have and try to think about if it has something common with others. [38:25.050 --> 38:33.970] Our goal was to use an algorithm to separate these into two distinct groups, apple group and the peer group. [38:34.430 --> 38:42.310] These green apples and green peers share a key feature which is their color, the green color. [38:42.310 --> 38:56.050] In the context of brain signals, this is similar to the expectation maximization algorithm starting to identify initial patterns or centers within the complex EEG features. [38:56.050 --> 39:03.810] It's like basically at the first guess, the system doesn't know anything about our features. [39:03.810 --> 39:17.850] So it just picks two centers and it guesses where this feature, like it picks let's say apple, it just make guess, okay, this belongs to left-hand side cluster. [39:17.950 --> 39:28.490] So the next time it guesses, it checks the features and if it has made a wrong guess, so it's just changing centers. [39:28.490 --> 39:31.330] But it's never saying, okay, this is apple or this is peer. [39:31.330 --> 39:38.570] It is just saying, okay, this is a, let's say, 8,100 apple or 2,100 peer. [39:38.570 --> 39:42.730] Like it makes guesses like this, not 1 and 0. [39:43.890 --> 39:50.310] We can clearly see two main groups represented by these two overlapping circles. [39:50.750 --> 39:55.470] On the left, we have apple cluster that primarily contains apple. [39:55.470 --> 39:59.170] On the right, we have clusters dominated by peers. [39:59.170 --> 40:01.790] Green apple in the middle is an apple. [40:02.030 --> 40:17.230] So it could be in the apple cluster but it is not a peer so it should not be contained in the peer cluster but it should be closed because it has a feature that is similar to the peer cluster. [40:17.490 --> 40:25.910] So basically this is how we categorize or compare our brain signals when authentication. [40:26.470 --> 40:32.750] If the similarity is good enough for the system, then the user is authenticated. [40:32.830 --> 40:47.290] So here represents our padlock, the registration EEG data which I will show in the video demonstration and the key which is the EEG data collected at the authentication stage. [40:49.560 --> 40:56.560] To capture these brain signals, we use an EEG device which comes in different forms. [40:56.560 --> 41:00.540] The one we use comes in a computer-like headset. [41:00.720 --> 41:12.280] This diagram illustrates the standard placement of electrodes on the scalp so you can pick or collect EEG data from any of those spots here. [41:12.280 --> 41:24.700] Each electrode like AP3 or PZ picks up electrical activity from specific areas providing us with multi-dimensional data set of brain activity. [41:24.700 --> 41:32.640] Our experiments have shown that specific combination of these can be effective for authentication. [41:32.640 --> 41:41.240] So the more data you have, the precise your authentication system is. [41:41.240 --> 41:51.940] It is impressive to note that there are existing studies identifying a person based on their brain signals from just a single channel. [41:51.940 --> 42:02.920] We are using like five channels in our experiments but it was a study from 1999 from a group of Greek researchers. [42:02.920 --> 42:08.580] They just used one channel and the success rate was over 80 percent. [42:08.580 --> 42:22.380] So like after 26 years and the advancements we have like over 85 even 89 sorry 95 or 99 percent of success sometimes. [42:24.860 --> 42:28.060] Well here is another view of our architecture. [42:29.560 --> 42:33.720] We are sending our brainwaves to our system. [42:33.720 --> 42:37.960] The signals are like this as you see on the screen. [42:39.740 --> 42:54.980] And we are at the first stage we are giving our brainwaves and the system learns and at the second stage at the authentication stage we give our brains brainwaves again and if it likes our brainwaves at the second time we are authenticated. [42:58.620 --> 43:18.480] Well this is actually what I talked about just I just talked about in our experiment like we are placing at 10 seconds of blank screen for the user to reduce noise like you know we cannot just show directly because there will be some you know setup sitting straightening up etc. [43:18.480 --> 43:23.980] So we are just showing 10 seconds of blank screen to ease the brainwaves. [43:23.980 --> 43:34.380] After that we are providing for different images here okay and these images are shown for 50 seconds. [43:34.840 --> 43:43.580] You can just show them or you can do as we did we requested users to perform a cognitive activity. [43:43.580 --> 43:49.820] We told them like these pictures have I'm not sure if it's seen yeah they have cabinets or drawers. [43:49.820 --> 43:57.260] We told the user to let's say you have a wallet and please hide it wherever you want in the picture. [43:57.640 --> 44:12.920] And one user was shown all of the four pictures here because we want to identify we know at what picture he or she hide it but we want we don't want to authenticate at other pictures too. [44:12.920 --> 44:15.700] So we are just testing our system. [44:15.700 --> 44:23.280] Okay you are authenticating in this picture but you did not hide your wallet here so we don't want it. [44:23.560 --> 44:30.260] So this is basically the padlock generation like registering like getting the password hashes. [44:31.180 --> 44:55.500] And at the second stage we again show 10 seconds of blank screen to ease the user and at this time at the authentication stage to test our system's efficiency we reduce the display time of the we reduce the display time of the selected image to 30 seconds and it worked. [44:55.500 --> 45:07.600] So this is the key generation the padlock the key if the system likes if the system compares and says okay you have enough familiarity similarity it authenticates us. [45:09.380 --> 45:15.180] Well this is the summary of the whole system. [45:16.980 --> 45:20.240] After this I have a video to demonstrate. [45:20.320 --> 45:22.040] Any questions? [45:23.140 --> 45:24.360] Yes please. [45:46.580 --> 45:56.980] Yes a great question the question was you know the brain waves could change if the person is sleepless or sad or something that's what I understand right that's the question yeah. [45:57.860 --> 46:18.580] You're right it changes significantly and we did not control these sleep times but before we took users to experiment we of course just applied the same process like okay let's chat for 50 minutes and let's relax etc. [46:18.580 --> 46:37.380] We used this and it worked but you're right if let's say okay let's say if this is a very critical system that needs action at very fast pace so like you cannot wait this user to get in the mood to authenticate yeah this is another topic we need to work on. [46:37.380 --> 46:38.060] Yes please. [46:49.880 --> 46:54.140] Sorry I cannot hear you very well can you please speak loudly? [47:04.180 --> 47:28.140] Yes that's a great question indeed we did not think we did not think of during our experiments like of course we thought about the music of course this is another option to authenticate but we did not try it yet we will try but this is a great point if for the people who has disability foreseeing yes we could do it thank you it was a great input. [47:28.380 --> 47:29.380] Yes please. [47:47.730 --> 48:12.230] No there is no consistency indeed because as I said like you're having an experience like let's say you hide it your wallet in a drawer here next time you hide it it's not going to be same and the next time it's not going to be same it will change over time you're right but at the moment at least I don't know at what time scale it would change. [48:33.610 --> 48:43.230] Yeah that's another constraint yeah that's right so it should be optimized for the scenarios like we cannot use it everywhere as you said. [48:57.530 --> 49:18.750] Yes that would be used like if you could get the users brainwaves when they're stressed like it can be used but you're right this is constraint like you cannot use this authentication whenever you want if you feel upset or you're stressed or anything so you just need to get in the same almost same mood. [49:22.170 --> 49:39.370] Yeah if it's years that is we are concerned about we can just re-authenticate the user if it's years but what concerns me more is the change in short period of time as you said the stress levels or others. [49:39.370 --> 49:40.370] Yes please. [50:01.930 --> 50:20.230] Images required for this our system but if the user I we did not try it yet it's like close your eyes and imagine the same thing but it might work we will work on it you're right if the user can replicate which he can or she can do it it is possible. [50:34.290 --> 50:53.070] Yeah it's like it's I think something else like you know if you can control your brain maze if you can control your mood like everything can be burning here but if you can keep your calm of course you can authenticate still so it depends on how you can manipulate your brain. [50:53.930 --> 51:04.360] Yes please five minutes oh sorry sorry okay I think we are good yeah we have eight minutes of demonstration. [51:19.900 --> 51:25.000] The background music did not appear after rendering so please sorry for that [51:47.280 --> 52:01.300] This is just traditional authentication system as we all know [52:29.130 --> 52:34.750] it's a general purpose video so just fundamentals are here too. [52:54.230 --> 53:11.980] Well we could have just used simpler system a web application or anything else but we are working on something else so we are going to use this application in that so it says registration is successful [53:20.740 --> 53:23.820] might have been hashed too [53:29.130 --> 53:38.430] oh video might not be seen here but there's raspberry device to which led is connected [53:43.060 --> 53:57.640] now when we authenticate in the system the led lights up it has a checker function it checks the This is [54:42.020 --> 54:44.920] the part we all talk about. [55:07.180 --> 55:12.540] So just to comply with the concept, we used play cards here. [55:18.230 --> 55:23.150] Here is a video of me wearing headset, the EEG headset. [55:31.530 --> 55:36.550] This is the raw EEG data you see live when registering. [55:40.110 --> 55:45.170] As I said, this is five channel and there is five different values at each row. [55:58.830 --> 56:00.470] OK, sorry, we are done. [56:00.470 --> 56:01.330] I will just skip. [56:01.330 --> 56:03.430] So this is the registration part. [56:04.270 --> 56:06.110] I will skip to the... [56:06.110 --> 56:07.330] No, this is the data. [56:07.330 --> 56:09.330] We are not storing this data. [56:09.330 --> 56:11.270] Generally, I will finish, sorry. [56:11.490 --> 56:21.250] So, yes, and we authenticate at the same way, just looking and focusing on the image. [56:21.250 --> 56:25.530] Yes, if it accepts, it authenticates us. [56:27.290 --> 56:28.850] So this is all. [56:28.850 --> 56:32.430] If you have any questions, you can just find us on LinkedIn. [56:33.010 --> 56:36.130] No, I will show you here my email. [56:44.100 --> 56:49.280] Here is the email if you would like to, if you have any questions afterwards. [56:49.940 --> 56:52.560] Well, thank you for your time. [56:52.740 --> 56:53.580] Thank you.