Tutorial: Set up automated threat responses in Azure Sentinel Preview
This tutorial helps you to use security playbooks in Azure Sentinel to set automated threat responses to security-related issues detected by Azure Sentinel.
- Understand playbooks
- Create a playbook
- Run a playbook
What is a security playbook in Azure Sentinel?
A security playbook is a collection of procedures that can be run from Azure Sentinel in response to an alert. A security playbook can help automate and orchestrate your response, and can be run manually or set to run automatically when specific alerts are triggered. Security playbooks in Azure Sentinel are based on Azure Logic Apps, which means that you get all the power, customizability, and built-in templates of Logic Apps. Each playbook is created for the specific subscription you choose, but when you look at the Playbooks page, you will see all the playbooks across any selected subscriptions.
Playbooks leverage Azure Logic Apps, therefore charges apply. Visit Azure Logic Apps pricing page for more details.
For example, if you're worried about malicious attackers accessing your network resources, you can set an alert that looks for malicious IP addresses accessing your network. Then, you can create a playbook that does the following:
- When the alert is triggered, open a ticket in ServiceNow or any other IT ticketing system.
- Send a message to your security operations channel in Microsoft Teams or Slack to make sure your security analysts are aware of the incident.
- Send all the information in the alert to your senior network admin and security admin. The email message also includes two user option buttons Block or Ignore.
- The playbook continues to run after a response is received from the admins.
- If the admins choose Block, the IP address is blocked in the firewall and the user is disabled in Azure AD.
- If the admins choose Ignore, the alert is closed in Azure Sentinel and the incident is closed in ServiceNow.
Security playbooks can be run either manually or automatically. Running them manually means that when you get an alert, you can choose to run a playbook on-demand as a response to the selected alert. Running them automatically means that while authoring the correlation rule, you set it to automatically run one or more playbooks when the alert is triggered.
Create a security playbook
Follow these steps to create a new security playbook in Azure Sentinel:
Open the Azure Sentinel dashboard.
Under Management, select Playbooks.
In the Azure Sentinel - Playbooks (Preview) page, click Add button.
In the Create Logic app page, type the requested information to create your new logic app, and click Create.
In the Logic App Designer, select the template you want to use. If you select a template that necessitates credentials, you will have to provide them. Alternatively, you can create a new blank playbook from scratch. Select Blank Logic App.
You are taken to the Logic App Designer where you can either build new or edit the template. For more information on creating a playbook with Logic Apps.
If you are creating a blank playbook, in the Search all connectors and triggers field, type Azure Sentinel, and select When a response to an Azure Sentinel alert is triggered.
After it is created, the new playbook appears in the Playbooks list. If it doesn’t appear, click Refresh.
Now you can define what happens when you trigger the playbook. You can add an action, logical condition, switch case conditions, or loops.
How to run a security playbook
You can run a playbook on demand.
To run a playbook on-demand:
In the Cases page, select a case and click on View full details.
In the Alerts tab, click on the alert you want to run the playbook on, and scroll all the way to the right and click View playbooks and select a playbook to run from the list of available playbooks on the subscription.
In this article, you learned how to run a playbook in Azure Sentinel. To learn more about Azure Sentinel, see the following articles: In this tutorial, you learned how to run a playbook in Azure Sentinel. Continue to the how to proactively hunt for threats using Azure Sentinel.
Hunt for threats to proactively find threats on your network.
I tuoi commenti e suggerimenti sono importanti. Scegli il tipo che preferisci:
Il nostro sistema per i commenti è basato su GitHub Issues. Per altre informazioni, vedi il blog.
Caricamento dei commenti...