Identify, investigate, and document threats

Together, Attack Discovery and Elastic Agent Builder can help you identify and mitigate threats, investigate incidents, and generate incident reports in various languages so you can monitor and protect your environment.

In this guide, you'll learn how to:

If you use AI Assistant, refer to Use AI Assistant (deprecated).

Attack Discovery can detect a wide range of threats by finding relationships among alerts that may indicate a coordinated attack. This enables you to comprehend how threats move through and affect your systems. Attack Discovery generates a detailed summary of each potential threat and can highlight avenues for further investigation. Learn how to get started with Attack Discovery.

Important

To ensure that Attack Discovery analyzes related alerts together (and can therefore identify their connections), pay attention to the alert filtering settings. This allows you to target Attack Discovery at specific groups of alerts, such as those related to a particular host, user, date and time, incident, or customer.

An Attack Discovery card showing an attack with 11 related alerts

In this example, Attack Discovery found connections between thirteen alerts, and used them to identify and describe an attack chain.

After Attack Discovery outlines your threat landscape, use AI chat to analyze a threat in detail.

To start a conversation with a discovery as context, click Add to chat on a discovery on the Attack Discovery page. Or, from the Attacks view, select Take actions → Add to chat on an attack.

The Elastic AI Agent can compile essential data and suggest next steps to help you plan an effective response. Ask it questions such as:

  • "How can I remediate this threat?"
  • "What ES|QL query would isolate actions taken by this user?"
  • "What are the risk scores for the hosts and users involved?" (requires entity risk scoring)

The agent uses Security skills such as alert-analysis, entity-analytics, and threat-hunting to answer. To learn more about using Elastic Agent Builder for ES|QL, refer to Generate, customize, and learn about ES|QL queries.

You can also start in chat and have the agent run Attack Discovery for you, for example "Investigate lateral movement involving host-12 over the last 24 hours." Refer to Run Attack Discovery from Elastic Agent Builder.

Cases centralize relevant details in one place for easy sharing with stakeholders. To add a discovery and its alerts to a case, select Take action → Add to new case or Add to existing case on the discovery. Or, on the Attacks view, select Take actions → Add to new case or Add to existing case on the attack.

Ask the agent for an incident report, remediation steps, or a summary, then add them to the case.

You can also ask the agent to create the case or add its findings to an existing one, for example "Add these remediation steps as a comment on the case for this attack." The agent uses the cases-management skill.

The agent can translate its findings into other human languages, helping to enable collaboration among global security teams, and making it easier to operate within multilingual organizations.

After the agent provides information in one language, ask it to translate its response. For example, if it provides remediation steps for an incident, ask it to "Translate these remediation steps into Japanese." You can then add the translated output to a case.

Note

All LLMs can make mistakes, so review translations before you share them.

From a discovery on the Attack Discovery page, click View in AI Assistant or Add to chat to start a chat that includes the discovery as context.

A dialog with AI Assistant that has the discovery as context

AI Assistant can quickly compile essential data and provide suggestions to help you generate an incident report and plan an effective response. You can ask it to provide relevant data or answer questions, such as “How can I remediate this threat?” or “What ES|QL query would isolate actions taken by this user?”

An AI Assistant dialog in which the user asks for a purpose-built ES|QL query

This image shows an ES|QL query generated by AI Assistant in response to a user prompt. Learn more about using AI Assistant for ES|QL.

At any point in a conversation with AI Assistant, you can add data, narrative summaries, and other information from its responses to Elastic Security's case management system to generate incident reports.

From the AI Assistant dialog window, click Add to case (Add to case icon) next to a message to add the information in that message to a case. Cases help centralize relevant details in one place for easy sharing with stakeholders.

If you add a message that contains a discovery to a case, AI Assistant automatically adds the attack summary and all associated alerts to the case. You can also add AI Assistant messages that contain remediation steps and relevant data to the case.

An AI Assistant dialog in which the assistant translates from English to Japanese

AI Assistant can translate its findings into other human languages, helping to enable collaboration among global security teams, and making it easier to operate within multilingual organizations.

After AI Assistant provides information in one language, you can ask it to translate its responses. For example, if it provides remediation steps for an incident, you can instruct it to “Translate these remediation steps into Japanese.” You can then add the translated output to a case. This can help team members receive the same information and insights regardless of their primary language.

Note

In our internal testing, AI Assistant translations preserved the accuracy of the original content. However, all LLMs can make mistakes, so use caution.