[00:04.120 --> 00:14.440] Hi, everyone. Good morning. That's the kind of cheer we need. So thank you so much for [00:14.440 --> 00:21.040] coming to our DEF CON this year, Recon Village. So let's give a big round of applause for [00:21.040 --> 00:31.820] Recon Village. So happy to see so many people. It's like the room full and I can see some [00:31.820 --> 00:37.540] people standing out there as well. We're going to be introducing our first speaker, [00:37.540 --> 00:41.600] our keynote speaker, who's going to be talking about something very interesting, something [00:41.600 --> 00:51.380] very hot right now. So who all have heard about AI? No? No? No? Yes? Maybe? So he's [00:51.380 --> 00:57.400] going to be speaking about reshaping reconnaissance, AI's role in open source intelligence. So [00:57.400 --> 01:05.000] let's welcome Matt Edmondson. And he's actually founder for Argilius Labs, hacker, forensicator, [01:05.000 --> 01:11.100] science author, practical open source intelligence course, principal instructor, Black Hat speaker, [01:11.100 --> 01:16.440] OSCP holder, featured in Wired, and so many more things to say about him. But what I'm [01:16.440 --> 01:22.940] going to do is... I'm going to shut my mouth now and I'll give the stage to him. But let's [01:22.940 --> 01:33.740] give him a round of applause. I met her half an hour ago and I'm already deeply afraid [01:33.740 --> 01:40.260] of her. Also, the hardest part of this talk is going to be not moving for an hour with [01:40.260 --> 01:45.780] the stationary mic. I literally might explode. So she did a good job introducing me. Almost [01:45.780 --> 01:50.740] 22 years as a federal agent, started up a lot of OSINT units with the government. Louder? [01:50.740 --> 01:55.200] All right. All right. I got to get real close and intimate with this microphone. Thank you [01:55.200 --> 01:59.660] for letting me know. I'm the author of the SANS SEC 497 practical OSINT course, Black [01:59.660 --> 02:03.500] Hat speaker, featured in Wired, et cetera, et cetera. What are we going to talk about [02:03.500 --> 02:08.340] today? A little bit of introduction. We'll talk about using AIML for profile creation, [02:08.340 --> 02:12.680] see what that looks like real quick. For processing, which I think is honestly what we'll probably [02:12.680 --> 02:17.440] end up spending most of our time, kind of processing, massaging data. Code analysis [02:17.440 --> 02:24.740] and end it with a little bit of report writing. It's kind of weird. If we're being perfectly [02:24.740 --> 02:32.660] honest, if we gave this talk a year ago, like these would just be buzzwords, right? I mean, [02:32.660 --> 02:36.660] seriously, for most of us in here. AIML. I think I joked when I was speaking at the [02:36.660 --> 02:43.040] 2021 SANS Summit. I wrote a persistent monitoring tool. And I said, yeah, if I was trying to [02:43.040 --> 02:46.900] get funding, if I was trying to sell it, I would say it uses AIML. It's just lists and [02:46.900 --> 02:52.440] common sense and some shoddy Python code. Really it is. And all of a sudden a year later, [02:52.440 --> 02:57.740] we actually have usable things that do produce some amazing, amazing capabilities, right? [02:58.280 --> 03:03.440] And you're already starting to see some people think that this is just a fad. We live in an [03:03.440 --> 03:07.660] industry full of fads, right? Next generation this. There's always some new next thing that's [03:07.660 --> 03:13.680] going to be the savior. It never actually pans out. And so it's very, very easy to think that [03:13.680 --> 03:17.820] it's going to be the same way with some of these capabilities. But I really don't think that's [03:17.820 --> 03:23.900] going to be the case at all. I really, really don't. I originally started playing with this [03:23.900 --> 03:29.740] tech late last year, like I think a lot of us probably did. And I was in curiosity and I just [03:29.740 --> 03:34.600] started using it more and more. I was amazed by the results. And usually how I was using it was [03:34.600 --> 03:38.380] to help me writing code, right? I'm not a professional programmer. I can write shoddy [03:38.380 --> 03:43.600] Python code that helps me, my friends, my teammates and kind of gets the job done. [03:43.600 --> 03:48.360] And all of a sudden with ChatGPT, I was writing that code a lot quicker, right? I was just really, [03:48.360 --> 03:54.620] really enjoying it. And I saw someone on an OSINT Discord say, yeah, ChatGPT, it's neat, [03:54.620 --> 03:59.400] but it's not really useful for OSINT. And I'm like, man, I'm using it every day, right? And [03:59.400 --> 04:05.180] so that's when I decided to do a webinar on how ChatGPT for OSINT. And when I did it, I didn't [04:05.180 --> 04:10.300] just want to talk about how I was using it. And so I actually forced myself to sit there and think, [04:10.300 --> 04:16.040] how could we use it in every phase of the intelligence cycle? And as I started playing [04:16.040 --> 04:22.180] with it more and more, frankly, I was more and more amazed. I just really, really truly was. [04:22.980 --> 04:30.760] The good news is the hard stuff is getting more and more unnecessary every day, right? You don't [04:30.760 --> 04:36.980] really have to understand the math behind it. The same way if we're being honest at a hardware level, [04:36.980 --> 04:40.280] my phone does a lot of stuff that I don't understand exactly how it works. [04:40.300 --> 04:44.740] But I use it every single day. And this technology is quickly getting there, very quickly. [04:44.740 --> 04:50.800] If anyone's ever tried to play with the local models, right? Like Lama or some of those others. [04:50.840 --> 04:56.560] If we think back even four or five months ago, what do these things want you to do? Oh, download [04:56.560 --> 05:01.920] this. Download all these weights. Train the model. This is about it. You don't have to do that [05:01.920 --> 05:06.880] anymore. It's like one click. I mean, seriously, right? It's like a pip install. And then you have [05:06.880 --> 05:11.700] things running. And it's just going there. And I like that. And it's not just installing and using [05:11.700 --> 05:16.000] local. I think it's kind of everything in this space. Right now for 2023, right? One of the hot [05:16.000 --> 05:21.980] jobs has been prompt engineering. It's getting very, very good at asking these models questions [05:21.980 --> 05:26.640] and getting the results you want. That's not going to be a job in like two years for the most part. [05:26.640 --> 05:30.460] It's really, really not. Because they're getting better and better at knowing what they want, [05:30.460 --> 05:36.600] right? When I was a little kid, I tried to draw. I can't draw, right? I can't draw a [05:36.600 --> 05:41.360] straight line with a ruler. I'm horrible. But now, like if you look at all these graphics, I made [05:41.360 --> 05:46.120] them myself using my words, right? Using mid journey. And you used to have to give mid journey [05:46.120 --> 05:50.920] like these long, complicated commands to try to get decent output. Nowadays you can give it two [05:50.920 --> 05:55.120] words and get pictures like this, right? So it's heading in the right direction. And I'm very happy [05:55.120 --> 06:01.900] to see it. It's going to change the way that a lot of things are getting done, frankly. It just is, [06:01.900 --> 06:07.480] right? And it's going to be important to be at least familiar and comfortable with it. There's [06:07.480 --> 06:11.860] someone named Daniel Missler who's brilliant. He comes out with a newsletter each week on kind of [06:11.860 --> 06:16.380] trends in technology. If you like his stuff, you should definitely check it out. But he's mentioned [06:16.560 --> 06:22.160] a few times something called like a K-shaped recovery, right? And as we start to think of what [06:22.160 --> 06:25.620] this is going to change and how it's going to affect our industry and how it's going to affect [06:25.620 --> 06:30.080] our jobs, it kind of makes sense that it's probably going to be very, very good for some people and [06:30.080 --> 06:34.140] very, very bad for some people, right? If I was an artist right now, I would be terrified. [06:34.220 --> 06:38.280] And it sucks because I appreciate artists because I don't have that capability. So I can just sit [06:38.280 --> 06:42.380] there for hours and watch. Like I can go down to the strip and see someone with cans of spray paint [06:42.380 --> 06:47.420] making pictures. I can watch them for hours. I'm mesmerized because that's not a skill set I have. [06:47.620 --> 06:51.920] But now I'm making pictures like this, right? So like I said, if I was an artist, I'd be terrifying. [06:51.960 --> 06:58.620] And so what he means by a K-shaped recovery is just like a capital A, right? Are you utilizing AI ML? [07:00.260 --> 07:04.880] Probably going to be good for you. Are you not? It may not be the best. So it's just something [07:04.880 --> 07:11.200] to think about. And like I said, we live in an industry full of trends. I was a black hat [07:11.200 --> 07:15.980] yesterday and I saw a booth where they had like set up a coffin and candles saying something was [07:15.980 --> 07:19.660] dead. It was probably the tackiest booth I've ever seen in my life. If you work for that company, I [07:19.660 --> 07:24.520] apologize. But like I said, when we live in this industry, right, where there's so many things [07:24.520 --> 07:29.300] that are fads and trends, it's really not hyperbole to say that things that haven't [07:29.300 --> 07:35.420] been possible before now are. And it's kind of a silly example that I use, but the example that I [07:35.420 --> 07:40.060] love is sentiment, right? Has anyone in here ever tried in the past to do sentiment analysis at [07:40.060 --> 07:46.240] scale? It is a dumpster fire, right? Those of you that haven't tried, no, but it is a dumpster fire. [07:46.240 --> 07:50.240] It's one of those things. It's like three lines of Python to implement, right? [07:50.240 --> 07:56.580] Import text blob, get your score, you're good to go. But the score is iffy at best. And when I [07:56.580 --> 08:00.080] looked at this, this was, we used to have a site called Twitter. It was pretty cool. It's something [08:00.080 --> 08:06.540] else now. But when I was looking at a site to analyze sentiment, this was classified as the [08:06.540 --> 08:13.320] most negative tweet. And if you look at it, this is bad AF. Y'all killed it. That's clearly very [08:13.320 --> 08:20.380] positive, right? But everything that we throw it at says it's extremely negative. But now I just gave [08:20.380 --> 08:24.820] it to Google Bard, and Google Bard said it's positive and takes the time to sit there and [08:24.820 --> 08:30.660] explain why it's positive. We couldn't do this a year ago, right? At least not publicly. And so [08:30.660 --> 08:34.420] this is just one example of, like I said, it's not hyperbole. The things that weren't possible [08:35.080 --> 08:39.580] are now possible. And right now, like, honestly, this is kind of a good for demonstration [08:40.560 --> 08:44.860] operationally. What? I would want positive, negative, or mixed. But now think about that. [08:44.860 --> 08:50.420] When you're trying to set up persistent monitoring efforts, right? Why is sentiment so hard? Language [08:50.420 --> 08:56.360] changes, right? Bad is actually good now sometimes, depending on the context. Sarcasm. Hey, great job, [08:56.360 --> 09:01.920] Salvin. Real good to see you, right? These are the reasons why it's hard, but now these models are [09:01.920 --> 09:06.860] doing a really, really good job with it. Let's take a look at... we've got a couple of examples that [09:06.860 --> 09:09.960] I've shown before, and they're in here because they're really good, but then we have a lot of [09:09.960 --> 09:15.200] new stuff too. So one thing, right? How can we actually use this technology creating sock puppet [09:15.200 --> 09:22.040] accounts? And so here I asked chat GPT, can you give me 10 fake names for a French woman in her [09:22.040 --> 09:29.860] 30s? And it spits them out. I picked number five, Chantelle Rousseau. I then asked, can you recommend [09:29.860 --> 09:37.480] 10 usernames for a woman named Chantelle Rousseau? And it does it. This to me is hurts. This slide [09:37.480 --> 09:47.260] just hurts. Yeah, I'm tall and handsome and charming and modest, but honestly, clever, right? Clever [09:47.900 --> 09:51.520] is what's kind of gotten me along all these years. And now I look at the usernames that [09:51.520 --> 09:56.940] chat GPT came up with, and I'm like, dammit, chat GPT is more clever than me, right? Chantellicious, [09:57.740 --> 10:03.900] the Chantress, Chantelle C. Rousseau, Chante Rousse. These are like, there's like six names [10:03.900 --> 10:09.380] that I will freely admit are better than anything I could come up with. And that hurts. That's one [10:09.380 --> 10:15.100] less thing I got going for me, right? And now that we have the name, and now that we have the username, [10:15.100 --> 10:20.540] and I know this went to small, I apologize, but I say, can you please fill out all the profile [10:20.540 --> 10:27.900] information? And it gives me a date of birth, a city, her interests, and then a short bio right [10:27.900 --> 10:34.460] in there, right? It really, really kind of is crazy. And so this is push-button automated now [10:34.460 --> 10:38.600] to just come up with an accurate, right? And I've showed this to people from France, and they're [10:38.600 --> 10:44.760] like, no, that looks spot on. This is push-button capability. But what about the profile pictures, [10:44.760 --> 10:51.400] right? We have these things now to detect that a picture isn't real. Except most of the tech [10:51.400 --> 10:57.880] that's detecting if a picture isn't real, they don't know what everyone in the world looks like, [10:58.440 --> 11:04.020] and long story short, GAN stands for a generative adversarial network. And this was some researchers [11:04.020 --> 11:08.020] at NVIDIA, the company that their stock is skyrocketing right now, right, because of this [11:08.020 --> 11:12.420] stuff. But they make graphics cards, and their researchers had to come up with an algorithm to [11:12.420 --> 11:17.700] detect faces. And so they made an algorithm to create faces, and basically generative adversarial [11:17.700 --> 11:22.200] network. Generative because it actually makes something, and adversarial network because you [11:22.200 --> 11:26.800] have two computer programs that you're battling against each other. And so, for instance, if we [11:26.800 --> 11:31.760] make a program that makes counterfeit currency, and another program that detects counterfeit [11:31.760 --> 11:37.020] currency, and we battle them together thousands, millions of times, what's eventually going to [11:37.020 --> 11:41.320] happen is the counterfeiter is going to get so good that it's almost never going to get detected, [11:41.320 --> 11:45.340] right? And so they came up with this algorithm to make faces, but there are tells, right? The [11:45.340 --> 11:49.780] most common one is, if you've ever played with that site, this person does not exist, [11:49.780 --> 11:54.920] and you take your fingers, and you cover eyes, and you hit refresh, refresh, refresh, all these [11:54.920 --> 11:59.080] new faces, right? Your fingers never move. You're still covering the eyes. That's kind of its north [11:59.080 --> 12:07.900] star. And so a lot of these tools, a lot of these plugins, etc, oh, we detect fake faces with a 99.82% [12:07.900 --> 12:14.420] accuracy. No, you don't. You detect if it was generated with a GAN, right? And so a lot of [12:14.420 --> 12:18.360] people are familiar with ChatGPT, obviously, but a lot of people haven't ever played around on a [12:18.360 --> 12:23.560] site called Hugging Face. You ever have like a friend that always likes to brag that they were [12:23.560 --> 12:28.520] on a band before anyone else, right? I was watching Green Day back when they were playing in bars in [12:28.520 --> 12:34.760] Hemet, right? If you want to be that person in the AI ML space, and who doesn't, Hugging Face is where [12:34.760 --> 12:39.980] you should be playing out. It's a lot like GitHub, except they actually let you set up spaces where [12:39.980 --> 12:45.160] you can test and play with these codes. And one of the code out there right now is a project called [12:45.160 --> 12:52.000] Face Swap, and Face Swap is pretty cool. It lets me take a picture of myself, mix in that bottom [12:52.000 --> 12:56.660] person at the left, the far less handsome person in the lower left corner. That's actually a GAN [12:56.660 --> 13:02.040] generated image, right? You can tell with the soulless little eyes there. And it lets me now mix [13:02.040 --> 13:09.200] in elements from that GAN onto my picture. So even though I kind of mixed in attributes from a GAN, [13:09.200 --> 13:15.580] if you look at my picture, it still has the same basic shape, the same basic, right, kind of angle. [13:15.580 --> 13:21.840] The eyes aren't in the exact same spot. And so all these tools that brag that they have a 99.82% [13:21.840 --> 13:27.600] accuracy, this is just a rip in the right biome, right? And so literally right now, we have the capability [13:27.600 --> 13:36.040] with an API to generate profiles and generate profile pictures in seconds, right? And for those [13:36.040 --> 13:40.580] of us that have to create accounts at scale, this is glorious. For those of us that are trying to [13:40.580 --> 13:45.300] deal with propaganda networks, right, and the things that a lot of us are dealing with, this [13:45.300 --> 13:51.760] is terrifying, right? That is absolutely the scary part. And right now, I don't honestly have a lot of [13:51.760 --> 13:56.640] answers, but I think those of us in this room and those of us at home, we're going to be on the hook [13:56.640 --> 14:03.480] to solve this problem, right? We're using these capabilities to generate these things at scale. [14:03.520 --> 14:07.560] We're going to have to figure out ways that we can use these capabilities to detect them at scale, [14:07.560 --> 14:11.940] right? And we can. And like everything else, this is going to turn into a cat and mouse game, [14:11.940 --> 14:18.660] right? This AIML, it's like, what is it going to be good at? Yes, right? Seriously, yes. We just have [14:18.660 --> 14:23.640] to get clever and creative about how we're going to use it and how we're going to deploy it. [14:24.800 --> 14:31.200] Let's talk for a little bit about processing. Throughout my entire career with the government, [14:31.860 --> 14:35.440] I would hear people say collection and analysis, right? And I think if any of you were in the [14:35.440 --> 14:41.140] Gubby space, you always hear collection analysis, collection analysis. You're missing a step, [14:41.140 --> 14:46.740] right? There's a step in between there, and that step is honestly where I lived most of my career, [14:46.740 --> 14:53.460] and that step is processing. Processing is taking the data and actually putting it in a [14:53.460 --> 14:58.220] format where it's suitable to be analyzed, right? I always joke, like, everyone says they want all [14:58.220 --> 15:02.920] the data until you give them all the data, right? Seriously, people are like, I want all the data, [15:02.920 --> 15:08.760] and you hand them like a 16 gigabyte SQL database of breach data, and they're just staring at it [15:08.940 --> 15:13.800] like a hog looking at a wristwatch, right? No idea what's going on. And it's actually being able to [15:13.800 --> 15:18.680] process that data, massage that, and put that in a format where people can analyze it. It could [15:18.680 --> 15:22.580] be something like just translating it to a native language, right? To a language that you speak, [15:22.580 --> 15:28.640] or whatever it is, but processing. It's a critical step, like I said, because of my technical skills, [15:28.640 --> 15:32.700] most of my career, this is where I lived, is kind of taking these things that people didn't know how [15:32.700 --> 15:37.800] to deal with and making it to where they could deal with it. And I got to tell you, this tech [15:37.800 --> 15:45.720] is absolutely ridiculous at doing these things. Another example that I've used, but it's just too [15:45.720 --> 15:50.240] perfect not to use, Conti, right? A lot of us have heard of that. Ransomware gang, been observed [15:50.240 --> 15:55.580] since 2020, 2022, right? Last year, the government offered a reward of 10 million, I'd like 10 [15:55.580 --> 16:02.420] million dollars. Conti came out, right? If you're like a threat actor operating in Russia, right? [16:02.420 --> 16:05.520] What are the rules, right? You really, for the most part, don't mess with other Russians, right? [16:05.520 --> 16:09.940] That's where the malware tries to detect the language, and if Russia asks you to do something, [16:09.940 --> 16:16.460] you do it, right? That's kind of the rules. And so obviously, Conti came out and expressed [16:16.460 --> 16:21.160] support for the invasion of Ukraine. Well, not everyone in the group was on board, and so someone [16:21.160 --> 16:28.660] leaked 60,000 messages from their internal chat. This sounds amazing, this is like beautiful, let's [16:28.660 --> 16:35.220] read them. Cool, here they are. Once again, the font is small, I know, but number one, they're in [16:35.220 --> 16:41.760] JSON. All right, the, you know, the addresses are a little weird, right? They end in a dot onion, got [16:41.760 --> 16:47.240] some dark web stuff going on here, and the body, the text, right? It's all in Russian, right? It's all [16:47.240 --> 16:53.100] in Cyrillic, it's all in Russian. We can do this, right? We have translate, we have human translators, [16:53.720 --> 16:58.580] we have tech translator, translation engines are getting good, right? Translations are way better [16:58.580 --> 17:02.940] than a lot of people think right now. We can make this happen, but it's going to be a little bit of [17:03.000 --> 17:10.900] a pain in the butt, right? 60,000 messages, grab a Snickers. Here, I give the text to chat GPT and I [17:10.900 --> 17:15.300] say, parse the body field in the JSON and tell me what the conversations are about. [17:16.740 --> 17:25.200] It cannot be this easy. Damn it, it's this easy. Seriously, look at that. This person and this [17:25.200 --> 17:29.280] person having a conversation about registering an external account for backup purposes, [17:30.000 --> 17:35.240] these ones talking about their location, providing login details for several servers. [17:36.460 --> 17:41.740] I didn't have to massage the JSON. I didn't have to translate the Russian [17:41.740 --> 17:49.660] to English so I could understand it. I didn't have to do any of that. It just did it, right? Like I [17:49.660 --> 17:57.100] said, it's to say that this is a fad, I think is crazy personally, because all of a sudden, [17:57.100 --> 18:04.880] things that just were not possible at scale before now are. And this is one thing, too, where [18:05.880 --> 18:11.260] it gets a little tricky, right? I was just, two weeks ago, I was teaching at a conference in New [18:11.260 --> 18:16.180] York and all of the people for the conference were setting up, well, there were some union [18:16.180 --> 18:20.220] workers that were just standing around watching, right? But they were getting paid. You had to [18:20.220 --> 18:23.740] have the union workers there, right? And that's just, you know, there are some cities that are [18:23.740 --> 18:30.120] like that. I'm not saying it's good or bad, but it's this, well, it's taking someone's job, [18:30.120 --> 18:33.400] right? Like, no, you can't do that. I need to do that, because that's someone else's job, right? [18:33.400 --> 18:38.920] I can't do that. That's someone else's. And so it's easy to think this and get afraid. Like I [18:38.920 --> 18:43.280] said, if I was an artist, I'm going to be honest, I'd be terrified. But this tech isn't about [18:43.280 --> 18:50.300] replacing people. It's about toll reduction, right? It's about taking the things that a human being [18:50.300 --> 18:56.780] doesn't like and automating that and letting them focus on what we're good at, because there [18:56.780 --> 19:01.900] are some things that humans are absolutely better at than this tech, especially right now. But if we [19:01.900 --> 19:08.100] can use it so we can focus our time, I always think back to when I first ever used Python, [19:08.100 --> 19:14.340] it was actually for GIS work, and I had one of my Intel analysts who every week had to generate a [19:14.340 --> 19:20.040] report. She had to analyze certain activities that occurred in different regions and actually [19:20.040 --> 19:25.600] come up with some stats for that, and this literally took her an entire day every week. [19:25.980 --> 19:29.540] And I'm like, there's got to be a way to automate this, right, with some of these capabilities from [19:29.540 --> 19:33.920] Esri. And I reached out to the company. I'm like, hey, is it possible to use these tools externally [19:33.920 --> 19:38.780] and just tap the Python API? And they're like, I don't know. No one's ever asked me that. Cool. [19:39.300 --> 19:43.540] Took me about two days, but I was able to cobble together some code and automate that and take [19:43.540 --> 19:48.880] something that was literally taking her a full day every week and made a push button run in about ten [19:48.880 --> 19:57.260] minutes, right? She wasn't out of a job. We didn't convert her to part-time. It let her get rid of [19:57.260 --> 20:01.980] something that she hated doing every week and focus on things that she was actually good at [20:01.980 --> 20:06.440] and enjoyed a little bit more, right? So that's definitely the mindset that I try to keep in mind [20:06.440 --> 20:11.320] as I think about how to use this. Like I said, I really think it's about toll reduction, not about [20:11.320 --> 20:18.920] replacement, at least for right now and hopefully forever. I personally, you see all these cool [20:18.920 --> 20:23.600] little parlor tricks that people are doing. I think the killer app right now for these large [20:23.600 --> 20:29.300] language models like ChatGPT and Google BARD, and we'll talk more about BARD later, I really think [20:29.300 --> 20:36.920] that the killer app is summarization, right? I give you just a mountain of text and you summarize it [20:36.920 --> 20:43.740] for me, right? Just like those conversations we just looked at. We saw the power now of taking [20:43.740 --> 20:49.360] text, but what about other stuff, right? What about audio and video? And for that, let's look at [20:49.360 --> 20:53.680] something called a Whisper. If you've never seen Whisper before, you are in for a treat. Whisper is [20:54.620 --> 20:59.960] ridiculous and it's got everything going for it and it is completely free. It's made by OpenAI, [20:59.960 --> 21:05.160] the same company that makes ChatGPT. And there's a lot of times for a lot of reasons where you have [21:05.160 --> 21:12.060] audio and video files that you actually need to transcribe, right? We need text from this. Whisper [21:12.060 --> 21:18.640] automates that task. Here, I took a video from my personal trainer on how to, kind of advice on how [21:18.640 --> 21:24.660] to meet your protein goals, and I sicked Whisper on it. Whisper is two lines to install. You have [21:24.660 --> 21:30.880] to install a FFmpeg, like an open source audio video processor, and then it's just a pip install [21:30.880 --> 21:37.100] Whisper. It is seriously that easy. Once you do that here, you see I say Whisper. I give it the [21:37.100 --> 21:43.160] name of the video. It takes about 30 seconds of audio to analyze the language and detect it, [21:43.700 --> 21:48.020] and then it just starts spitting out. The blur there is he dropped an F-bomb, right? I didn't [21:48.020 --> 21:51.920] want an F-bomb in my talk. If I'm going to drop an F-bomb, it's going to be me, not a text. [21:52.420 --> 21:58.320] And I'll try not to, I promise. But no, I mean, if we're looking at that, it's spot on, right? [21:58.320 --> 22:04.340] And he's got a fairly thick Irish accent, but he's easy to understand. So this is impressive, [22:04.340 --> 22:14.320] but it's easy to understand, and it's in English. What other languages does it support? Yes, [22:14.320 --> 22:21.840] right? And like I said, I know this font is small, but that's a lot of languages right there. Some [22:21.840 --> 22:25.520] are going to be better than others, right? It's going to have better support for English, the [22:25.520 --> 22:30.260] popular languages, German, French, Russian, than it will for some of the more obscure ones, I'm [22:30.260 --> 22:37.040] sure, there. But still, that is a ridiculous level of support. So I gave it English. It did good, [22:37.040 --> 22:42.520] but how would it do with a foreign language and one that's not the easiest to understand there, [22:42.520 --> 22:47.560] right? So Juan Huyabora, a.k.a. Spanish Laughing Man. A lot of us have probably seen his meme [22:47.560 --> 22:52.820] videos, right? The AWS Exhibimon is just the GOAT. I've watched that probably 20 times. [22:53.560 --> 22:58.600] So let's see how it does with him. First things first, it actually detects the language slightly [22:58.600 --> 23:04.220] off, right? After 30 seconds, it detects it as Galician, like a mix of Spanish and Portuguese, [23:04.220 --> 23:08.980] which from Spain, like, this actually kind of makes sense. And so here I aborted, just [23:08.980 --> 23:15.080] control seat out, and I did it again, but I actually forced Spanish. So you see their language [23:15.080 --> 23:24.180] ES, and it starts having no problem transcribing what is being said in the video. And guess what? [23:24.180 --> 23:30.620] I can also do tac-tac translate, and now instead of just transcribing, it also translates to [23:30.620 --> 23:40.500] English. We've seen what it does. We've seen the languages it supports. Would you believe me [23:40.500 --> 23:49.280] if I told you that this capability was all offline? Because it is. Because it is. I wrote [23:49.280 --> 23:53.160] up a blog post on this, and someone's like, there's no way that's offline. I'm like, let's [23:53.160 --> 24:01.580] test it. So I fired up a cheap little nook, put Ubuntu on it, I installed Whisper, and I ran [24:01.580 --> 24:05.840] it one time, because the first time you run it, it downloads one of the models. It downloads [24:05.840 --> 24:12.140] the medium model by default. I think it was 461 megs. It took, like, three seconds to download, [24:12.140 --> 24:19.120] seriously. Once it downloaded, and it ran one time, I stopped it, I disconnected the network [24:19.120 --> 24:24.720] cable, showing the device was not hooked up to the internet in any way, shape, or form. I then [24:24.720 --> 24:33.220] tried a different video, and it crushed it. Once again, that was in English. Cool. Let's try a [24:33.220 --> 24:40.780] Spanish one, giving it the task to translate, and it does that. Locally, we are taking massive [24:41.120 --> 24:48.140] amounts of audio, video, whatever we want, sucking the text out of it, and even translating it with [24:48.140 --> 24:53.080] no internet connectivity. And once again, if you've ever tried to do things like this at scale, [24:53.080 --> 24:59.960] and you see the quality of the output that it's producing, it's, like I said, to say it's [24:59.960 --> 25:05.080] revolutionary, I think, is even an understatement at some points, right? And this is it, too. It's [25:05.080 --> 25:09.580] an important thing to think about, and we're going to talk about it here in a little bit, [25:09.580 --> 25:16.460] but we're at the very early phases of this technology, right? People like to point out flaws, [25:17.020 --> 25:24.200] go down to a car museum, and look at a Model T. That's a cool car. Would anyone here want to use [25:24.200 --> 25:28.840] that as a daily driver if you couldn't sell it and had to use it? That would be your worst life [25:28.840 --> 25:35.500] choice ever, right? What we're playing with right now is the Model T of this tech. It really, really [25:35.500 --> 25:41.140] is, right? And think of how far we've come, and how fast we've come, and I have no reason to believe [25:41.140 --> 25:49.600] that this is going to be any different. Nothing is perfect, right? Sometimes these large language [25:49.600 --> 25:57.140] models make things up. I was talking to a buddy of mine, a fellow SANS instructor, Mick Douglas, [25:57.140 --> 26:01.200] about hallucinations. That's the term for it, right? When these large language models just [26:01.200 --> 26:07.460] make stuff up, hallucinations. He was having ChatGPT write some .NET code for him, and he's [26:07.460 --> 26:14.140] like, man, this code is clean, this code is beautiful. I didn't even know that function existed. It didn't. [26:18.780 --> 26:24.960] That wasn't the worst one. ChatGPT is actually really good at commenting code, right? If you [26:24.960 --> 26:29.080] try to use ChatGPT to crank out some code, it's pretty good about commenting it and about letting [26:29.080 --> 26:32.560] you know what it's doing, which, from a learning perspective, is fantastic. [26:34.020 --> 26:38.780] He asked it to write some code, and in the comments, it said, yeah, this, you know, [26:38.780 --> 26:43.300] right here, what this is doing, this is actually referenced in this blog post, and it gave a link [26:43.300 --> 26:49.500] to the blog post in the comments. He's like, this is so cool. He went to read the blog post. [26:49.520 --> 26:57.940] It didn't exist. And he could find, and this is not a dumb person, he couldn't find any evidence [26:57.940 --> 27:04.680] the blog ever existed. It wasn't he couldn't find the blog post. He doesn't think the blog ever [27:04.680 --> 27:12.860] existed. And you hear stories like that. And it's very, very easy to say that this tech is not ready [27:12.860 --> 27:18.020] for primetime, that this is a parlor trick, right? This is just another in a long line of fads in [27:18.020 --> 27:21.840] this industry, so let's just pour a drink and go on to the next one and get it over with. [27:22.440 --> 27:28.100] But I really don't think that's the case. And in this case, I think if we just abandon this, [27:28.100 --> 27:32.980] and we decide that it's not perfect, so we don't want to use it, we're making a horrible mistake. [27:32.980 --> 27:37.260] We're throwing the baby out with the bathwater, right? Goes all the way back to Voltaire, [27:37.260 --> 27:42.340] who said, do not let perfect be the enemy of good, right? That is a very important concept [27:42.340 --> 27:47.720] in so many things, right? I got John Hubbard here, good friend of mine, defense in depth, [27:47.720 --> 27:51.980] right? We don't rely on any one piece of technology to defend our networks, [27:51.980 --> 27:57.440] right? We have a collection of imperfect solutions that when used together leave us [27:57.440 --> 28:02.940] much better off than we were before. And so yeah, that does not mean they have no value. [28:02.980 --> 28:10.240] They absolutely do. I spent most of my career as a federal agent in intelligence, right? Because [28:10.240 --> 28:16.900] of my technical skills that I kind of developed, I got sucked into that very early. And good [28:16.900 --> 28:22.620] intelligence people, whether you're analysts, agents, whatever you are, but good intelligence [28:22.620 --> 28:28.120] people will always take what they're hearing, and they'll always go directly to the operators [28:28.120 --> 28:33.960] for ground truth, right? The actual boots on the ground, is this what you're seeing? [28:34.140 --> 28:38.640] Does this actually make sense? Sometimes they say yes, sometimes they say no, that's not what's [28:38.640 --> 28:43.420] going on, this is actually what's going on, and now you understand better. And the further you [28:43.420 --> 28:49.500] are from the action, the more important this is, right? Just 100%. I spent a few years in Washington [28:49.500 --> 28:54.120] DC working in some very cool places, but there you're removed from the front lines, you're [28:54.120 --> 28:59.920] removed from what's going on, and that's when it was so important to go to the actual operators [28:59.920 --> 29:07.580] and try to secure this ground truth. And so sometimes when I say where I think things are [29:07.580 --> 29:14.100] going, it's a prediction, and sometimes it's just wishful thinking, like I just watched some [29:14.100 --> 29:20.120] YouTube videos on meditation, I'm trying to wish this into existence. But this year, large language [29:20.120 --> 29:27.320] models like chat GPT, generative AIs like mid-journey, stable diffusion, that's been all the rage. [29:28.040 --> 29:33.540] What I really hope is that next year in 2024, one of the hottest terms we hear is grounding, [29:34.100 --> 29:38.560] right? And a lot of us probably haven't heard of that term yet, but it's basically taking the [29:38.560 --> 29:45.880] results from these large language models and running them through some known accurate data [29:45.880 --> 29:52.840] to double check, right? To really increase the confidence that we have in these findings, [29:53.780 --> 29:58.680] right? That we feel a little bit more comfortable about using it in ways that we don't feel [29:58.680 --> 30:02.860] comfortable in using it right now. So like I said, I don't know if this is an actual prediction [30:02.860 --> 30:08.720] or just what I want. I think it's a prediction. I do, I honestly do. I think this is going to be [30:08.720 --> 30:13.420] kind of the hot term next year, taking known good data and kind of double checking at that [30:13.420 --> 30:17.200] and trying to incorporate that and kind of taking this to the next level. Because once again, [30:17.200 --> 30:21.540] I think we're honestly playing with the Model T version of this tech. [30:23.480 --> 30:28.600] For now, these large language models, they can still be incredibly useful. [30:28.940 --> 30:33.200] But what you need to think through is the risks versus the rewards of possible hallucinations [30:33.200 --> 30:37.840] when you're using this, right? If you're sitting there using large language models [30:39.720 --> 30:46.600] to analyze things and make recommendations that you're like acting on, Lord help you, right? [30:46.600 --> 30:51.680] Like that's risky. That's very, very risky right now. But if you've got a bunch of data [30:51.680 --> 30:57.200] that you're not doing anything with, and you use large language models, be it logs, [30:57.200 --> 31:02.200] be it something else you're collecting, and you're using large language models to churn through that [31:02.200 --> 31:07.180] and try to identify things that maybe you should look at, if you're not looking at it right now, [31:07.180 --> 31:12.820] what in the heck is the downside? Like seriously, what is the downside of using it in that way? [31:12.960 --> 31:17.520] And so right now with the current state of the tech, if we think about implementing this, [31:17.520 --> 31:23.540] I think that's what we have to think about. We know that hallucinations are real. We see it. [31:23.540 --> 31:28.380] If you've played with this tech, you've experienced it too. But the capability is so powerful, right? [31:28.380 --> 31:32.160] We just think of what are the downsides, where it is appropriate to use and where it isn't. [31:33.640 --> 31:40.920] And obviously, it kind of goes without saying in this crowd, but we want to think about OPSEC, right? [31:40.920 --> 31:48.360] We want to think about putting these things into ChatGPT, and we've already seen some instances of that, right? [31:48.380 --> 31:54.340] I gave ChatGPT on purpose some API creds the other day. I was testing something and asked it to write [31:54.340 --> 31:59.700] some Python codes using these API creds. It yelled at me for giving it the API creds, but then it [31:59.700 --> 32:05.660] generated the code, right? So it tells you not to, but then it does what you ask anyway. [32:06.100 --> 32:13.340] And we have these local language models that are unbelievably impressive. If you've played with Lama, [32:13.340 --> 32:17.880] if you've played with some of the others, Vicuna, when that came out, or now the new Lama 2, [32:18.820 --> 32:25.280] what are they saying? I think they said Vicuna was what, like 92% to 93% of the capability of ChatGPT. [32:25.280 --> 32:31.400] To have that running on a local system is amazing. But if you played with this tech, [32:31.400 --> 32:39.880] and you have, like, normal consumer-grade hardware, then you know how unbelievably slow it is, right? [32:40.160 --> 32:50.320] Unbelievably slow. Like, just through molasses. Very, very difficult to use. Right now, the GPUs [32:50.320 --> 32:57.260] that, like, professionals are using with this are ridiculously expensive, right? Like, look up, [32:57.260 --> 33:04.340] like, the NVIDIA A100s, and you see, like, these $16,000 video cards with 80 gigs of RAM. [33:04.480 --> 33:11.160] Did you ever think that we would live in a world where you would see $16,000 graphic cards that [33:11.160 --> 33:17.800] weren't even designed to be hooked up to a monitor? It's disgusting, right? And that's what it is, [33:17.800 --> 33:22.360] is you have to load these large language models kind of into the RAM of your GPU, [33:22.360 --> 33:27.080] otherwise the performance is even worse. And so if you're trying to do that on, like, an 8-gig [33:27.080 --> 33:31.880] GPU, it's brutal. You need that more memory. And so that's another thing, and it's, like, [33:31.880 --> 33:37.000] I don't know how much prediction, how much wishful thinking. I'm really hoping between NVIDIA, AMD, [33:37.000 --> 33:40.400] maybe some other dark horses, or I don't know, Microsoft, Facebook, a lot of other companies [33:40.400 --> 33:45.480] are looking at developing their own hardware now. But I hope we start to see some graphics card [33:45.480 --> 33:51.000] hardware that's designed for consumers and it's designed for this. Because right now, if you look [33:51.000 --> 33:57.680] at video cards with a 4090, the NVIDIA 4090 with 24 gigs of RAM, I think that's the most RAM we're [33:57.680 --> 34:03.540] getting right now on a graphics card that's designed for a consumer. But the RAM, as the [34:03.540 --> 34:08.380] video cards get faster and faster, the RAM almost just kind of comes along with it for the ride. [34:08.380 --> 34:12.960] I really hope we start to see a trend where we're seeing cards that maybe don't have this cutting [34:12.960 --> 34:17.220] edge performance. We don't need it for playing video games or whatever else we're doing, but it [34:17.220 --> 34:21.400] has more RAM. Right? We start to kind of see it on that. Just the same way with cryptocurrency, right? [34:21.400 --> 34:26.420] It's not the exact same problem, obviously. It's not one specific algorithm. But in cryptocurrency, [34:26.420 --> 34:30.880] right, everyone was using video cards. And then what happened? They came out with ASICs, right? [34:30.880 --> 34:35.860] They came out with those specialized devices that were a lot better, that use less power. I'm hoping [34:35.860 --> 34:40.940] we see a similar thing. I'm hoping we see consumer-grade cards that focus more on RAM so we [34:40.940 --> 34:50.960] can use these language models than what we have now. If you pay attention to social media, Twitter, [34:50.960 --> 34:55.820] X, whatever it's named next month, right, whatever you're on, you always see people now, Reddit, the [34:55.820 --> 35:02.120] ChatGPT. I think half the posts on the Reddit ChatGPT subreddit are on how ChatGPT is getting [35:02.120 --> 35:12.380] dumber, right? It's just getting dumber. It's getting dumber. Kind of. Let's be honest. When this tech [35:12.380 --> 35:20.540] first came out late last year and into, I think, probably about March, it was a race to impress us. [35:20.860 --> 35:27.340] And it worked. It worked, right? That race was canceled. I hate to break it to you. They didn't [35:27.340 --> 35:34.340] send out a notice. The reason the race was canceled, it's a new race now. It's a race to limit liability. [35:35.660 --> 35:41.760] Right? Think about this. The number two person at OpenAI went on a TED Talk earlier this year [35:41.760 --> 35:49.500] and was telling stories of how ChatGPT has helped people. And he told a story about a guy who had a [35:49.500 --> 35:55.560] dog that was sick and the guy couldn't afford a vet. So he used ChatGPT to diagnose it and was [35:55.560 --> 36:00.500] literally able to save the dog's life. The number two person at OpenAI told that at a TED Talk [36:00.500 --> 36:07.140] earlier this year. And now they're removing functionality like that. Right? And you see people [36:07.140 --> 36:12.040] that were like, couldn't afford a therapist, that were using ChatGPT. And in their opinion, [36:12.040 --> 36:17.860] really getting real benefit from it. You can't do that anymore. Right? And so, yeah, it really [36:17.860 --> 36:23.060] has shifted. I made that statement last week in Austin and I had someone come up to me after my [36:23.060 --> 36:28.960] talk. And I won't say who he is and I won't say what company he works for, but it's one of the [36:28.960 --> 36:34.120] big ones in this space and he's like, you're absolutely right. He said, I'm in meetings [36:34.120 --> 36:40.360] basically daily with that team and 90% of what we talk about is limiting liability. I get it. [36:40.360 --> 36:45.400] I hate it. I absolutely hate it. Right? I want the functionality, but I get it. [36:45.600 --> 36:50.760] But what is that going to do? That's just going to force us, right? Once we have these more [36:50.760 --> 36:56.120] unrestricted models, as people start to basically have this capability with no restrictions [36:56.120 --> 37:01.700] whatsoever, that's just YOLO. We're all going to switch to that. I mean, we just really, [37:01.700 --> 37:07.720] truly are, right? And so it's weird. Sometimes I just want to grab a bucket of popcorn [37:08.720 --> 37:11.220] and I'm being perfectly honest, a lot of whiskey. [37:12.900 --> 37:17.180] Those of you that know me know that. And just kind of sit back and see how it goes. Because [37:17.180 --> 37:20.100] I'm going to be fascinated to see how it plays out. Because like I said, all the major players [37:20.100 --> 37:24.400] in this space focusing on limiting liability, that's not going to play well long-term with [37:24.400 --> 37:30.940] the consumer. It's just absolutely not. So we'll see. We'll see where it goes. And I was like, [37:30.940 --> 37:35.540] I just asked mid-journey for a race pick last night and it gave me this and I'm like, [37:35.540 --> 37:40.300] well, that's going in the talk. The rabbit has no meaning. I just like the rabbit. [37:41.920 --> 37:46.560] Let's look a little bit at code analysis, right? As far as things that we can do for [37:46.560 --> 37:53.780] reconnaissance a few different ways. One thing that I do in my SANS class is I always stay [37:53.780 --> 37:57.040] late on day one and try to help out people who have never used Linux before to get a little [37:57.040 --> 38:04.600] bit more familiar with it. And a lot of people have like want to get better with Linux, right? [38:04.600 --> 38:07.580] And OSINT, that's kind of one of the things, usually the two things that people really [38:07.580 --> 38:10.920] want to focus on when they're getting started in the space. I want to get more comfortable [38:10.920 --> 38:14.960] with Linux and I want to get more comfortable with Python, right? Or programming. If you want [38:14.960 --> 38:19.700] to learn programming in some other language, switch to Python. Unless you're trying to bypass [38:19.700 --> 38:27.100] A, B. No one here is, probably. But then you always have these people that give you horrible [38:27.100 --> 38:32.140] advice. Like, really, why should I use Linux? Because then you can customize it like bro. [38:32.780 --> 38:36.000] They're just trying to get started with the command line. You want to start making kernel [38:36.000 --> 38:41.880] modifications? Like, calm down. Let's be a little bit realistic right here. I think that advice, [38:41.880 --> 38:47.080] honestly, on why you should learn these things is sometimes disingenuous. Analyzing source code [38:47.080 --> 38:53.600] isn't always easy. And this right now, once again, large language models are made to order [38:53.600 --> 39:01.460] for this. There are some problems that these just eviscerate, right? I had some Python code for a [39:01.460 --> 39:07.020] project on GitHub. I tried to give chat GPT. Chat GPT doesn't take a whole lot of information right [39:07.020 --> 39:12.340] now. There's a very limited amount of tokens that you can only give it so much text to ask a [39:12.340 --> 39:20.100] question. Google BARD has a much higher limit, right? I think most of us in here use Google as [39:20.100 --> 39:25.080] our default search engine. Some use DuckDuckGo, some use other. It sounds weird. Hey, John, [39:25.080 --> 39:31.280] just Google it. He's like, okay. If I said, hey, Zobin, just Bing it. Half of us would win, [39:31.280 --> 39:35.140] half of us would last. It's a good search engine. It is, right? And let's be honest, [39:35.140 --> 39:39.840] it has a lot of results in it that Google doesn't. There's a lot of content that maybe is a little [39:39.840 --> 39:44.620] more shady, illegal that's in Bing that you won't find in Google. Not to get political or tinfoil [39:44.620 --> 39:50.860] hattie, it just is. The same way a lot of people sleep on Bing do not sleep on Google BARD. [39:50.860 --> 39:56.580] Google BARD when it first came out was getting laughed at. It has improved a lot, right? It [39:56.580 --> 40:04.040] really has. And so here I took that GitHub code of a project and I gave it to Google BARD and asked [40:04.040 --> 40:11.620] it to analyze the code and explain it to me. And it did it. And it did a really, really good job. [40:12.220 --> 40:18.320] I was at a mixer last night with a bunch of cyber threat intelligence analysts sitting around. [40:18.780 --> 40:23.600] And I had one guy who started talking to me and the subject of like AI came up. [40:24.080 --> 40:29.240] And right now he's taking a lot of advanced math classes, right? Working on crypto. [40:29.790 --> 40:37.220] And he said there was one problem that he did not understand and his professor could not explain it [40:37.220 --> 40:47.040] to him. He took that problem to ChatGPT and it gave him a very clear concise explanation that [40:47.040 --> 40:54.560] was accurate. That is insane, right? I had someone last week in Austin ask me if it's between ChatGPT [40:54.560 --> 41:03.060] doing something for you and learning, which way should you go? Yes, right? Use ChatGPT to help you [41:03.060 --> 41:09.400] learn. Don't just ask it to write the code. Ask it to explain it to you. You've got a Python project [41:09.400 --> 41:12.900] you want to run, right? And once again, you always have those same people. Well, now you can look at [41:12.900 --> 41:16.880] the code and understand what it's doing. Well, kind of, but that gets tough sometimes, right? [41:16.880 --> 41:21.900] If you try to look at my code, you'll be able to understand it. No, because it's basically like [41:21.900 --> 41:25.500] me building Lego blocks. It's pretty straightforward. You try to look at code [41:25.500 --> 41:31.580] written by a professional developer. Nope. But here, it does an amazing job. And it's not just [41:31.580 --> 41:36.460] about programs that you want to run to kind of get an assessment of what it does, how it works, [41:36.460 --> 41:43.240] and if it's safe to run. But what about websites, right? What about analyzing JavaScript on websites [41:43.960 --> 41:48.960] to see if it's tracking you? It's fantastic for that. So, if you ever look at JavaScript on [41:48.960 --> 41:54.140] websites, it's not plain English, right? It's very, very obfuscated. They try to make it hard [41:54.140 --> 42:02.240] to figure out what it's doing a lot of times on purpose. Here, once again, was a lot of JavaScript. [42:02.960 --> 42:07.160] Why are you taking a screenshot of this? Come on, this is ugly JavaScript. I'm just kidding with [42:07.160 --> 42:13.960] you. No, this was not the entire JavaScript. If I put the entire JavaScript on here, it probably [42:13.960 --> 42:22.300] would have been about eight slides. Like, it was not a small function. I could probably figure that [42:22.300 --> 42:27.260] out. I would not be sober by the end of it, so my results would slightly start to get worse and [42:27.260 --> 42:33.660] worse, right? I've done this type of stuff before. I can do it. It kind of sucks, if I'm being honest. [42:34.100 --> 42:40.840] I give this to ChatGPT. ChatGPT is like, that's way too much, dog. All right. I give it to Bard, [42:40.840 --> 42:49.140] and Bard just does it. It sits there and explains what all the functions do. [42:50.800 --> 42:57.080] And then at the very bottom, it actually gave me a link you'll see here in a little bit, [42:57.080 --> 43:02.520] where it's like, hey, do you want all this in a table? Right? It's really, really kind of ridiculous. [43:02.520 --> 43:08.600] But here, that JavaScript that was clearly tracking, designed to track website visitors, [43:08.600 --> 43:13.180] it gives us a breakdown of exactly what it's tracking and exactly how it's doing it. Once [43:13.180 --> 43:18.040] again, I could do this without it, but before I was finished, I might gouge my eyes out with [43:18.160 --> 43:23.680] a rusty spoon. And so here, like I said, the code was clearly used for tracking visitors, [43:24.420 --> 43:29.260] and there were some other sites, and I was trying to tell, is this the same entity? Is the same [43:29.260 --> 43:34.820] entity that's tracking on this site also the one that's tracking on this site? Because at first [43:34.820 --> 43:46.600] glance, the JavaScript looks roughly similar. I didn't even have to paste the JavaScript into [43:46.600 --> 43:52.560] Bard, because what, two months ago now, more or less, ChatGPT killed the browsing functionality. [43:52.560 --> 43:59.040] Bards is still alive and well. I gave Bard the link to those two JavaScript files on the two [43:59.040 --> 44:04.020] different sites and asked it to compare the JavaScript to see how similar they were. [44:05.680 --> 44:12.120] And here it is. It breaks down the key differences between the files, the way they handle errors, [44:12.120 --> 44:18.040] the way they deal with variables, right? It gives the pros and the cons. It breaks down [44:18.040 --> 44:23.780] the styles being different. The second library is more object-oriented, robust, and portable. [44:23.920 --> 44:28.700] And then at the very bottom, thank you, here's a table that summarizes the key differences between [44:28.700 --> 44:35.260] the two libraries. And it gives it to me in a table with a little button to export it out to [44:35.260 --> 44:43.600] Sheets. Anyone who's done this manually, like seriously, right? This is the way. This is like [44:43.600 --> 44:50.020] I said, oh, these things, they hallucinate. You can't use these, really. Because in ways like [44:50.020 --> 44:58.120] this, this is it, right? This is absolutely it. My time is almost up, so let's talk about report [44:58.120 --> 45:02.540] writing really quickly. Everyone's absolute favorite thing, right? And I used to tell my [45:02.540 --> 45:08.120] analyst all the time, you can spend a week doing things that are clever and very, very impressive. [45:08.280 --> 45:12.860] You're not being judged on any of it, right? The only thing you're being judged on [45:12.860 --> 45:16.840] is what goes in that email that you push send on. So make it good. [45:18.840 --> 45:25.600] Let's see how large language models can help us. First things first, right? You try to ask [45:25.600 --> 45:29.540] chat GPT to write something for you, a lot of times it comes up with some good stuff, but it's [45:29.540 --> 45:34.660] not nearly good enough to copy paste, right? You just basically, how I've been using it a lot of [45:34.660 --> 45:39.280] times up until recently was asking it for a lot of ideas and then picking and choosing, mixing and [45:39.280 --> 45:44.020] matching, copying and pasting, right? It is good with writer block. Let's look at a few things that [45:44.020 --> 45:49.020] can help us though when it comes time to report writing. Number one is very simple. Identify a [45:49.020 --> 45:53.780] writing sample that you think represents you well, right? It has your tone, it has the way you explain [45:53.780 --> 46:00.040] things. Take that writing sample, save it in a text file. My buddy Josh has his saved in Obsidian [46:00.040 --> 46:04.860] in there because that's where he's organizing everything. And every time he goes to ask chat GPT [46:04.860 --> 46:09.620] to write something, he first gives it that writing sample. I'm getting ready to ask you to do [46:09.620 --> 46:14.280] something. I want you to write it in this style. And it's just a copy and paste from, like I said, [46:14.380 --> 46:21.480] a text file, Obsidian, wherever you want. And then you watch, watch how much better the output is. [46:21.480 --> 46:27.100] It is dramatically better and it's in your style, right? So things that are your style, you just [46:27.100 --> 46:34.660] tend to like more anyway. And for the final thing here, chat GPT isn't great at turning a six-word [46:34.660 --> 46:38.920] prompt. Everyone's like chat GPT is getting dumber. You gave it six words and asked it to write your [46:38.920 --> 46:44.880] thesis. Stop, right? It's not good at taking six words and turning that into some masterpiece. [46:45.160 --> 46:50.160] But if you gave it a thousand words right now, now it's going to do good. But the problem is [46:50.160 --> 46:55.380] I don't want to type that. Ain't no one got time for all that, right? So what we can do now is start [46:55.380 --> 47:01.180] to combine some of these things. Record yourself explaining what you want. You can use an app on [47:01.180 --> 47:05.380] your phone. You can use Whisper. I don't care what you use. Transcribe what you just explained into [47:05.380 --> 47:11.800] text. Now give that text to chat GPT or BARD and now ask it to write what you want, be it a report [47:11.800 --> 47:17.840] or something else. How many times do you go to send an email to a friend and you realize there's [47:17.840 --> 47:22.120] no way I'm going to send this email. I'm just going to call them because this is going to take me 15 [47:22.120 --> 47:27.040] minutes to write the email or it's going to take me two minutes to explain on the phone. Why do we [47:27.040 --> 47:32.020] think it would be any different with chat GPT, right? So if we can harness that, if we can take [47:32.020 --> 47:36.880] our voice and explain what we want. I almost feel like I'm talking to a toddler, right? Use your words [47:38.740 --> 47:43.640] and then ask it. Once again, a lot better results. So there's a lot of different ways we've talked [47:43.640 --> 47:48.700] about here, right? Transcribing, translating, summarizes. And once again, as far as how we're [47:48.700 --> 47:52.680] going to use this, it's on us. It's on the people that are in this room. It's on the people that are [47:52.680 --> 47:59.080] watching online to think of how we can use this technology for good, right? If you want to get a [47:59.080 --> 48:03.540] hold of me, I am the easiest person in the world to get a hold of, right? I shouldn't even insult [48:03.540 --> 48:11.040] you. This is Reconnaissance Village. I am Matt0177 on what used to be Twitter, now X, whatever you [48:11.040 --> 48:16.120] want, right? Matt at ArgeliusLabs.com. If you want to hang out and talk OSINT, I put some stickers on [48:16.220 --> 48:19.320] a table over there. I don't know if they're still there. They're already gone. But we have a lot more [48:19.320 --> 48:23.120] stickers. We have challenge coins. The room wasn't ready yet, but we're actually going to post up at [48:23.120 --> 48:27.380] the hospitality suite at the top of the horseshoe. And I have stickers. I have coins. If you want to [48:27.380 --> 48:32.360] hang out and talk OSINT, talk about the SANS class, whatever, let me know. And also, there's no way I [48:32.360 --> 48:38.220] have a hospitality suite that is not fully stocked with alcohol. And when I say a case of bourbon, [48:38.220 --> 48:41.880] I mean a case of bourbon. So like I said, I'm easy to get a hold of. If you want to hit me up, [48:41.880 --> 48:46.380] hit me up. Slide into my DMs and let's chat. So thank you all for your time. I appreciate it.