1 00:00:00,000 --> 00:00:01,700 Good morning, everyone. 2 00:00:01,700 --> 00:00:02,900 Good morning. 3 00:00:04,800 --> 00:00:06,800 Hopefully, everyone got some sleep. 4 00:00:07,000 --> 00:00:07,740 Ducks. 5 00:00:12,160 --> 00:00:15,080 Before we begin, we got, what, two minutes? 6 00:00:15,080 --> 00:00:16,400 Oh, yeah, the clock... what am I doing? 7 00:00:16,400 --> 00:00:17,840 The clock is right here. 8 00:00:19,160 --> 00:00:21,500 Who's here if this is your first DEF CON? 9 00:00:22,480 --> 00:00:23,320 Wow. 10 00:00:23,320 --> 00:00:23,680 Okay. 11 00:00:23,680 --> 00:00:26,660 So, if this is your first DEF CON, welcome. 12 00:00:28,100 --> 00:00:35,100 Um, you know, sitting in DEX, we haven't had a nice room like this for, you know, a while. 13 00:00:35,100 --> 00:00:37,120 But 2019 was the last year. 14 00:00:37,120 --> 00:00:46,840 And every time I look at a room of this size, it feels like DEF CON of the ye good old days when talks weren't like 20, like 2,000 people. 15 00:00:46,840 --> 00:00:54,500 And literally, like, back in the ye good old days, like in the early 2000s, I mean, man, talk room would be like this small and congregate. 16 00:00:55,740 --> 00:01:05,700 You know, one of the things I tell people is, yeah, just like 30, 40,000 people now at DEF CON, but the premise is the same. 17 00:01:06,100 --> 00:01:13,540 For anyone who, especially if this is your first time coming to the conference, learn as much as you can. 18 00:01:15,360 --> 00:01:18,020 Make good use of your time. 19 00:01:18,020 --> 00:01:19,070 Talk to other people. 20 00:01:19,890 --> 00:01:22,490 That's where the real learning happens. 21 00:01:22,910 --> 00:01:25,630 Hallway CON is always, always valuable. 22 00:01:25,630 --> 00:01:35,010 You'll learn probably more than talking to the person next to you or sitting at the table than going to a lot of talks. 23 00:01:35,010 --> 00:01:35,970 Oh, sorry, man. 24 00:01:35,970 --> 00:01:40,270 I didn't want to, I didn't want to, I didn't mean to say, I forgot. 25 00:01:42,290 --> 00:01:50,470 But no, the, you know, it is the size of the talk rooms makes a big deal. 26 00:01:51,510 --> 00:01:57,610 You know, it feels, this definitely feels like a more intimate setting than what it, you know, than what it is now. 27 00:01:57,610 --> 00:02:15,410 I mean, I think my last DEF CON talk was like, holy, you know, there's like, I didn't know what was, it was like, it went to 800 people and then it went to like 1,500 and like, never had the honor of talking to a group of this size. 28 00:02:15,410 --> 00:02:17,970 So enjoy your time here at DEF CON. 29 00:02:18,110 --> 00:02:23,130 And we are now at the top of the hour. 30 00:02:23,130 --> 00:02:24,110 Good morning. 31 00:02:24,110 --> 00:02:29,030 It's 10 o'clock from beautiful Las Vegas, Nevada. 32 00:02:31,130 --> 00:02:39,770 So our first of four talks of the day are presented by that Packet Hacking Village. 33 00:02:40,130 --> 00:02:52,370 And we have the honor, and it seems like this is like an annual, an annual get together and having Mike on stage to give a talk never, ever disappoints. 34 00:02:52,370 --> 00:02:53,590 And you're going to learn a lot. 35 00:02:53,590 --> 00:02:55,510 You're going to love this talk. 36 00:02:56,470 --> 00:03:02,090 It is my pleasure to introduce to you all someone that we consider a friend. 37 00:03:02,090 --> 00:03:03,410 Mike Rago, everyone. 38 00:03:11,890 --> 00:03:12,970 All right. 39 00:03:12,970 --> 00:03:15,010 Well, thanks so much for having me again. 40 00:03:15,010 --> 00:03:19,610 Shouts out to the Packet Hacking Village and Ming for having me back again. 41 00:03:19,610 --> 00:03:23,950 Really enjoy doing these particular talks at DEF CON. 42 00:03:23,950 --> 00:03:34,690 I've been coming here for, I don't know how many years, I think since year 2000 and try to never miss a con because there's just so much information and it's a great crowd and lots of friends. 43 00:03:35,710 --> 00:03:50,730 And in this particular talk, we're going to talk about using AI for doing computer vision to leverage all your data sets you may have across your OSINT data collections and performing efficient analysis around that. 44 00:03:50,730 --> 00:04:07,250 This is a culmination of a lot of research that myself and a very good friend of mine, Chet Hosmer, have collaborated on for many years and actually have done talks in the past here in the Packet Hacking Village on OSINT data collection, data analysis, 45 00:04:07,250 --> 00:04:15,310 reporting, pruning down that data, really making it very actionable rather than really dealing with that wasteland of data and trying to prune that down. 46 00:04:15,310 --> 00:04:29,190 So we'll talk a lot about some of the previous strategies and just kind of highlight those for you again and focus on really what we're going to talk about today, which is looking at those images in video and trying to do a variety of cool and interesting things in them, 47 00:04:29,190 --> 00:04:34,390 but in a very automated and efficient manner and with, in my opinion, a lot better accuracy. 48 00:04:34,390 --> 00:04:36,550 But, you know, I'll let you guys judge that for yourselves. 49 00:04:40,560 --> 00:04:43,940 So Ming knows I don't really like to talk about myself too much. 50 00:04:43,940 --> 00:04:47,940 So instead, I'll tell you a funny story about how I got into cybersecurity. 51 00:04:47,960 --> 00:04:49,920 And Ming has heard this story before. 52 00:04:50,320 --> 00:04:53,400 So it's circa 1994. 53 00:04:53,560 --> 00:04:57,920 I'm working at the NASDAQ stock market as a Unix system administrator. 54 00:04:58,440 --> 00:05:02,880 And it was long before there were vulnerability scanners out there like Nessus and other things. 55 00:05:02,880 --> 00:05:11,040 So I saw this article on Information Week by a gentleman by the name of Dan Farmer, who presented the first couple DEF CONs. 56 00:05:11,300 --> 00:05:20,100 And he released a tool called, of all names, called SATAN, which was an acronym for one of the first vulnerability scanners, and in this case, for old Unix platforms. 57 00:05:20,360 --> 00:05:24,880 So I thought, hey, I was always one of those types of people, probably much like yourselves. 58 00:05:24,880 --> 00:05:31,860 I'm going to download it and run it wide open on the trading floor in the middle of the day and see what kind of vulnerabilities I can find. 59 00:05:31,940 --> 00:05:39,440 So obviously not a very bright idea, because they accidentally knocked over a couple servers taking down the trading floor in the middle of the day. 60 00:05:39,620 --> 00:05:42,640 But it was a good test of the failover for NASDAQ. 61 00:05:42,640 --> 00:05:45,560 Failed over without missing a beat. 62 00:05:45,820 --> 00:05:51,280 But I was called into the CISO's office and I fully expected to be fired. 63 00:05:51,280 --> 00:05:53,780 And he said, Mike, I'm here to offer you one of two options. 64 00:05:53,780 --> 00:05:56,360 You're either fired or you can take a promotion. 65 00:05:56,840 --> 00:05:58,560 So I certainly didn't want to be fired. 66 00:05:58,560 --> 00:06:01,480 So I took the promotion and asked questions later. 67 00:06:01,480 --> 00:06:07,320 But essentially, he said, listen, you clearly demonstrated you could take down the network, albeit by accident. 68 00:06:07,480 --> 00:06:11,560 But, you know, now it's going to be your job to protect it. 69 00:06:11,560 --> 00:06:16,500 So I had to build out the first security team there and really start protecting the network. 70 00:06:16,500 --> 00:06:23,820 So one other thing I'd just highlight on this slide, you know, Chet and I collaborate on a lot of research. 71 00:06:23,820 --> 00:06:32,680 If you go back and look at the YouTube videos from the Packet Hacking Village and the Wall of Sheep, you'll see a plethora of talks that we've done, many of them around OSINT. 72 00:06:32,680 --> 00:06:44,720 So certain callouts I make out in these slides, if you're looking to go back in time and look in detail at some of those other presentations we've done around OSINT, they are out there and on YouTube and Twitch and other places. 73 00:06:45,920 --> 00:06:54,020 One last thing, one of the things I've taken on recently is also mentoring folks that are looking to get into cybersecurity. 74 00:06:54,020 --> 00:06:58,100 They may be in IT today, they may have graduated college or something else. 75 00:06:58,100 --> 00:07:07,800 And we know that there's this big gap between, you know, folks that want to get into the cybersecurity industry and a plethora of jobs out there, millions of jobs around the globe. 76 00:07:07,840 --> 00:07:12,300 But they all ask for experience, which is kind of odd considering it's an entry-level job. 77 00:07:12,300 --> 00:07:23,740 So what we do is we work with folks and mentor them, give them research projects to work on, they get that hands-on experience to help build their resume and hopefully land one of those jobs. 78 00:07:24,860 --> 00:07:27,100 All right, into the presentation. 79 00:07:27,880 --> 00:07:40,240 So we know with OSINT data collection, whether you're investigating a person of interest, a top of interest, or whatever it may be, you typically end up with a wasteland of data. 80 00:07:40,240 --> 00:07:47,740 Various types of social media, information from various sites, RSS feeds, all kinds of different things. 81 00:07:47,740 --> 00:07:56,100 And then you're left with the job of sifting through all that data to find the artifacts that are actually the evidence that you're looking for. 82 00:07:56,100 --> 00:08:01,640 It's super time-consuming, the majority of the data is worthless that you, you know, collect. 83 00:08:01,640 --> 00:08:10,600 And so what we've talked about last year, the year before, in a variety of talks, is collecting a lot of data and using efficient methods for pruning that down. 84 00:08:10,700 --> 00:08:20,980 In one particular case, we talked about leveraging Power BI to sort that data, transform it, find the actual artifacts you're looking for, and or create dashboards. 85 00:08:21,100 --> 00:08:26,340 And that presentation, I think, is last year that we did that here in the Packet Hacking Village. 86 00:08:26,940 --> 00:08:34,300 What we're going to talk about today is beyond all of that collection, I've got a bunch of images, I've got a bunch of videos. 87 00:08:34,300 --> 00:08:38,600 It's time-consuming to go through those things and find the artifacts you're looking for. 88 00:08:38,600 --> 00:08:42,820 You may be looking for a particular object, like a gun or something else. 89 00:08:43,040 --> 00:08:58,540 In the video, you may want to pull out certain audio, but if you've got a thousand video files and they're all more than a gig in size, it's super time-consuming to try to watch all those videos and try to find the artifacts you're looking for, and most of the time you're going to miss them. 90 00:08:58,540 --> 00:09:06,000 So we're going to talk about using AI computer vision, and we'll talk about AWS as well as Azure. 91 00:09:06,000 --> 00:09:17,380 We'll talk a little bit about ChatGBT, but really kind of give you some thought-provoking ideas and kind of a starting strategy in terms of how you can get started with all of this, if it's something that's somewhat new to you. 92 00:09:18,460 --> 00:09:29,620 One other thing I find is, I find it kind of humorous that people refer to it as OSINT, because Chet and I agree that we kind of refer to it more as OSINFO. 93 00:09:29,620 --> 00:09:31,880 You're collecting a ton of information. 94 00:09:31,900 --> 00:09:35,240 The intelligence is one small piece of it, right? 95 00:09:35,240 --> 00:09:43,840 So a lot of what people are doing is collecting a wasteland of data, trying to convert it into intelligence or OSINT-type data. 96 00:09:44,520 --> 00:09:59,240 So at the end of the day, this really all just begs for some type of automation, and in testing AI and a lot of the research we've done, computer vision across these various platforms, and even what you may be able to do to an extent within Python and other things, 97 00:09:59,240 --> 00:10:01,960 can give you the ability to do this kind of thing. 98 00:10:04,810 --> 00:10:14,270 In terms of OCR, or optical character recognition, there's a lot of cool artifacts that you can leverage and identify across images and video. 99 00:10:14,270 --> 00:10:17,210 They may be things such as signs or license plates. 100 00:10:17,210 --> 00:10:29,270 There may be things in the foreground, such as a store sign, or in the background, such as a military vehicle with a specific serial number on it that maybe you can track in various locations across all your images. 101 00:10:29,270 --> 00:10:31,790 We'll talk about a lot of those scenarios. 102 00:10:32,750 --> 00:10:38,130 Also, you can do object recognition or identification as well. 103 00:10:38,130 --> 00:10:42,290 So what type of object or objects are you actually looking for? 104 00:10:42,290 --> 00:10:53,710 Are you monitoring events at sports games and trying to identify amongst the crowd, either inside the stadium or outside, if maybe somebody has some form of a weapon? 105 00:10:53,710 --> 00:11:00,550 Object identification can really help you with that, and AI is super efficient at identifying those things across your data. 106 00:11:02,530 --> 00:11:07,710 Also, when we talk about video, there's also speech recognition. 107 00:11:07,710 --> 00:11:18,110 So whether they're conversations in the foreground or the background, being able to extract that and have the AI really map out all those conversations for you. 108 00:11:18,110 --> 00:11:22,530 Maybe there's specific words you're actually looking for amongst the speech. 109 00:11:22,530 --> 00:11:27,070 All of that speech recognition will also allow you to identify that too. 110 00:11:28,550 --> 00:11:35,870 And then what we really want to do is, it's great that we've automated and found all of this stuff, but then how do we report on it? 111 00:11:35,870 --> 00:11:39,930 How can we maybe consume it in an automated way into some kind of a dashboard? 112 00:11:40,090 --> 00:11:42,710 Maybe I want to plot these things on a map. 113 00:11:42,710 --> 00:11:48,470 We'll talk about some of those things we covered last year and how you can do that and some new ideas this year too. 114 00:11:51,530 --> 00:11:55,110 So getting started with this, we'll first talk a little bit about Azure. 115 00:11:55,110 --> 00:12:01,270 I'll kind of pivot to AWS and we'll kind of go back and forth as we go through the slides across these different topics. 116 00:12:01,930 --> 00:12:11,590 Within Azure, you can go to the main page, you can upload images and play around with the optical character recognition as well as the object detection. 117 00:12:11,630 --> 00:12:15,790 And there's also video analysis and a whole variety of other things that you can do. 118 00:12:15,810 --> 00:12:17,690 There's also spatial analysis. 119 00:12:17,690 --> 00:12:34,890 So if you have a video and you're looking at people that maybe come into a room and then leave a room or where they are spatially, you know, scattered throughout a large room or something else that you are monitoring or that you want to look at, there's a whole variety of different components that are available to you. 120 00:12:35,070 --> 00:12:42,490 And if you start to dive into it, we'll talk about how you can train as well based on large data sets, which we'll get into too. 121 00:12:46,230 --> 00:12:52,610 So in a very simple way, you know, you can upload these images and perform optical character recognition on it. 122 00:12:52,610 --> 00:12:59,010 You can upload an image and for a suite of images and say, like, what have you found in this image? 123 00:12:59,010 --> 00:13:02,330 And let the AI computer vision identify that for you. 124 00:13:05,330 --> 00:13:09,510 Anybody a fan of the cult movie, They Live? 125 00:13:09,910 --> 00:13:16,230 It was actually, you know, a part of DEF CON a couple of years ago, right, where it was sort of the theme for the conference. 126 00:13:16,230 --> 00:13:18,250 So I was super stoked when I saw that. 127 00:13:18,630 --> 00:13:21,570 Throughout the movie, there's all kinds of signs, right? 128 00:13:21,570 --> 00:13:29,210 And, you know, the guys put on the sunglasses and they can actually see these signs that are otherwise somewhat hidden to the casual viewer. 129 00:13:29,510 --> 00:13:36,630 But this is a good example that if you're collecting images and or video, there's so much stuff going on. 130 00:13:36,630 --> 00:13:42,310 Like if you've got a cityscape or something else that you're looking at, like, how do I even look at this? 131 00:13:42,310 --> 00:13:47,250 And am I going to miss something like a license plate in the background or something else that's really important? 132 00:13:47,250 --> 00:13:53,150 Maybe a document that somebody's holding and on the back of it, you can see what it's about. 133 00:13:53,190 --> 00:14:04,030 So, you know, the optical character recognition obviously can create bounding boxes or you can look at the entire image and have it automatically identify all of this for you. 134 00:14:04,110 --> 00:14:11,050 As you can see here, there's a plethora of things that are identified in the image in a very quick and efficient manner in a matter of a couple seconds. 135 00:14:11,190 --> 00:14:19,790 If you have, you know, 100,000 images, yeah, you can use the back-end training and actually go through that and we'll talk about some of that too. 136 00:14:23,720 --> 00:14:27,280 Common questions I get, you know, what about international languages? 137 00:14:27,280 --> 00:14:29,180 Those are supported as well. 138 00:14:29,180 --> 00:14:31,220 So it has the ability to identify that. 139 00:14:31,220 --> 00:14:37,760 If you're gathering a lot of OSINT data through social means, in this case, this was a TikTok video. 140 00:14:37,820 --> 00:14:55,260 And not only did it, you know, grab and identify all the characters of whether it be Ukrainian, Russian, or something else, but furthermore, it captured something I didn't even notice in the image, which is at the bottom in very fine print was their handle for actually for TikTok. 141 00:14:55,340 --> 00:15:07,900 So those kinds of things will uncover artifacts that you probably missed trying to go through image by image yourself, you know, using a, you know, human type of analysis to really do that vision and identify those things. 142 00:15:07,900 --> 00:15:16,660 I will admit the majority of the time, it always finds something in almost every image that I've missed just simply by trying to look at it myself. 143 00:15:19,730 --> 00:15:22,810 Geolocation information becomes increasingly difficult. 144 00:15:22,810 --> 00:15:35,970 If you attended our talk a few years ago, we were talking about how to collect data via Twitter and other means and actually do geolocation on it in a very unique way. 145 00:15:36,490 --> 00:15:43,950 And as those things become locked down more and more and more, it becomes increasingly difficult. 146 00:15:44,170 --> 00:15:54,210 But optical character recognition, object recognition, and all of these things can actually help paint a new picture around the location information. 147 00:15:54,410 --> 00:16:01,230 In this particular case, we had been and continue to do a lot of research around the Russian-Ukrainian war. 148 00:16:01,510 --> 00:16:06,570 In this particular case, I was actually collecting images looking for military vehicles. 149 00:16:06,570 --> 00:16:09,090 And you can see that there's one here in the background. 150 00:16:09,230 --> 00:16:21,430 What I didn't notice was the fact that there was a teeny little sign in the foreground on the station facility there that actually tells me a little bit more about the location and where this is. 151 00:16:21,510 --> 00:16:36,950 So again, if you're having issues with trying to identify where was this picture taken or where is this activity going on, you know, again, the optical character recognition of the bounding boxes might pick up on something really tiny in the background or foreground that you didn't even notice. 152 00:16:37,090 --> 00:16:45,170 We'll talk later about how we took this data, automated it, and plotted it on a map, and how we used it for predictive analysis related to the war. 153 00:16:45,170 --> 00:16:48,590 And we had more than a 95% accuracy with this data. 154 00:16:51,320 --> 00:16:53,980 In terms of MIST, I was wondering what it was. 155 00:16:53,980 --> 00:16:57,500 It's actually a shipping company in the Ukraine. 156 00:16:57,520 --> 00:17:06,660 But there were other signs and things in this image and others that exposed or enumerated in more detail, again, where these locations were of these military vehicles. 157 00:17:06,740 --> 00:17:09,780 And hold that thought because we'll come back to that in just a moment. 158 00:17:13,730 --> 00:17:20,110 Also, you know, during the beginning of the war, there were a lot of people trying to, you know, leave the country. 159 00:17:20,370 --> 00:17:25,930 And there was, you know, a lot of interesting pictures with mobs of people. 160 00:17:26,350 --> 00:17:38,310 And again, in trying to identify where some of this activity was going, the optical character recognition was great at picking up, again, location information based on signs at the train station and other things. 161 00:17:38,310 --> 00:17:42,370 Again, this became super useful when trying to plot this out on a map. 162 00:17:46,480 --> 00:17:48,960 In addition, license plates. 163 00:17:49,020 --> 00:18:07,100 Again, whether it's serial numbers on a tank, letters that are on military vehicles, license plates, and other things, these can be really useful if you identify this vehicle in more than one location and also plotting that in a map over a timeline. 164 00:18:07,340 --> 00:18:19,060 So again, just another example of, like, a lot of information you may have scattered across, you know, thousands, if not hundreds of thousands of images or video that you have, and which is really efficient at identifying this. 165 00:18:22,480 --> 00:18:37,840 One of the things I also did was, and some of this was, we started to talk about it a little bit in the last few talks over the last few years here at DEF CON, was around tracking all these military vehicles and trying to predict where they were going to, 166 00:18:37,840 --> 00:18:39,940 where Russia was going to attack next. 167 00:18:40,180 --> 00:18:48,480 And in doing so, I, you know, initially noticed that a lot of these military vehicles had all these serial numbers and things on the sides of them. 168 00:18:48,480 --> 00:19:03,600 And, you know, my thought was thinking, was that, you know, I don't exactly know where all of these images are coming from unless the person, you know, that posted it or tweeted it or something else says spotted this vehicle at XYZ location in Kiev or wherever it may be. 169 00:19:03,960 --> 00:19:15,760 But I was kind of wondering, you know, from these numbers, if I could start to kind of determine, you know, how many, how often across my images, maybe this particular vehicle showed up. 170 00:19:15,760 --> 00:19:30,840 So if I did have limited vehicle information, such as, you know, the person posted from Kiev or something like that, and then I saw this vehicle over on the other side of the country, which we actually did, we were able to plot that stuff on a map. 171 00:19:30,960 --> 00:19:34,300 So pulling out these serial numbers was actually quite useful too. 172 00:19:34,480 --> 00:19:39,960 And there's sometimes various codes, as you can see here too, that are representative of things too. 173 00:19:39,960 --> 00:19:44,200 So we're talking more than just numbers and letters and some special characters. 174 00:19:44,200 --> 00:19:48,280 There may be weird codes, international languages, things like that, that is very good at bringing out. 175 00:19:51,020 --> 00:19:56,780 Interestingly enough, this was another picture I had, and you can see the same vehicle number popped up. 176 00:19:56,940 --> 00:20:04,940 Now I was kind of wondering if it was maybe a category of vehicles or this number represented, you know, a military team or things like that. 177 00:20:04,940 --> 00:20:09,000 But as we looked through the data more and more, it was very unique to the truck. 178 00:20:09,000 --> 00:20:15,860 We looked at the characteristics of the truck and some markings and scratches and things like that in the truck, and it was absolutely the same vehicle. 179 00:20:15,860 --> 00:20:22,460 So again, it became super helpful in terms of the geolocation or really just plotting these things on a map. 180 00:20:25,230 --> 00:20:31,890 Taking this data and making it useful, you know, there's a lot of different tools out there. 181 00:20:31,890 --> 00:20:35,290 You know, people use Grafana, Splunk, a whole bunch of different things. 182 00:20:35,290 --> 00:20:45,210 I personally like to use Power BI because I like how it can take the data and do transforms on it and look at it in a lot of different ways I didn't think about looking at the data. 183 00:20:45,850 --> 00:20:52,050 In addition, it allows a lot of click and point and create various widgets in your dashboard. 184 00:20:52,050 --> 00:21:05,230 So now you can use it to kind of sort on the data, maybe by timeline, maybe by object type, maybe by a keyword or, you know, that was identified via optical character recognition and a whole variety of different things. 185 00:21:05,410 --> 00:21:12,530 This also became very helpful in tying together posts and also the trustworthiness of those posts. 186 00:21:12,530 --> 00:21:20,310 So one of the things that is always a challenge is is, you know, all of this content legitimate or is it meant to throw people off? 187 00:21:21,610 --> 00:21:38,790 And so in doing so, we were able to sort on the top 5, 10, 25 posters and in cross-validating, like the data that they had posted, said, you know, these are the most trustworthy people that are posting a plethora of things around military vehicles or other things. 188 00:21:38,790 --> 00:21:47,070 So sorting that became very useful, very practical, and was great because in a point click, I could say, okay, I got it sorted in the way that I wanted. 189 00:21:47,130 --> 00:21:53,770 Now click, create a PDF report, boom, I've got my triage report ready to use and, you know, put into action. 190 00:21:55,690 --> 00:22:00,830 There's a variety of different widgets across all these different, you know, tools and many others. 191 00:22:01,030 --> 00:22:04,970 In this particular case, there's all kinds of cool plugins. 192 00:22:04,970 --> 00:22:07,410 So there's word clouds and things like this. 193 00:22:07,510 --> 00:22:15,350 What was really interesting about this one was I was not looking at the Oblast region of Kiev at all. 194 00:22:15,350 --> 00:22:19,830 I was looking at other regions in Kiev where people were posting from and things like that. 195 00:22:19,830 --> 00:22:23,690 And for whatever reason, I just overlooked this part of the city. 196 00:22:23,710 --> 00:22:34,450 But you can see here, it's one of the top five largest words, meaning that it's the, you know, in the top five quantity of posts where people were talking about Oblast. 197 00:22:34,450 --> 00:22:41,750 What I uncovered was, because I was looking at tanks and military vehicles, it didn't even pop up for me. 198 00:22:41,970 --> 00:22:47,050 This was being posted because they were destroying a lot of churches around the Kiev area. 199 00:22:47,050 --> 00:22:49,650 So I started to take a look at the churches. 200 00:22:49,790 --> 00:22:55,690 That became one of the most interesting and key ingredients to the attacks and what was going on. 201 00:22:55,690 --> 00:23:00,270 The Russians were really destroying the majority of the churches across the Ukraine. 202 00:23:00,450 --> 00:23:05,790 And based on the timeline, we could see where they were based on when the church was destroyed. 203 00:23:06,510 --> 00:23:16,430 So this really uncovered that artifact and it became the most precision predictive component of the data we looked at, even more than the military vehicles. 204 00:23:16,710 --> 00:23:26,050 So again, leveraging transforms and these other things that are built into these reporting tools can help you look at the data from a completely different angle you had never considered. 205 00:23:30,040 --> 00:23:33,640 As I mentioned, these things may show up in multiple pictures. 206 00:23:33,640 --> 00:23:45,460 So if you're not exactly sure what you're looking for, but you kind of have a sense for what you're looking for, again, this is where the computer vision is going to help you refine that and determine, now I know what I am looking for. 207 00:23:45,460 --> 00:23:51,100 For me, I went into it looking for military vehicles, it came out of it looking for destroyed churches. 208 00:23:52,880 --> 00:23:59,620 And so these, you know, things of interest, person of interest, and more may be identified at multiple locations. 209 00:23:59,620 --> 00:24:02,880 And again, this can be great for all kinds of location analysis. 210 00:24:07,400 --> 00:24:11,280 Again, a lot of this stuff I overlooked by looking at it manually. 211 00:24:11,960 --> 00:24:16,940 And in addition, there may be a lot of things in the foreground and the background that may be very informative. 212 00:24:16,940 --> 00:24:24,980 So bottom line, in my humble opinion, my two cents, is if you're not using optical character recognition, you're probably missing most of the important data points. 213 00:24:32,890 --> 00:24:39,270 So we talked about Azure and we'll get into AWS here in a moment. 214 00:24:39,270 --> 00:24:44,450 But in addition, you can use ChatGBT for doing some optical character recognition. 215 00:24:45,010 --> 00:24:49,950 There are, of course, APIs available, just like there are for AWS and for Azure. 216 00:24:50,770 --> 00:24:55,510 I've had kind of, you know, limited luck with identifying things within this. 217 00:24:55,510 --> 00:25:00,070 You can see I uploaded an image, but it doesn't really show me the image that I uploaded. 218 00:25:00,070 --> 00:25:06,030 It did find that number on the side of the military vehicle, so it was quite good at doing the optical character recognition. 219 00:25:06,490 --> 00:25:15,350 But again, I didn't really dive into it very deeply, but if you're looking for, you know, if you prefer ChatGBT, you can do some of this stuff with ChatGBT as well. 220 00:25:17,130 --> 00:25:17,770 All right. 221 00:25:17,770 --> 00:25:19,410 So object recognition. 222 00:25:19,430 --> 00:25:27,070 So up until now, we've talked about optical character recognition and identifying license plates and serial numbers and military numbers for vehicles. 223 00:25:27,170 --> 00:25:28,810 Now we're looking for objects. 224 00:25:28,810 --> 00:25:33,170 It may be a gun, it may be a military vehicle, it may be a person, maybe a car. 225 00:25:34,050 --> 00:25:46,650 And, you know, again, fundamentally with the, you know, free interface that's provided, in this case with Azure, you can upload, you know, an image and have it identify for you things that are in the image. 226 00:25:46,650 --> 00:25:50,150 It may be very transparent to you, and that's fine, right? 227 00:25:50,210 --> 00:25:52,310 But again, we want to see what we've missed. 228 00:25:52,310 --> 00:26:06,070 And furthermore, we probably have a massive data set, so we're not going to necessarily upload these images one at a time, but the automation will allow you to either have a storage with a plethora of images that you can automate that will look at it in much the same manner. 229 00:26:06,070 --> 00:26:09,550 We'll also talk about how you can train these classifiers, too. 230 00:26:10,950 --> 00:26:19,470 So in this particular case, we identified, you know, two individuals as well as a land vehicle or a military vehicle, but not a tank. 231 00:26:19,470 --> 00:26:25,130 And I was trying to do some training on tanks and really kind of test that out. 232 00:26:25,450 --> 00:26:35,350 It also will give you kind of a threshold value and accuracy adjustments for the bounding boxes, how you want to carve up the image and have the computer vision look at it. 233 00:26:35,350 --> 00:26:37,990 So there's a lot of different options that you can leverage here. 234 00:26:38,130 --> 00:26:49,730 And if it's something you want to play around with, I certainly encourage you to go out to, you know, the Azure site and in what I'll talk about in a minute with AWS, where you can test some of these things out and get more familiar with them if you want to, 235 00:26:49,730 --> 00:26:52,070 you know, play around in your own sandbox. 236 00:26:55,510 --> 00:27:02,570 When you actually create an account, you can actually go in there and train the model. 237 00:27:02,610 --> 00:27:17,350 And what this allows you to do is if you are looking for certain things in particular, now you can upload from Kaggle or something else a whole bunch of images, a huge corpus of data that is already pre-sorted for you where they're all tanks, right? 238 00:27:17,350 --> 00:27:32,870 And this is going to give me the fundamental baseline by which now when you automate the feed of all of these images, you have this wasteland of data to help better identify in any of those images in this case, if there in any of those images, if there's an actual tank. 239 00:27:34,050 --> 00:27:36,150 So I did exactly that. 240 00:27:36,150 --> 00:27:43,130 Went to Kaggle, downloaded a bunch of images, uploaded them into this and had and trained it basically how to do this. 241 00:27:43,130 --> 00:27:44,010 And it wasn't difficult. 242 00:27:44,010 --> 00:27:45,850 This was a lot of point and click, right? 243 00:27:45,850 --> 00:27:49,190 I'm not doing like command line coding, things like that. 244 00:27:49,190 --> 00:27:56,310 I do use the API personally, but I really wanted to kind of help people understand how I could get how someone could get started very easily with this. 245 00:27:56,330 --> 00:28:01,630 When you go ahead and create this, it will go ahead and generate keys for you so you can do it from a command line. 246 00:28:01,630 --> 00:28:03,130 You could even use curl. 247 00:28:03,130 --> 00:28:05,770 There's a bunch of different ways in which you can easily use it. 248 00:28:05,770 --> 00:28:15,730 And on GitHub and other places, there's a whole bunch of Python code and other things if you want to leverage those bases that people may have created to help you more efficiently refine a lot of this. 249 00:28:18,350 --> 00:28:22,610 As I mentioned, it'll create a bounding box around the object that's identified. 250 00:28:22,810 --> 00:28:26,810 When you upload these images, you'll go ahead and actually manually tag them. 251 00:28:26,810 --> 00:28:29,190 Again, this is for the training purpose only. 252 00:28:29,470 --> 00:28:33,830 And so you have these, in this case tanks, you can go in there and label it as a tank. 253 00:28:34,370 --> 00:28:40,230 And then once you're all done with doing that labeling, then you can go through the process of training. 254 00:28:40,230 --> 00:28:43,890 So you'll upload or leverage the images that you've actually uploaded. 255 00:28:43,890 --> 00:28:48,970 And as a last step, it'll go through and perform the training on all the images that you tagged. 256 00:28:51,070 --> 00:28:54,650 Then you can start to test the accuracy of all of this. 257 00:28:54,970 --> 00:29:07,010 So in this case here, and one thing it kind of does is it sort of grays out the image a little bit when it shows the overlay of what it identified and the level of accuracy to kind of see how well your model worked. 258 00:29:07,210 --> 00:29:10,550 Within the training is the ability to iterate. 259 00:29:10,550 --> 00:29:17,270 So there is a dropdown that you can leverage where you can say, you know, it's pretty good, but I want to train again and put some more images in here, right? 260 00:29:17,270 --> 00:29:22,970 So you can actually go through that iteration over and over to hit the level of refinement that you're looking for. 261 00:29:24,010 --> 00:29:31,110 In addition, at the bottom, it'll also show you things such as the threshold value, the accuracy. 262 00:29:31,110 --> 00:29:35,330 You can also see the accuracy in the bounding box too, 90% accuracy. 263 00:29:35,330 --> 00:29:36,730 I guess that's pretty good. 264 00:29:36,730 --> 00:29:44,630 And we're going to show you in the next slide though, is we're going to realize that this isn't quite as accurate as we thought, and it'll probably require additional iteration. 265 00:29:44,630 --> 00:29:45,110 Okay. 266 00:29:48,880 --> 00:29:50,740 I love this episode, by the way. 267 00:29:50,880 --> 00:29:58,440 So, you know, Homer had this vehicle that, you know, he designed that had, you know, the biggest cup holder and all kinds of other things, you know, in it. 268 00:29:58,440 --> 00:30:04,860 And I was like, you know, kind of looks like a military vehicle, could maybe be mistaken by, you know, the computer vision is maybe a tank. 269 00:30:04,860 --> 00:30:08,300 So, you know, let me upload this and see how good this thing is. 270 00:30:09,880 --> 00:30:14,980 Well, lo and behold, 98% accuracy that this is a tank, right? 271 00:30:14,980 --> 00:30:17,060 We all know that it's not, right? 272 00:30:17,060 --> 00:30:19,640 So it's not really a fault of the AI, right? 273 00:30:19,640 --> 00:30:24,480 It just means we need to upload a larger corpus of data and do better training on it. 274 00:30:24,560 --> 00:30:28,080 How many images did I load when I did the training on this? 275 00:30:28,080 --> 00:30:29,420 11, right? 276 00:30:29,420 --> 00:30:35,000 So clearly not enough images to, you know, accurately go ahead and train this model, right? 277 00:30:35,000 --> 00:30:40,560 And what they typically recommend is, you know, upwards of a hundred, 500, maybe a thousand images. 278 00:30:40,560 --> 00:30:45,900 And again, websites like Kaggle and other things have, you know, large data sets like that. 279 00:30:45,900 --> 00:30:52,880 I think you need an account, but you can download those and then upload those to the training model to ensure better accuracy. 280 00:30:55,380 --> 00:31:04,560 I also decided, hey, well, you know, let me, you know, with this limited training I've done, let me upload, you know, just a regular vehicle in this case, a Land Rover. 281 00:31:04,560 --> 00:31:09,020 Well, it also identified it as a tank with 95% accuracy, right? 282 00:31:09,020 --> 00:31:10,360 Clearly not a tank. 283 00:31:10,360 --> 00:31:15,680 So again, definitely want to go through iterations on this and upload large data sets. 284 00:31:15,680 --> 00:31:16,740 Not a difficult thing, right? 285 00:31:16,740 --> 00:31:18,880 A lot of this stuff is just point and click. 286 00:31:18,880 --> 00:31:22,180 And if you do prefer command line, you can do it via those means too. 287 00:31:22,180 --> 00:31:23,620 The API is available. 288 00:31:23,620 --> 00:31:26,260 It creates a key within this screen here. 289 00:31:26,260 --> 00:31:27,620 You can click over to that. 290 00:31:27,620 --> 00:31:31,040 It'll give you your URL and the key and all that kind of stuff. 291 00:31:31,040 --> 00:31:34,720 So you can leverage the API to do the exact same type of analysis. 292 00:31:38,390 --> 00:31:38,710 All right. 293 00:31:38,710 --> 00:31:40,490 So let's talk about AWS. 294 00:31:40,510 --> 00:31:51,410 So in a talk I did about five or six years ago, I did a talk around optical character recognition, object detection, and things like that, and using AWS. 295 00:31:51,410 --> 00:31:55,750 And continued to do testing, you know, within AWS as well. 296 00:31:55,970 --> 00:32:11,530 And if you're familiar with AWS, you can download these CloudFormation templates that are provided in the AWS store, upload that, and it will build out some of this stuff for you so that you have kind of a cool interface by which you can upload images. 297 00:32:11,710 --> 00:32:16,210 So if you have an AWS account or you get a free account, you can look at the marketplace. 298 00:32:16,350 --> 00:32:18,970 There will be things sitting out there that people have built. 299 00:32:18,970 --> 00:32:31,250 You can load it or download a CloudFormation template or Terraform if you prefer into AWS, have it build this out for you, and then you can do, you know, similar kinds of things within AWS too. 300 00:32:31,530 --> 00:32:37,430 In this particular case at the time, I was doing research around fake image detection. 301 00:32:37,630 --> 00:32:55,010 And these images, some of them were fake, some of them were real, and the AI available with the computer vision within AWS, also known as recognition with a K, allows you to do very similar things to what I showed you within Azure. 302 00:32:55,630 --> 00:33:04,170 So you can see at the bottom, it identified a whole variety of characteristics of the image, such as humans, flag, symbol. 303 00:33:04,710 --> 00:33:10,330 The symbol was identified actually from the flag that's orange and white, which you can see in the background. 304 00:33:12,250 --> 00:33:15,490 Apparel, clothing, a tie, things like that. 305 00:33:15,490 --> 00:33:21,670 And so that became quite helpful in kind of determining, comparing this to a couple different pictures, which one is the real one? 306 00:33:21,670 --> 00:33:29,330 Well, the storyline was about a particular country, whereas the image showed a flag from a different country with a different individual. 307 00:33:29,330 --> 00:33:31,990 And again, you know, you can do facial recognition, too. 308 00:33:31,990 --> 00:33:35,150 I'll leave that up to you, you know, from a privacy standpoint. 309 00:33:35,390 --> 00:33:40,170 But again, similar kind of thing that you can do also within AWS. 310 00:33:40,210 --> 00:33:49,610 If you prefer AWS, again, that's a talk I did in the Packet Hacking Village maybe about five or six years ago, which I know is out on YouTube and other things, too. 311 00:33:53,200 --> 00:33:54,040 All right. 312 00:33:54,060 --> 00:33:56,940 So what are the benefits of the object detection? 313 00:33:57,220 --> 00:33:59,320 It can help build out that timeline. 314 00:33:59,320 --> 00:34:07,720 So if I can find characteristics of the image that enumerate where the picture was taken, then I can actually map it out on a map just like this. 315 00:34:08,720 --> 00:34:17,500 So I automated within Google Maps the ability to auto label these images and then plot them on a map because I wanted to use it for predictive analysis. 316 00:34:17,640 --> 00:34:28,540 So here, and this is part of a presentation I covered last year, but now using this with the optical character recognition and object detection to map out a lot of these things. 317 00:34:29,500 --> 00:34:45,980 So as I had these fed into Google Maps and then tagged and by location or estimated location, I could start to kind of map out the formation and the ongoing war in terms of a timeline, location, and other things. 318 00:34:46,000 --> 00:34:53,520 Again, which is super helpful if you don't have latitude, longitude, geolocation specific type data, which many times you don't. 319 00:34:53,820 --> 00:35:00,820 So this became super helpful in mapping this out and understanding where the Russians might attack next within the Ukraine. 320 00:35:03,930 --> 00:35:14,370 So again, if this is something you're interested in, we dove really deep on this last year, but one of the things I will say is it became very helpful with predictive analysis. 321 00:35:14,370 --> 00:35:19,750 So we started to identify churches that were being destroyed, which was a data point I wasn't looking at at all. 322 00:35:19,750 --> 00:35:21,450 We talked about that earlier. 323 00:35:21,450 --> 00:35:30,530 So in terms of looking at those data points that the church is being destroyed, we actually could see the path of the military and where they were going from a timeline perspective. 324 00:35:30,550 --> 00:35:39,410 If you're tracking a person of interest unrelated to war or something like that, again, you can leverage this data and potentially map it on a map too. 325 00:35:39,510 --> 00:35:40,670 Very easy to do. 326 00:35:40,670 --> 00:35:54,050 I just used Google Maps, went in there and leveraged the ability to create all of these pins, put all that data in there, which was quite easy to do, and then started looking at the data from a predictive analysis perspective. 327 00:35:57,900 --> 00:36:01,320 So some of the lessons learned on the object detection side. 328 00:36:01,360 --> 00:36:03,660 Definitely train and then train again. 329 00:36:03,660 --> 00:36:10,320 This takes an iterative approach, but again, there's large data sets sitting out there that are very easy to download and upload. 330 00:36:10,340 --> 00:36:20,380 The whole process, identifying that and getting those images in there just takes a few minutes, but it might take a day or longer for it to train if you have a huge corpus of data. 331 00:36:22,040 --> 00:36:28,160 But what's really great about it is when you do that training, now it's focusing on the data you're most interested in. 332 00:36:28,160 --> 00:36:35,380 And I'll take a day's worth of training versus two weeks of sifting through a wasteland of OSINT data any day. 333 00:36:38,140 --> 00:36:40,280 So you can also do video analysis. 334 00:36:41,060 --> 00:36:44,620 This type of thing is available within AWS and Azure. 335 00:36:44,620 --> 00:36:48,180 And the extraction is really interesting. 336 00:36:49,320 --> 00:36:53,120 You know, if you're trying to do this today, it's very manually intensive. 337 00:36:53,440 --> 00:36:57,900 You may have a lot of videos, very, you know, time consuming as well. 338 00:36:58,440 --> 00:37:12,580 And one of the cool things when I first started doing this a number of years back is the speech recognition too, which actually helped me find some really interesting things going on with some of the investigations I was doing and really brought out some cool evidence. 339 00:37:12,580 --> 00:37:14,320 So let's talk more about that. 340 00:37:16,930 --> 00:37:22,510 So in the case of AWS recognition, it will identify objects throughout the video. 341 00:37:22,910 --> 00:37:34,510 It will also tell you in the timeline where it showed up in the video, how often it showed up in the video, and the location, as I mentioned, in the timeline. 342 00:37:34,910 --> 00:37:40,530 It may also miss a lot of subtleties that you actually didn't identify. 343 00:37:40,550 --> 00:37:48,990 So much like the optical character recognition and the object detection, you know, with the video analysis, very similar approach in that regard. 344 00:37:48,990 --> 00:37:52,730 But again, help identify things in the foreground or the background. 345 00:37:52,790 --> 00:38:02,890 In the video, this was an interview myself and a coworker did for CNN. 346 00:38:03,310 --> 00:38:13,390 I did a demo and later in the video was showing things in the video and I was blown away with how it found all this stuff in the actual demo that I was actually doing. 347 00:38:13,390 --> 00:38:15,550 Things I didn't even realize were in the image. 348 00:38:15,650 --> 00:38:22,390 So there's lots of cool stuff and you can see at the bottom how you can really leverage this and automate this as a process. 349 00:38:22,390 --> 00:38:28,170 You can upload all the images and just have it crank through all of them and create reports or consolidated reports for you. 350 00:38:28,170 --> 00:38:30,490 Very clean and efficient way to do it. 351 00:38:30,490 --> 00:38:38,350 This was also related to a talk I did a couple years back, which is also on YouTube if you're looking at this from an AWS standpoint. 352 00:38:40,650 --> 00:38:42,850 You can do the same thing within Azure. 353 00:38:43,050 --> 00:38:48,230 From that home screen, if you want to upload a sample video, it will do the same type of thing. 354 00:38:48,230 --> 00:38:49,570 It may look a little bit different, right? 355 00:38:49,570 --> 00:38:53,530 Different cloud platform, but it effectively does the same kind of thing. 356 00:38:53,750 --> 00:39:03,390 And here I uploaded a presentation Chet and I had done at a different conference, which was more like slides and talking, but it did pick up on all the instances. 357 00:39:03,390 --> 00:39:05,910 In this case, I wanted to find related to OSINT. 358 00:39:05,970 --> 00:39:14,990 So any slide that had OSINT on it and all of that stuff, it found it not by virtue of the PowerPoint, but by virtue of the actual video itself, which I thought was pretty cool. 359 00:39:14,990 --> 00:39:19,390 And this only took a couple minutes to run and it was an hour long presentation. 360 00:39:22,370 --> 00:39:25,470 The speech recognition is also super awesome. 361 00:39:25,470 --> 00:39:32,050 In the case of AWS, again, it will help identify where in the video, in the timeline, this occurred. 362 00:39:32,170 --> 00:39:49,930 It'll also then transform this into, you know, words and phrases and how frequently they showed up, the confidence level, and actually gives you a search capability to go through that if you're looking for somebody talking about something suspicious to your investigation. 363 00:39:52,470 --> 00:39:56,690 So when you dive into the details of it, you have all these various filters. 364 00:39:56,690 --> 00:40:08,750 You can see all the keywords, all the mentions, and everything that were done as a result of, you know, analyzing the video using AWS recognition and the speech recognition componentry. 365 00:40:09,690 --> 00:40:12,250 There are a variety of other things that you can do with it. 366 00:40:12,250 --> 00:40:17,370 As you can see here, it used to have the capabilities with celebrities. 367 00:40:17,370 --> 00:40:24,150 I know there's been some privacy lockdowns and things like that with some of the cloud vendors, but also faces, words, cues. 368 00:40:24,150 --> 00:40:29,390 You could upload, you know, a face of a person of interest that you're investigating, things like that. 369 00:40:29,390 --> 00:40:34,510 Again, rely on your laws, privacy, you know, all of that kind of stuff, right? 370 00:40:38,190 --> 00:40:48,470 So some of the things that come out of this then are trying to, you know, improve the accuracy, the efficiency, and your, what I consider time to evidence. 371 00:40:48,470 --> 00:40:57,930 Again, if you collected a plethora of data or your team has, and now it's your job to kind of sift through all of this, these automated approaches are kind of priceless. 372 00:40:57,930 --> 00:41:03,550 I mean, you could just, you know, leverage all this ability to really find that data of interest you're most interested in. 373 00:41:03,550 --> 00:41:05,970 It's impossible to do all of it manually. 374 00:41:06,830 --> 00:41:14,270 In addition, it can also kind of validate narratives you may have or nefarious activity that you're trying to prove out. 375 00:41:14,310 --> 00:41:26,350 So as you start to look at the data, you may eliminate things too that you thought were important artifacts that are actually unrelated to the event, the activity, the investigation as well. 376 00:41:26,350 --> 00:41:33,450 So there's that other side of the coin too, and making sure you kind of validate, you know, the legitimateness of that evidence. 377 00:41:34,630 --> 00:41:45,250 And it's not a replacement for the human in the loop, you know, but it will vastly distill down, you know, your valuable data, you know, to less than one percent. 378 00:41:45,250 --> 00:41:57,150 And then as your team may be going through and manually, you know, visually looking at a lot of these things to validate it, help create that, you know, really refined, curated data set that you're really focused on. 379 00:41:57,150 --> 00:42:05,070 In other words, helps, you know, the human in the loop will really come into play much more in that last mile with the analysis and the results of that. 380 00:42:06,250 --> 00:42:08,850 So I know we have a few minutes left. 381 00:42:09,150 --> 00:42:13,370 Anybody have any questions or anything related to, you know, what we've covered? 382 00:42:16,110 --> 00:42:17,110 Go ahead. 383 00:42:17,110 --> 00:42:26,530 How are you, you know, these sorts of data that you're getting, you know, there's these repositories and stuff like that, but say, you know, you're, you're 384 00:42:32,310 --> 00:42:37,850 , yeah, you know, listed out there, and 385 00:42:43,830 --> 00:42:52,570 that's, you know, where, where would I go, where, things like that, where do you find availability for these images like that? 386 00:42:53,330 --> 00:43:03,710 Yeah, I have found over the years, the source, the sources that are best are related to the type of thing you're doing. 387 00:43:03,710 --> 00:43:05,050 So here's an example. 388 00:43:05,050 --> 00:43:12,210 So yeah, X may have a plethora of data in the case of like, I'll give a few examples, the first being the Russian-Ukrainian war. 389 00:43:12,210 --> 00:43:16,750 But we also found that the second most useful resource was actually Discord. 390 00:43:16,750 --> 00:43:29,070 So people were posting stuff from around the world on there that were both pro-Russian as well as pro-Ukrainian, you know, not to get into the political side of it, but there was like valuable data coming in from like both sides. 391 00:43:29,090 --> 00:43:33,310 So those became a wealth of information for the type of research we did. 392 00:43:33,310 --> 00:43:35,990 Did we get information from other locations too? 393 00:43:35,990 --> 00:43:42,590 Sure, we got stuff from Facebook and Instagram and other locations, but I would say those were the two standouts in terms of the war. 394 00:43:43,170 --> 00:43:59,290 In other types of, you know, analysis and investigation we've done, for example, an imminent weather event, you know, I live in Cape Coral, Florida, you know, and we were hit directly by Hurricane Ian, you know, and really trying to get that intelligence, 395 00:43:59,290 --> 00:44:03,350 I was going out there and gathering all kinds of weather-related data. 396 00:44:03,350 --> 00:44:11,890 I was also doing it not by just hitting up social media, but RSS feeds and other things were incredibly useful for my OSINT data collection. 397 00:44:11,890 --> 00:44:19,190 So I was able to gather a lot of that information, you know, quite handy as well, and that became a really important data source. 398 00:44:19,190 --> 00:44:21,030 It was like, who uses RSS anymore? 399 00:44:21,030 --> 00:44:22,530 And it was like, it's like bigger than ever. 400 00:44:22,530 --> 00:44:24,950 I couldn't believe how much data was out there, you know. 401 00:44:24,950 --> 00:44:39,550 So at the end of the day, I think it becomes, you know, it becomes a little bit part of the tradecraft in kind of determining like the type of investigation you're doing and what the most useful, you know, locations are for that type of data, you know. 402 00:44:39,730 --> 00:44:42,690 I don't know if that answers your question, but that's what I've learned. 403 00:44:43,010 --> 00:44:43,230 Yeah. 404 00:44:52,350 --> 00:44:53,850 Right, exactly. 405 00:44:54,190 --> 00:44:54,750 Cool. 406 00:44:54,750 --> 00:44:56,610 I know someone had a question over here. 407 00:45:05,690 --> 00:45:10,290 Yeah, there are options to assign weighted values to it as well. 408 00:45:10,290 --> 00:45:16,050 There's a bunch of dropdowns I didn't really get into in a lot of detail, like a 40-minute presentation, but you're absolutely right. 409 00:45:16,050 --> 00:45:28,770 So whether it's in AWS or within Azure, there are a lot of those weighted options and thresholds and performance stuff that you can actually validate as you train and then retrain and go through those iterations. 410 00:45:28,770 --> 00:45:29,370 Good point. 411 00:45:29,370 --> 00:45:29,690 Yep. 412 00:45:29,690 --> 00:45:30,630 Absolutely. 413 00:45:31,190 --> 00:45:32,530 Go ahead. 414 00:45:39,540 --> 00:45:41,260 Oh, interesting. 415 00:45:41,560 --> 00:45:50,520 I know that in the example for Azure with Power Automate and Power Apps, you can do it kind of like a live feed. 416 00:45:50,540 --> 00:45:58,280 So as an example, I've done labs with X or formerly Twitter doing exactly that. 417 00:45:58,340 --> 00:46:06,980 So as the tweets are coming out more based on the live feed, whereas what you're viewing in the app is it may be a second old, but it's historical data, right? 418 00:46:07,100 --> 00:46:13,280 Using the live streaming Tweepy API versus the historical feed, right? 419 00:46:13,280 --> 00:46:16,460 So techniques like that, yes, to leverage that. 420 00:46:16,460 --> 00:46:17,660 So the short answer is yes. 421 00:46:17,660 --> 00:46:20,320 And I think that becomes a little part of the tradecraft too. 422 00:46:20,320 --> 00:46:30,120 I know Chet and I did a presentation a few years ago on how to use Tweepy to do that with, at the time it was Twitter, but we also tested when it morphed into X as well. 423 00:46:30,400 --> 00:46:32,320 I'm sorry, there's so many people raising their hands. 424 00:46:32,320 --> 00:46:32,660 Go ahead. 425 00:46:57,060 --> 00:47:03,740 We have, and we demonstrated it in the Packet Hacking Village, I think two years ago. 426 00:47:03,940 --> 00:47:09,720 So if you go back and look at those videos, we created a Python tool and a little mini UI for doing that. 427 00:47:09,720 --> 00:47:14,300 And it would collect from multiple sources to do that kind of thing. 428 00:47:14,300 --> 00:47:18,180 Again, kind of based on the tradecraft and knowing what you wanted to collect. 429 00:47:18,220 --> 00:47:21,780 Again, we use the Russian-Ukrainian war because there was a ton of data around that. 430 00:47:21,780 --> 00:47:28,560 We also did it around the election, the previous election and things like that too, excuse me, to collect that data. 431 00:47:28,560 --> 00:47:30,740 So the short answer is yes, you can definitely do that. 432 00:47:30,740 --> 00:47:32,860 The APIs may be quite different. 433 00:47:32,860 --> 00:47:39,360 So the API for Discord versus X versus all of these different things are all slightly proprietary unto themselves, right? 434 00:47:39,360 --> 00:47:40,940 But the short answer is yes. 435 00:47:40,980 --> 00:47:41,540 Yeah. 436 00:47:41,840 --> 00:47:43,380 Someone had a question over here. 437 00:47:43,380 --> 00:47:44,080 Go ahead. 438 00:47:53,710 --> 00:47:59,790 Honestly, I can't really comment on that because it's changing so much and there's so many different laws. 439 00:47:59,790 --> 00:48:00,310 Yeah. 440 00:48:00,330 --> 00:48:02,650 So you're absolutely right. 441 00:48:02,830 --> 00:48:13,350 The only advice I would really give is what you would expect, which is like check your local vicinity, your country, like all of those things and see what you are and are not allowed to do. 442 00:48:13,350 --> 00:48:18,850 There's so many overlapping laws now, I'd probably get myself in trouble making any kind of recommendation. 443 00:48:18,850 --> 00:48:19,970 So my apologies. 444 00:48:20,010 --> 00:48:21,190 So yeah. 445 00:48:35,830 --> 00:48:46,310 Um, so, so what you're talking about is, um, uh, like testing to see if it'll, if you've created something that it will, will accidentally miss. 446 00:48:46,370 --> 00:48:47,090 Yeah. 447 00:48:47,090 --> 00:48:47,390 Yeah. 448 00:48:47,390 --> 00:48:55,910 So I have, and that was in a presentation a couple of years ago when I did the AWS one, what I did in that particular one was I come from a steganography background. 449 00:48:56,230 --> 00:49:04,650 So, um, I was really looking for creative ways to circumvent the detection basically for the optical character recognition in that presentation. 450 00:49:04,650 --> 00:49:06,330 I covered a couple of different types. 451 00:49:06,330 --> 00:49:22,330 The easiest one was taking a word document, um, making it a black background instead of a white background, and then changing the shade of my characters to just one off from the main page. 452 00:49:22,330 --> 00:49:24,470 So it looked like black on black. 453 00:49:24,470 --> 00:49:34,650 If you looked at it at histogram or other type of analysis, you know, the exposure, you know, type of analysis, you would see it, but I wanted to see if the AI could actually detect it or not. 454 00:49:34,650 --> 00:49:38,110 And it didn't, you know, but I've talked about that, like in the presentation. 455 00:49:38,110 --> 00:49:47,010 So, um, in, in the point I had made was like, and I think the presentation, um, I did at the time was, uh, remaining covert in an overt world. 456 00:49:47,130 --> 00:49:49,010 I did it in the packet hacking village. 457 00:49:49,010 --> 00:49:54,670 And then it was in that presentation where I talked about how you could covertly communicate in a whole bunch of different ways. 458 00:49:54,670 --> 00:49:55,590 And that was one of them. 459 00:49:55,590 --> 00:49:58,990 And I showed how the optical character recognition didn't detect it. 460 00:49:59,070 --> 00:50:00,410 So does that kind of help? 461 00:50:00,410 --> 00:50:01,750 Is that we were kind of wondering? 462 00:50:01,750 --> 00:50:02,310 Yeah. 463 00:50:02,350 --> 00:50:02,610 Yeah. 464 00:50:02,610 --> 00:50:08,390 If you're interested in that topic, um, that particular presentation, I cover a bunch of other methods too. 465 00:50:08,390 --> 00:50:08,910 Yep. 466 00:50:08,910 --> 00:50:11,090 So any other questions? 467 00:50:11,090 --> 00:50:12,070 Oh, go ahead. 468 00:50:12,070 --> 00:50:16,650 So I, as we have that string surface, we have an object surface. 469 00:50:17,990 --> 00:50:28,870 If we're looking for, like, let's say an object, a specific variation, do we have to then create that object dictionary with those variations in it? 470 00:50:29,770 --> 00:50:30,290 Instructed. 471 00:50:30,290 --> 00:50:36,510 So let's say I need to find a toy in the camera that has specifically no hubcap. 472 00:50:37,630 --> 00:50:42,130 I'm going to have to upload 100, 500 images of that with no hubcap. 473 00:50:42,410 --> 00:50:43,250 Yeah. 474 00:50:56,130 --> 00:50:58,170 It's a complex answer. 475 00:50:58,170 --> 00:51:02,330 So I'll see if I can kind of answer it with my, you know, with my knowledge. 476 00:51:02,330 --> 00:51:19,290 And that is one, um, the most key ingredient in that case, in my opinion, would be the bounding boxes, having bounding boxes focused on, you know, a smaller portion of, of a picture, because in most cases, you're going to have a picture of the whole car, 477 00:51:19,290 --> 00:51:24,850 including the wheels and the hubcaps, not just pictures of wheels with, you know, hubcaps or not hubcaps. 478 00:51:24,850 --> 00:51:25,270 Right. 479 00:51:25,270 --> 00:51:31,470 And then in addition, you know, you're looking for, you know, maybe the front left tire only. 480 00:51:31,470 --> 00:51:31,730 Right. 481 00:51:31,730 --> 00:51:39,430 And how does the AI know, like, am I looking at the, you know, driver's side of the car or the passenger side of the car and those kinds of things? 482 00:51:39,430 --> 00:51:49,590 So, um, I, I think a little bit of it would be testing, but the root of it, in my opinion, initially it starts with, um, uh, the bounding boxes type stuff. 483 00:51:49,590 --> 00:52:01,870 So you're kind of training it to do a more refined look at every image, which is mostly like each one is going to be a car and the car is going to be at different angles, but that you specifically want to focus on the wheels and the hubcaps. 484 00:52:01,870 --> 00:52:11,090 I know that on the Azure side, um, when you, when you go through the training, it will ask you the level of refinement that you want for those bounding boxes. 485 00:52:11,210 --> 00:52:14,250 And in addition, the kinds of things you're actually looking for. 486 00:52:14,250 --> 00:52:16,390 So it'll help you kind of get started with it. 487 00:52:16,390 --> 00:52:20,170 And then you could kind of iterate with it to, you know, from there. 488 00:52:20,710 --> 00:52:21,350 Sound cool? 489 00:52:21,350 --> 00:52:21,890 You're welcome. 490 00:52:22,350 --> 00:52:22,910 Cool. 491 00:52:23,470 --> 00:52:24,290 Well, awesome. 492 00:52:24,370 --> 00:52:27,010 Um, I know we're probably, uh, yeah, we're right at 150. 493 00:52:27,010 --> 00:52:29,190 So, uh, thanks so much for attending. 494 00:52:29,190 --> 00:52:33,130 I hope you guys got a couple of good nuggets out of this and, uh, thanks so much for coming.