Good morning, everyone. Good morning. Hopefully, everyone got some sleep. Ducks. Before we begin, we got, what, two minutes? Oh, yeah, the clock... what am I doing? The clock is right here. Who's here if this is your first DEF CON? Wow. Okay. So, if this is your first DEF CON, welcome. Um, you know, sitting in DEX, we haven't had a nice room like this for, you know, a while. But 2019 was the last year. 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. 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. 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. For anyone who, especially if this is your first time coming to the conference, learn as much as you can. Make good use of your time. Talk to other people. That's where the real learning happens. Hallway CON is always, always valuable. 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. Oh, sorry, man. I didn't want to, I didn't want to, I didn't mean to say, I forgot. But no, the, you know, it is the size of the talk rooms makes a big deal. You know, it feels, this definitely feels like a more intimate setting than what it, you know, than what it is now. 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. So enjoy your time here at DEF CON. And we are now at the top of the hour. Good morning. It's 10 o'clock from beautiful Las Vegas, Nevada. So our first of four talks of the day are presented by that Packet Hacking Village. 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. And you're going to learn a lot. You're going to love this talk. It is my pleasure to introduce to you all someone that we consider a friend. Mike Rago, everyone. All right. Well, thanks so much for having me again. Shouts out to the Packet Hacking Village and Ming for having me back again. Really enjoy doing these particular talks at DEF CON. 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. 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. 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, 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. 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, but in a very automated and efficient manner and with, in my opinion, a lot better accuracy. But, you know, I'll let you guys judge that for yourselves. So Ming knows I don't really like to talk about myself too much. So instead, I'll tell you a funny story about how I got into cybersecurity. And Ming has heard this story before. So it's circa 1994. I'm working at the NASDAQ stock market as a Unix system administrator. And it was long before there were vulnerability scanners out there like Nessus and other things. So I saw this article on Information Week by a gentleman by the name of Dan Farmer, who presented the first couple DEF CONs. 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. So I thought, hey, I was always one of those types of people, probably much like yourselves. 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. 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. But it was a good test of the failover for NASDAQ. Failed over without missing a beat. But I was called into the CISO's office and I fully expected to be fired. And he said, Mike, I'm here to offer you one of two options. You're either fired or you can take a promotion. So I certainly didn't want to be fired. So I took the promotion and asked questions later. But essentially, he said, listen, you clearly demonstrated you could take down the network, albeit by accident. But, you know, now it's going to be your job to protect it. So I had to build out the first security team there and really start protecting the network. So one other thing I'd just highlight on this slide, you know, Chet and I collaborate on a lot of research. 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. 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. One last thing, one of the things I've taken on recently is also mentoring folks that are looking to get into cybersecurity. They may be in IT today, they may have graduated college or something else. 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. But they all ask for experience, which is kind of odd considering it's an entry-level job. 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. All right, into the presentation. 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. Various types of social media, information from various sites, RSS feeds, all kinds of different things. 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. It's super time-consuming, the majority of the data is worthless that you, you know, collect. 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. 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. And that presentation, I think, is last year that we did that here in the Packet Hacking Village. 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. It's time-consuming to go through those things and find the artifacts you're looking for. You may be looking for a particular object, like a gun or something else. 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. So we're going to talk about using AI computer vision, and we'll talk about AWS as well as Azure. 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. 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. You're collecting a ton of information. The intelligence is one small piece of it, right? So a lot of what people are doing is collecting a wasteland of data, trying to convert it into intelligence or OSINT-type data. 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, can give you the ability to do this kind of thing. 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. They may be things such as signs or license plates. 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. We'll talk about a lot of those scenarios. Also, you can do object recognition or identification as well. So what type of object or objects are you actually looking for? 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? Object identification can really help you with that, and AI is super efficient at identifying those things across your data. Also, when we talk about video, there's also speech recognition. 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. Maybe there's specific words you're actually looking for amongst the speech. All of that speech recognition will also allow you to identify that too. 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? How can we maybe consume it in an automated way into some kind of a dashboard? Maybe I want to plot these things on a map. 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. So getting started with this, we'll first talk a little bit about Azure. 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. 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. And there's also video analysis and a whole variety of other things that you can do. There's also spatial analysis. 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. 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. So in a very simple way, you know, you can upload these images and perform optical character recognition on it. You can upload an image and for a suite of images and say, like, what have you found in this image? And let the AI computer vision identify that for you. Anybody a fan of the cult movie, They Live? 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. So I was super stoked when I saw that. Throughout the movie, there's all kinds of signs, right? 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. But this is a good example that if you're collecting images and or video, there's so much stuff going on. Like if you've got a cityscape or something else that you're looking at, like, how do I even look at this? And am I going to miss something like a license plate in the background or something else that's really important? Maybe a document that somebody's holding and on the back of it, you can see what it's about. 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. 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. 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. Common questions I get, you know, what about international languages? Those are supported as well. So it has the ability to identify that. If you're gathering a lot of OSINT data through social means, in this case, this was a TikTok video. 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. 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. 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. Geolocation information becomes increasingly difficult. 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. And as those things become locked down more and more and more, it becomes increasingly difficult. But optical character recognition, object recognition, and all of these things can actually help paint a new picture around the location information. In this particular case, we had been and continue to do a lot of research around the Russian-Ukrainian war. In this particular case, I was actually collecting images looking for military vehicles. And you can see that there's one here in the background. 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. 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. 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. And we had more than a 95% accuracy with this data. In terms of MIST, I was wondering what it was. It's actually a shipping company in the Ukraine. 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. And hold that thought because we'll come back to that in just a moment. Also, you know, during the beginning of the war, there were a lot of people trying to, you know, leave the country. And there was, you know, a lot of interesting pictures with mobs of people. 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. Again, this became super useful when trying to plot this out on a map. In addition, license plates. 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. 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. 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, where Russia was going to attack next. 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. 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. 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. 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. So pulling out these serial numbers was actually quite useful too. And there's sometimes various codes, as you can see here too, that are representative of things too. So we're talking more than just numbers and letters and some special characters. There may be weird codes, international languages, things like that, that is very good at bringing out. Interestingly enough, this was another picture I had, and you can see the same vehicle number popped up. 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. But as we looked through the data more and more, it was very unique to the truck. 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. So again, it became super helpful in terms of the geolocation or really just plotting these things on a map. Taking this data and making it useful, you know, there's a lot of different tools out there. You know, people use Grafana, Splunk, a whole bunch of different things. 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. In addition, it allows a lot of click and point and create various widgets in your dashboard. 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. This also became very helpful in tying together posts and also the trustworthiness of those posts. 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? 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. 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. Now click, create a PDF report, boom, I've got my triage report ready to use and, you know, put into action. There's a variety of different widgets across all these different, you know, tools and many others. In this particular case, there's all kinds of cool plugins. So there's word clouds and things like this. What was really interesting about this one was I was not looking at the Oblast region of Kiev at all. I was looking at other regions in Kiev where people were posting from and things like that. And for whatever reason, I just overlooked this part of the city. 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. What I uncovered was, because I was looking at tanks and military vehicles, it didn't even pop up for me. This was being posted because they were destroying a lot of churches around the Kiev area. So I started to take a look at the churches. That became one of the most interesting and key ingredients to the attacks and what was going on. The Russians were really destroying the majority of the churches across the Ukraine. And based on the timeline, we could see where they were based on when the church was destroyed. 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. 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. As I mentioned, these things may show up in multiple pictures. 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. For me, I went into it looking for military vehicles, it came out of it looking for destroyed churches. And so these, you know, things of interest, person of interest, and more may be identified at multiple locations. And again, this can be great for all kinds of location analysis. Again, a lot of this stuff I overlooked by looking at it manually. And in addition, there may be a lot of things in the foreground and the background that may be very informative. 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. So we talked about Azure and we'll get into AWS here in a moment. But in addition, you can use ChatGBT for doing some optical character recognition. There are, of course, APIs available, just like there are for AWS and for Azure. I've had kind of, you know, limited luck with identifying things within this. You can see I uploaded an image, but it doesn't really show me the image that I uploaded. It did find that number on the side of the military vehicle, so it was quite good at doing the optical character recognition. 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. All right. So object recognition. So up until now, we've talked about optical character recognition and identifying license plates and serial numbers and military numbers for vehicles. Now we're looking for objects. It may be a gun, it may be a military vehicle, it may be a person, maybe a car. 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. It may be very transparent to you, and that's fine, right? But again, we want to see what we've missed. 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. We'll also talk about how you can train these classifiers, too. 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. And I was trying to do some training on tanks and really kind of test that out. 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. So there's a lot of different options that you can leverage here. 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, you know, play around in your own sandbox. When you actually create an account, you can actually go in there and train the model. 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? 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. So I did exactly that. Went to Kaggle, downloaded a bunch of images, uploaded them into this and had and trained it basically how to do this. And it wasn't difficult. This was a lot of point and click, right? I'm not doing like command line coding, things like that. 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. 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. You could even use curl. There's a bunch of different ways in which you can easily use it. 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. As I mentioned, it'll create a bounding box around the object that's identified. When you upload these images, you'll go ahead and actually manually tag them. Again, this is for the training purpose only. And so you have these, in this case tanks, you can go in there and label it as a tank. And then once you're all done with doing that labeling, then you can go through the process of training. So you'll upload or leverage the images that you've actually uploaded. And as a last step, it'll go through and perform the training on all the images that you tagged. Then you can start to test the accuracy of all of this. 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. Within the training is the ability to iterate. 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? So you can actually go through that iteration over and over to hit the level of refinement that you're looking for. In addition, at the bottom, it'll also show you things such as the threshold value, the accuracy. You can also see the accuracy in the bounding box too, 90% accuracy. I guess that's pretty good. 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. Okay. I love this episode, by the way. 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. 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. So, you know, let me upload this and see how good this thing is. Well, lo and behold, 98% accuracy that this is a tank, right? We all know that it's not, right? So it's not really a fault of the AI, right? It just means we need to upload a larger corpus of data and do better training on it. How many images did I load when I did the training on this? 11, right? So clearly not enough images to, you know, accurately go ahead and train this model, right? And what they typically recommend is, you know, upwards of a hundred, 500, maybe a thousand images. And again, websites like Kaggle and other things have, you know, large data sets like that. I think you need an account, but you can download those and then upload those to the training model to ensure better accuracy. 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. Well, it also identified it as a tank with 95% accuracy, right? Clearly not a tank. So again, definitely want to go through iterations on this and upload large data sets. Not a difficult thing, right? A lot of this stuff is just point and click. And if you do prefer command line, you can do it via those means too. The API is available. It creates a key within this screen here. You can click over to that. It'll give you your URL and the key and all that kind of stuff. So you can leverage the API to do the exact same type of analysis. All right. So let's talk about AWS. 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. And continued to do testing, you know, within AWS as well. 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. So if you have an AWS account or you get a free account, you can look at the marketplace. There will be things sitting out there that people have built. 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. In this particular case at the time, I was doing research around fake image detection. 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. So you can see at the bottom, it identified a whole variety of characteristics of the image, such as humans, flag, symbol. The symbol was identified actually from the flag that's orange and white, which you can see in the background. Apparel, clothing, a tie, things like that. And so that became quite helpful in kind of determining, comparing this to a couple different pictures, which one is the real one? Well, the storyline was about a particular country, whereas the image showed a flag from a different country with a different individual. And again, you know, you can do facial recognition, too. I'll leave that up to you, you know, from a privacy standpoint. But again, similar kind of thing that you can do also within AWS. 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. All right. So what are the benefits of the object detection? It can help build out that timeline. 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. 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. 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. 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. Again, which is super helpful if you don't have latitude, longitude, geolocation specific type data, which many times you don't. So this became super helpful in mapping this out and understanding where the Russians might attack next within the Ukraine. 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. So we started to identify churches that were being destroyed, which was a data point I wasn't looking at at all. We talked about that earlier. 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. 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. Very easy to do. 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. So some of the lessons learned on the object detection side. Definitely train and then train again. This takes an iterative approach, but again, there's large data sets sitting out there that are very easy to download and upload. 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. 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. And I'll take a day's worth of training versus two weeks of sifting through a wasteland of OSINT data any day. So you can also do video analysis. This type of thing is available within AWS and Azure. And the extraction is really interesting. You know, if you're trying to do this today, it's very manually intensive. You may have a lot of videos, very, you know, time consuming as well. 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. So let's talk more about that. So in the case of AWS recognition, it will identify objects throughout the video. 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. It may also miss a lot of subtleties that you actually didn't identify. So much like the optical character recognition and the object detection, you know, with the video analysis, very similar approach in that regard. But again, help identify things in the foreground or the background. In the video, this was an interview myself and a coworker did for CNN. 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. Things I didn't even realize were in the image. 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. You can upload all the images and just have it crank through all of them and create reports or consolidated reports for you. Very clean and efficient way to do it. 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. You can do the same thing within Azure. From that home screen, if you want to upload a sample video, it will do the same type of thing. It may look a little bit different, right? Different cloud platform, but it effectively does the same kind of thing. 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. In this case, I wanted to find related to OSINT. 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. And this only took a couple minutes to run and it was an hour long presentation. The speech recognition is also super awesome. In the case of AWS, again, it will help identify where in the video, in the timeline, this occurred. 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. So when you dive into the details of it, you have all these various filters. 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. There are a variety of other things that you can do with it. As you can see here, it used to have the capabilities with celebrities. I know there's been some privacy lockdowns and things like that with some of the cloud vendors, but also faces, words, cues. You could upload, you know, a face of a person of interest that you're investigating, things like that. Again, rely on your laws, privacy, you know, all of that kind of stuff, right? 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. 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. I mean, you could just, you know, leverage all this ability to really find that data of interest you're most interested in. It's impossible to do all of it manually. In addition, it can also kind of validate narratives you may have or nefarious activity that you're trying to prove out. 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. So there's that other side of the coin too, and making sure you kind of validate, you know, the legitimateness of that evidence. 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. 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. 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. So I know we have a few minutes left. Anybody have any questions or anything related to, you know, what we've covered? Go ahead. 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, yeah, you know, listed out there, and that's, you know, where, where would I go, where, things like that, where do you find availability for these images like that? Yeah, I have found over the years, the source, the sources that are best are related to the type of thing you're doing. So here's an example. 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. But we also found that the second most useful resource was actually Discord. 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. So those became a wealth of information for the type of research we did. Did we get information from other locations too? 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. 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, I was going out there and gathering all kinds of weather-related data. 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. 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. It was like, who uses RSS anymore? And it was like, it's like bigger than ever. I couldn't believe how much data was out there, you know. 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. I don't know if that answers your question, but that's what I've learned. Yeah. Right, exactly. Cool. I know someone had a question over here. Yeah, there are options to assign weighted values to it as well. 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. 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. Good point. Yep. Absolutely. Go ahead. Oh, interesting. I know that in the example for Azure with Power Automate and Power Apps, you can do it kind of like a live feed. So as an example, I've done labs with X or formerly Twitter doing exactly that. 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? Using the live streaming Tweepy API versus the historical feed, right? So techniques like that, yes, to leverage that. So the short answer is yes. And I think that becomes a little part of the tradecraft too. 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. I'm sorry, there's so many people raising their hands. Go ahead. We have, and we demonstrated it in the Packet Hacking Village, I think two years ago. So if you go back and look at those videos, we created a Python tool and a little mini UI for doing that. And it would collect from multiple sources to do that kind of thing. Again, kind of based on the tradecraft and knowing what you wanted to collect. Again, we use the Russian-Ukrainian war because there was a ton of data around that. We also did it around the election, the previous election and things like that too, excuse me, to collect that data. So the short answer is yes, you can definitely do that. The APIs may be quite different. So the API for Discord versus X versus all of these different things are all slightly proprietary unto themselves, right? But the short answer is yes. Yeah. Someone had a question over here. Go ahead. Honestly, I can't really comment on that because it's changing so much and there's so many different laws. Yeah. So you're absolutely right. 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. There's so many overlapping laws now, I'd probably get myself in trouble making any kind of recommendation. So my apologies. So yeah. 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. Yeah. Yeah. 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. So, um, I was really looking for creative ways to circumvent the detection basically for the optical character recognition in that presentation. I covered a couple of different types. 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. So it looked like black on black. 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. And it didn't, you know, but I've talked about that, like in the presentation. 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. I did it in the packet hacking village. And then it was in that presentation where I talked about how you could covertly communicate in a whole bunch of different ways. And that was one of them. And I showed how the optical character recognition didn't detect it. So does that kind of help? Is that we were kind of wondering? Yeah. Yeah. If you're interested in that topic, um, that particular presentation, I cover a bunch of other methods too. Yep. So any other questions? Oh, go ahead. So I, as we have that string surface, we have an object surface. 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? Instructed. So let's say I need to find a toy in the camera that has specifically no hubcap. I'm going to have to upload 100, 500 images of that with no hubcap. Yeah. It's a complex answer. So I'll see if I can kind of answer it with my, you know, with my knowledge. 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, including the wheels and the hubcaps, not just pictures of wheels with, you know, hubcaps or not hubcaps. Right. And then in addition, you know, you're looking for, you know, maybe the front left tire only. Right. 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? 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. 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. 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. And in addition, the kinds of things you're actually looking for. So it'll help you kind of get started with it. And then you could kind of iterate with it to, you know, from there. Sound cool? You're welcome. Cool. Well, awesome. Um, I know we're probably, uh, yeah, we're right at 150. So, uh, thanks so much for attending. I hope you guys got a couple of good nuggets out of this and, uh, thanks so much for coming.