diff --git a/docs/AI-for-security/attack-discovery.asciidoc b/docs/AI-for-security/attack-discovery.asciidoc index 7b0d32431a..760370905b 100644 --- a/docs/AI-for-security/attack-discovery.asciidoc +++ b/docs/AI-for-security/attack-discovery.asciidoc @@ -1,6 +1,6 @@ [[attack-discovery]] [chapter] -= Attack discovery += Attack Discovery :frontmatter-description: Accelerate threat identification by triaging alerts with a large language model. :frontmatter-tags-products: [security] @@ -9,7 +9,7 @@ preview::["This feature is in technical preview. It may change in the future, and you should exercise caution when using it in production environments. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of GA features."] -Attack discovery leverages large language models (LLMs) to analyze alerts in your environment and identify threats. Each "discovery" represents a potential attack and describes relationships among multiple alerts to tell you which users and hosts are involved, how alerts correspond to the MITRE ATT&CK matrix, and which threat actor might be responsible. This can help make the most of each security analyst's time, fight alert fatigue, and reduce your mean time to respond. +Attack Discovery leverages large language models (LLMs) to analyze alerts in your environment and identify threats. Each "discovery" represents a potential attack and describes relationships among multiple alerts to tell you which users and hosts are involved, how alerts correspond to the MITRE ATT&CK matrix, and which threat actor might be responsible. This can help make the most of each security analyst's time, fight alert fatigue, and reduce your mean time to respond. For a demo, refer to the following video. ======= @@ -33,34 +33,42 @@ This page describes: * <> * <> +[discrete] +[[attack-discovery-rbac]] +== Role-based access control (RBAC) for Attack Discovery + +The `Attack Discovery: All` privilege allows you to use Attack Discovery. + +image::images/attck-disc-rbac.png[Attack Discovery's RBAC settings,60%] + [[attack-discovery-generate-discoveries]] [discrete] == Generate discoveries -When you access Attack discovery for the first time, you'll need to select an LLM connector before you can analyze alerts. Attack discovery uses the same LLM connectors as <>. To get started: +When you access Attack Discovery for the first time, you'll need to select an LLM connector before you can analyze alerts. Attack Discovery uses the same LLM connectors as <>. To get started: -. Click the **Attack discovery** page from {elastic-sec}'s navigation menu. +. Click the **Attack Discovery** page from {elastic-sec}'s navigation menu. . Select an existing connector from the dropdown menu, or add a new one. + .Recommended models [sidebar] -- -While Attack discovery is compatible with many different models, our testing found increased performance with Claude 3.5 Sonnet. In general, models with larger context windows are more effective for Attack discovery. +While Attack Discovery is compatible with many different models, refer to the <> to see which models perform best. -- + -image::images/attck-disc-select-model-empty-state.png[] +image::images/attck-disc-select-model-empty.png[] + . Once you've selected a connector, click **Generate** to start the analysis. It may take from a few seconds up to several minutes to generate discoveries, depending on the number of alerts and the model you selected. -IMPORTANT: Attack discovery is in technical preview and will only analyze opened and acknowleged alerts from the past 24 hours. By default it only analyzes up to 20 alerts within this timeframe, but you can expand this up to 100 by going to **AI Assistant → Settings (image:images/icon-settings.png[Settings icon,17,17]) → Knowledge Base** and updating the **Alerts** setting. +IMPORTANT: By default Attack Discovery analyzes up to 100 alerts within this timeframe, but you can expand this up to 500 by clicking the settings icon (image:images/icon-settings.png[Settings icon,17,17]) next to the model selection menu and adjusting the **Alerts** slider. Note that sending more alerts than your chosen LLM can handle may result in an error. -image::images/knowledge-base-settings.png["AI Assistant's settings menu open to the Knowledge Base tab",75%] +image::images/attck-disc-alerts-number-menu.png["Attack Discovery's settings menu",75%] -IMPORTANT: Attack discovery uses the same data anonymization settings as <>. To configure which alert fields are sent to the LLM and which of those fields are obfuscated, use the Elastic AI Assistant settings. Consider the privacy policies of third-party LLMs before sending them sensitive data. +IMPORTANT: Attack Discovery uses the same data anonymization settings as <>. To configure which alert fields are sent to the LLM and which of those fields are obfuscated, use the Elastic AI Assistant settings. Consider the privacy policies of third-party LLMs before sending them sensitive data. -Once the analysis is complete, any threats it identifies will appear as discoveries. Click each one's title to expand or collapse it. Click **Generate** at any time to start the Attack discovery process again with the most current alerts. +Once the analysis is complete, any threats it identifies will appear as discoveries. Click each one's title to expand or collapse it. Click **Generate** at any time to start the Attack Discovery process again with the most current alerts. [[attack-discovery-what-info]] [discrete] @@ -72,7 +80,7 @@ Each discovery includes the following information describing the potential threa . The number of associated alerts and which parts of the https://attack.mitre.org/[MITRE ATT&CK matrix] they correspond to. . The implicated entities (users and hosts), and what suspicious activity was observed for each. -image::images/attack-discovery-full-card.png[Attack discovery detail view] +image::images/attck-disc-example-disc.png[Attack Discovery detail view] [[attack-discovery-workflows]] [discrete] @@ -86,4 +94,4 @@ There are several ways you can incorporate discoveries into your {elastic-sec} w * Click **Investigate in timeline** to explore the discovery in <>. * Click **View in AI Assistant** to attach the discovery to a conversation with AI Assistant. You can then ask follow-up questions about the discovery or associated alerts. -image::images/add-discovery-to-assistant.gif[Attack discovery view in AI Assistant] +image::images/add-discovery-to-assistant.gif[Attack Discovery view in AI Assistant] diff --git a/docs/AI-for-security/images/add-discovery-to-assistant.gif b/docs/AI-for-security/images/add-discovery-to-assistant.gif index d2d969d60e..e532c7ecc0 100644 Binary files a/docs/AI-for-security/images/add-discovery-to-assistant.gif and b/docs/AI-for-security/images/add-discovery-to-assistant.gif differ diff --git a/docs/AI-for-security/images/attack-discovery-full-card.png b/docs/AI-for-security/images/attack-discovery-full-card.png deleted file mode 100644 index af90d5c604..0000000000 Binary files a/docs/AI-for-security/images/attack-discovery-full-card.png and /dev/null differ diff --git a/docs/AI-for-security/images/attck-disc-11-alerts-disc.png b/docs/AI-for-security/images/attck-disc-11-alerts-disc.png index 0f2bf87bac..f36bf0424a 100644 Binary files a/docs/AI-for-security/images/attck-disc-11-alerts-disc.png and b/docs/AI-for-security/images/attck-disc-11-alerts-disc.png differ diff --git a/docs/AI-for-security/images/attck-disc-alerts-number-menu.png b/docs/AI-for-security/images/attck-disc-alerts-number-menu.png new file mode 100644 index 0000000000..bcbb57ccce Binary files /dev/null and b/docs/AI-for-security/images/attck-disc-alerts-number-menu.png differ diff --git a/docs/AI-for-security/images/attck-disc-example-disc.png b/docs/AI-for-security/images/attck-disc-example-disc.png new file mode 100644 index 0000000000..f36bf0424a Binary files /dev/null and b/docs/AI-for-security/images/attck-disc-example-disc.png differ diff --git a/docs/AI-for-security/images/attck-disc-rbac.png b/docs/AI-for-security/images/attck-disc-rbac.png new file mode 100644 index 0000000000..36a3c27e42 Binary files /dev/null and b/docs/AI-for-security/images/attck-disc-rbac.png differ diff --git a/docs/AI-for-security/images/attck-disc-select-model-empty-state.png b/docs/AI-for-security/images/attck-disc-select-model-empty-state.png deleted file mode 100644 index d773f1ec4b..0000000000 Binary files a/docs/AI-for-security/images/attck-disc-select-model-empty-state.png and /dev/null differ diff --git a/docs/AI-for-security/images/attck-disc-select-model-empty.png b/docs/AI-for-security/images/attck-disc-select-model-empty.png new file mode 100644 index 0000000000..b1eb9488f1 Binary files /dev/null and b/docs/AI-for-security/images/attck-disc-select-model-empty.png differ