1 00:00:00,000 --> 00:00:02,400 Hi again, this is Temel. 2 00:00:02,720 --> 00:00:04,320 No brain, no gain. 3 00:00:04,680 --> 00:00:08,380 We are using brainwaves to authenticate in IoT environments. 4 00:00:09,060 --> 00: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. 5 00:00:17,260 --> 00: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. 6 00:00:25,680 --> 00:00:29,960 And I had a friend, also a co-speaker, he'll be here in a minute. 7 00:00:30,320 --> 00:00:32,580 He was living there. 8 00:00:32,580 --> 00:00:36,820 He took me in, offered me a place to stay for a while. 9 00:00:36,820 --> 00: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. 10 00:00:48,620 --> 00:00:50,880 Or it's pro-revolution soccer indeed. 11 00:00:50,880 --> 00:00:52,500 Sorry, let me rephrase. 12 00:00:52,500 --> 00:00:55,480 It's a soccer game and football for others. 13 00:00:55,800 --> 00:00:58,280 And it was so intense. 14 00:00:58,280 --> 00:01:02,680 And one of the friends who was coming and going, he had a DJI drone back then. 15 00:01:02,740 --> 00: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? 16 00:01:09,160 --> 00:01:14,020 Our apartment building was really close to a military base. 17 00:01:14,160 --> 00:01:18,860 So we thought if we could fly this DJI drone and we tried and we succeeded. 18 00:01:18,860 --> 00:01:23,600 And it later became a DEF CON talk at DEF CON 29, I guess. 19 00:01:23,600 --> 00:01:23,800 Yeah. 20 00:01:23,800 --> 00:01:30,400 And the name was, I don't know, but it was like spoofing the restricted zones, et cetera. 21 00:01:30,400 --> 00:01:33,620 So another friend was working on brainwaves. 22 00:01:33,620 --> 00:01:41,220 Specifically, he was working on how to identify people using their brainwaves. 23 00:01:41,220 --> 00:01:44,340 Like it is very unique, as you may know. 24 00:01:44,340 --> 00:01:52,560 And it also got us thinking, can we use this unique feature of brainwaves to authenticate in IoT environment? 25 00:01:52,560 --> 00:01:54,060 And here we are. 26 00:01:54,060 --> 00:01:55,020 Of course, we did. 27 00:01:55,020 --> 00:01:57,260 And we want to talk about it. 28 00:01:58,600 --> 00: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. 29 00:02:12,060 --> 00:02:15,640 So if you know, please take them as a reminder. 30 00:02:16,280 --> 00:02:21,720 And I am Temel, working as cybersecurity lead at KPMG Turkey. 31 00:02:21,720 --> 00:02:28,620 And my friend Önder, he's a cybersecurity consultant, mostly referred as Red Teamer. 32 00:02:28,620 --> 00:02:36,200 And he has helped a lot, especially for finding weaknesses, our proposed system here. 33 00:02:36,460 --> 00:02:40,300 And there is, of course, the name is not here, but there is Dr. 34 00:02:40,300 --> 00:02:41,400 Ahmet Furkan. 35 00:02:41,400 --> 00:02:48,700 He's an assistant professor at North Carolina University Wilmington. 36 00:02:48,700 --> 00:02:53,760 And of course, he has contributed a lot to us. 37 00:02:53,760 --> 00: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. 38 00:03:12,520 --> 00:03:15,960 It is going to be divided into five main areas. 39 00:03:15,960 --> 00:03:26,760 We will begin with the necessity of such advanced authentication mechanisms, and we will touch on the current threats. 40 00:03:26,760 --> 00: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. 41 00:03:40,960 --> 00:03:48,780 We will then compare our proposed system with traditional methods, detailing the technical architecture we used. 42 00:03:48,780 --> 00:03:55,320 We can't use raw EEG data for our purposes, so we process it in some algorithms. 43 00:03:55,320 --> 00:03:59,580 We will also talk about how we process them. 44 00:03:59,580 --> 00:04:03,900 Finally, we will conclude with a video demonstration of our system. 45 00:04:05,720 --> 00:04:08,600 Yeah, that's the agenda. 46 00:04:13,960 --> 00: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. 47 00:04:22,780 --> 00:04:26,080 Maybe some of you know, maybe some didn't hear before. 48 00:04:26,080 --> 00: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. 49 00:04:43,960 --> 00: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. 50 00:05:00,680 --> 00:05:11,320 And industrial IoT devices, which use industrial processes, of course, make up a big chunk of security controls in these areas. 51 00:05:11,320 --> 00: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. 52 00:05:23,640 --> 00:05:27,920 You know, it's all about minimizing the cost and maximizing the profit. 53 00:05:28,320 --> 00:05:35,760 For example, think about an industrial bakery system, you know, you need to keep the oven at certain temperature. 54 00:05:36,500 --> 00: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, 55 00:05:57,200 --> 00:06:00,340 cool it down, it's too cold, just heat it up. 56 00:06:00,880 --> 00:06:06,820 So we need to trust what we see on our screens when we monitor these kinds of processes. 57 00:06:07,040 --> 00: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. 58 00:06:15,640 --> 00:06:23,280 And day by day it is growing, the convergence between the IoT and ICS industrial control systems are growing. 59 00:06:23,600 --> 00: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? 60 00:06:32,420 --> 00:06:37,580 They can perform any actions that you can perform with your current privileges. 61 00:06:37,940 --> 00:06:48,480 I'm talking about this because our proposed EEG authentication mitigates most of these cybersecurity threats. 62 00:06:48,740 --> 00: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. 63 00:06:58,560 --> 00:07:03,300 Önder, he's not here yet, but he bypasses it a lot of times. 64 00:07:03,300 --> 00: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. 65 00:07:18,040 --> 00:07:21,940 And there is where our EEG biometric comes in. 66 00:07:21,940 --> 00:07:29,460 We are confident that it offers a promising new level of security for this environment. 67 00:07:29,460 --> 00:07:36,380 It provides liveliness detection, which provides high resistance to spoofing and coercion. 68 00:07:36,380 --> 00:07:41,380 While using authentication with EEG, we use probabilistic modeling. 69 00:07:41,380 --> 00:07:45,460 As I said, we don't use, we cannot use raw EEG data. 70 00:07:45,460 --> 00:07:48,340 We process it in some way. 71 00:07:48,340 --> 00:07:53,980 We are using Gaussian mixture model to authenticate with brain. 72 00:07:53,980 --> 00:08:02,380 And combining these and more features of EEG, it's way more difficult to bypass EEG authentication 73 00:08:05,420 --> 00:08:08,600 compared to traditional authentications we know of. 74 00:08:08,600 --> 00:08:14,500 You can include biometrics like iris or fingerprints and any others. 75 00:08:14,500 --> 00:08:18,700 So it is superior to our knowledge at the moment, it's still developing. 76 00:08:18,700 --> 00:08:21,400 It is superior to those authentication methods. 77 00:08:22,160 --> 00:08:26,400 Well, industrial control systems are also categorized in some other ways. 78 00:08:26,400 --> 00:08:31,120 I mean, they are categorized as critical infrastructure as well. 79 00:08:31,300 --> 00:08:40,920 This categorization is made by countries depending on their understanding of security or understanding of national security. 80 00:08:40,920 --> 00: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, 81 00:09:00,660 --> 00:09:07,640 national economic security, national public health or safety, and any combination of those matters. 82 00:09:07,700 --> 00:09:14,140 And here in the United States, again, there are 16 fields categorized as critical infrastructure. 83 00:09:14,260 --> 00:09:23,940 Chemical, communications, dams, defense industrial base, emergency services, energy, healthcare and public and so on. 84 00:09:24,420 --> 00:09:34,280 These services we get from these infrastructures, as we may all know, we take them as granted. 85 00:09:34,820 --> 00: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. 86 00:09:46,080 --> 00: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. 87 00:09:59,260 --> 00: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. 88 00:10:13,140 --> 00:10:20,080 And we saw people like lining their truck beds with plastics and filling them up. 89 00:10:20,080 --> 00:10:26,200 And we saw this, and this is like quite an impact, I think, like millions of people are affected with this. 90 00:10:26,840 --> 00: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. 91 00:10:43,600 --> 00:10:52,000 You see, these incidents don't just lead to data breaches, they directly impact physical processes and human safety. 92 00:10:52,000 --> 00:10:59,700 We see widespread systemic weaknesses in these systems, and not just only individual flaws. 93 00:10:59,700 --> 00: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. 94 00:11:15,980 --> 00: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. 95 00:11:27,520 --> 00:11:37,960 Their design, these systems' design, prioritized longevity, like they are deployed decades ago. 96 00:11:37,960 --> 00:11:41,260 And we all know the CIA tried principle, right? 97 00:11:41,260 --> 00:11:51,080 In these systems, it is not CIA, but it is AIC, which means availability comes first and privacy comes last. 98 00:11:51,080 --> 00:11:54,320 So this is another dangerous situation we face. 99 00:12:04,680 --> 00: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? 100 00:12:19,460 --> 00:12:27,280 We can use methods like forgery, brute force, attempts to social engineering and steal or misuse these credentials. 101 00:12:27,680 --> 00:12:29,060 And what about biometrics? 102 00:12:29,060 --> 00:12:31,100 We know they're quite unique as well. 103 00:12:31,220 --> 00:12:38,680 A key concern with biometrics, key concern with biometrics like fingerprints and faces is their potential for replication. 104 00:12:38,680 --> 00: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. 105 00:12:49,880 --> 00: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. 106 00:13:03,860 --> 00:13:07,240 Of course, as I said, we are testing our systems as well. 107 00:13:07,240 --> 00:13:08,840 It has some vulnerabilities. 108 00:13:09,040 --> 00:13:13,660 Under here, he lets the vulnerability research on our system. 109 00:13:13,660 --> 00: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. 110 00:13:25,460 --> 00: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. 111 00:13:36,940 --> 00: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. 112 00:13:53,480 --> 00:13:55,080 It is gone forever. 113 00:13:55,080 --> 00:13:56,700 You cannot use it again. 114 00:14:00,200 --> 00:14:06,920 In traditional authentication, we use cryptography, but unfortunately we don't use it in some. 115 00:14:06,920 --> 00: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. 116 00:14:19,160 --> 00:14:30,920 Conversely, lightweight methods mitigate these concerns, but also it lacks security compared to others. 117 00:14:30,920 --> 00:14:32,920 So this is a systemic limitation. 118 00:14:32,920 --> 00:14:41,320 What we want to achieve at the end is least cost, most secure and efficient algorithm for IoT devices. 119 00:14:41,340 --> 00:14:45,340 This can be potentially achieved with EEG authentication system. 120 00:14:45,360 --> 00: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. 121 00:14:55,720 --> 00:15:02,460 Before we get into EEG, let's briefly look at brain's fundamental unit, which is neuron. 122 00:15:02,460 --> 00: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. 123 00:15:19,880 --> 00:15:24,860 And as they communicate, they generate electrical signals. 124 00:15:24,860 --> 00:15:29,140 There are two types of electrical signals here. 125 00:15:29,140 --> 00:15:31,380 One is action potential. 126 00:15:31,540 --> 00:15:38,540 It is very fast and very weak to capture with current EEG devices. 127 00:15:38,540 --> 00:15:49,900 And another one, the post-synaptic potential, it is relatively slower and it sums up with other cells around it. 128 00:15:49,900 --> 00:15:53,540 So we are able to capture with EEG devices. 129 00:15:53,540 --> 00:15:54,560 That's what we are doing. 130 00:15:54,560 --> 00:15:56,060 I mean, that's what SEC are doing. 131 00:15:56,060 --> 00:16:00,360 So they are capturing these post-synaptic potentials. 132 00:16:02,280 --> 00: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. 133 00:16:18,520 --> 00:16:24,260 The electrical signals we just talked about are actually driven by chemical substances. 134 00:16:24,260 --> 00:16:33,580 These chemicals, primarily potassium, sodium, chloride, and calcium, are what make neural transmission possible. 135 00:16:33,580 --> 00: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. 136 00:16:43,460 --> 00:16:51,140 A signal like action potential causes channels in the neuron's membrane to open. 137 00:16:51,140 --> 00: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. 138 00:17:07,520 --> 00:17:16,180 This rush of ions creates a brief yet powerful electrical impulse, which is the very foundation of our brain signals. 139 00:17:18,060 --> 00: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. 140 00:17:27,100 --> 00:17:37,840 As you can see on the left, we place electrodes on the scalp to capture the brain's electrical activity. 141 00:17:37,860 --> 00: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. 142 00:17:55,120 --> 00:18:01,220 These d-poles generate an electrical potential field that spreads across the scalp. 143 00:18:01,220 --> 00:18:08,260 And it is this field that the electrodes are designed to detect. 144 00:18:08,260 --> 00: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. 145 00:18:20,340 --> 00: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. 146 00:18:29,140 --> 00:18:39,500 Here we are moving from microscopic level to more micro-level, non-invasive measurement of brain functions. 147 00:18:41,410 --> 00:18:44,870 Here is a summary of what we just talked about. 148 00:18:44,870 --> 00:18:46,750 We said it's non-invasive. 149 00:18:47,730 --> 00:18:56,130 It means it's a method, a neurophysiological method, that records the brain's electrical activity. 150 00:18:56,690 --> 00:19:02,030 And it does not penetrate into your skin, or it doesn't leave any scar. 151 00:19:02,350 --> 00: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. 152 00:19:13,250 --> 00: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. 153 00:19:23,890 --> 00: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. 154 00:19:36,550 --> 00: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. 155 00:19:49,130 --> 00:19:56,360 This uniqueness allows EEG-based systems to reliably determine a person's identity. 156 00:19:57,030 --> 00: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. 157 00:20:09,510 --> 00: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. 158 00:20:20,480 --> 00:20:24,680 So let's quickly look at these, what these bands represent. 159 00:20:24,680 --> 00:20:35,300 The delta waves are associated with deep, deep restorative sleep, and are generally not used for active authentication. 160 00:20:35,640 --> 00:20:40,280 Theta waves are linked to drowsiness and memory processing. 161 00:20:40,280 --> 00:20:46,000 We can use them to recognize patterns during focus and visualization tasks. 162 00:20:46,000 --> 00:20:50,680 Alpha waves are present during relaxed wakefulness. 163 00:20:50,800 --> 00:20:55,920 They provide unique brain wave patterns in calm and alert states. 164 00:20:56,500 --> 00:21:07,090 Beta waves are associated with active thinking and concentration, making them useful for verification during active authentication, thought tasks. 165 00:21:12,220 --> 00:21:18,080 Gamma waves are involved in higher cognitive functions and conscious awareness. 166 00:21:18,620 --> 00:21:23,320 They can be indicators of complex, like very complex mental processes. 167 00:21:23,320 --> 00: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. 168 00:21:32,360 --> 00:21:40,900 The method can leverage not just who a person is, but what their brain is doing, or thinking. 169 00:21:40,900 --> 00: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. 170 00:21:54,820 --> 00: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. 171 00:22:07,500 --> 00:22:12,600 A key feature truly sets EEG apart is its liveliness detection. 172 00:22:12,600 --> 00:22:21,820 EEG signals are generated only by a living, metabolically active brain, and stop once an individual dies. 173 00:22:21,820 --> 00: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. 174 00:22:35,980 --> 00: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. 175 00:22:49,420 --> 00:22:55,840 Another important quality we expect from any authentication method is spoof resistance. 176 00:22:55,860 --> 00:23:00,340 Our EEG-based approach provides this at very high level. 177 00:23:00,340 --> 00:23:09,040 This is because the brain's electrical activity is incredibly sensitive to an individual emotional and cognitive state. 178 00:23:09,040 --> 00:23:16,900 Whether you are feeling sad or happy, or actively solving a math problem, your EEG signal varies. 179 00:23:16,900 --> 00:23:26,640 Furthermore, since you're not sad the exact same way again, the brainwave data generated will be different each time. 180 00:23:26,640 --> 00: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. 181 00:23:40,020 --> 00:23:44,040 But this does not block our authentication system. 182 00:23:44,040 --> 00:23:45,660 Actually, we leveraged it. 183 00:23:48,360 --> 00:23:58,640 This dynamic nature could address the vulnerabilities that could occur with AI-driven, deepfakes, and numerical conversion of other biometrics. 184 00:23:58,640 --> 00:24:04,580 Another significant advantage of EEG is it is coercion resistant. 185 00:24:04,600 --> 00:24:15,340 There are studies that show states of stress, fear, or compulsion can drastically alter an individual's normal brainwave pattern. 186 00:24:15,340 --> 00: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. 187 00:24:28,280 --> 00: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. 188 00:24:42,340 --> 00: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. 189 00:24:52,200 --> 00:24:57,540 This physiological barrier provides an additional layer of security again. 190 00:25:00,760 --> 00:25:10,420 Well, we talked about revocability, I guess, like you can reset our passwords, but we cannot reset our biometrics. 191 00:25:10,420 --> 00:25:18,160 But in the EEG authentication case, let's say you register the system with your brainwaves, right? 192 00:25:18,160 --> 00:25:26,960 And the registration system requires you to, let's say, remember your worst memory, okay? 193 00:25:27,300 --> 00:25:33,560 And if it's compromised, you can just change the task and register in another way. 194 00:25:33,560 --> 00:25:35,000 This is biometrics. 195 00:25:35,000 --> 00:25:42,300 This is very unique and very difficult to replicate, and you can revoke it. 196 00:25:48,870 --> 00:25:54,330 Now let's put advantages into perspective with a comparative table here. 197 00:25:54,330 --> 00: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. 198 00:26:05,350 --> 00: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. 199 00:26:17,850 --> 00: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. 200 00:26:29,670 --> 00: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. 201 00:26:41,610 --> 00:26:47,670 When it comes to liveliness detection, passwords and physical tokens offer none. 202 00:26:47,670 --> 00:26:53,510 Other biometrics are limited as they can be vulnerable to coercion and deep fakes. 203 00:26:53,510 --> 00:27:01,550 EEG however shows high liveliness detection because it requires live active brain activity. 204 00:27:03,310 --> 00:27:11,850 And for coercion resistant, a crucial factor in high stakes scenarios, all traditional methods are low, they can be forced. 205 00:27:12,030 --> 00:27:20,670 EEG as we discussed is high because stress and fear can alter brain signals making forced authentication difficult. 206 00:27:21,570 --> 00:27:29,370 As for revocability, we talked about it, and I would say user comfort, ease of use. 207 00:27:29,370 --> 00:27:34,590 Currently EEG is not as comfortable as others, but it's improving. 208 00:27:34,790 --> 00:27:40,330 I don't think it would be as comfortable as passwords, never, but it's improving. 209 00:27:40,710 --> 00:27:49,810 Due to sensitive nature of neural data, EEG currently has high privacy concerns. 210 00:27:49,810 --> 00: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. 211 00:27:58,810 --> 00:28:07,950 You could say high for password and physical tokens, depending on your context, but as I said, it is relative. 212 00:28:07,950 --> 00: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. 213 00:28:19,250 --> 00:28:25,210 These are advantages of our proposed system, except for ease of use and technical complexity. 214 00:28:30,490 --> 00:28:37,610 Well, to summarize our why, let's look at the bigger picture of our key advantages here. 215 00:28:38,850 --> 00:28:43,630 Our method is unique because it is based on individual's brain activity. 216 00:28:44,830 --> 00:28:46,890 Others are unique as well. 217 00:28:47,110 --> 00:28:55,210 It is inimitable because every authentication request is unique, as you cannot produce same brain waves never again. 218 00:28:55,610 --> 00:29:01,810 It is dynamic because the requesting entity is a live entity, is a human. 219 00:29:01,810 --> 00:29:10,050 Finally, it provides multiple inputs because for registration, we can use different memories at the same time. 220 00:29:16,310 --> 00: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. 221 00:29:30,930 --> 00: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. 222 00:29:47,690 --> 00: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. 223 00:30:01,590 --> 00:30:06,370 And we use these registered EEG data as padlock. 224 00:30:06,370 --> 00: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. 225 00:30:24,330 --> 00:30:30,910 The live human factor, the IoT device, are integrated into a unified security framework here. 226 00:30:31,830 --> 00:30:35,890 So how do we compare padlock and the key? 227 00:30:35,890 --> 00: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. 228 00:30:49,390 --> 00:30:56,270 So processing is an important first step to ensure reliable Gaussian mixture model training. 229 00:30:56,270 --> 00: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. 230 00:31:11,030 --> 00:31:16,770 Our core pre-processing steps include what you see on the screen. 231 00:31:16,770 --> 00:31:25,810 Filtering process isolates relevant brain wave frequencies while removing unwanted interference from the raw signal. 232 00:31:25,810 --> 00:31:32,470 This is crucial for focusing on the specific brain activity patterns needed for authentication. 233 00:31:33,070 --> 00:31:37,250 Here we remove both very low and very high frequencies. 234 00:31:37,590 --> 00: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. 235 00:31:54,250 --> 00:31:59,190 We systematically remove these unwanted signals in denoising stage. 236 00:31:59,190 --> 00: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. 237 00:32:12,950 --> 00:32:22,490 In segmentation stage, a continuous EEG data stream is divided into manageable segments based on time or events. 238 00:32:22,490 --> 00:32:35,470 This prepares the data for future extraction and model training, allowing for focused analysis of specific events or cognitive states. 239 00:32:36,330 --> 00:32:40,310 Please take a look at some of the noises on the screen. 240 00:32:40,310 --> 00:32:48,910 At the most left side, the motion noise, muscular noise, cardiac noise, and ocular noise. 241 00:32:48,910 --> 00:32:54,270 It is like drastic noise in our setup. 242 00:32:54,810 --> 00:32:57,750 So we need to remove this. 243 00:32:58,370 --> 00: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. 244 00:33:10,710 --> 00:33:15,750 Here we need to extract a unique fingerprint from the data. 245 00:33:15,790 --> 00:33:22,150 We extract features from the frequency domain, which we could think of as a write-them. 246 00:33:23,110 --> 00:33:27,790 This is like measuring the power or energy in a particular write-them. 247 00:33:27,830 --> 00:33:33,550 We also extract features from temporal domain, which looks at patterns over time. 248 00:33:33,670 --> 00:33:43,150 This is like analyzing the specific sequence of notes in the melody or the unique ups and downs of a signature. 249 00:33:43,150 --> 00:33:51,270 We also measure things like sample entropy, which quantifies the regulatory and predictability of the signal. 250 00:33:52,490 --> 00: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. 251 00:34:06,510 --> 00:34:08,330 I will come to the fun part. 252 00:34:08,990 --> 00:34:14,910 So we have talked about cleaning up brain signals and finding their unique fingerprints. 253 00:34:15,130 --> 00: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? 254 00:34:26,010 --> 00:34:35,310 At the heart of our authentication system are two key players, the GMM and the expectation maximization algorithm. 255 00:34:35,310 --> 00: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. 256 00:34:47,350 --> 00: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. 257 00:34:59,930 --> 00:35:07,430 Our goal is to figure out the exact details of these personality profiles for each person. 258 00:35:07,710 --> 00:35:09,570 Now, here's the tricky part. 259 00:35:09,570 --> 00:35:16,330 When we first look at someone's brain activity, we don't know which personality profile it belongs to. 260 00:35:16,330 --> 00:35:21,350 That is where expectation maximization algorithm comes in. 261 00:35:21,350 --> 00:35:26,730 It's a smart iterative guessing game that gets better with each round. 262 00:35:26,730 --> 00:35:28,550 It works in two steps. 263 00:35:28,550 --> 00: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. 264 00:35:43,130 --> 00: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. 265 00:35:56,590 --> 00:36:03,010 You repeat these two steps over and over again until the profile stops changing significantly. 266 00:36:03,190 --> 00:36:09,810 That's when we know we have the best possible personality profiles for that person's unique brain signature. 267 00:36:14,270 --> 00: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. 268 00:36:26,970 --> 00:36:31,770 We can use this signature in two main modes. 269 00:36:31,770 --> 00:36:34,590 The first one, who is this mode? 270 00:36:34,590 --> 00:36:40,550 Imagine you provide your fingerprint at a security checkpoint but you are not providing your name. 271 00:36:40,770 --> 00: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. 272 00:37:00,550 --> 00:37:05,110 So it will go over all the registered EEG patterns. 273 00:37:07,340 --> 00:37:12,440 The second one, are you who you say you are mode? 274 00:37:12,440 --> 00:37:13,660 Do verification. 275 00:37:13,660 --> 00:37:18,440 This is like showing your ID card and claiming to be a specific person. 276 00:37:18,440 --> 00: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. 277 00:37:27,700 --> 00:37:33,500 This is ideal for logging into devices or secure areas. 278 00:37:35,260 --> 00:37:40,540 Yes, it was a bit maybe complicated to digest in a short time. 279 00:37:40,540 --> 00:37:44,540 So please bear with me with this analogy. 280 00:37:45,460 --> 00:37:51,360 Imagine you have a basket full of two different fruits with green and red colors. 281 00:37:51,360 --> 00:37:53,760 How would you categorize them? 282 00:37:53,760 --> 00:37:59,100 We should be categorizing to process it in our system. 283 00:38:00,600 --> 00:38:04,700 So please take a moment to think about it. 284 00:38:05,560 --> 00:38:08,860 If anyone suggests how to... 285 00:38:12,940 --> 00:38:22,280 For starters, make sure what categories you have and try to think about if it has something common with others. 286 00:38:25,050 --> 00:38:33,970 Our goal was to use an algorithm to separate these into two distinct groups, apple group and the peer group. 287 00:38:34,430 --> 00:38:42,310 These green apples and green peers share a key feature which is their color, the green color. 288 00:38:42,310 --> 00: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. 289 00:38:56,050 --> 00:39:03,810 It's like basically at the first guess, the system doesn't know anything about our features. 290 00:39:03,810 --> 00: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. 291 00:39:17,950 --> 00: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. 292 00:39:28,490 --> 00:39:31,330 But it's never saying, okay, this is apple or this is peer. 293 00:39:31,330 --> 00:39:38,570 It is just saying, okay, this is a, let's say, 8,100 apple or 2,100 peer. 294 00:39:38,570 --> 00:39:42,730 Like it makes guesses like this, not 1 and 0. 295 00:39:43,890 --> 00:39:50,310 We can clearly see two main groups represented by these two overlapping circles. 296 00:39:50,750 --> 00:39:55,470 On the left, we have apple cluster that primarily contains apple. 297 00:39:55,470 --> 00:39:59,170 On the right, we have clusters dominated by peers. 298 00:39:59,170 --> 00:40:01,790 Green apple in the middle is an apple. 299 00:40:02,030 --> 00: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. 300 00:40:17,490 --> 00:40:25,910 So basically this is how we categorize or compare our brain signals when authentication. 301 00:40:26,470 --> 00:40:32,750 If the similarity is good enough for the system, then the user is authenticated. 302 00:40:32,830 --> 00: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. 303 00:40:49,560 --> 00:40:56,560 To capture these brain signals, we use an EEG device which comes in different forms. 304 00:40:56,560 --> 00:41:00,540 The one we use comes in a computer-like headset. 305 00:41:00,720 --> 00: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. 306 00:41:12,280 --> 00: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. 307 00:41:24,700 --> 00:41:32,640 Our experiments have shown that specific combination of these can be effective for authentication. 308 00:41:32,640 --> 00:41:41,240 So the more data you have, the precise your authentication system is. 309 00:41:41,240 --> 00: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. 310 00:41:51,940 --> 00: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. 311 00:42:02,920 --> 00:42:08,580 They just used one channel and the success rate was over 80 percent. 312 00:42:08,580 --> 00: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. 313 00:42:24,860 --> 00:42:28,060 Well here is another view of our architecture. 314 00:42:29,560 --> 00:42:33,720 We are sending our brainwaves to our system. 315 00:42:33,720 --> 00:42:37,960 The signals are like this as you see on the screen. 316 00:42:39,740 --> 00: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. 317 00:42:58,620 --> 00: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. 318 00:43:18,480 --> 00:43:23,980 So we are just showing 10 seconds of blank screen to ease the brainwaves. 319 00:43:23,980 --> 00:43:34,380 After that we are providing for different images here okay and these images are shown for 50 seconds. 320 00:43:34,840 --> 00:43:43,580 You can just show them or you can do as we did we requested users to perform a cognitive activity. 321 00:43:43,580 --> 00:43:49,820 We told them like these pictures have I'm not sure if it's seen yeah they have cabinets or drawers. 322 00:43:49,820 --> 00: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. 323 00:43:57,640 --> 00: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. 324 00:44:12,920 --> 00:44:15,700 So we are just testing our system. 325 00:44:15,700 --> 00:44:23,280 Okay you are authenticating in this picture but you did not hide your wallet here so we don't want it. 326 00:44:23,560 --> 00:44:30,260 So this is basically the padlock generation like registering like getting the password hashes. 327 00:44:31,180 --> 00: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. 328 00:44:55,500 --> 00: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. 329 00:45:09,380 --> 00:45:15,180 Well this is the summary of the whole system. 330 00:45:16,980 --> 00:45:20,240 After this I have a video to demonstrate. 331 00:45:20,320 --> 00:45:22,040 Any questions? 332 00:45:23,140 --> 00:45:24,360 Yes please. 333 00:45:46,580 --> 00: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. 334 00:45:57,860 --> 00: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. 335 00:46:18,580 --> 00: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. 336 00:46:37,380 --> 00:46:38,060 Yes please. 337 00:46:49,880 --> 00:46:54,140 Sorry I cannot hear you very well can you please speak loudly? 338 00:47:04,180 --> 00: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. 339 00:47:28,380 --> 00:47:29,380 Yes please. 340 00:47:47,730 --> 00: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. 341 00:48:33,610 --> 00: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. 342 00:48:57,530 --> 00: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. 343 00:49:22,170 --> 00: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. 344 00:49:39,370 --> 00:49:40,370 Yes please. 345 00:50:01,930 --> 00: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. 346 00:50:34,290 --> 00: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. 347 00:50:53,930 --> 00:51:04,360 Yes please five minutes oh sorry sorry okay I think we are good yeah we have eight minutes of demonstration. 348 00:51:19,900 --> 00:51:25,000 The background music did not appear after rendering so please sorry for that 349 00:51:47,280 --> 00:52:01,300 This is just traditional authentication system as we all know 350 00:52:29,130 --> 00:52:34,750 it's a general purpose video so just fundamentals are here too. 351 00:52:54,230 --> 00: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 352 00:53:20,740 --> 00:53:23,820 might have been hashed too 353 00:53:29,130 --> 00:53:38,430 oh video might not be seen here but there's raspberry device to which led is connected 354 00:53:43,060 --> 00:53:57,640 now when we authenticate in the system the led lights up it has a checker function it checks the This is 355 00:54:42,020 --> 00:54:44,920 the part we all talk about. 356 00:55:07,180 --> 00:55:12,540 So just to comply with the concept, we used play cards here. 357 00:55:18,230 --> 00:55:23,150 Here is a video of me wearing headset, the EEG headset. 358 00:55:31,530 --> 00:55:36,550 This is the raw EEG data you see live when registering. 359 00:55:40,110 --> 00:55:45,170 As I said, this is five channel and there is five different values at each row. 360 00:55:58,830 --> 00:56:00,470 OK, sorry, we are done. 361 00:56:00,470 --> 00:56:01,330 I will just skip. 362 00:56:01,330 --> 00:56:03,430 So this is the registration part. 363 00:56:04,270 --> 00:56:06,110 I will skip to the... 364 00:56:06,110 --> 00:56:07,330 No, this is the data. 365 00:56:07,330 --> 00:56:09,330 We are not storing this data. 366 00:56:09,330 --> 00:56:11,270 Generally, I will finish, sorry. 367 00:56:11,490 --> 00:56:21,250 So, yes, and we authenticate at the same way, just looking and focusing on the image. 368 00:56:21,250 --> 00:56:25,530 Yes, if it accepts, it authenticates us. 369 00:56:27,290 --> 00:56:28,850 So this is all. 370 00:56:28,850 --> 00:56:32,430 If you have any questions, you can just find us on LinkedIn. 371 00:56:33,010 --> 00:56:36,130 No, I will show you here my email. 372 00:56:44,100 --> 00:56:49,280 Here is the email if you would like to, if you have any questions afterwards. 373 00:56:49,940 --> 00:56:52,560 Well, thank you for your time. 374 00:56:52,740 --> 00:56:53,580 Thank you.