1 00:00:00,000 --> 00:00:05,620 I'm a professor at University of California, Irvine, in computer science, and I'd like to thank my co-authors over there, 2 00:00:05,900 --> 00:00:13,840 Yuki Sawa and Ron Bakta, they're both students of mine, and then Chris Hednagy, who supplied me with the samples 3 00:00:13,840 --> 00:00:16,240 and talked to me about social engineering attacks in general. 4 00:00:16,720 --> 00:00:26,520 So, the idea, okay, so, before I go into the slides, basically the whole point of this is to detect social engineering attacks while they're happening. 5 00:00:27,020 --> 00:00:32,540 Now, what the system actually does is it assumes that the text is already transcribed, right? 6 00:00:32,600 --> 00:00:34,960 So, it takes typed text. 7 00:00:35,280 --> 00:00:38,820 So, if you're using a chat application or something like that, then you already have it typed. 8 00:00:39,020 --> 00:00:46,100 If you don't, if it's over the phone or something like that, then you would have to have speech-to-text in order to do this, to do what we're doing, right? 9 00:00:46,280 --> 00:00:53,300 So, we assume we have text, and we analyze the text that the potential attacker is saying. 10 00:00:53,420 --> 00:00:55,400 So, we assume it's the dialogue between two people. 11 00:00:55,600 --> 00:00:56,500 We analyze it. 12 00:00:56,520 --> 00:00:56,980 We analyze it, the text. 13 00:00:57,140 --> 00:01:05,980 We process, we basically parse each sentence as it comes along, and we try to detect if it's a suspicious sentence, if it's asking you something you shouldn't be asked. 14 00:01:06,240 --> 00:01:08,480 And if it does, then we alert the user. 15 00:01:08,660 --> 00:01:10,660 That's basically the whole thing, okay? 16 00:01:11,040 --> 00:01:14,240 So, if there's feedback, I'll try to fix it, but that's the idea. 17 00:01:14,700 --> 00:01:24,120 So, the first slides, you know, now that I look at them, this crowd is probably a little, people know about social engineering here, so maybe some of these first slides are not that important. 18 00:01:24,640 --> 00:01:25,740 What is social engineering? 19 00:01:25,940 --> 00:01:26,420 Oh, there are lots. 20 00:01:26,520 --> 00:01:30,100 Definition, psychological manipulation, to get somebody to do something they shouldn't do, da-da-da. 21 00:01:31,520 --> 00:01:32,520 You know, and it's not new. 22 00:01:32,780 --> 00:01:36,580 It's just con people, whatever, convincing you to get something out of you. 23 00:01:36,900 --> 00:01:39,720 And there are a lot, you know, with technology, you can do it through different vectors. 24 00:01:39,820 --> 00:01:44,000 You can do it through email, or through phone, or through text, or whatever you want to do it through. 25 00:01:45,840 --> 00:01:46,680 They are popular. 26 00:01:47,520 --> 00:01:49,480 There are lots of social engineering attacks. 27 00:01:50,220 --> 00:01:54,800 And, you know, I think this crowd is speaking to the choir, but here's one data point. 28 00:01:55,360 --> 00:01:56,160 This is from Verizon. 29 00:01:56,520 --> 00:02:01,780 There's a study that said that in 2013, 29% of all data breaches involve social engineering attacks somehow. 30 00:02:02,260 --> 00:02:04,900 You know, that's probably an underestimate to me, but whatever. 31 00:02:05,200 --> 00:02:11,460 So, that's one data point, but you all probably believe this part already, so I don't have to really stress this. 32 00:02:13,260 --> 00:02:13,900 Types of attacks. 33 00:02:14,240 --> 00:02:15,180 So, these are just some types. 34 00:02:15,340 --> 00:02:18,480 There are a set of simple attacks, phishing attacks, baiting. 35 00:02:18,540 --> 00:02:20,200 There are lots of different reasons to do attacks. 36 00:02:20,400 --> 00:02:23,860 And if you were here during the course of the day, you saw some attacks, right? 37 00:02:24,120 --> 00:02:25,300 Those are the best examples. 38 00:02:25,400 --> 00:02:26,380 You know, you're trying to get information. 39 00:02:26,380 --> 00:02:29,780 You're trying to get information out of people that they don't want to give up, or try to get them to do something they don't want to do. 40 00:02:33,020 --> 00:02:34,380 So, I don't know. 41 00:02:34,420 --> 00:02:37,660 I'm trying to define this term, dialogue-based social engineering attacks. 42 00:02:38,220 --> 00:02:44,780 I'm trying to differentiate the attacks that we're looking at, we're really focusing on, from, say, phishing attacks, right? 43 00:02:45,260 --> 00:02:50,400 So, you know, there are some attacks, like generic phishing attacks, which are very broad, right? 44 00:02:50,480 --> 00:02:52,360 They're not targeted at any particular person. 45 00:02:52,460 --> 00:02:53,260 They're very generic. 46 00:02:53,340 --> 00:02:55,900 Oh, I'm a Nigerian prince, and I have $10 billion, you know? 47 00:02:55,900 --> 00:03:01,980 And they're not targeted at anybody in particular, just you massively, like, they won't catch many people, right? 48 00:03:02,100 --> 00:03:06,440 But if you send it out to many, many people, you still get raked in some suckers, right? 49 00:03:06,760 --> 00:03:08,160 So, there are attacks like that. 50 00:03:08,560 --> 00:03:13,180 And there are defenses, there are tools, actually, that people have proposed to detect attacks like that. 51 00:03:13,920 --> 00:03:16,000 I'm not really looking for attacks like that. 52 00:03:16,040 --> 00:03:21,920 I'm looking at more dialogue, like, basically, just like the stuff that you saw, if you were here, you saw earlier today. 53 00:03:22,100 --> 00:03:24,280 Where somebody is targeting you, right? 54 00:03:24,340 --> 00:03:25,200 Or your organization. 55 00:03:25,900 --> 00:03:30,980 And they call you up, or they come up to you and talk to you, or they chat with you, and they're trying to fool you, right? 56 00:03:31,080 --> 00:03:33,780 And they probably have done some research on you, right? 57 00:03:33,960 --> 00:03:36,800 And so, it's a more targeted attack, it's a one-on-one. 58 00:03:38,000 --> 00:03:41,940 So, I'm calling these, and, you know, they're, I'm talking about pretexting and elicitation. 59 00:03:42,180 --> 00:03:44,100 They're very, they're subtle techniques that are used. 60 00:03:44,200 --> 00:03:46,820 And I'm not an expert on this, you know, Chris is, and other people are. 61 00:03:47,220 --> 00:03:51,780 But there are a lot of subtle techniques that are used to make people feel comfortable and make them want to give up information. 62 00:03:53,540 --> 00:03:55,680 So, but those are the type of attacks that I'm trying. 63 00:03:55,900 --> 00:03:56,480 So, look at it. 64 00:03:56,540 --> 00:03:57,540 So, I'm talking about dialogue. 65 00:03:57,740 --> 00:04:04,540 Somebody's calling you or talking to you and talking to a particular person, not just sending out a mass phishing email, something like that. 66 00:04:07,160 --> 00:04:14,080 So, okay, so, what, so this is just pictures of how you might use the thing that we're making up. 67 00:04:14,220 --> 00:04:17,680 So, say you got an email client or a texting application, something like that. 68 00:04:17,780 --> 00:04:22,160 It sends it to our, that yellow thing, that yellow box is our social engineering detection system, right? 69 00:04:22,300 --> 00:04:25,720 The text, as it comes through, gets sent to our system, and it tells you. 70 00:04:25,900 --> 00:04:28,620 Oh, this is an attack, and it sends that data back to your application. 71 00:04:29,120 --> 00:04:34,040 Like, if it was a texting application, maybe it would put something on the screen for you, something like that. 72 00:04:34,440 --> 00:04:36,760 Or it could be, like, some audio or video device. 73 00:04:36,840 --> 00:04:42,360 So, it could be a cell phone or something like that, or, you know, some eyewear that's, you know, Google Glass style thing. 74 00:04:42,700 --> 00:04:46,780 If you had speech recognition, you had some speech-to-text software, you could do the same thing, okay? 75 00:04:46,960 --> 00:04:53,200 But the idea is that the tool is supposed to be reading the sentences as they come, checking them, see if they're suspicious. 76 00:04:53,380 --> 00:04:55,880 And if they're suspicious, you send an alert back in some form. 77 00:04:58,300 --> 00:05:06,740 So, you, okay, so one thing, one thing is because it's a dialogue-based attack, I don't want to rely on sort of vector, I want to make it generic. 78 00:05:07,000 --> 00:05:11,660 So, it doesn't, there are certain vector-specific cues that a lot of other detection techniques use. 79 00:05:12,180 --> 00:05:20,500 So, for instance, like, if you're detecting phishing attacks, you might look at, say you look at some phishing website, you want to say it's a phishing website, you might look at the images on the website. 80 00:05:20,720 --> 00:05:22,560 Like, there are a lot of papers that have been proposed on this type of thing. 81 00:05:22,900 --> 00:05:25,260 But that would work with a phishing website, right? 82 00:05:25,900 --> 00:05:27,900 But I want to make it just more generic. 83 00:05:28,040 --> 00:05:29,560 I could apply it to any type of vector. 84 00:05:29,920 --> 00:05:32,180 So, I'd like to home in on the communication. 85 00:05:32,760 --> 00:05:39,660 See, most of the previous techniques that look for phishing and things like this, they don't look at the actual meaning of what's being said, okay? 86 00:05:39,780 --> 00:05:47,720 They look for other things that are suspicious about the phishing email, something like that, but they're not trying to take the text and interpret its meaning at all. 87 00:05:47,860 --> 00:05:48,960 And so, that's what we're trying to do. 88 00:05:49,020 --> 00:05:50,680 We're trying to do some sort of semantic analysis. 89 00:05:50,880 --> 00:05:55,560 And first, something about the meaning of the text to see if it's actually a suspicious, like a bad thing. 90 00:05:58,080 --> 00:05:58,800 So, yeah. 91 00:05:58,960 --> 00:06:01,580 So, hopefully, superficial analysis is sufficient. 92 00:06:01,920 --> 00:06:06,640 By that, I mean trying to understand meaning is a complicated thing, right? 93 00:06:06,740 --> 00:06:08,460 So, hopefully, I don't have to go too deep. 94 00:06:09,040 --> 00:06:12,580 So, I'll show you what I do and how often it works, you know. 95 00:06:14,980 --> 00:06:15,460 All right. 96 00:06:15,560 --> 00:06:17,080 Common features of social engineering attacks. 97 00:06:17,260 --> 00:06:21,820 So, what do I, so what I try to do is figure out what was detectable about these attacks. 98 00:06:21,960 --> 00:06:24,780 These attacks, they can, they are varied, okay? 99 00:06:24,900 --> 00:06:25,800 And there are a lot of, 100 00:06:25,900 --> 00:06:31,340 strange, like several books that Chris has written about social engineering attacks and all the different ways to do them. 101 00:06:31,560 --> 00:06:32,900 And so, that seemed intimidating. 102 00:06:33,060 --> 00:06:34,800 How could you possibly detect all those things? 103 00:06:34,940 --> 00:06:35,860 And I really can't. 104 00:06:35,880 --> 00:06:43,760 But, I can say, I think this is true, that any kind of social engineering attack, in the end, you've got to do one of two things. 105 00:06:43,860 --> 00:06:44,680 This is my claim, okay? 106 00:06:44,940 --> 00:06:50,760 You've got to ask somebody for, ask somebody for some information that they don't have authority to have. 107 00:06:51,360 --> 00:06:54,780 Or, you've got to ask them to do something that they don't have authority to do. 108 00:06:55,180 --> 00:06:55,580 Okay? 109 00:06:55,900 --> 00:06:57,480 This is my, my theory, right? 110 00:06:57,780 --> 00:07:09,180 So, if I claim, so I, so I think, look, if, if every social engineering attack has to do one of those two things, at some point in the conversation, they've got to say, okay, so what's your social security number, or in some other way, right? 111 00:07:09,320 --> 00:07:12,840 Or, okay, go ahead and shut off that router, or change your password, or whatever, right? 112 00:07:12,980 --> 00:07:24,500 At some point, I can't detect all the elicitations and the pretexts and all that, but maybe I can detect that sentence when they come down to the point where they ask the question, or they command you to do something they shouldn't command you to do, maybe I can detect just that. 113 00:07:25,260 --> 00:07:25,880 So, that's what I'm trying to do. 114 00:07:25,880 --> 00:07:39,440 So, you know, I, so, basically, what I'm trying to do is, when, as the sentences get parsed, you want to see if the sentence is a question or a command, because I'm assuming it's either a question, asking you for information, or a command telling you to do something you shouldn't do. 115 00:07:39,620 --> 00:07:40,920 So, it's got to be a question or a command. 116 00:07:41,300 --> 00:07:44,220 So, I look at the sentences, try to detect if they're a question or a command. 117 00:07:44,640 --> 00:07:48,600 Then, if it's a question or a command, I try to detect the topic of the sentence, okay? 118 00:07:48,860 --> 00:07:51,960 Basically, important words in the sentence that would indicate the topic. 119 00:07:52,540 --> 00:07:55,580 And then, I take that topic, and I match it to a blank. 120 00:07:55,880 --> 00:07:57,820 A black list of bad topics that I have. 121 00:07:58,020 --> 00:08:01,900 And if it's in the black list, then I say, okay, that's something you shouldn't be asking about alarm. 122 00:08:02,820 --> 00:08:03,600 So, that's the idea. 123 00:08:04,400 --> 00:08:06,500 By the way, if there are questions, go ahead and ask. 124 00:08:06,880 --> 00:08:07,640 Like, I don't mind. 125 00:08:08,640 --> 00:08:10,100 You know, you don't have to, but you can. 126 00:08:11,920 --> 00:08:12,520 Yeah, go ahead. 127 00:08:12,840 --> 00:08:21,440 Maybe you don't have anything to do with it, but maybe a comparison to how it would work if you just had a black list of words. 128 00:08:22,360 --> 00:08:24,240 Okay, so, you're, okay, let me just repeat it, right? 129 00:08:24,340 --> 00:08:25,800 You're saying, do I have a comparison? 130 00:08:25,880 --> 00:08:27,900 Do you have a comparison of how it would work with a black list of phrases? 131 00:08:28,440 --> 00:08:35,240 Yeah, like, how would your approach to it be performed better than just a word list or something? 132 00:08:35,460 --> 00:08:35,780 Uh-huh. 133 00:08:35,840 --> 00:08:36,800 Yeah, okay, so, ah. 134 00:08:37,320 --> 00:08:38,680 Okay, I sort of have that. 135 00:08:38,760 --> 00:08:45,180 So, what's being asked is, how would this perform better than just having, like, doing a simple thing where you just have a list of bad words? 136 00:08:45,520 --> 00:08:48,620 And you just, you know, if the bad words come up, then you say it's an attack. 137 00:08:49,180 --> 00:08:52,660 Okay, so, I have, hmm, I don't have a direct comparison to that. 138 00:08:52,760 --> 00:08:54,780 I published a paper on that. 139 00:08:54,860 --> 00:08:55,800 On a simple thing. 140 00:08:55,880 --> 00:08:56,200 On a simple thing like that. 141 00:08:56,720 --> 00:08:58,140 Earlier in the year, actually. 142 00:08:58,380 --> 00:09:01,840 And I, the reason I did this was actually because of complaints about that work. 143 00:09:02,020 --> 00:09:06,120 Because people said, people said, look, you can use, like, I have specific examples of this. 144 00:09:06,240 --> 00:09:07,220 I have a slide with it. 145 00:09:07,320 --> 00:09:10,900 But, you can use the same words and not in a malicious way. 146 00:09:11,360 --> 00:09:14,680 You know, so that, so in general, people said, look, that could happen. 147 00:09:14,800 --> 00:09:15,980 This technique's not good enough. 148 00:09:16,020 --> 00:09:18,760 They published it anyway, but they said that was the argument. 149 00:09:18,920 --> 00:09:20,060 Now, I don't have a direct comparison. 150 00:09:21,120 --> 00:09:23,720 But, my other technique, I'll talk about it when I get to it. 151 00:09:24,000 --> 00:09:24,360 Yeah. 152 00:09:25,200 --> 00:09:25,520 Yeah. 153 00:09:25,620 --> 00:09:26,420 Okay, that's all right. 154 00:09:27,220 --> 00:09:31,880 So, is the list of more phrases than words? 155 00:09:32,360 --> 00:09:33,480 This is looking at sentences. 156 00:09:33,920 --> 00:09:34,520 Sentences, yep. 157 00:09:34,800 --> 00:09:35,120 Yeah. 158 00:09:35,220 --> 00:09:36,440 And parsing the sentences. 159 00:09:36,900 --> 00:09:37,220 Yeah. 160 00:09:37,800 --> 00:09:38,240 Go ahead. 161 00:09:39,940 --> 00:09:40,260 Okay. 162 00:09:46,340 --> 00:09:49,220 That's an excellent, painful example. 163 00:09:49,500 --> 00:09:50,560 Okay, so, let me zip. 164 00:09:50,720 --> 00:09:53,180 No, let me, okay, let me, no, no, that's all right, that's all right, that's right, that's good. 165 00:09:53,180 --> 00:09:56,200 So, let me announce, restate the question, right? 166 00:09:56,340 --> 00:09:57,100 Just right here. 167 00:09:57,280 --> 00:10:00,300 So, he said, look, say I got some statement like, click on this link. 168 00:10:00,480 --> 00:10:05,340 How do I differentiate that from being like a legal click on this link versus an illegal click on this link, right? 169 00:10:05,920 --> 00:10:11,860 Okay, so, okay, so, I have a, so, in the, let me go straight to the end, right? 170 00:10:12,300 --> 00:10:15,760 There are, there are, there are, in the, in the end test cases, right? 171 00:10:15,840 --> 00:10:20,080 There are, there are three social engineering conversations that we analyzed, right? 172 00:10:20,160 --> 00:10:21,060 That were given to us by Chris. 173 00:10:21,420 --> 00:10:23,080 And there were 10 cents. 174 00:10:23,180 --> 00:10:24,540 And there were 10 sentences that were malicious, okay? 175 00:10:24,600 --> 00:10:30,120 Where they either asked a question like this or they, or they made a command, you know, a bad command. 176 00:10:30,320 --> 00:10:31,900 And of those 10, we detected six. 177 00:10:32,740 --> 00:10:35,260 Now, the other four were just like that. 178 00:10:35,340 --> 00:10:41,040 In fact, click, click on this link wasn't exactly one, but it was like click okay and there was another one like that, okay? 179 00:10:41,100 --> 00:10:42,860 There were four, all four were like that. 180 00:10:43,860 --> 00:10:46,040 So, okay, so now I'm doing my future work, right? 181 00:10:46,140 --> 00:10:49,220 So, the reason why, with that, right, like click on this link. 182 00:10:49,340 --> 00:10:51,020 What link are they talking about, right? 183 00:10:51,060 --> 00:10:51,840 There's no context. 184 00:10:51,880 --> 00:10:52,080 There's no context. 185 00:10:52,080 --> 00:10:53,120 So, the problem with, 186 00:10:53,180 --> 00:10:55,620 what I'm doing right now is this one sentence at a time. 187 00:10:55,900 --> 00:10:59,140 So, if you can get the information out of a sentence, it'll work. 188 00:10:59,360 --> 00:11:04,600 But, if you say click on this link, that doesn't have enough information to know what link you're talking about, right? 189 00:11:05,020 --> 00:11:08,660 What you have to do is remember what was talked about before in the conversation. 190 00:11:08,900 --> 00:11:09,980 Let me just say this real quick, right? 191 00:11:10,080 --> 00:11:10,920 You got to remember that. 192 00:11:11,080 --> 00:11:12,460 And so, I have a plan for that. 193 00:11:12,500 --> 00:11:13,240 I'll say it at the end. 194 00:11:13,340 --> 00:11:18,760 But, basically, at this moment, no, it doesn't, it has to be self-contained, like all in one sentence right now. 195 00:11:18,880 --> 00:11:20,080 But, I think I can fix it. 196 00:11:20,420 --> 00:11:21,080 You had a question? 197 00:11:21,500 --> 00:11:23,020 Yeah, so what you don't know is, 198 00:11:25,840 --> 00:11:27,080 I'm sorry, say it again? 199 00:11:32,360 --> 00:11:34,500 You have something, why don't you, I'm sorry. 200 00:11:35,400 --> 00:11:36,120 Basic priors? 201 00:11:36,760 --> 00:11:37,440 Bayesian priors. 202 00:11:37,540 --> 00:11:41,140 Okay, first, first let me say, I don't know what Bayesian priors are. 203 00:11:42,000 --> 00:11:42,960 So, let's be honest. 204 00:11:43,100 --> 00:11:44,660 I don't do machine learning, right? 205 00:11:44,700 --> 00:11:45,900 And this isn't a machine learning approach. 206 00:11:46,260 --> 00:11:47,180 I will learn that. 207 00:11:47,220 --> 00:11:48,020 I am trying to learn that. 208 00:11:48,100 --> 00:11:49,060 But, I don't actually know that. 209 00:11:49,100 --> 00:11:49,700 So, I'll just be frank. 210 00:11:50,000 --> 00:11:52,300 But, also, it's not a learning approach. 211 00:11:53,180 --> 00:11:58,480 See, I think the problem that, like what you were just saying, is that, you know, click on this link, right? 212 00:11:58,640 --> 00:12:00,600 The information is just not present in the sentence. 213 00:12:00,780 --> 00:12:03,200 I have to use the previous information in previous sentences. 214 00:12:03,420 --> 00:12:06,140 And I'm not sure if what you're saying would do that for me. 215 00:12:06,760 --> 00:12:08,080 Okay, I'll have to talk to you about that. 216 00:12:08,160 --> 00:12:08,700 I don't really know it. 217 00:12:10,620 --> 00:12:12,660 I mean, I had another thought of how I would do that. 218 00:12:13,340 --> 00:12:14,400 Not with machine learning. 219 00:12:14,480 --> 00:12:15,180 Machine learning is fine. 220 00:12:15,300 --> 00:12:16,660 Everybody loves machine learning these days. 221 00:12:16,700 --> 00:12:18,000 But, I don't know it, so. 222 00:12:18,700 --> 00:12:19,960 So, I'm not doing it right now. 223 00:12:20,940 --> 00:12:21,720 You know, one day. 224 00:12:21,880 --> 00:12:22,940 I'm seriously learning. 225 00:12:23,180 --> 00:12:23,780 Machine learning now. 226 00:12:23,920 --> 00:12:26,100 Because people keep saying, oh, you've got to do machine learning. 227 00:12:26,320 --> 00:12:26,420 You know? 228 00:12:26,500 --> 00:12:28,500 Naturally, in processing, everybody does machine learning. 229 00:12:29,500 --> 00:12:29,880 Anyway. 230 00:12:30,180 --> 00:12:30,640 Oh, question. 231 00:12:30,660 --> 00:12:31,120 Go ahead. 232 00:12:31,300 --> 00:12:31,820 Oh, question. 233 00:12:34,300 --> 00:12:34,680 Okay. 234 00:12:37,100 --> 00:12:37,140 Okay. 235 00:12:54,800 --> 00:13:02,440 , let me repeat it just to make sure everybody heard. 236 00:13:02,680 --> 00:13:05,160 So, you're saying that, again, context, right? 237 00:13:05,420 --> 00:13:08,520 Specifically, you're talking about the identity of the speaker, right? 238 00:13:09,020 --> 00:13:12,900 So, if your mom asks you your health, that's cool. 239 00:13:13,160 --> 00:13:16,260 If a stranger asks you your health, that maybe is not, right? 240 00:13:16,620 --> 00:13:18,380 So, how do you differentiate, right? 241 00:13:18,780 --> 00:13:21,180 So, first let me say, I don't, right? 242 00:13:21,280 --> 00:13:22,880 But, so right now. 243 00:13:23,180 --> 00:13:25,340 I just assume everybody is suspicious. 244 00:13:25,540 --> 00:13:26,600 I trust no one, okay? 245 00:13:26,720 --> 00:13:28,940 That's basically because of a limitation of my approach. 246 00:13:29,060 --> 00:13:30,960 I can't authenticate people. 247 00:13:31,120 --> 00:13:32,240 I can't figure out people's identities. 248 00:13:32,460 --> 00:13:34,020 That's a whole other field. 249 00:13:34,220 --> 00:13:34,780 You know what I mean? 250 00:13:35,000 --> 00:13:36,800 There are plenty of people who do research in that. 251 00:13:36,960 --> 00:13:37,560 How do you find? 252 00:13:37,640 --> 00:13:40,560 Maybe you can identify somebody based on their voice or something like that. 253 00:13:40,660 --> 00:13:42,540 But, I have no way to identify somebody. 254 00:13:42,800 --> 00:13:45,540 So, I'm assuming that everybody is untrusted. 255 00:13:46,280 --> 00:13:47,160 Which is a weakness. 256 00:13:47,440 --> 00:13:52,040 And, you know, at some point, this work should be joined with some type of an authentication mechanism. 257 00:13:52,040 --> 00:13:56,120 And then, if you're in like, you know, some places, some work places, they authenticate. 258 00:13:56,180 --> 00:13:59,420 Like, if you're working for the U.S. government, maybe you can enforce authentication. 259 00:13:59,840 --> 00:14:01,720 You know, every time you call somebody, you can identify. 260 00:14:01,940 --> 00:14:04,260 But, in a casual working environment, maybe you can't. 261 00:14:04,940 --> 00:14:06,060 So, I can't do that. 262 00:14:06,780 --> 00:14:12,000 And, yeah, basically, to consider that type of context, I would need the identity and I can't figure that out. 263 00:14:12,180 --> 00:14:13,940 So, I would have to work with somebody else on that. 264 00:14:14,980 --> 00:14:15,340 Yeah. 265 00:14:15,620 --> 00:14:19,020 You guys are immediately hitting all the sore points. 266 00:14:19,160 --> 00:14:20,000 That's good, though. 267 00:14:20,260 --> 00:14:20,620 Yeah. 268 00:14:20,660 --> 00:14:22,020 So, just as a side note. 269 00:14:22,040 --> 00:14:23,280 So, I beg for money. 270 00:14:23,400 --> 00:14:26,120 I apply to the government for money to do this type of research, right? 271 00:14:26,360 --> 00:14:29,280 And, just like, I don't know, a month and a half ago, I got a rejection on this. 272 00:14:29,660 --> 00:14:31,720 And, these are the comments that they made. 273 00:14:31,880 --> 00:14:33,440 So, I'm not surprised. 274 00:14:33,720 --> 00:14:34,300 That's all right, though. 275 00:14:34,760 --> 00:14:37,460 But, I swear, I think I can fix these things in the future. 276 00:14:37,640 --> 00:14:40,840 The identification thing, I really, that's really a big problem. 277 00:14:41,160 --> 00:14:42,120 I don't know how to do it. 278 00:14:42,160 --> 00:14:43,620 I have to work with somebody else completely. 279 00:14:43,920 --> 00:14:46,620 But, the context, the local context, that I can do. 280 00:14:47,760 --> 00:14:48,080 Question? 281 00:14:48,300 --> 00:14:51,920 So, instead of just having a straight pass fail, do you need to start having, 282 00:14:52,040 --> 00:14:54,500 you know, a gradient of, like, more and more of a... 283 00:14:54,500 --> 00:14:54,940 Yeah, yeah. 284 00:14:55,200 --> 00:14:59,880 So, that lets the user know, like, I'm starting to get threatening or questionable 285 00:15:00,620 --> 00:15:03,280 phrases are coming at me, and I need to be more alert. 286 00:15:03,500 --> 00:15:03,860 Yep. 287 00:15:03,920 --> 00:15:07,440 And, allow that to, like, maybe justify, like, if you're calling your doctor, 288 00:15:07,960 --> 00:15:09,560 you may initiate that. 289 00:15:09,640 --> 00:15:13,300 So, if all of a sudden your doctor's asking you to verify and be in court, 290 00:15:13,500 --> 00:15:14,700 that's perfectly normal. 291 00:15:14,880 --> 00:15:16,040 That's not going to check you in. 292 00:15:17,080 --> 00:15:20,200 But, that user could be flagged and say, oh, I know what that is. 293 00:15:20,400 --> 00:15:21,680 So, you could let them know, like, 294 00:15:21,680 --> 00:15:22,020 I'm not going to check you in. 295 00:15:22,020 --> 00:15:23,380 So, let me repeat that. 296 00:15:23,540 --> 00:15:25,900 So, basically, you're saying, look, does it have to be a binary decision? 297 00:15:26,180 --> 00:15:27,360 This is bad, this is good. 298 00:15:27,420 --> 00:15:29,720 Maybe it could be, this is sounding a little more suspicious. 299 00:15:29,840 --> 00:15:31,740 My suspicion goes up, it goes up, it goes up. 300 00:15:31,800 --> 00:15:32,880 And, finally, there's a threshold. 301 00:15:33,120 --> 00:15:35,720 Yeah, that could be done in a pretty straightforward manner. 302 00:15:36,020 --> 00:15:37,620 I didn't do that, but that could be done. 303 00:15:38,280 --> 00:15:38,760 Go ahead. 304 00:15:39,240 --> 00:15:44,380 So, my question to you is, what is the purpose of this software that we're playing? 305 00:15:44,460 --> 00:15:51,000 Is it to terminate a call by the progress, or is it to alert the human element? 306 00:15:51,000 --> 00:15:55,860 Because if it's alerting the human element, then they make the kind of decision, right? 307 00:15:55,940 --> 00:16:00,520 Because sometimes you can get a call from your credit card agency, and they say, 308 00:16:00,700 --> 00:16:06,760 we think your credit card has been used in, I don't know, somewhere in Africa or in Asia. 309 00:16:07,020 --> 00:16:12,820 So, give us your credit card number, or they ask you for some information like that. 310 00:16:13,200 --> 00:16:18,780 But, if your screen pops up saying, be careful, you might then make the decision. 311 00:16:18,900 --> 00:16:19,260 Okay. 312 00:16:19,940 --> 00:16:22,980 Okay, so the question is, what's the purpose? 313 00:16:23,060 --> 00:16:27,120 Is the purpose to, say, if there's a phone call, and I detect that it's suspicious, 314 00:16:27,480 --> 00:16:32,380 is the purpose to terminate that phone call, or to just alert the user and let the user make the decision? 315 00:16:32,620 --> 00:16:34,560 It's to alert the user and let the user make the decision. 316 00:16:35,300 --> 00:16:42,120 So, you know, now they might be idiots and continue and give up the information, but, yeah, it is just to... 317 00:16:42,860 --> 00:16:44,620 You don't need the detection, then. 318 00:16:44,840 --> 00:16:45,700 You don't need the detection? 319 00:16:45,820 --> 00:16:46,200 I disagree. 320 00:16:46,760 --> 00:16:47,120 I disagree. 321 00:16:47,120 --> 00:16:48,400 Because, look, if you don't... 322 00:16:49,260 --> 00:16:54,400 The thing is, if people essentially fall asleep, if you heard those talks today, right, they're not thinking. 323 00:16:54,580 --> 00:16:59,100 Like, their minds are somehow, they're like, look, I'm bored, I don't want to be here, I don't want to talk to this person, 324 00:16:59,140 --> 00:17:00,500 let me just answer these questions and be done. 325 00:17:00,640 --> 00:17:05,300 You know, they're not aware enough, but if you put an alarm in front of them, it's like, warning, attack, 326 00:17:05,700 --> 00:17:08,080 maybe they'll wake up out of it and cut it off themselves. 327 00:17:08,560 --> 00:17:12,420 No, what I meant was, then you don't need the caller to be identified. 328 00:17:12,840 --> 00:17:13,320 Oh, yeah. 329 00:17:13,560 --> 00:17:14,280 Oh, that's true. 330 00:17:14,360 --> 00:17:16,260 Yeah, but you don't want to have false positives either. 331 00:17:17,200 --> 00:17:18,940 See, false positives bother people. 332 00:17:19,260 --> 00:17:19,440 You know? 333 00:17:19,840 --> 00:17:21,360 So, you would like to have the identity. 334 00:17:23,240 --> 00:17:23,560 Okay. 335 00:17:24,540 --> 00:17:25,400 So, no, that's good. 336 00:17:25,520 --> 00:17:25,820 Okay. 337 00:17:25,920 --> 00:17:26,420 Let's keep going. 338 00:17:27,780 --> 00:17:28,100 Okay. 339 00:17:28,140 --> 00:17:29,120 So, natural language processing. 340 00:17:31,000 --> 00:17:32,260 So, it's a broad thing. 341 00:17:32,440 --> 00:17:33,500 There are a lot of parts to it. 342 00:17:34,480 --> 00:17:36,980 And I'm not really a natural language processing expert. 343 00:17:37,100 --> 00:17:37,900 I mean, I know enough. 344 00:17:38,220 --> 00:17:41,160 I've learned it over the last few years to be able to do what I'm doing now. 345 00:17:42,160 --> 00:17:44,920 But, basically, the idea is you want to understand human language. 346 00:17:45,040 --> 00:17:46,100 Now, that's very broad, right? 347 00:17:46,220 --> 00:17:47,460 What does it even mean to understand? 348 00:17:47,460 --> 00:17:55,620 So, I've heard it said that, you know, you understand something if you can use the information to solve some problem, right? 349 00:17:56,440 --> 00:18:01,500 So, I'm going to say that I need to solve this problem of detecting if a sentence is malicious or not. 350 00:18:02,120 --> 00:18:04,420 And that's all I need to understand about the sentence. 351 00:18:04,520 --> 00:18:05,960 I don't need to understand everything about the sentence. 352 00:18:06,060 --> 00:18:08,600 I just need to be able to make a decision malicious or not malicious. 353 00:18:08,980 --> 00:18:12,860 So, that's the limit of the understanding that we're trying to get, that the machine is trying to get. 354 00:18:13,680 --> 00:18:16,860 So, understand that whatever the sentence is, it's a question or a command. 355 00:18:17,780 --> 00:18:22,680 And understand that the topic of that question or command is a forbidden one, you know, on our blacklist or it's not. 356 00:18:25,480 --> 00:18:25,800 Okay. 357 00:18:25,860 --> 00:18:29,220 So, this is just sort of an outline of natural language processing. 358 00:18:29,540 --> 00:18:31,380 And I'm not going to go into depth in any of these. 359 00:18:31,440 --> 00:18:33,820 I'm going to zero in on what part we actually are looking at, right? 360 00:18:34,080 --> 00:18:38,060 But natural language processing can be, research is done in different levels of abstraction. 361 00:18:39,540 --> 00:18:43,700 So, for instance, phonology, we're talking about the sounds, the sounds that people hear. 362 00:18:43,820 --> 00:18:45,280 We're not touching that at all, right? 363 00:18:45,340 --> 00:18:46,900 I assume you've got speech to text. 364 00:18:47,460 --> 00:18:48,460 We're not looking at the sound, the audio. 365 00:18:48,580 --> 00:18:49,860 We're looking at the actual text. 366 00:18:51,000 --> 00:18:53,560 Morphology is the individual words and the meanings of words. 367 00:18:54,200 --> 00:18:56,640 That's not crucial here. 368 00:18:56,920 --> 00:18:59,320 More what we're interested in is syntax and semantics. 369 00:18:59,800 --> 00:19:01,480 So, semantics is really what we want. 370 00:19:01,680 --> 00:19:04,300 The genitational meaning of a sentence, what the sentence means. 371 00:19:04,820 --> 00:19:08,960 But the meaning of a sentence is related to the syntax. 372 00:19:09,400 --> 00:19:13,800 So, the meaning of a sentence is basically a combination of the meaning of the individual words 373 00:19:13,800 --> 00:19:16,800 and then the syntax, the order in which they're placed in the sentence. 374 00:19:17,460 --> 00:19:20,100 So, sentence meaning equals words plus structure, right? 375 00:19:20,160 --> 00:19:20,800 Meaning syntax. 376 00:19:21,120 --> 00:19:24,400 So, you've got to know what the words are, but you've also got to know their, 377 00:19:24,480 --> 00:19:25,980 and this goes to what you were saying, right? 378 00:19:26,500 --> 00:19:29,040 It's not just sufficient to say, oh, it's got these words. 379 00:19:29,300 --> 00:19:31,760 If you put them in a different order, they mean something different, right? 380 00:19:32,060 --> 00:19:35,860 So, for the structure, that's why we need to analyze the syntax. 381 00:19:36,120 --> 00:19:40,480 So, we analyze the syntax to try to extract some parts about the semantic, 382 00:19:40,600 --> 00:19:41,820 the meaning of the sentence. 383 00:19:42,480 --> 00:19:45,260 Now, pragmatics, just so you know, is more high-level understanding. 384 00:19:45,420 --> 00:19:47,440 It's more like understanding the meaning. 385 00:19:47,460 --> 00:19:49,000 It's more like understanding the meaning behind what's said, right? 386 00:19:49,100 --> 00:19:51,960 Which is beyond what we're doing, what I'm doing. 387 00:19:52,160 --> 00:19:57,940 But it's more like, say somebody says, oh, you should try this toothbrush, okay? 388 00:19:58,320 --> 00:20:01,460 Now, if they say that and you guys are shopping at Walmart for toothbrushes, 389 00:20:01,460 --> 00:20:02,820 then that's fine, right? 390 00:20:02,940 --> 00:20:04,380 Then they mean literally what they said. 391 00:20:04,620 --> 00:20:08,120 But if you just ate some onions and they're like, you should try this toothbrush, 392 00:20:08,400 --> 00:20:10,420 then they're saying your breast stinks, right? 393 00:20:10,640 --> 00:20:12,300 That's pragmatics, right? 394 00:20:12,360 --> 00:20:17,080 That is beyond what, you know, and I see humor is based on pragmatics, too. 395 00:20:17,460 --> 00:20:17,480 You know? 396 00:20:17,600 --> 00:20:19,540 But that's beyond the scope of this work. 397 00:20:19,760 --> 00:20:22,060 So, we're really focusing on the literal meaning of the sentence 398 00:20:22,060 --> 00:20:25,460 and we're analyzing the syntax of the sentence to pull some of that out. 399 00:20:27,600 --> 00:20:30,500 Okay, so when I say syntactic analysis, so we're analyzing syntax. 400 00:20:31,200 --> 00:20:33,900 This is the arrangement of words and phrases, words and groups. 401 00:20:34,860 --> 00:20:39,420 So, if you remember way back in elementary school, you learned grammar, you know? 402 00:20:39,940 --> 00:20:41,400 You may or may not remember this. 403 00:20:41,660 --> 00:20:43,720 But, you know, and I hated that. 404 00:20:44,040 --> 00:20:46,960 But now I've had to go back and learn a bunch of it again, right? 405 00:20:47,460 --> 00:20:47,960 For this purpose. 406 00:20:48,200 --> 00:20:51,680 But I don't have to know it all because they said there are parts that deal with most of it for me, 407 00:20:51,700 --> 00:20:52,460 but I have to learn the basics. 408 00:20:52,860 --> 00:20:57,820 But the idea is, you know, words have parts of speech and they're grouped into phrases, chunks, you know? 409 00:20:57,920 --> 00:21:01,020 So, you have noun phrases, verb phrases, prepositional phrases, and all this. 410 00:21:01,520 --> 00:21:04,940 And this describes the syntax of the sentence, the structure of a sentence. 411 00:21:05,740 --> 00:21:07,580 So, oh, and here's my little example. 412 00:21:07,640 --> 00:21:11,900 Here's one example where, you know, so Pete killed the job versus the job killed Pete, right? 413 00:21:12,040 --> 00:21:13,420 Those two are the same set of words. 414 00:21:13,560 --> 00:21:16,100 I reorganize them and they mean two very different things, you know? 415 00:21:16,200 --> 00:21:17,180 So, I'm just trying to say, look. 416 00:21:17,460 --> 00:21:18,440 You can't just look at the words. 417 00:21:18,600 --> 00:21:20,920 You have to look at the structure of the sentence as well. 418 00:21:22,080 --> 00:21:23,800 So, we have to analyze the structure of the sentence. 419 00:21:24,100 --> 00:21:26,880 And for that, we do parsing. 420 00:21:27,160 --> 00:21:28,820 So, with a context-free grammar. 421 00:21:28,980 --> 00:21:30,600 So, you may not know what a context-free grammar is. 422 00:21:30,620 --> 00:21:31,020 Some people do. 423 00:21:31,240 --> 00:21:37,020 If you know about compilers, you know, compiler theories, this stuff comes, actually, this came straight from compilers. 424 00:21:37,720 --> 00:21:38,760 Or maybe vice versa. 425 00:21:39,060 --> 00:21:41,940 Anyway, what you do is, so we got this sentence. 426 00:21:42,100 --> 00:21:43,660 The man took the book, okay? 427 00:21:43,700 --> 00:21:44,300 It's in red. 428 00:21:44,780 --> 00:21:45,780 And it's parsed. 429 00:21:45,860 --> 00:21:47,440 So, on the right-hand side, you see that. 430 00:21:47,440 --> 00:21:48,180 You see that parse tree. 431 00:21:48,780 --> 00:21:52,000 And the parse tree shows how the words are grouped into phrases. 432 00:21:52,140 --> 00:21:54,580 It labels each word with its part of speech. 433 00:21:54,860 --> 00:21:56,940 And then it shows how those words are grouped into phrases. 434 00:21:57,140 --> 00:22:00,060 And to combine to make a total sentence at the top. 435 00:22:00,400 --> 00:22:04,800 And the way that, that parse tree is made automatically with an off-the-shelf tool, right? 436 00:22:04,860 --> 00:22:05,740 I did not build that tool. 437 00:22:05,920 --> 00:22:06,880 That's like a standard thing. 438 00:22:06,960 --> 00:22:10,940 Making parsers to create those parse trees, that's like a standard known thing, okay? 439 00:22:11,080 --> 00:22:12,320 And you can just get them for free. 440 00:22:12,940 --> 00:22:14,180 Stanford parser is what I use. 441 00:22:14,360 --> 00:22:16,580 So, you give it, though, you give it a grammar. 442 00:22:18,040 --> 00:22:19,340 So, BNF, this is BNF. 443 00:22:19,380 --> 00:22:21,360 This is sort of a common form for a context-free grammar. 444 00:22:21,560 --> 00:22:25,740 And this grammar, basically, on the left, that's the rules of English, okay? 445 00:22:25,900 --> 00:22:29,020 Now, this is like a tiny subset of the grammar for English. 446 00:22:29,200 --> 00:22:31,360 But, so you can see the top one says S. 447 00:22:31,520 --> 00:22:34,900 S is, oh, each one of these letters, these symbols, they're called tags. 448 00:22:35,160 --> 00:22:37,780 And this is a standard tag set, the pen tag set. 449 00:22:37,920 --> 00:22:38,920 They're a standard tag set. 450 00:22:39,000 --> 00:22:40,200 So, S is for a sentence, okay? 451 00:22:40,580 --> 00:22:45,960 So, the first rule says a sentence can be a noun phrase and then a verb phrase, followed by a verb phrase, okay? 452 00:22:46,080 --> 00:22:47,420 And then the next one says... 453 00:22:47,440 --> 00:22:50,220 It says a noun phrase can be a determiner, followed by a noun, right? 454 00:22:50,320 --> 00:22:51,480 And so on, right? 455 00:22:51,600 --> 00:22:57,620 And then, you know, a determiner is the, and a noun can be man or book, and verb can be took, and so on. 456 00:22:58,520 --> 00:23:01,780 So, given a grammar like this, you can create a parse tree. 457 00:23:01,860 --> 00:23:03,120 And there are plenty of tools that do it. 458 00:23:03,300 --> 00:23:07,900 And the parse tree, you can see how, looking at the tree, you can see how the words are grouped into phrases, okay? 459 00:23:08,300 --> 00:23:12,140 So, this type of information, we need to analyze the structure. 460 00:23:12,240 --> 00:23:15,880 We want to see what the phrase structure is so we can infer something about the meaning. 461 00:23:16,120 --> 00:23:16,480 Okay? 462 00:23:16,480 --> 00:23:17,240 Because, basically, in order to... 463 00:23:17,440 --> 00:23:21,840 If you recognize that something is a question or something is a command, you've got to know about the structure of the sentence. 464 00:23:22,480 --> 00:23:28,760 So, the first thing we do when we get the sentence is we hand it off to a parser, and the parser gives us this parse tree that you see on the right. 465 00:23:29,840 --> 00:23:33,420 Actually, it gives several parse trees that are possible, and we take the best ones. 466 00:23:35,340 --> 00:23:41,400 Okay, so then, once we've got the parse tree for the sentence, then we look for patterns in the parse tree that match what we're looking for. 467 00:23:41,500 --> 00:23:42,620 So, we're looking specifically for... 468 00:23:42,620 --> 00:23:44,680 First, we're looking for questions and commands, right? 469 00:23:45,720 --> 00:23:47,020 And so, and there... 470 00:23:47,440 --> 00:23:49,600 You can see them as patterns inside the parse tree. 471 00:23:49,700 --> 00:23:52,520 So, if you see a particular subtree, then you say, oh, that's a question. 472 00:23:52,800 --> 00:23:54,860 And if you see another subtree, oh, that's a command. 473 00:23:55,320 --> 00:23:56,800 Now, how did I find that, figure that out? 474 00:23:57,000 --> 00:24:01,960 I went to many grammar books, like thick old English grammar books, and they have many rules. 475 00:24:02,380 --> 00:24:05,320 Oh, you know, here are all the hundred ways to write questions, right? 476 00:24:05,380 --> 00:24:07,580 You can write a question like this and put this first and that first. 477 00:24:07,660 --> 00:24:08,720 You can write a question like that. 478 00:24:09,060 --> 00:24:10,440 There's a long list, okay? 479 00:24:10,580 --> 00:24:15,560 And you can look at them, but looking at that, I can say, oh, based on that, I can... 480 00:24:15,880 --> 00:24:16,860 Actually, I didn't do this. 481 00:24:16,860 --> 00:24:18,300 My student Yuki did this, okay? 482 00:24:18,940 --> 00:24:20,220 I take too much credit. 483 00:24:20,420 --> 00:24:21,900 I did part of it, but he really did it. 484 00:24:21,960 --> 00:24:26,560 He looked for patterns in the sentences and said, oh, yeah, that matches the rule in this part of the book. 485 00:24:26,700 --> 00:24:26,920 Okay. 486 00:24:26,980 --> 00:24:29,160 So, questions can be formed like this and like that. 487 00:24:29,180 --> 00:24:30,480 That's this pattern in the tree. 488 00:24:30,800 --> 00:24:31,820 So, for instance, here. 489 00:24:32,860 --> 00:24:33,800 This is a question. 490 00:24:33,980 --> 00:24:34,740 Can I eat? 491 00:24:34,920 --> 00:24:35,220 Okay. 492 00:24:36,580 --> 00:24:39,300 Now, this is a question because it... 493 00:24:39,300 --> 00:24:41,960 So, can is a modal verb, okay? 494 00:24:42,380 --> 00:24:43,500 And I is a pronoun. 495 00:24:43,940 --> 00:24:46,840 And if you invert them, if you have them in that order that you see them there, 496 00:24:46,860 --> 00:24:49,640 the modal verb and then the pronoun, that's a question. 497 00:24:50,420 --> 00:24:51,340 That's a type of question. 498 00:24:51,520 --> 00:24:55,560 Now, if you would reverse it, if you have pronoun and modal, so if you say, I can eat, then that's a statement. 499 00:24:55,720 --> 00:24:57,480 But if you switch them, then it's a question, okay? 500 00:24:57,760 --> 00:25:00,620 So, that's a type of pattern that we can see in the parse tree. 501 00:25:00,880 --> 00:25:01,640 We can look... 502 00:25:01,640 --> 00:25:04,980 So, it's in the parse tree where it says, above can, it says MD, like modal. 503 00:25:05,120 --> 00:25:05,420 I'm like, aha. 504 00:25:05,720 --> 00:25:06,100 Go ahead. 505 00:25:06,220 --> 00:25:06,560 Question? 506 00:25:06,700 --> 00:25:08,940 The only problem with that is inflection. 507 00:25:10,060 --> 00:25:11,580 If I go off at the end... 508 00:25:11,580 --> 00:25:12,060 Yeah, yeah. 509 00:25:12,340 --> 00:25:12,700 Okay. 510 00:25:12,760 --> 00:25:15,800 So, what he's saying is, the problem with that is inflection. 511 00:25:16,240 --> 00:25:16,840 So, if I go off at the end... 512 00:25:16,860 --> 00:25:20,060 Inflection meaning the way you're speaking, the tone of speech, right? 513 00:25:20,200 --> 00:25:25,320 So, another way to do questions is to put a da-da-da-da, raise the pitch at the end, and that's a question. 514 00:25:25,480 --> 00:25:26,320 That's true, right? 515 00:25:26,500 --> 00:25:27,540 You know, and you put that pitch. 516 00:25:27,820 --> 00:25:29,000 I don't deal with that. 517 00:25:29,100 --> 00:25:35,780 Okay, that's phonology, and I don't deal with that, mostly because I don't know enough about digital signal processing to handle that. 518 00:25:36,140 --> 00:25:41,020 There are people who do research in that, but it was more complexity than I really wanted to deal with. 519 00:25:41,100 --> 00:25:41,520 But you're right. 520 00:25:41,600 --> 00:25:44,500 You can get a lot of information from the sound. 521 00:25:44,940 --> 00:25:46,820 And actually, to tell you the truth, the next... 522 00:25:46,860 --> 00:25:52,580 The thing I have a student working on right now is telling where sentences end and the next one begins, right? 523 00:25:52,640 --> 00:25:55,480 You can tell a lot of that from the sound, and we need that, right? 524 00:25:55,620 --> 00:25:57,240 Because we have to parse sentence by sentence. 525 00:25:57,360 --> 00:26:00,520 So, I need to know, oh, this sentence ended, and I need to look at the sound. 526 00:26:00,580 --> 00:26:02,000 So, I have a student looking at it right now. 527 00:26:02,340 --> 00:26:03,640 There are tools that do some of that. 528 00:26:04,440 --> 00:26:04,800 Question? 529 00:26:04,900 --> 00:26:05,180 Oh, sorry. 530 00:26:05,280 --> 00:26:05,500 Go ahead. 531 00:26:06,220 --> 00:26:09,820 I was just wondering, you know your previous example with answers to books? 532 00:26:10,000 --> 00:26:10,260 Yeah. 533 00:26:10,480 --> 00:26:13,840 Okay, now, you have a sentence like the answers to the brain. 534 00:26:14,900 --> 00:26:16,200 He's talking about... 535 00:26:20,380 --> 00:26:24,560 The different senses of the verb? 536 00:26:25,600 --> 00:26:26,480 I'll say no. 537 00:26:26,780 --> 00:26:32,140 Basically, because in the end, what I'm going to do is I'm going to take the verb and the direct object and look them up in my blacklist. 538 00:26:33,040 --> 00:26:36,180 And, you know, I guess, yeah, I don't. 539 00:26:36,200 --> 00:26:41,120 I guess if there was a sense difference like that, like, you know, take... 540 00:26:41,780 --> 00:26:42,560 Yeah, take... 541 00:26:42,560 --> 00:26:43,640 It's hard to imagine. 542 00:26:43,820 --> 00:26:45,440 But, I mean, I know what you're saying. 543 00:26:46,200 --> 00:26:46,880 Yeah, I know. 544 00:26:47,020 --> 00:26:49,040 I know, but I'm trying to think of a social engineering context. 545 00:26:49,280 --> 00:26:58,100 Again, in context, I mean, if you're talking about model trains, and, you know, that's going to be some subject matter that's kind of out there. 546 00:26:58,740 --> 00:26:59,060 Yeah. 547 00:26:59,080 --> 00:27:00,040 And that's where you're... 548 00:27:01,080 --> 00:27:01,400 Yeah. 549 00:27:02,900 --> 00:27:03,820 Yeah, I'll say... 550 00:27:03,820 --> 00:27:05,160 No, I mean, I don't deal with that now. 551 00:27:05,580 --> 00:27:08,460 You're saying the fact that verbs can be used in many senses based on... 552 00:27:08,460 --> 00:27:11,240 And you can tell what sense is being used based on the direct object, right? 553 00:27:11,380 --> 00:27:12,300 You can say, oh, it's a train. 554 00:27:12,360 --> 00:27:13,120 I'm taking a train. 555 00:27:13,240 --> 00:27:14,440 I could be taking... 556 00:27:14,440 --> 00:27:15,720 Or if I'm taking a... 557 00:27:16,200 --> 00:27:20,020 If I'm taking a ball, I can't be riding the ball to the street, you know, store or something. 558 00:27:20,340 --> 00:27:21,880 Yeah, I don't do that. 559 00:27:22,060 --> 00:27:22,780 I don't do that. 560 00:27:23,020 --> 00:27:24,680 But, yeah, it's possible. 561 00:27:24,860 --> 00:27:25,780 But I don't do it. 562 00:27:26,460 --> 00:27:27,100 It would be... 563 00:27:27,100 --> 00:27:27,640 It could be useful. 564 00:27:27,780 --> 00:27:28,120 I can't... 565 00:27:28,120 --> 00:27:28,540 Yeah. 566 00:27:31,440 --> 00:27:31,800 Okay. 567 00:27:32,500 --> 00:27:32,860 Okay. 568 00:27:33,180 --> 00:27:37,920 So, there are patterns in the tree that you can recognize. 569 00:27:38,160 --> 00:27:39,300 And so that's basically what we do. 570 00:27:39,480 --> 00:27:42,200 So, there's a pattern. 571 00:27:42,400 --> 00:27:43,380 It's called Treg. 572 00:27:43,960 --> 00:27:44,320 TregX. 573 00:27:44,340 --> 00:27:45,240 You know RegX, right? 574 00:27:45,280 --> 00:27:46,080 Regular expression match. 575 00:27:46,200 --> 00:27:49,000 Well, there's a tree version of that called TregX. 576 00:27:49,120 --> 00:27:53,220 And my student writes patterns in this pattern matcher and it looks for patterns in the tree. 577 00:27:53,880 --> 00:27:55,320 And so we can see... 578 00:27:55,320 --> 00:27:59,340 So, based on, you know, on the parse tree, you can find subtrees. 579 00:27:59,360 --> 00:28:00,940 Basically, we're looking for subtrees in the parse tree. 580 00:28:01,100 --> 00:28:04,320 And when we see a particular subtweet, we can say it's a question or it's a command 581 00:28:04,320 --> 00:28:06,740 and know that we should examine it more closely. 582 00:28:08,920 --> 00:28:09,280 Okay. 583 00:28:09,320 --> 00:28:10,660 And then we have topic blacklists. 584 00:28:10,780 --> 00:28:15,260 So, like I say, we're going to get the question, get the command, try to figure out what the topic is. 585 00:28:15,340 --> 00:28:16,180 The verb and direct object. 586 00:28:16,200 --> 00:28:18,620 And then we're going to look it up in a blacklist. 587 00:28:18,760 --> 00:28:24,480 So, somebody has to manually make a blacklist of, you know, these action resource pairs. 588 00:28:24,620 --> 00:28:27,200 Action being the verb, resource being the direct object, right? 589 00:28:27,320 --> 00:28:30,340 And somebody just has to make that up ahead of time. 590 00:28:30,640 --> 00:28:34,100 And so we have an example one that we use, but somebody has to give you that. 591 00:28:35,540 --> 00:28:40,660 And, you know, you can have, you know, click link or send money, stuff like that, you can put in your list. 592 00:28:40,740 --> 00:28:41,700 And we just look through the list. 593 00:28:41,840 --> 00:28:42,960 Or you could use a wild card. 594 00:28:43,100 --> 00:28:45,540 You know, if anybody asks about the firewall at all, then you'll hit it. 595 00:28:45,580 --> 00:28:46,180 Something like that. 596 00:28:48,320 --> 00:28:48,640 Okay. 597 00:28:48,800 --> 00:28:49,900 Making a topic blacklist. 598 00:28:50,060 --> 00:28:51,120 Yeah, you've got to do it manually. 599 00:28:52,320 --> 00:28:52,960 Oh, question. 600 00:28:53,080 --> 00:28:53,280 I'm sorry. 601 00:28:53,320 --> 00:28:53,580 Go ahead. 602 00:28:55,680 --> 00:28:56,000 Yeah. 603 00:28:58,620 --> 00:28:59,100 One second. 604 00:28:59,180 --> 00:28:59,680 This one, right? 605 00:29:00,840 --> 00:29:01,320 I'm sorry. 606 00:29:01,400 --> 00:29:01,940 I didn't hear the question. 607 00:29:05,600 --> 00:29:05,920 No. 608 00:29:06,140 --> 00:29:08,840 Like I'm showing there, I put an asterisk for the action. 609 00:29:08,980 --> 00:29:12,400 So, I just put at the bottom, you know, star and then firewall. 610 00:29:12,680 --> 00:29:14,440 So, you could leave it alone. 611 00:29:14,680 --> 00:29:16,000 But then it would catch anything. 612 00:29:16,200 --> 00:29:21,480 Anytime somebody's asking you about a firewall, it would warn you, which might lead to false positives. 613 00:29:22,240 --> 00:29:24,440 But you don't have to have it strictly have an action. 614 00:29:25,520 --> 00:29:26,840 You pretty much have to have a resource. 615 00:29:27,980 --> 00:29:28,920 Or, put it like this. 616 00:29:28,960 --> 00:29:32,360 You don't have to have a resource either, but it's hard for me to imagine a case where you wouldn't have a resource. 617 00:29:32,680 --> 00:29:33,600 But, yeah. 618 00:29:34,280 --> 00:29:37,480 So, yeah, you would tend to get false positives more if you leave it more open. 619 00:29:40,120 --> 00:29:40,440 Okay. 620 00:29:42,520 --> 00:29:42,840 Okay. 621 00:29:42,920 --> 00:29:44,200 So, yeah, you have to make this. 622 00:29:44,320 --> 00:29:46,180 And typically, when you make the blacklist, how would it? 623 00:29:46,200 --> 00:29:51,480 Imagine you'd take into consideration whatever resources you have to protect, you know? 624 00:29:51,560 --> 00:29:56,280 So, if you're at, you know, a bank, then you want to have bank-specific stuff. 625 00:29:56,360 --> 00:30:01,060 Say, yeah, you got some organization, you know you have network equipment, then you would say manipulate network equipment. 626 00:30:01,200 --> 00:30:05,160 You wouldn't want somebody to tell you to go reboot the thing or change the password on this network equipment. 627 00:30:05,480 --> 00:30:09,120 So, you would put stuff specific to whatever you're trying to protect. 628 00:30:09,420 --> 00:30:10,060 You've got to imagine. 629 00:30:12,640 --> 00:30:13,040 Okay. 630 00:30:13,100 --> 00:30:14,820 And then detecting malicious statements. 631 00:30:14,960 --> 00:30:15,200 So. 632 00:30:16,200 --> 00:30:19,180 You detect the question of command with a pattern. 633 00:30:19,320 --> 00:30:25,220 And I'm just showing a little, what I'm highlighting there is the subtree that tells me, okay, this is a command. 634 00:30:25,700 --> 00:30:30,040 So, like, in this instance, so there are several ways to make commands and imperative statements, right? 635 00:30:30,440 --> 00:30:32,280 Like, this sentence is reset the router. 636 00:30:32,460 --> 00:30:32,980 That's a command. 637 00:30:33,600 --> 00:30:34,980 So, how do I know that's a command? 638 00:30:35,340 --> 00:30:38,940 Because you've got the verb and there's no subject in front of it. 639 00:30:39,100 --> 00:30:39,500 Okay. 640 00:30:39,620 --> 00:30:43,720 So, I didn't say Joe resets the router. 641 00:30:44,000 --> 00:30:45,280 I say reset the router. 642 00:30:45,460 --> 00:30:46,180 There's no subject. 643 00:30:46,200 --> 00:30:46,820 There's no subject in front. 644 00:30:47,020 --> 00:30:47,280 Right? 645 00:30:47,400 --> 00:30:48,520 So, then it's a command. 646 00:30:48,880 --> 00:30:49,320 Right? 647 00:30:49,440 --> 00:30:51,380 And that's a form of imperative sentence. 648 00:30:51,720 --> 00:30:51,880 Right? 649 00:30:52,040 --> 00:31:07,560 So, that pattern, if I see this subtree that I've highlighted where there's a verb phrase with a verb in the front and then a noun phrase after it and there's nothing before the verb phrase, no noun phrase before it, then I say, okay, that's how I detect a command. 650 00:31:07,860 --> 00:31:09,080 Or that's one pattern for a command. 651 00:31:09,220 --> 00:31:09,780 There are a few more. 652 00:31:10,560 --> 00:31:11,000 Okay. 653 00:31:11,040 --> 00:31:15,620 So, based on these rules of English grammar, we make these patterns that are subtrees. 654 00:31:16,200 --> 00:31:20,340 And each one of these patterns, you have to be able to find the action and the resource. 655 00:31:20,560 --> 00:31:20,820 Right? 656 00:31:20,840 --> 00:31:21,960 The verb and the noun. 657 00:31:22,780 --> 00:31:26,980 So, each one of these patterns would have associated with it basically a rule to find the verb and the noun. 658 00:31:27,120 --> 00:31:33,300 So, like this guy, that pattern that I've highlighted, see under the VB, right, the verb under that, that is the action. 659 00:31:33,640 --> 00:31:40,840 And then under the NP over there, the noun that's under that, if you look further under that NN, the noun, that's the resource. 660 00:31:41,280 --> 00:31:46,180 And so, once I find that pattern, I can say, okay, here's my action, here's my resource and pull out what I've got. 661 00:31:46,200 --> 00:31:49,100 I'm calling the topic of the question or command, the command in this case. 662 00:31:49,960 --> 00:31:52,380 And then I basically take that and look it up in my blacklist. 663 00:31:52,520 --> 00:31:54,680 And, you know, if I hit it, then I say it's an attack. 664 00:31:57,200 --> 00:31:57,620 So, yeah. 665 00:31:57,660 --> 00:31:58,520 So, this is structured system. 666 00:31:58,900 --> 00:31:59,860 Just to say, oh, go ahead. 667 00:31:59,900 --> 00:32:00,140 Question. 668 00:32:05,620 --> 00:32:05,940 Yes. 669 00:32:06,900 --> 00:32:08,700 So, somebody's speaking incorrect English. 670 00:32:09,280 --> 00:32:10,400 Yes and no, you know. 671 00:32:10,440 --> 00:32:10,900 Go ahead. 672 00:32:11,780 --> 00:32:12,100 Yoda. 673 00:32:12,660 --> 00:32:12,980 Yeah. 674 00:32:13,220 --> 00:32:14,240 Yoda would mess it up. 675 00:32:15,420 --> 00:32:16,180 Yoda and his dance. 676 00:32:16,200 --> 00:32:16,540 Yeah, of course. 677 00:32:21,660 --> 00:32:29,360 I would say, they would, well, I don't know how your English is. 678 00:32:29,620 --> 00:32:35,080 But, you know, I would say, look, it depends on the parser. 679 00:32:35,740 --> 00:32:39,540 Because the Stanford, so first, my first thought, I would say, yes, it would tend to fail. 680 00:32:39,960 --> 00:32:42,740 But the Stanford parser is pretty darn clever. 681 00:32:42,920 --> 00:32:45,680 Meaning they use machine learning to train that thing. 682 00:32:46,200 --> 00:32:48,720 It knows a lot of broken English, you know. 683 00:32:48,760 --> 00:32:51,820 And it will parse correctly in spite of the fact that the English is broken. 684 00:32:52,460 --> 00:32:55,440 So, it may work anyway, but that wouldn't be because of me. 685 00:32:55,500 --> 00:32:57,000 Because the Stanford parser is smart. 686 00:32:57,340 --> 00:33:00,520 But generally, yeah, it would tend to fail if English isn't correct. 687 00:33:00,800 --> 00:33:02,520 And which, by the way, is a weakness, right? 688 00:33:02,580 --> 00:33:04,800 Because say you're looking at texts or something. 689 00:33:05,100 --> 00:33:06,960 People write garbage all the time. 690 00:33:09,780 --> 00:33:10,680 Yeah, yeah. 691 00:33:10,800 --> 00:33:11,460 I don't know. 692 00:33:11,520 --> 00:33:11,880 But, yeah. 693 00:33:12,000 --> 00:33:12,540 I don't know what. 694 00:33:12,740 --> 00:33:13,140 Yeah. 695 00:33:13,460 --> 00:33:13,860 Yeah. 696 00:33:13,860 --> 00:33:15,120 But then, yeah, that's right. 697 00:33:15,280 --> 00:33:15,800 But, you know. 698 00:33:16,520 --> 00:33:20,040 I could also argue that, you know, when you're having a person-to-person conversation, 699 00:33:20,540 --> 00:33:23,960 usually, if you're trying to social engineer somebody, you're usually not using broken English. 700 00:33:25,380 --> 00:33:26,460 But I don't know if that's true. 701 00:33:26,560 --> 00:33:27,060 Maybe I'm wrong. 702 00:33:31,980 --> 00:33:32,340 Yeah. 703 00:33:35,840 --> 00:33:36,760 That's, yeah, yeah. 704 00:33:36,920 --> 00:33:38,660 Generally, you want to be clear, right? 705 00:33:38,900 --> 00:33:41,080 Actually, in fact, that brings up something. 706 00:33:41,120 --> 00:33:43,900 Another complaint from my rejected proposal, which I'll bring up with you guys. 707 00:33:43,960 --> 00:33:44,280 See what you think. 708 00:33:44,620 --> 00:33:46,040 So, one complaint. 709 00:33:46,200 --> 00:33:50,240 One complaint about this was that they said, look, you know, this is going to be an arms race, right? 710 00:33:50,360 --> 00:33:57,220 Because as soon as you get this system working, then attackers, social engineers will say, oh, well, I'm going to say something in a way that this doesn't detect. 711 00:33:57,340 --> 00:34:02,040 Like, all of you will go out there and figure out, you know, you'll see what I'm doing and do something to mess it up, right? 712 00:34:02,700 --> 00:34:04,020 And so, it'll be an arms race. 713 00:34:04,100 --> 00:34:05,800 And then we'll go back and forth, like malware, right? 714 00:34:06,300 --> 00:34:09,360 And so, I would say that it's not as bad as malware. 715 00:34:09,500 --> 00:34:11,100 Malware can change forever, you know. 716 00:34:11,120 --> 00:34:11,820 You can detect it. 717 00:34:11,860 --> 00:34:12,520 Then they twist it. 718 00:34:12,760 --> 00:34:16,060 But with human speech, you can't change. 719 00:34:16,200 --> 00:34:16,700 You can't change it so far. 720 00:34:16,840 --> 00:34:18,740 I mean, humans only understand so much. 721 00:34:18,820 --> 00:34:21,320 When you start saying, how many ways can you ask a question? 722 00:34:21,480 --> 00:34:25,180 If you garble it too much, the target won't understand what you're saying. 723 00:34:25,420 --> 00:34:26,980 So, I think there's like a limit. 724 00:34:27,200 --> 00:34:29,100 Like, you can only go this far, right? 725 00:34:29,220 --> 00:34:31,080 And then you can't go beyond that. 726 00:34:31,220 --> 00:34:33,360 So, I don't think an arms race would happen. 727 00:34:33,560 --> 00:34:37,660 I mean, eventually, you'd cover the space of what humans can understand, and then you'd be done, you know. 728 00:34:38,920 --> 00:34:39,320 Question? 729 00:34:40,220 --> 00:34:40,620 Question? 730 00:34:41,340 --> 00:34:44,740 Do you bring it up enough for what's possible? 731 00:34:44,920 --> 00:34:45,860 So, if I can take this. 732 00:34:51,040 --> 00:34:55,200 If you can trick my system to do false positives all the time, nobody will use my system. 733 00:34:55,420 --> 00:34:55,980 That's true. 734 00:34:56,480 --> 00:34:56,980 That's true. 735 00:34:57,100 --> 00:35:02,100 And look, in the state that it's in, like I say, you know, it missed like four out of ten, right? 736 00:35:02,180 --> 00:35:04,180 In the current state that it's in, I wouldn't use it. 737 00:35:04,460 --> 00:35:09,700 But, all I'm saying is, this is a start in the right direction, is what I'm hoping, you know. 738 00:35:10,300 --> 00:35:12,140 Yeah, I'm not saying this is the end at all. 739 00:35:12,640 --> 00:35:13,460 Yeah, that's true. 740 00:35:13,460 --> 00:35:16,640 And you, you know, and you could go for a long time trying to minimize the false positives, 741 00:35:16,740 --> 00:35:19,660 adding more and more context, be more sophisticated about it. 742 00:35:20,180 --> 00:35:24,740 Yeah, I would imagine that it would take a long time before it was tuned well enough to be really useful. 743 00:35:26,140 --> 00:35:26,500 Question? 744 00:35:27,660 --> 00:35:28,020 Question? 745 00:35:41,560 --> 00:35:42,520 Wait, I'm sorry. 746 00:35:42,620 --> 00:35:42,960 Wait. 747 00:35:43,460 --> 00:35:49,080 I'm having a hard time hearing you, but I think you said if you're, if the attacker is feeding the target information or the other way around? 748 00:35:56,860 --> 00:35:59,200 Yeah, but I could detect that question. 749 00:35:59,460 --> 00:36:00,020 You know what I'm saying? 750 00:36:00,560 --> 00:36:01,680 I'd be like, oh, somebody... 751 00:36:05,400 --> 00:36:05,800 What? 752 00:36:11,680 --> 00:36:13,440 I mean, if the other question... 753 00:36:13,460 --> 00:36:17,560 If the other questions have the action, so, for instance, manipulated network equipment, right? 754 00:36:19,760 --> 00:36:20,440 What are you saying? 755 00:36:21,580 --> 00:36:23,460 Like, give me an example of what you're saying that has no action. 756 00:36:24,720 --> 00:36:25,960 There's a verb in there, right? 757 00:36:26,640 --> 00:36:27,560 Are you running? 758 00:36:28,380 --> 00:36:28,780 Running. 759 00:36:30,460 --> 00:36:31,140 Running's a verb. 760 00:36:31,400 --> 00:36:32,140 You know what I'm saying? 761 00:36:32,280 --> 00:36:34,100 You can't have a sentence without a verb, I think. 762 00:36:34,380 --> 00:36:38,260 If the action virus is a formal standard, it can't have any of those things involved in it. 763 00:36:38,860 --> 00:36:39,420 I'm sorry? 764 00:36:39,620 --> 00:36:41,620 If the action exists itself, how does that mean? 765 00:36:42,280 --> 00:36:43,280 If something exists. 766 00:36:43,460 --> 00:36:43,640 It's... 767 00:36:43,640 --> 00:36:44,420 Yeah. 768 00:36:44,600 --> 00:36:46,520 I think you're running into a... 769 00:36:49,980 --> 00:36:52,600 Yeah, but you're going to have to start confusing your target. 770 00:36:52,980 --> 00:36:56,600 Look, what you're talking about, I'm talking like Yoda. 771 00:36:59,420 --> 00:37:01,000 Your target's going to be like... 772 00:37:01,520 --> 00:37:04,380 You know, I'll tell you something. 773 00:37:04,480 --> 00:37:05,320 Something to go... 774 00:37:05,320 --> 00:37:05,800 Something that... 775 00:37:05,800 --> 00:37:07,020 Something about what you're saying. 776 00:37:07,440 --> 00:37:09,380 So, the verb is. 777 00:37:09,900 --> 00:37:11,580 Is is quite a pain, right? 778 00:37:11,680 --> 00:37:12,900 Because is is very... 779 00:37:13,460 --> 00:37:14,620 It's ubiquitous and generic. 780 00:37:14,900 --> 00:37:16,400 Like, it's a useless... 781 00:37:16,400 --> 00:37:17,800 You know, it's sort of useless. 782 00:37:17,980 --> 00:37:20,600 Is alone doesn't tell you anything about the action, right? 783 00:37:20,880 --> 00:37:24,680 So, in those cases, you have to use other information in the sentence. 784 00:37:24,960 --> 00:37:27,760 So, for instance, if you say where is something, 785 00:37:28,260 --> 00:37:31,420 then the is doesn't tell you what they're asking for, but the where does. 786 00:37:32,460 --> 00:37:35,720 So, and I haven't done that yet, but that's what I would have to do. 787 00:37:35,820 --> 00:37:36,720 I'd have to use other words. 788 00:37:36,860 --> 00:37:37,000 Yes, no. 789 00:37:37,240 --> 00:37:37,920 Yes, no. 790 00:37:41,240 --> 00:37:43,240 But I can detect yes, no. 791 00:37:43,280 --> 00:37:43,440 Yes, no. 792 00:37:43,440 --> 00:37:45,760 I can detect yes, no questions and see what resource they're asking about. 793 00:37:46,440 --> 00:37:47,080 You know what I'm saying? 794 00:37:47,260 --> 00:37:48,780 I can detect yes, no questions. 795 00:37:49,600 --> 00:37:51,740 And if they're asking... 796 00:37:51,740 --> 00:37:52,160 Okay. 797 00:37:53,000 --> 00:37:53,360 Okay. 798 00:37:53,820 --> 00:37:54,360 I mean, look. 799 00:37:54,920 --> 00:37:55,280 Yeah. 800 00:37:55,380 --> 00:37:57,760 I don't think I totally disagree with you on this, but... 801 00:37:58,620 --> 00:37:59,560 Anyway, I'll keep going. 802 00:38:00,840 --> 00:38:01,200 Okay. 803 00:38:01,600 --> 00:38:02,260 Any questions? 804 00:38:02,520 --> 00:38:02,780 Okay. 805 00:38:04,420 --> 00:38:04,880 All right. 806 00:38:04,920 --> 00:38:05,880 So, yeah, here's the system. 807 00:38:05,960 --> 00:38:07,220 And I already said this, but I'll say it real quick. 808 00:38:07,420 --> 00:38:08,540 So, we parse a sentence. 809 00:38:08,640 --> 00:38:09,260 So, you get a sentence. 810 00:38:09,340 --> 00:38:09,840 Parse it. 811 00:38:09,940 --> 00:38:10,920 You get a parse tree. 812 00:38:11,280 --> 00:38:13,260 You detect if it's a question or command by math. 813 00:38:13,440 --> 00:38:14,320 Finding patterns in the tree. 814 00:38:14,740 --> 00:38:17,620 Then you extract the topic by, basically, from those patterns. 815 00:38:17,700 --> 00:38:19,600 You find the verb and the direct object. 816 00:38:19,860 --> 00:38:21,320 The action and the resource. 817 00:38:21,720 --> 00:38:23,320 And then you basically compare that. 818 00:38:23,400 --> 00:38:24,340 You look it up in a black list. 819 00:38:24,460 --> 00:38:25,980 And if it matches, then you hit. 820 00:38:26,120 --> 00:38:26,640 And that's it. 821 00:38:27,900 --> 00:38:30,300 Oh, and for this, we use plenty of off-the-shelf stuff. 822 00:38:30,560 --> 00:38:32,820 So, parsing the sentence, we don't do that. 823 00:38:32,920 --> 00:38:35,560 We use the Stanford parser because it's a really good parser. 824 00:38:35,980 --> 00:38:37,660 You can just download it and use it. 825 00:38:37,940 --> 00:38:38,980 And it has a... 826 00:38:38,980 --> 00:38:39,780 It's pretty thorough. 827 00:38:40,260 --> 00:38:42,920 And we use t-rejects to detect the patterns. 828 00:38:44,420 --> 00:38:46,860 Also, it actually comes with the Stanford parser download. 829 00:38:47,160 --> 00:38:48,440 It just finds regular expression. 830 00:38:48,680 --> 00:38:49,920 You know, sub-trees in the tree. 831 00:38:50,280 --> 00:38:51,920 And we detect the patterns using that. 832 00:38:54,320 --> 00:38:55,160 Okay, and... 833 00:38:55,160 --> 00:38:56,060 Yeah, okay. 834 00:38:56,140 --> 00:38:57,200 So, just some related work. 835 00:38:57,460 --> 00:38:58,680 I'll be kind of quick with this. 836 00:39:00,120 --> 00:39:01,980 Other people who have done similar things... 837 00:39:01,980 --> 00:39:02,620 Related things. 838 00:39:02,960 --> 00:39:05,020 These are kind of old, so I don't know if they're useful. 839 00:39:05,980 --> 00:39:06,900 Yeah, maybe I'll be quick. 840 00:39:07,180 --> 00:39:07,740 Phishing attacks. 841 00:39:08,020 --> 00:39:10,500 So, like with phishing attacks, phishing emails, you want to detect them. 842 00:39:11,180 --> 00:39:12,820 A lot of these phishing attack approaches, 843 00:39:13,440 --> 00:39:14,400 what they do is they look for... 844 00:39:14,400 --> 00:39:16,400 They don't look at the meaning of the text, okay? 845 00:39:16,520 --> 00:39:20,000 They look for other things about the email that look suspicious, 846 00:39:20,260 --> 00:39:23,440 like the URL, URLs, and stuff like this that are in the email, 847 00:39:23,620 --> 00:39:26,380 but they don't look at the text and try to extract the meaning of the text. 848 00:39:27,100 --> 00:39:29,980 So, that might work on an email, but not like in a text... 849 00:39:29,980 --> 00:39:30,720 Not in a dialogue. 850 00:39:32,140 --> 00:39:33,280 Oh, go ahead. 851 00:39:33,540 --> 00:39:34,800 I do have a question. 852 00:39:34,960 --> 00:39:37,020 So, if you go to Google or start with a Google, 853 00:39:37,280 --> 00:39:40,260 you look at phishing, there's 30 years of research, 854 00:39:40,940 --> 00:39:42,040 and you looked at... 855 00:39:47,860 --> 00:39:48,420 Yeah, yeah. 856 00:39:55,920 --> 00:39:59,660 Yeah, okay. 857 00:39:59,840 --> 00:40:01,140 So, let me just re-say what you said. 858 00:40:01,240 --> 00:40:03,400 You said, look, there's been 30 years of research in phishing detection, 859 00:40:03,840 --> 00:40:05,940 and still it happens all the time, right? 860 00:40:06,760 --> 00:40:07,700 So, what does that say? 861 00:40:07,760 --> 00:40:09,640 It says they suck, roughly. 862 00:40:10,040 --> 00:40:10,740 No, not that. 863 00:40:10,860 --> 00:40:11,560 Let me not say that. 864 00:40:12,000 --> 00:40:12,660 That's going to be me. 865 00:40:13,440 --> 00:40:13,960 It could be improved. 866 00:40:14,740 --> 00:40:15,020 Okay? 867 00:40:15,060 --> 00:40:15,840 It says it could be improved. 868 00:40:15,980 --> 00:40:16,460 That's all it says. 869 00:40:16,680 --> 00:40:17,080 I know. 870 00:40:17,120 --> 00:40:19,880 I shouldn't say that, because probably people who did it are right in the room, you know? 871 00:40:20,940 --> 00:40:21,440 I'm sorry. 872 00:40:21,500 --> 00:40:22,160 That was a joke. 873 00:40:22,740 --> 00:40:23,440 Don't take that seriously. 874 00:40:23,740 --> 00:40:24,000 Go ahead. 875 00:40:24,020 --> 00:40:24,280 Question? 876 00:40:27,740 --> 00:40:28,020 Okay. 877 00:40:28,140 --> 00:40:29,880 So, first let me say, not enough. 878 00:40:30,440 --> 00:40:30,720 Right? 879 00:40:31,000 --> 00:40:32,480 What we did was we took... 880 00:40:33,640 --> 00:40:34,900 Yeah, well, we'll get to the slides. 881 00:40:35,060 --> 00:40:35,420 You know what? 882 00:40:35,440 --> 00:40:36,220 Let me go straight to them. 883 00:40:40,360 --> 00:40:41,300 Yeah, people are asking. 884 00:40:42,140 --> 00:40:42,600 Yeah, okay. 885 00:40:43,500 --> 00:40:43,860 Sorry. 886 00:40:45,260 --> 00:40:45,800 Yeah, that's it. 887 00:40:45,980 --> 00:40:46,340 Okay. 888 00:40:46,540 --> 00:40:47,300 So, the examples. 889 00:40:47,500 --> 00:40:49,660 So, we got three examples from Chris Hadnagy. 890 00:40:50,340 --> 00:40:53,980 We can't reveal a whole example, you know, because people don't like it when you reveal, 891 00:40:54,160 --> 00:40:56,780 when you expose their attack against them. 892 00:40:56,960 --> 00:41:01,060 So, you know, I just put little bits of it in here, but we got to look at them. 893 00:41:01,340 --> 00:41:06,480 There are three attacks and three dialogues, and there's a number of sentences in each dialogue, 894 00:41:06,660 --> 00:41:07,940 and the number of violations. 895 00:41:08,060 --> 00:41:11,800 So, violations is the number of sentences in there that are malicious, 896 00:41:11,920 --> 00:41:13,280 that are either asking a question. 897 00:41:13,620 --> 00:41:17,680 That they shouldn't ask, or asking you to do something you shouldn't do. 898 00:41:19,280 --> 00:41:22,160 So, across all of these, there are ten violations, okay? 899 00:41:22,220 --> 00:41:24,820 Ten sentences that are malicious that we should be able to detect. 900 00:41:25,520 --> 00:41:26,440 And we detect... 901 00:41:27,240 --> 00:41:29,920 Oh, and here's the topic blacklist that we used. 902 00:41:31,200 --> 00:41:31,840 This one... 903 00:41:31,840 --> 00:41:33,800 Now, we also use synonyms and hypernyms. 904 00:41:34,240 --> 00:41:36,900 We didn't put them all in here, but synonyms work, too. 905 00:41:37,000 --> 00:41:38,160 You have to pay attention to synonyms. 906 00:41:39,020 --> 00:41:40,180 But I didn't put them in here. 907 00:41:40,760 --> 00:41:42,140 And then, what did we get? 908 00:41:42,220 --> 00:41:43,340 We detected six of the ten. 909 00:41:43,440 --> 00:41:44,880 So, yeah, so validate... 910 00:41:44,880 --> 00:41:45,420 So, this is what we did. 911 00:41:45,500 --> 00:41:47,780 We did it on these three sentences, three dialogues, 912 00:41:48,000 --> 00:41:51,260 and we detected six of the ten with zero false positives. 913 00:41:51,560 --> 00:41:52,840 So, that's not nearly enough. 914 00:41:53,080 --> 00:41:57,080 And actually, that comes to my biggest complaint about the work, 915 00:41:57,180 --> 00:41:59,820 is that I haven't validated enough, right? 916 00:42:00,080 --> 00:42:05,180 So, for that, I need lots of social engineering attacks that I can scan through, 917 00:42:05,320 --> 00:42:07,180 and I cannot find them, okay? 918 00:42:07,260 --> 00:42:08,380 Now, I hear them. 919 00:42:08,420 --> 00:42:10,120 I heard them all day today, right? 920 00:42:10,380 --> 00:42:12,360 But I can't record that. 921 00:42:12,720 --> 00:42:13,160 So... 922 00:42:13,160 --> 00:42:15,220 So, it's a real problem, right? 923 00:42:15,420 --> 00:42:19,440 I mean, I can run it on, you know, just data that I know doesn't have social engineering attacks in it, 924 00:42:19,500 --> 00:42:23,200 but I want to run it against attacks so I can see if I can catch the malicious sentences, 925 00:42:23,380 --> 00:42:24,440 and I just don't have any. 926 00:42:24,600 --> 00:42:26,520 So, if anybody has any, let me know. 927 00:42:28,280 --> 00:42:29,820 Yeah, so I did it on as many as I could. 928 00:42:30,560 --> 00:42:30,880 Yeah. 929 00:42:33,000 --> 00:42:33,320 Okay. 930 00:42:34,460 --> 00:42:36,600 And then, let's go back real quick to what I was saying. 931 00:42:36,660 --> 00:42:38,740 Okay, so some of the patterns benefit our approach. 932 00:42:39,220 --> 00:42:40,200 Yeah, this is related work. 933 00:42:40,300 --> 00:42:41,860 Oh, this is a thing that we did. 934 00:42:42,440 --> 00:42:44,400 This is a thing that we did where we just looked at the words, okay? 935 00:42:44,500 --> 00:42:45,840 And we didn't look at the order. 936 00:42:46,080 --> 00:42:46,820 And we did it... 937 00:42:46,820 --> 00:42:48,120 Actually, what he did was... 938 00:42:48,120 --> 00:42:48,720 Well, my student... 939 00:42:48,720 --> 00:42:49,220 That student... 940 00:42:49,220 --> 00:42:49,620 This is Ram. 941 00:42:49,800 --> 00:42:51,000 This is one of the same students. 942 00:42:51,640 --> 00:42:52,080 He... 943 00:42:52,080 --> 00:42:54,900 What he validated on, he looked around for... 944 00:42:55,340 --> 00:42:59,560 Just, you know, scraped the internet, finding people who posted attacks. 945 00:42:59,880 --> 00:43:04,860 So, basically, people, like, got harassed by somebody trying to lure some money out of them, 946 00:43:04,920 --> 00:43:09,380 so they decided to engage in a conversation and record it and then post it, okay? 947 00:43:09,500 --> 00:43:11,220 So, he found three things like that. 948 00:43:11,860 --> 00:43:15,400 Now, the thing is, those aren't exactly good because, you know, the person, the attacker, 949 00:43:15,480 --> 00:43:16,220 the attack... 950 00:43:16,220 --> 00:43:17,940 The target knows they're a target, right? 951 00:43:18,040 --> 00:43:20,520 So, they're not responding in a natural way, you know? 952 00:43:21,100 --> 00:43:23,720 But, anyway, that's what he validated on, you know? 953 00:43:24,280 --> 00:43:24,640 On... 954 00:43:24,640 --> 00:43:25,820 This is previous work, though. 955 00:43:25,940 --> 00:43:27,400 And, actually, it worked pretty well. 956 00:43:27,560 --> 00:43:28,340 It worked pretty well. 957 00:43:28,440 --> 00:43:29,140 It was all... 958 00:43:29,140 --> 00:43:30,700 Like, it was mostly text, like Facebook chats. 959 00:43:31,160 --> 00:43:33,740 Two Facebook chats and one email conversation, you know? 960 00:43:34,020 --> 00:43:35,260 And that was... 961 00:43:35,260 --> 00:43:36,740 That was sort of broke... 962 00:43:36,740 --> 00:43:37,820 Like, no sentences. 963 00:43:37,980 --> 00:43:39,120 Like, people didn't put periods. 964 00:43:39,340 --> 00:43:40,180 No capitalization. 965 00:43:40,200 --> 00:43:41,620 You didn't know where sentences started and ended. 966 00:43:41,860 --> 00:43:42,960 So, it was harder to analyze. 967 00:43:43,140 --> 00:43:44,940 But, what he did was such a simple analysis. 968 00:43:45,160 --> 00:43:46,240 He just looked line after line. 969 00:43:46,360 --> 00:43:46,860 He looked for... 970 00:43:46,860 --> 00:43:48,960 Actually, he did the same topic blacklist thing, 971 00:43:49,100 --> 00:43:52,260 except he took the action and the resource and looked for them on the same line. 972 00:43:52,460 --> 00:43:54,180 So, if you find a line with the action and the resource, 973 00:43:54,280 --> 00:43:55,200 he said, okay, that's an attack. 974 00:43:55,600 --> 00:43:57,300 And it worked, like, 80% of the time. 975 00:43:58,280 --> 00:44:00,760 But, it wouldn't work in dialogues, you know? 976 00:44:00,920 --> 00:44:01,900 Dialogues are more complicated. 977 00:44:02,700 --> 00:44:05,020 Generic text, you know, it works all right. 978 00:44:05,320 --> 00:44:06,900 But, so... 979 00:44:06,900 --> 00:44:08,200 Yeah, now I have my... 980 00:44:08,200 --> 00:44:08,940 Here's an example. 981 00:44:09,560 --> 00:44:10,940 A specific example of... 982 00:44:10,940 --> 00:44:12,680 Where I use these two words, reset and router, 983 00:44:12,780 --> 00:44:14,680 the first sentence is a command you shouldn't do. 984 00:44:14,880 --> 00:44:17,280 The second sentence is just a comment, right? 985 00:44:17,400 --> 00:44:19,860 And it has the same two words, but they mean different things. 986 00:44:20,220 --> 00:44:22,920 And so, we could differentiate between those two. 987 00:44:23,160 --> 00:44:26,800 I would say, oh, the first one's a command, and the second one is not, right? 988 00:44:26,940 --> 00:44:28,600 And I wouldn't detect the second one. 989 00:44:28,880 --> 00:44:29,260 I wouldn't... 990 00:44:29,260 --> 00:44:32,840 And also, I wouldn't associate the verb and the direct object. 991 00:44:32,940 --> 00:44:38,160 I'd be able to tell that the router is not the direct object of the verb reset. 992 00:44:38,340 --> 00:44:39,720 So, I wouldn't associate them together. 993 00:44:39,840 --> 00:44:40,760 So, I would differentiate. 994 00:44:40,940 --> 00:44:41,440 I would associate those two. 995 00:44:42,020 --> 00:44:44,140 Now, then you might ask, well, how often does that type of thing happen? 996 00:44:44,720 --> 00:44:46,040 I don't know, you know. 997 00:44:46,100 --> 00:44:50,240 But I think there will be cases where, you know, you can't just look at the words. 998 00:44:50,260 --> 00:44:52,100 You have to be able to look at the structure of the sentence. 999 00:44:54,100 --> 00:44:54,380 Okay. 1000 00:44:55,400 --> 00:44:56,260 So, command detection. 1001 00:44:56,360 --> 00:44:57,960 I already gave you one of the patterns, you know. 1002 00:44:58,000 --> 00:44:59,300 Go home, stop right there. 1003 00:44:59,420 --> 00:45:00,540 You put the verb in the front. 1004 00:45:00,600 --> 00:45:03,200 You don't have a subject in front of it. 1005 00:45:03,860 --> 00:45:05,020 So, you can detect that pattern. 1006 00:45:05,140 --> 00:45:06,760 This is reset the router, same thing, right? 1007 00:45:06,780 --> 00:45:09,600 There's a verb, and there's a noun phrase after it, but there's none before. 1008 00:45:11,280 --> 00:45:13,020 Then, there are these softer imperatives. 1009 00:45:13,180 --> 00:45:16,920 So, often, direct commands, you don't necessarily want to command somebody to do something, 1010 00:45:17,020 --> 00:45:18,540 and, you know, it wakes them up. 1011 00:45:18,680 --> 00:45:21,080 So, you might say in a nice, oh, please do this. 1012 00:45:21,140 --> 00:45:22,880 You know, please reset the router, right? 1013 00:45:23,040 --> 00:45:25,960 Or, actually, you might say it like this one. 1014 00:45:26,000 --> 00:45:26,880 You should reset. 1015 00:45:27,000 --> 00:45:28,240 You could do this, right? 1016 00:45:28,340 --> 00:45:30,260 You could, you should, da-da-da-da, right? 1017 00:45:30,580 --> 00:45:33,440 So, this one, we're detecting, I'm calling it a soft imperative. 1018 00:45:33,660 --> 00:45:35,500 That's actually not the grammar term. 1019 00:45:35,560 --> 00:45:38,540 Like, in English grammar, there's a word for this type of a sentence, which I don't remember. 1020 00:45:39,440 --> 00:45:40,740 But, basically, that should. 1021 00:45:40,940 --> 00:45:41,940 Could, could, that's a modal verb. 1022 00:45:42,280 --> 00:45:45,640 So, if I see a you, so, basically, a subtree of this tree. 1023 00:45:45,780 --> 00:45:49,920 I see the you, and then I see some modal, and then I see a verb. 1024 00:45:50,280 --> 00:45:52,600 Then, I see a noun phrase after that. 1025 00:45:52,700 --> 00:45:53,520 Then, that pattern. 1026 00:45:53,640 --> 00:45:58,120 So, that subtree of there, I can say, okay, that's one of these softer imperatives, 1027 00:45:58,160 --> 00:46:01,340 where you're sort of suggesting, you could do this, you should do this, you know? 1028 00:46:01,640 --> 00:46:02,220 You might. 1029 00:46:03,720 --> 00:46:05,160 But, still, it's a command. 1030 00:46:05,220 --> 00:46:06,680 It's just sort of a softer way of saying it. 1031 00:46:08,580 --> 00:46:09,240 Question detection. 1032 00:46:09,360 --> 00:46:10,520 Okay, we already did this one. 1033 00:46:10,940 --> 00:46:13,100 Where you invert the modal and the subject. 1034 00:46:13,700 --> 00:46:16,080 And, actually, the parser catches this immediately. 1035 00:46:16,260 --> 00:46:18,920 That S-I-N-V tag, that means the subject's inverted. 1036 00:46:19,180 --> 00:46:20,520 It's short for S-subject-invert. 1037 00:46:20,680 --> 00:46:23,680 So, if you see the subject, the S-I-N-V tag, you know it's a question, 1038 00:46:23,820 --> 00:46:26,100 and it's with an inverted subject, the modal order. 1039 00:46:26,420 --> 00:46:28,340 Also, S-Q is a similar tag. 1040 00:46:28,580 --> 00:46:30,280 So, if you, that's actually a simple pattern. 1041 00:46:30,380 --> 00:46:32,360 You just see S-Q or S-I-N-V, and you know it's a question. 1042 00:46:34,400 --> 00:46:35,120 Open questions. 1043 00:46:35,140 --> 00:46:37,320 So, these are these who, what, where, when, why's. 1044 00:46:37,920 --> 00:46:40,240 And, actually, the parser catches all of these. 1045 00:46:40,240 --> 00:46:41,660 It has tags for every one. 1046 00:46:41,800 --> 00:46:44,320 If it sees who, what, where, when, and why, and how, 1047 00:46:44,420 --> 00:46:48,400 all being used as a question, it detects them and puts in the appropriate tag. 1048 00:46:48,580 --> 00:46:52,920 So, for instance, here, you see in there that W-H-N-P tag over the what, right? 1049 00:46:53,140 --> 00:46:54,960 That tells me, oh, this is a what question. 1050 00:46:55,600 --> 00:46:58,480 And so, the parser will actually catch that. 1051 00:46:58,540 --> 00:47:02,040 If it sees the who, what, where, when, why, how word in there, 1052 00:47:02,120 --> 00:47:05,320 and the sentences in the question structure, it'll put that tag in there. 1053 00:47:05,380 --> 00:47:09,100 So, all I have to do is see the tag, and I know it's an open question. 1054 00:47:09,280 --> 00:47:09,580 Go ahead. 1055 00:47:12,720 --> 00:47:14,060 Your password, please. 1056 00:47:17,940 --> 00:47:19,620 That would not, I would not catch that. 1057 00:47:20,280 --> 00:47:20,680 Yeah. 1058 00:47:21,000 --> 00:47:22,040 Yeah, that's true. 1059 00:47:22,740 --> 00:47:25,100 Nobody said that in my six examples. 1060 00:47:25,800 --> 00:47:27,240 But, yeah, I would catch that. 1061 00:47:28,720 --> 00:47:30,020 Okay, and then topic extraction. 1062 00:47:30,140 --> 00:47:36,680 So, each one of these patterns, they're associated with an action and a noun phrase, 1063 00:47:36,880 --> 00:47:38,180 and you can pull them out. 1064 00:47:40,180 --> 00:47:41,840 And detection algorithm, I already said this. 1065 00:47:41,900 --> 00:47:43,380 This is just restating it more formally. 1066 00:47:43,660 --> 00:47:45,640 Except to say that parse and best. 1067 00:47:45,800 --> 00:47:47,980 So, the parser, it doesn't just come up with one parse tree. 1068 00:47:48,080 --> 00:47:50,220 It comes up with a bunch of parses that are legal, 1069 00:47:50,320 --> 00:47:52,260 and we just pick the best one and use that. 1070 00:47:53,080 --> 00:47:53,880 Or the end best. 1071 00:47:54,000 --> 00:47:55,140 And we look through, actually, yeah, 10. 1072 00:47:55,320 --> 00:47:58,680 We're using the top 10, and we're looking to see if any of them are attacks. 1073 00:48:00,120 --> 00:48:01,720 And then, you know, you extract the topics, 1074 00:48:01,760 --> 00:48:03,720 and you look it up in the black list, just like I was saying. 1075 00:48:04,900 --> 00:48:06,620 And then here are the results that I already told you about. 1076 00:48:09,360 --> 00:48:10,360 Yeah, results summary. 1077 00:48:10,460 --> 00:48:14,360 So, yeah, 60% recall is because it has the false positives. 1078 00:48:14,700 --> 00:48:19,960 Sorry, no false positives, because it misses four out of the 10 sentences. 1079 00:48:20,760 --> 00:48:21,900 So, some examples. 1080 00:48:22,000 --> 00:48:24,940 So, I can't show much of these dialogues, but let me just give an example. 1081 00:48:25,100 --> 00:48:26,480 So, there's a true positive up there. 1082 00:48:26,640 --> 00:48:28,800 If you could email me this cert, that would be great. 1083 00:48:29,400 --> 00:48:29,920 You know? 1084 00:48:30,120 --> 00:48:32,360 So, yeah, that's positively an attack. 1085 00:48:32,620 --> 00:48:35,020 So, and you can see, you could. 1086 00:48:35,300 --> 00:48:37,120 So, that's one of my imperatives, right? 1087 00:48:37,160 --> 00:48:37,980 You could email me. 1088 00:48:38,180 --> 00:48:39,040 Email is the verb. 1089 00:48:39,300 --> 00:48:42,020 Cert is the resource, and we can catch that. 1090 00:48:42,560 --> 00:48:43,220 False negatives. 1091 00:48:43,380 --> 00:48:47,320 There were four of them, and they were all, basically, these ones that needed context. 1092 00:48:47,480 --> 00:48:48,100 Click, run. 1093 00:48:48,260 --> 00:48:49,120 That was one of them. 1094 00:48:49,440 --> 00:48:50,600 Yeah, click, okay. 1095 00:48:50,780 --> 00:48:51,160 Right? 1096 00:48:51,160 --> 00:48:51,700 That was another one. 1097 00:48:52,080 --> 00:48:53,700 So, you need context. 1098 00:48:54,140 --> 00:49:00,320 You could use linguistic context, which is the context in that conversation earlier in the same conversation. 1099 00:49:00,560 --> 00:49:00,840 Okay? 1100 00:49:01,000 --> 00:49:02,980 So, for instance, you say click, run. 1101 00:49:03,160 --> 00:49:04,060 What are you referring to? 1102 00:49:04,120 --> 00:49:07,220 Oh, well, two sentences ago, I told them to start this application. 1103 00:49:07,220 --> 00:49:09,840 So, I must be talking about that application, right? 1104 00:49:09,980 --> 00:49:16,340 So, you can keep track of noun phrases that are used in previous sentences, and then, you know, associate. 1105 00:49:16,660 --> 00:49:17,540 You say click, run. 1106 00:49:17,700 --> 00:49:19,020 Well, which one of these noun phrases? 1107 00:49:19,280 --> 00:49:22,300 Let's say you talk about a tree, you talk about a web app, and you talk about this. 1108 00:49:22,420 --> 00:49:23,200 Oh, web app. 1109 00:49:23,320 --> 00:49:25,800 That's the only thing where I can click a run on, you know, and you do that. 1110 00:49:25,940 --> 00:49:27,740 Now, I'm not doing that, but that's what I need to do. 1111 00:49:29,280 --> 00:49:34,860 Also, situational context might be sufficient, meaning when you say click, okay, or click, run, 1112 00:49:34,860 --> 00:49:42,080 I mean, even without knowing this, even without seeing the attack, we know that there's some program running, 1113 00:49:42,200 --> 00:49:45,660 and it says okay in front of them, and there's a button that says okay or run, and you can click it, right? 1114 00:49:45,980 --> 00:49:49,300 So, clearly, they must be talking about something running on the machine. 1115 00:49:49,620 --> 00:49:53,180 So, you can know stuff even without knowing the actual linguistic context. 1116 00:49:53,260 --> 00:49:59,020 You just have the situational context, meaning the context that we all know just because we have life experiences, right? 1117 00:49:59,360 --> 00:50:00,700 So, we might be able to use some of that. 1118 00:50:02,800 --> 00:50:03,780 Room for improvement. 1119 00:50:03,780 --> 00:50:05,220 Room for improvement, I've already said this. 1120 00:50:05,400 --> 00:50:09,660 So, using context, yeah, is the main thing, but other things, too. 1121 00:50:10,040 --> 00:50:11,980 And I think, oh, and authentication. 1122 00:50:12,420 --> 00:50:13,560 So, I mentioned this, too. 1123 00:50:13,700 --> 00:50:20,700 The fact that everybody is untrusted as far as I'm concerned, and, you know, if your mother asks you something or a stranger asks you something, 1124 00:50:20,720 --> 00:50:22,100 it makes no difference to this tool. 1125 00:50:22,860 --> 00:50:28,180 So, in order to do, I can't do authentication, but I would, you know, it could be, if somebody else could do authentication, 1126 00:50:28,520 --> 00:50:30,180 then you could join this with that, right? 1127 00:50:30,300 --> 00:50:30,620 Go ahead. 1128 00:50:30,840 --> 00:50:32,360 I don't know where's the problem. 1129 00:50:32,860 --> 00:50:35,820 So, if you don't know the attacker, you don't know the attacker. 1130 00:50:37,860 --> 00:50:45,060 Well, if I'm a clerk or whatever I am, and I'm going towards the router, well, I'm obviously going in the wrong direction. 1131 00:50:45,900 --> 00:50:47,120 That I'm going in, I'm doing what? 1132 00:50:47,200 --> 00:50:49,040 I'm obviously going in the wrong direction. 1133 00:50:49,080 --> 00:50:51,300 I'm doing something beyond the scope of what I see. 1134 00:50:51,320 --> 00:50:51,800 Uh-huh, uh-huh. 1135 00:50:51,960 --> 00:50:53,080 Yeah, so you, I see. 1136 00:50:53,160 --> 00:50:58,060 So, you say, so I can look at, yeah, but see, okay, so what, let me just repeat what you said, right? 1137 00:50:58,160 --> 00:50:59,980 You're saying, yeah, let's say I'm a clerk. 1138 00:51:00,120 --> 00:51:00,800 I'm the target. 1139 00:51:00,880 --> 00:51:01,300 I'm a clerk. 1140 00:51:01,300 --> 00:51:05,740 And, you know, I'm being said, oh, go, I'm being told to go reset the router. 1141 00:51:06,160 --> 00:51:10,020 And the clerk is not supposed to be resetting the router, but, and I know who the clerk is. 1142 00:51:10,080 --> 00:51:13,160 I can know who the clerk is, so I can look at what they're authorized to do. 1143 00:51:13,500 --> 00:51:19,460 That's true, but there could also be a situation where the person, the target is actually authorized to do exactly what they're doing. 1144 00:51:19,940 --> 00:51:20,540 You know what I mean? 1145 00:51:20,660 --> 00:51:21,500 And then you would. 1146 00:51:21,820 --> 00:51:22,740 Then you're an SOL. 1147 00:51:23,660 --> 00:51:24,300 Yeah, yeah. 1148 00:51:24,820 --> 00:51:25,900 So, but, yeah, you're right. 1149 00:51:26,060 --> 00:51:29,640 You, yeah, if you're, if they're being asked to do something they shouldn't do in the first place, 1150 00:51:30,020 --> 00:51:31,140 then you should be able to. 1151 00:51:31,300 --> 00:51:33,500 Catch that if you authenticate the target. 1152 00:51:35,300 --> 00:51:36,600 And that's it. 1153 00:51:38,000 --> 00:51:39,100 Any more questions? 1154 00:51:39,520 --> 00:51:40,420 Thank you.