start	end	text
0	4840	Before we start with the talk, I would have a small request to turn your phones on silent.
5300	11660	And if there's anything you'd like to say, I'd rather be happy to give you the mic, because it's better if you speak.
13780	36520	So, our next talk is building local knowledge graphs for OSINT, bypassing rate limits and maintaining OPSEC, which presents a practical solution using knowledge graph technology, combined with RDF, which is Resource Description Framework, to build query-able offline OSINT repositories.
36840	41700	Before we go ahead with the talk, we've got one of our sponsors who's also on the stage over here.
41700	43020	He's Fenderster.
43080	53280	And I'd like to give a thanks to our sponsors, Fenderster, OSINT Industries, Square-X, SINAC, Argelis Labs, Cat Networks, and Red Hat Labs.
54080	57120	This next talk will be given by Dr.
57120	66840	Pellegrino, who has over 20 years of research and development experience in information science, and has built systems for Pentagon, U.S.
66840	69720	Department of Defense, Homeland Security, U.S.
69720	70480	Army, U.S.
70480	72440	Navy, and many other organizations.
72580	74360	So, it's a great honor to have you here.
74360	76180	Please welcome Dr.
76200	78100	Pellegrino on the stage.
78920	79280	All
82860	83580	right .
83640	83980	Thanks.
83980	87420	So, just before I begin, as was mentioned, we couldn't do it without the sponsor.
87420	89480	So, we have Ryan Montgomery from Pentester.
89700	91120	Just wanted to say hello.
92280	93360	I don't think they're on.
93360	94040	Are they on?
94520	95040	Yeah.
96920	98040	So, you've got to be real close.
98040	98720	Okay.
99180	99520	Hey.
99520	101060	So, my name is Ryan Montgomery.
101060	102720	I'm a sponsor in Recon Village.
102720	119260	And I just wanted to jump up here and say, if anybody hasn't been to pentester.com, specifically for Recon on yourself, just throw in your email for yourself, you know, a new email, an old email, a loved one, maybe it's some staff that worked with you at your company,
119260	121720	and check out what our free scan does.
121720	124980	No credit card, no sign up, and any requirements like that.
125000	135380	If you like what you see, you can obviously sign up and, you know, I think, yeah, there's a coupon code, HACKTHEPLAN at 1337, that gives you like 15% off.
135380	137300	So, check out pentester.com.
137300	138140	Thanks, guys.
138900	139600	All right.
139600	141280	Thank you, Ryan Montgomery at Pentester.
141280	141960	Thank you.
141960	143040	Yeah, of course.
144140	145300	All right.
145300	154040	So, that's a great lead-in, because when we get into the case study on here, we did an analysis of the speakers for this conference.
154040	157140	So, would have been great to use their tool for that.
157220	161160	A little bit about myself as it relates to just this talk and this audience.
161160	175280	So, the thing to understand about me is I come from a software development background and good old-fashioned artificial intelligence, expert systems, knowledge bases, AI before the large language models and machine learning as we know it today.
175520	196520	So, what we're gonna look at is a tools and methods approach to demonstrate application of large language models and local analytics, leveraging some of that historical approach from good old-fashioned AI with the modern tooling to enable the investigator or the analyst.
198380	209960	One note is you'll see on my slide, my organization's DesiSim, so it's supposed to be a portmanteau of decision symbols with a nod to that good old-fashioned rule-based expert systems and knowledge management.
210680	222860	And for the investigator today, we're gonna look at how you can do data integration to set up a sandbox for analysis in a general methodology with some examples with tooling.
226110	234430	So, hopefully this is, you know, if all goes well, you'll be able to walk away having achieved knowledge in a couple of key areas here.
235870	238750	As I said, the key takeaway is a method.
238810	241830	There's also a GitHub repository that goes along with this.
241830	244310	There'll be a QR code again on the final slide.
244410	247270	And for interactive demo, you can sort of play along at home.
247270	254070	We've put that GitHub repository publicly that'll reproduce the case study that we'll go into next.
256070	261190	The not-so-secret way to bypass rate limits is to use local caching.
261190	281630	So, the final takeaway, to give it all away at the end, is that you can create the local repositories, index them effectively, and find methodologies that allow you to query external services, collect the data, but not necessarily reveal the specific target.
281630	291230	So, the overall way to do that is to collect more than maybe you need, and then bury the target into the larger collection.
291230	300430	The counterpoint of that is then you have to manage a larger collection of data, and we'll show how that can become manageable when following a certain methodology.
301510	311650	For this, to complement this particular talk, we did do a custom Rust implementation, and that's in those supplementary materials on GitHub.
312110	326410	Two parts to it, one collecting the information via traditional web scraping with a few variations, and then the key of enriching what's been collected to represent the investigative salient points of interest.
326890	337550	And we're going to walk through this case study where we looked at the Recon Village website, analyzed the speakers at this year's conference, and tried to cross-reference that with source materials.
337570	361070	In this case, we took some Wikipedia source material, and then the source material hand-collected by an expert analyst, and sort of walked through workflows to demonstrate how you could scale your own individual efforts as an investigator or analyst to work within the context of previous work or work done by others to create a virtuous cycle of your work product.
368290	378470	So within the key challenges we're addressing here, the rate limits prevent analysis by using a live service.
378470	398790	So if you've decided, okay, you're going to query a web service 2,000 times to get 2,000 different data points, or run an aggregate query, or these other things, you're effectively limiting your ability to conduct that analysis because you're going to be butting heads with the policy and rate use of whatever the service provider happens to be.
398890	402190	So to overcome that, we'll show how to build the local storage.
402410	405610	And then again, each query reveals the investigative focus.
405790	412790	So the final point here is then how do you reuse that, and we can decompose that local storage that you've built into portable containers.
415880	425100	So realizing that we've got a range of an audience here, for those who are knee-deep in OSINT and doing traditional analytics, you'll recognize the CIA triad.
425100	444080	For others who are coming at this from knowledge graphs or just using LLMs or checking out your social profile, there's a great textbook referenced here at the bottom, and we've organized the work in the next couple of slides to look at each one of these classic risks from two points of view.
444080	448900	What's the classic risk that we can mitigate?
449020	458480	And then a second component on what is the LLMs that kind of makes that a little bit more of a challenge or a twist for the modern analyst.
459640	470320	So as we already mentioned, the data providers can see your queries, and LLM prompts aren't just very dissimilar from your classic search techniques.
470540	482460	Regarding the integrity, for those scraping the web, as was mentioned earlier, if you just grab a website, things aren't always so simple where wget or curl will give you reproducible work.
482460	496620	So one of the themes here that we go over is how to take the content that's really designed for a human set of eyeballs and visual cognition processing, where a human can make insights about meaning that a machine can't really participate in.
496620	508360	How do we take something like a website that's visually engaging for the human cognitive system and then put that in a way that the same salient points can be extracted by automation, such as a large language model?
508860	511400	And of course, the availability issue is sort of a freebie.
511400	520080	If we get the local cache and then we have our own tooling, well, I suppose the availability could go down depending on what servers you're using, but at least it's under your own control.
521720	528840	So following this design pattern, this slide's not telling anybody new information here.
528840	541160	This should be concepts that have been well-tread, but if you're doing a Google search and you put your conditionals in for APIs, the implication is, what is search?
541160	544460	Well, psychologically, it's an indicator of interest.
544460	553440	And if you read Larry Page's patent on PageRank for the founding of Google, there's a reason that advertising is so effective in this area.
553440	555940	There's a human psychology on what's going on here.
555940	565640	So it's not a huge leap to say, well, people searching for something are interested in that something, which can have significant consequences to investigative work processes.
566060	571920	So this bulk collection approach, you still hit rate limits.
571920	590740	Nobody's going to get you past the rate limit of an individual query, but systematically over time, allowing multiple collection efforts to grow on each other to build up that local collection, allows one to not have to continue to push up against the service provider to collect that information.
593200	595280	So what's different about LLMs?
595280	598200	How does that matter when you look at confidentiality?
598200	602380	Well, there's a little bit of a usability issue in LLMs.
602380	603840	They can be a bit opaque.
603980	610120	The upside of that is you get a nice app on your phone that you ask questions to, and this magic box gives you an answer.
610720	623180	However, when you're asking that question, just as with a Google search, you're shooting over, again, your psychology, your indicator of what you're interested in, and that can be logged just as any search engine or API would have done so.
624580	631080	Running local LLMs, it can be resource intensive, and there's, you know, nothing in this talk is going to change that.
631080	643820	But when doing systematic work for prompt engineering to make it scientifically repeatable, then you can be more deliberate about choosing a smaller LLM that's purpose-built for a particular kind of analysis.
643820	647320	And that's a little bit different than search.
647320	657520	Typically, you'd be beholden to search algorithms that were a handset or an oligopoly of open source search solutions for your local repository.
657620	667500	Here, there's a richness in a wide range of thousands of models on Hugging Face, and you want to create a methodology that allows you to pick and choose the right one at the right time.
670120	671440	Integrity risk.
672300	695940	This is, again, the first slide in this pattern is old news to investigators, but it's becoming, let's say, more and more challenging as the visual elements come together, which, you know, Recon Village is a wonderful site, very engaging, but you'll see as we try to pull out the information that getting a large language model to participate in your analytics can be a challenge,
695940	698640	particularly when what you've scraped is missing the information.
699420	706020	Running JavaScript dynamically on the page or having content only appear when you scroll to the end is an ongoing issue.
706880	716460	Now, there are solutions out there using browser automation, Playwright and Chromium were used for this particular example, but it's just a problem to be aware of.
716460	719040	We'll get into how we handle that in the case study.
719600	723860	And then the LLM risk around integrity is sort of a variation on this theme.
723860	729520	So, you can see here, who should I target and influence at this year's DEF CON Recon Village, right?
729520	736120	So, Claude refused to play along, says, I can't help you with identifying individuals to target and influence.
736120	739600	So, okay, perhaps I need to vary my terms, right?
739600	742900	But a target of investigation to an investigator is still a target.
742900	752120	So, this can become problematic whenever a community of practice uses a vocabulary that some corporation has suddenly deemed inappropriate.
752240	756720	So, we can compare that with ChatGPT's response to the same question.
757020	765460	It sort of, it fudged it a little bit and just randomly inserted a completely different source than the list of speakers at this conference today.
765640	772880	And also interesting, it didn't really reveal that it made that change in creating the response.
772880	786480	So, even if the external LLMs are meeting someone's needs, they also have to be conscious that it's not just the rate limits, it's somebody else making a qualitative decision about what you're allowed to be interested in.
788300	792960	And the availability risk, again, the first slide in the pattern, sort of old news.
793300	801740	You have the rate limiting, sites go offline, you've got a deadline , you don't want to depend on tools or services that are maybe out of your span of control .
801920	804160	And we've talked about the local caching.
804920	814140	When we start looking at the LLM access, then the solution here, the no-brainer, is LLMs running locally.
814400	822600	There are a number of great toolkits out here, VLLM, LLAMA, CPP, which is behind LLM Studio, which is a terrific front end.
822780	824100	And that list goes on.
824100	828900	I won't try to create a comprehensive list, but this is a very doable approach these days.
830480	852440	So, let's look at the overall methodology on what could be accomplished now by combining a local knowledge graph as a resource, an artifact for indexing the discoveries, the insights of past analyses, as well as the source materials in a way to manage an analytics with an LLM.
852600	868860	So, in the traditional approach, if you were sticking with your external sources, you query them over and over again, process with cloud LLMs, you might just use what's available to you with chat GPT or a subscription to an Anthropic product, and then you move on,
868860	872980	you discard, you can't reuse those same prompts without rerunning them.
872980	882720	You can't do an experiment with 500 runs to test the stochastic response over an LLM without running it 500 times.
882720	888200	So, if you download the local models, then you free yourself from some of these constraints.
889460	907080	So, the overall procedure we're going to review here is collecting the sources, extracting the information, building that knowledge graph, and then leveraging the knowledge graph in combination with how you query your artifacts and source material today in a more systematic way.
907880	915060	The top overview of the large language model query is it's a multi -component query.
915060	919360	It includes a system prompt, which sometimes can be configured by the user.
919360	928920	It contains a user prompt, which is that direct indicator of your interest, and it can have a context window that remains of variable size depending on the model.
928940	931580	So, it becomes a challenge depending on which source.
931580	935520	If you've got a high volume source, it's not all going to fit into that context window.
935580	949600	So, the way to understand the limitation, the mechanics here, is that if you have source material that's a 500 page, 500 pages of evidence or source that you want to run through, it's not so easy to just say run retrieval augmented generation.
949600	956120	You're necessarily doing a data reduction and adding a search that's over the reduced data in those 500 pages.
956120	967140	So, there needs to be a deliberate selectivity about what subset of your investigative artifacts are being introduced into the context window along with the prompts that have been pre-engineered.
967140	984740	And then, oh, by the way, the training is going to introduce bias into the model consistent with how it might do tools or whatever the training provider actually wanted to use to influence the characteristics of the model.
986710	990930	So, let's look just at the collecting sources as a prerequisite here.
991910	1004270	Again, just to provide some code to make this repeatable, there's this Rust code base and following tours shift to a Rust code base with what they call their RD client.
1004350	1013290	We were able to put together a quick proof of concept here to scrape the website, but make sure that you use the RD Rust library and give it a try.
1013290	1023310	So, methodologically, there's a million ways to skin this particular cat and, you know, you can always wrap your collectors and your web crawlers under tour infrastructure.
1023330	1033550	But just for the supplementary materials for this talk, we have a nice hello world version of using the underdevelopment tour Rust library for a custom crawler.
1033690	1046470	And we see that that immediately gave some advantages on medium complexity Recon Village website, where you're gaining more data than you could achieve with a wget or a curl.
1046530	1055330	And if you look further down that horizon, the vision for an investigator or an analyst is to exert more and more control.
1055370	1060770	And the LLMs, when working with this, can help write that code.
1060770	1076370	So, it's sort of a breakthrough methodological approach where you can now vibe code out based off a core stub to tune your crawlers in ways that go beyond your traditional even robust set of flags and curl or wget.
1080730	1086010	So, when we look at information extraction, this one's a little bit moving away from tradition here.
1086010	1086550	Why is that?
1086550	1087110	What is this?
1087110	1088510	And why does this matter?
1089630	1100570	So, when you do the analysis of the data, particularly using automations, you don't want those automations to be phoning home and reporting what your interests were.
1100990	1104990	But we still have to do it and we still have to put those interests somewhere.
1105190	1112270	So, if we look at a quick introduction to resource description framework, this is a worldwide web consortium standard.
1112590	1120670	And if you're not fully indoctrinated into the body of work of semantic web and linked data, let's just walk through a simple example.
1120670	1127050	We could say the argument between tab-separated and comma-separated is finally over in its resource description framework.
1127050	1132470	Mathematically, it's a way to express graph data and most other data formats can be reduced to it.
1132470	1141730	So, it gives you a canonical encoding that you can target so that multiple analysts working together can get to the same expressivity with their information.
1141770	1153930	Further, it can be targeted by LLMs so that they can do the data reduction to the salient points of your source materials and distill that into a common expressivity or syntax.
1154030	1160390	The other thing that we have here is that it expresses relationships and can be manifest as a graph database.
1161590	1165530	So, the example that we'll work through is you have HTML pages.
1165530	1169490	It's a human eyeball designed expression.
1169790	1177750	It represents itself in a syntax that if you know HTML, you can read to varying degrees, but even then there's internal automations on JavaScript.
1177790	1181870	And you have to consider your workforce in terms of how you're doing your analyses.
1182010	1188730	Do you want every investigator to have to know the ins and outs and every syntax and technology of every source material?
1188750	1194990	Or can you lean on analysts who have that expertise to sum it up for you or an LLM to sum it up?
1194990	1198850	Can you take those summaries and then organize that into a canonical framework?
1198970	1204570	So, by doing that, we open up the way you can scale out from multiple analysts.
1204570	1207210	Another good example might be different linguists.
1207210	1217750	Somebody who's got expertise in source material in one language has to work together with somebody in another language and they need a common ground, a common language, to aggregate their material.
1217750	1226330	So, the classic role of ontology, which is built off this RDF framework as part of Semantic Web, is to help normalize these terms.
1228980	1237880	So, an example here on the right, let's just say we wanted to build a knowledge graph and or a link analysis chart or a Maltego plot.
1237880	1242140	This is a common work product that exists in a lot of analytical work processes.
1242240	1249440	And we say, okay, John knows Jane and Jane and John were both speakers at a village and the village was a track at DEFCON.
1249520	1259320	So, those people may then have some sort of implicit connection or relationship as you're looking through a sociogram for an analytic analysis.
1259500	1263440	So, these knowledge graphs manifest in lots of different ways.
1263640	1265920	There's property graphs and triple stores.
1265920	1268620	We're talking about the triple store dimension.
1268760	1274200	The common vocabulary that can unify them together is what the role of the ontology is.
1274200	1279120	So, there's a friend of the friend ontology that's been standardized.
1279360	1283520	It came out many years ago and was a way to encode social networking data.
1284360	1291140	So, that represents almost a schema for a database, if you will, and you can align your data to this one schema.
1291140	1297480	But you can avoid the classic problem in data warehousing of one ring to rule them all, right?
1297480	1303320	So, the multiple ontologies can represent multiple domains of knowledge and provide interoperability.
1303320	1312740	The takeaway here is that you can build your sub graph and connect it to a larger graph or slice and dice the different sub graphs and gain that data integration.
1316400	1321980	And then, once you've built the thing, once you've got your knowledge graph constructed, it's a database, right?
1321980	1324900	If it's a relational model, you query with SQL.
1324900	1328640	If it's a link analysis chart, you use GraphQL.
1328660	1332960	In this particular case, the query language has got the lovely acronym SPARQL.
1333560	1337780	And that works just as any of those other techniques for querying structured data.
1339280	1344140	The challenge now is to fully leverage the LLMs into the workflow.
1344580	1352340	We've got retrieval augmented generation, which combines the pre-calculated weights with the source materials, your documents, the knowledge that you're bringing.
1353040	1360860	And graph retrieval augmented generation is the way to now say systematically, let me get my knowledge graph to help manage that context window.
1360860	1378460	So, it provides a way to scale out to large collections of source material under a deliberate management on what you would want the LLM or the analyst to consider, versus the state of the art today on retrieval augmented generation defaults to text search over documents.
1378460	1384560	And it's usually a fairly naive text search to handle performance issues at the LLM.
1385160	1395900	And the example queries here are very conducive to the kinds of questions that OSN and investigative analysts would want to look at from a link analysis chart.
1395900	1397080	Who knows who?
1397280	1401920	Common speakers, network clusters, graph analytics all fall smoothly into place.
1402920	1412500	So, let's just put together a baseline that's not nearly on par with a lot of the talks that we've had so far this year in the village.
1412500	1415900	But just what would a human doing a manual effort look like?
1415900	1421440	And then how can we contrast the application of this methodology to that particular workflow?
1421580	1427860	So, if you look today at the Recon Village website, and again, excellent website built for purpose, very modern.
1427860	1429060	It's very engaging.
1429060	1431140	It's a static image, doesn't do it justice.
1431140	1433200	It's got a video playing there in the background.
1433380	1435400	And then we can see that here are the speakers.
1435400	1436640	It's right there in a block.
1436640	1437480	Why is this hard?
1437480	1441600	It's not hard to figure out who's speaking today at this conference.
1441740	1449220	Well, if you go down into the schedule, it turns out that, okay, there's a tab for Friday and a tab for Saturday, and they have different parts of the schedule.
1449220	1453380	And they only load if you manually scroll down and go hit the different tab.
1453380	1462620	So, it turns out, well, if you're human and you just scrape this speakers list, you may miss some.
1463540	1466660	So, what you might do next, okay, click on things.
1467080	1471380	A canonical tool for this body of work would be the Maltego.
1471840	1477340	It's very accessible, very classic in creating link analysis charts.
1477560	1483260	You can put together a knowledge graph here using an interactive interface.
1483500	1489680	And that's exactly what I did as I went through this exercise on my own.
1492020	1492520	Okay.
1492520	1506880	So, what if we wanted to add some automation because we wanted to check, I don't know, 100 conferences and look for patterns in a field of science or collaborators across different industries and start to scale this higher.
1507550	1520020	So, if we look at the Git code repository there, we had to swap out immediately Wget and curl because they completely missed those iframes or JavaScript generated content.
1520060	1528720	And it was just a great opportunity to look at bringing this new underdevelopment already rust crate into the mix.
1530800	1534800	So, a caveat here, this doesn't solve all the problems.
1534800	1535920	It's not a silver bullet.
1535920	1541360	It helps increase the integrity of the data that you've collected to get it more accurate.
1541520	1547720	But this is only a short list of still outstanding issues where you might be giving away more than you think.
1547720	1556540	And of course, the methodology I'm presenting here, the case study does use Chromium, which has its own issues in terms of ways that signatures could still get out.
1556840	1559260	So, I'm going to leave that a bit out of scope for today's talk.
1559260	1570840	The tour group is usually here and they have lots of excellent resources on the nuances of maintaining operational security in that particular step of the method.
1575150	1596030	So, here we see an example of the collect command line interface that was built just bespoke for this particular talk today and what that might look like with a basic collect automation to get you those raw source materials a little closer to the raw source insofar as that's reproducible at all.
1596730	1600310	Because now you've got to say, well, did they scroll all the way to the bottom of the page?
1600310	1601070	Did everything load?
1601070	1604350	Did everything that could potentially have loaded to JavaScript get clicked?
1604610	1608130	There are degrees of fidelity for that and a number of challenges.
1609650	1612370	So, now we've collected the source material.
1612370	1615130	We have it on hand and it has the information in it.
1615330	1624890	Somewhere buried in the large HTML file and JavaScript automations and their imports of JavaScript libraries that we know the information's there.
1624890	1634350	So, I use this as a ground truth and I just ask a couple of LLMs, create me a list, just a list of the names of the speakers at the conference.
1634530	1636210	And how about that?
1636210	1638530	It beat me with minimal effort.
1638530	1651570	Two seconds later, it finds four additional speakers that I had completely missed because I hadn't scrolled down out of the speaker list, gone through the schedule and realized there are a few people that are on panels or there are other people that are listed as co-speakers.
1651630	1666890	And the data reduction on the first part that I had assumed when I looked at it as a human must be complete because it literally was fit to purpose for what I was trying to collect was in fact actually incomplete for my real use to do the aggregate analysis.
1667090	1670030	So, this is just a highlight that there's value here.
1670150	1685170	What the nature of that value is and how LLMs will fit into overall workflow for investigative analytics I think is still to be determined, but it's probably at least my assertion here is that they're not to be ignored either.
1685290	1698850	To not have run this step and to have only done it with manual effort, I would have been immediately wrong before I did any analysis because I would have missed key data points from a single source.
1700950	1706230	And you can see on my slide why my annual search failed and you can judge for yourself whether it's just me being sloppy.
1706410	1709570	So, there's... hey, I tried.
1711350	1714550	So, we talked about link analysis and link charts.
1714550	1718310	This is a little bit different than the speaker list and how they're related.
1718310	1725790	We've gone meta here, not meta the company, but meta and then a layer above, right?
1725790	1731130	So, this is a link analysis chart for the vocabulary that we're using as our canonical target.
1731130	1754850	So, we can express a relationship between organizations and persons, but by leveraging this standard, this friend of a friend framework, somebody's already attacked this problem and they've realized, well, let's introduce agent as a way to express the role between a person and an organization and get into the dynamics of people can be in multiple roles or people can be in multiple organizations.
1755150	1765890	And again, if I had done this on my own in a rush, I probably would not have come up with a well-thought-out data structure to express the results of my very trivial analysis.
1765950	1779090	So, by introducing this technology around ontology into the mix, it allows me to express my results with minimal additional effort that leverage a well -thought-out way of representing my work.
1779090	1791850	And the other advantage here is when you take that extra step, you gain not just a better representation of the domain knowledge, but you start to create a way that the LLMs can participate in a teaming way over that same data.
1791850	1805270	Because if you're not expressing your information in a way that they can participate, then you're really limiting the range of analysis that can be done, particularly with automation.
1805650	1817750	So, it's a a way to shift in a minor way individual effort, but gain a dramatic advantage in the kinds of analysis that can be done.
1820110	1843670	So, here we see another use of an LLM in the pipeline is before the before times, the before the breakthroughs in LLMs, natural language processing, rule-based expert systems, this sort of thing of generating the ontologies, aligning to them, it represented a more significant body of work than we're now seeing with some of the top tier large language models.
1844050	1850630	So, merely by prompting a quen 30 billion parameter model and say, hey, you know, you got me that list.
1850630	1851470	That's great.
1851470	1854090	You found things that the human missed.
1854090	1855610	Don't just give it to me in a list .
1855610	1859070	Now express it in this resource description framework.
1859070	1860570	Make a link chart for me.
1860570	1866370	But, oh, by the way, align it to the standard data model for creating link charts amongst people in organizations.
1866630	1872250	And this was very eye-opening for me as I conducted the experiment because it just did it.
1872250	1882370	I was expecting to have to go back and forth with this at this phase of the method for weeks, maybe a month, right, to fine-tune it, to customize everything.
1882370	1884630	And it got the answer immediately.
1884710	1901110	Because I fed it semantic information in a computer-readable way and I gave it a list that it had generated, it just really moved the needle in the terms of the methodological opportunities that are now available to an investigator.
1903010	1908230	So, now we can take a look at where we stand along the case study.
1908230	1921050	So, we had a list of speakers that we can create as an artifact, let's say a derivative, an enriched artifact from the original source material, the HTML from the Recon Village website.
1921290	1925130	And then we can collect additional materials to bring that to bear.
1925130	1929350	So, okay, I've listed the speakers.
1929590	1938050	And then if I also then go back to my same source material and realize, well, I want their affiliation and then maybe I want to know their role in that organization.
1938050	1939810	That's my speaker dataset.
1940390	1941930	But I want to know more, right?
1941930	1945710	So, I want to expand or pivot, if you will, to another source.
1945850	1950110	Let's collect information on public companies from Wikipedia.
1950130	1953090	So, that represents another content.
1953370	1958510	Under normal, traditional analysis, trying to join those two things can be problematic.
1958510	1963890	I could write a query where I went through and iterated through every speaker and then queried Wikipedia.
1963890	1973610	If I do that, though, I'm informing Wikipedia of each and every company that I'm interested in, because each query is now conditionalized on the salient points of my investigation.
1973910	1981230	So, another approach that we can look at is just get me all the tech companies out of Wikipedia and create a larger dataset locally.
1981290	1987070	Now, I haven't given away precisely which organizations I'm interested in, and I've put it locally.
1987070	1994790	The other advantage here is Wikipedia is republished via Wikidata, which is the API endpoint where I pulled all of this.
1994790	1997870	That's already expressed in RDF, so that was a quick win.
1998910	2006310	Once you've gone to RDF and used OWL, then you can use, at a minimum, the entirety of Wikipedia, which can be useful.
2007110	2017070	And then I'll show later how we can have this other human analyst doing a totally different exercise and maybe has manually dug up information about private companies that aren't listed on Wikipedia.
2017190	2022110	How would I then, even if I knew about that data, leverage that?
2022110	2030970	We can imagine that would typically, under normal conditions, be a body of work where some programmer has to reconcile different data types in different formats.
2033820	2047800	So, when we went at the Wikipedia analysis and we joined it with a friend of a friend network, the key field I added in is I said, well, how old... when were the companies that speakers are affiliated with founded?
2047800	2055280	So, that information's not on the Recon Village website, and Wikipedia doesn't know specifically who's speaking here, so we have to do a join.
2055340	2060820	And the join we do is over that RDF data because that expression makes it natural.
2060820	2062280	And just some findings.
2062960	2065580	If you wanted to know about Recon Village, it was exciting.
2065580	2069420	We have somebody here from Tyson Foods, which is a 90 year old company.
2069480	2077300	Somebody from Microsoft, Fortinet, OWASP, Palo Alto, and we start to get into younger companies here.
2080860	2088260	And then what we can do is we bring in, after I've collected those first two sources, I asked a colleague, hey, what more could we do?
2088260	2103360	And they just took the manual list and went and said, okay, there's some other data set here, and it has the results of that manual effort, but again, instead of being in their own made-up-in-the-moment data format, they align it to the same standards,
2103360	2113720	and we can expand the list and start really growing this to say, now characterize the nature of the industries and the age of the companies, cross-referenced by who shows up to talk, right?
2115760	2126600	So before we go into the stack, it doesn't take a lot of imagination to see that this is potentially an easy growth to then go to info.defcon.org and say, well, now compare one village to another.
2126600	2128820	Tell me about the characteristics over time.
2128820	2134320	How have technologies and companies changed as a function of speaker titles?
2134440	2141400	That would, for an individual analyst, have gone beyond what I could achieve by the time I had to put this talk together, right?
2141400	2160100	But by systematically, along each step of the investigative process, expressing the information along these classic standards, the RDF and these technologies for link data and semantic web have come around well before the shift in large language model capability.
2160100	2183760	But now when you combine the two, you can create an investigative pipeline that scales much more robustly than we could in the past by leveraging parts of the LLM that can be controlled in a repeatable scientific way by running them locally, creating systematic comp files for every part of the context with the user prompt and the system prompt and bringing that all together.
2184560	2189620	So this particular stack just shows the key distinction here is what are the user decisions?
2189620	2192220	What's the investigator now really focusing on?
2192280	2194240	Well, they can look at the source selection.
2194240	2195600	They always had that problem.
2195600	2197740	And then what do they want to learn from the source?
2197740	2198380	Okay.
2198440	2200880	The key here is now they have somewhere to put it.
2200880	2202720	And then the ontology selection.
2202720	2205760	What are the vocabularies and the data models to align to?
2206640	2219800	So there's a workflow support, investigative analytics, to start tying together LLMs as a first class analytic participant into these workflows.
2220280	2228900	Crawlers are an ongoing challenge that's a little bit out of scope here, but it would be hard to set up the problem without explaining it as we did here.
2228900	2231180	And a triple store is a certain kind of database.
2231180	2240420	There's a couple of... there's a industry of graph databases and triple store databases and a large collecting of vendors there.
2240780	2259140	One move we've looked at is creating these data packages in a way that they can take one analyst's work product and easily share it without saying, okay, it's all going to go into a centralized classic database the way you would have in a good old-fashioned Oracle or an IBM DB2 or these other approaches.
2259220	2263100	So there's a little bit more to that beyond the scope of today's presentation.
2263140	2269200	But you start to see a lot of opportunity emerge when you ground into this basic methodology.
2269200	2275200	We happen to use GWEN3 for testing with VLLM and it did require a GPU.
2276580	2285120	So the final takeaways here that, yeah, you can bypass the LLM rate limits by building the local cache.
2285120	2288300	That's not some breakthrough revelation.
2288300	2293260	People in intelligence and investigative analytics have been doing that for a long time.
2293260	2300120	But there's a way you can do it so that each time that it's done, you can start to build and curate a local library of resources.
2300340	2311080	And then as you do a new analysis on that library, it can go into the fold in a virtuous cycle and include the LLMs as full participants in those analysis to gain insight over time.
2311080	2312740	And that's the little bit of the twist.
2312740	2318720	It matters maybe a little bit more now that the LLMs have capabilities to contribute to that workflow.
2319040	2337920	And then maintaining OPSEC, the LLM has a lot of classic OPSEC challenges as we covered in the earlier part of the risks with maybe a few twists that I think are easily comprehensible to those versed in the art of investigative analytics on sending their query to a search engine.
2338700	2351320	I would expect or I could hypothesize that there's still more work to be done in this area to make sure that you can exert control over the LLMs and not have them tell you you're not allowed to target somebody in Recon Village today.
2352440	2357440	And of course doing it systematically opens up for the scientific repeatability.
2357440	2372880	This is particularly key when you're dealing with things like inventing sources that don't exist or adding additional information and maybe not even knowing what a temperature value is for an LLM to control its creativity.
2373120	2388240	So because there are stochastic mathematical models, then the balance for that from a scientific standpoint is to create a repeatable methodology and run it multiple times and use a stochastic approach to evaluation.
2388320	2399900	And by combining those two things you can start to exert that control over the tooling and have it bend towards the will of the analyst without having to give up all of your interests and psychology to a provider.
2401460	2409500	So again with the QR code on the screen, it just repeats sort of what's there on the left with the contacts.
2409520	2413340	And for those who want to play along at home, there's that public GitHub repo.
2413420	2416760	It's a Rust code base and it basically stubs out.
2416760	2420160	A lot of it was written in combination with Claude Code.
2420160	2426380	And oh, by the way, this slide deck I wrote is LaTeX and put in the same code base as the rest of the project.
2426400	2433600	So Claude was able to read the full slide deck, compare it with the code, cross-reference it, and make suggestions if I've got anything wrong.
2433600	2436100	So if there's anything wrong, it's Claude's fault.
2436100	2439760	If there's anything right, then I guess I'll take credit for it.
2439760	2442500	But that's all I had today.
2442500	2447480	I think we've got a few minutes for questions.
2450680	2453000	Okay, I'm hearing two minutes for questions.
2455680	2456920	I can't hear you.
2459820	2461600	Okay, thanks for an amazing talk.
2462020	2464020	I'm sure you have a lot of questions.
2464500	2465580	That was a good one.
2468160	2470220	So I'm sure you have a lot of questions.
