Tree-based security analysis and threat hunting aided by large language models
Abstract
A computing system assists in large language model system assisted investigations. The computing system includes network connection hardware configured to connect to a large language model and configured provide to investigation context and investigation goals to the large language model system. The network connection receives from the large language model system, an indication of suggested steps to perform in an investigation, including specific computer executable code to perform a skill in the first step, the skill comprising a supplemental access, analytic or enrichment function. The computing system includes a user interface with a tree interface that causes display of the indication of the suggested steps in a tree format. The computing system is configured to execute the computer executable code to cause the computer system to perform the supplemental access, analytic or enrichment function.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method comprising: providing a first investigation context and an investigation goal to a large language model system; receiving from the large language model system, an indication of alternative suggested steps to perform in the investigation, the indication comprising: a description of a first step; specific computer executable code, in a computer programming language, that as a result of being executed performs a skill in the first step, the skill comprising a supplemental access, analytic or enrichment function; and a description of what the computer executable code performs as a result of being executed; providing a tree interface in a user interface that causes display of the indication of suggested steps in a tree format, wherein the tree format includes an expansion user interface element, that as a result of being selected by a user causes display of the description of the first step; the specific computer executable code that as a result of being executed performs the skill in the first step; and the description of what the computer executable code performs as a result of being executed; and executing the computer executable code thus performing the supplemental access, analytic or enrichment function.
- Claim 2Depends on #1
The method of claim 1, further comprising: providing a user interface element that receives investigation context and a user interface element that receives investigation goals; and receiving the first investigation context at the user interface element that receives investigation context and the investigation goal at the user interface element that receives investigation goals.
- Claim 3Depends on #1
The method of claim 1, further comprising: receiving first generated context generated by the large language model system as a result of executing the computer executable code; providing first cumulative context based on the first generated context and the first investigation context to the large language model system; receiving from the large language model system, an additional indication of additional suggested steps to perform in the investigation; and causing display of the additional indication of additional suggested steps in the tree interface as tree branches from an indication of the first step.
- Claim 4Depends on #3
The method of claim 3, further comprising: providing the first generated context and the first investigation context to the large language model system; prompting the large language model system to generate the first cumulative context; and receiving the first cumulative context from the large language model system.
- Claim 5Depends on #3
The method of claim 3, further comprising causing display of the first cumulative context in the user interface.
- Claim 6Depends on #3
The method of claim 3, further comprising performing branch switching by: receiving user input selecting a second step from the suggested steps, and executing computer executable code for the second step; receiving second generated context generated by the large language model system as a result of executing the computer executable code for the second step; providing second cumulative context based on the second generated context and the first context to the large language model system; receiving from the large language model system, an additional indication of additional suggested steps to perform in the investigation; and causing display of the additional indication of additional suggested steps in the tree interface as tree branches from the first step.
- Claim 7Depends on #3
The method of claim 3, wherein executing the computer executable code causes data output to be created, the method further comprising: storing the data output in a memory associated with the first step; providing a schema for the data output to the large language model system; and wherein an indication of a third step in the additional suggested steps comprises third executable code including a reference to the data output generated based on the schema.
- Claim 8Depends on #7
The method of claim 7, further comprising: causing the large language model system to generate a query expression to summarize the data output, based on the investigation goal, the first cumulative context, and a schema for the data output; and executing the query expression, causing the data output to be summarized.
- Claim 9Depends on #1
The method of claim 1, further comprising providing, to the large language model system, a filtered list of skills and direction, the direction comprising natural language instructions on how the large language model system should analyze the filtered list of skills, first investigation context, and investigation goal.
- Claim 10Depends on #9
The method of claim 9, further comprising, creating the filtered list of skills by using ontological information from the first investigation context to match ontological context to skills in a broader set of skills.
- Claim 11Depends on #1
The method of claim 1 further comprising: providing references to a plurality of different data sets to the large language model system; providing schemas for the plurality of different data sets to the large language model system; providing instructions to the large language model system to generate computer executable instructions to manipulate data in the plurality of different data sets; and wherein the specific computer executable code to perform the skill in the first step comprises references to the data sets in the plurality of different data sets.
- Claim 12Depends on #1
The method of claim 1 further comprising: prompting the large language model system to generate a summary for the investigation, including providing context, the investigation goal, entities, and steps executed in the investigation; receiving from the large language model a summary of the investigation; and causing display of the summary of the investigation in the user interface.
- Claim 13Depends on #1
The method of claim 1 further comprising providing instructions to the large language model system to not hallucinate.
- Claim 14Depends on #1
The method of claim 1 further comprising storing instances of generated context, generated as a result of being steps are executed, in memories for the steps.
- Claim 15Depends on #14
The method of claim 14, wherein the memories store context as deltas from parent nodes.
- Claim 16Depends on #14
The method of claim 14, further comprising storing skill outputs for the skills in the memories.
- Claim 17Depends on #14
The method of claim 14, further comprising storing data table summaries in the memories.
- Claim 18Independent Claim
A computing system comprising: a user interface, wherein the user interface comprises a user interface element that receives investigation context and a user interface element that receives investigation goals; network connection hardware connecting to a large language model, and configured to provide investigation context and investigation goals to the large language model system; the network connection hardware further configured to receive from the large language model system, an indication of alternative suggested steps to perform in an investigation, the indication comprising: a description of a first step; specific computer executable code, in a computer programming language, that as a result of being executed performs a skill in the first step, the skill comprising a supplemental access, analytic or enrichment function; and a description of what the computer executable code performs as a result of being executed; the user interface further comprising a tree interface that causes display of the indication of suggested steps in a tree format, wherein the tree format includes a user interface expansion element, that as a result of being selected causes display of the description of the first step; the specific computer executable code to perform the skill in the first step; and the description of what the computer executable code performs as a result of being executed; and the computing system further configured to execute the computer executable code causing the computer system to perform the supplemental access, analytic or enrichment function, as a result of being a user selects the first step.
- Claim 19Depends on #18
The computing system of claim 18 further comprising storage configured to store, on a step node basis, context generated by executing steps and results of executing steps.
- Claim 20Independent Claim
Computer readable storage media having stored thereon instructions that are executable by one or more processors to configure a computer system to perform data analysis, including instructions that are executable to configure the computer system to perform at least the following: provide a first investigation context and an investigation goal to a large language model system; receive from the large language model system, an indication of alternative suggested steps to perform in the investigation, the indication comprising: a description of a first step; specific computer executable code, in a computer programming language, that as a result of being executed performs a skill in the first step, the skill comprising a supplemental access, analytic or enrichment function; and a description of what the computer executable code performs as a result of being executed; provide a tree interface in a user interface that causes display of the indications of suggested steps in a tree format, wherein the tree format includes an expansion user interface element, that as a result of being selected by a user causes display of the description of the first step; the specific computer executable code that as a result of being executed performs the skill in the first step; and the description of what the computer executable code performs as a result of being executed; and execute the computer executable code causing a computer system to perform the supplemental access, analytic or enrichment function.
Technical Overview & Description
BACKGROUND When conducting an analysis, security operations center (SOC) analysts rely on a variety of techniques, tools, and processes to determine which step to execute next, which data source to query, which tools to use, and which forensics to conduct. Picking the next step to execute in a security investigation can be a challenge due to the limited information available at the start of the investigation, the complexity of the environment, the evolving threats, and time pressure. SOC analysts leverage their expertise, experience, and specialized tools and techniques to overcome these challenges and make informed decisions to detect, mitigate, and prevent security incidents. Multiple data sources, tools, and techniques are used to analyze the incident fully. To pick the next step to execute in a security investigation, analysts stay up to date with the latest specialized tools and techniques, and have a thorough knowledge of available data. They then use their best judgement to run data queries or use analysis tools to advance the investigation. Those typically involve intense context-switching between tools and data querying, with manual note taking. Backtracking is often performed when investigating, and this is typically implemented manually via copy-pasting and note taking. This can cause overhead and create possible confusion in the analysis. Analysts are now using large language models (LLM systems) to perform investigations to alleviate some of the complexity and effort in using analysis methods. However, the LLM systems have some “ holes ” with respect to investigations. In particular, an LLM system is trained at a specific point in time on publicly available data. Thus, the trained model lacks recent public context and private contextual information. To compensate for these holes, so called ‘ skills ’ , which are supplemental access, analytic or enrichment functions, are used in conjunction with LLM systems to perform investigations. Skills accept argume
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (2)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (6)
- Caufield, et al.,
- “
- Structured prompt interrogation and recursive extraction of semantics (SPIRES): A method for populating knowledge bases using zero-shot learning
- ”
- , In Repository of arXiv:2304.02711v1, Apr. 5, 2023, 19 Pages.
- International Search Report and Written Opinion received for PCT Application No. PCT/US2024/032178, Sep. 30, 2024, 13 pages.