[[Deprecated]] Add Dynatrace Application Security Attack Source IP Address to Threat Intelligence

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Content Index


This playbook will add an attackers source ip to Threat Intelligence when a new incident is opened in Microsoft Sentinel.

Attribute Value
Type Playbook
Solution Dynatrace
Source View on GitHub

Logic App Connectors

This playbook uses 4 Logic App connectors / built-in actions:

Connector / Action Type Connections Actions
azuresentinel Managed 1 0
keyvault Managed 1 1
microsoftgraphsecurity Managed 1 3
http Built-in 0 1
Action parameters (URLs, paths, function IDs)

keyvault (Managed)

Action Method Endpoint Other
Get_Dynatrace_Access_Token get /secrets/@{encodeURIComponent('DynatraceAccessToken')}/value

microsoftgraphsecurity (Managed)

Action Method Endpoint Other
Create_tiIndicator_for_attackers_source_ip post /beta/security/tiIndicators
Update_tiIndicator_expiration patch /beta/security/tiIndicators/@{encodeURIComponent(items('For_each_tiIndicator')?['id'])}
Get_Existing_tiIndicator get /beta/security/tiIndicators

http (Built-in)

Action Method Endpoint Other
Get_Dynatrace_Attack_Details GET https://@{parameters('Tenant')}/api/v2/attacks/@{first(body('Parse_Incident_Alert_Custom_Body_JSON')?['attackIdentifier'])}

Additional Documentation

📄 Source: Add_DynatraceApplicationSecurityAttackSourceIpThreatIntelligence/readme.md

Add_DynatraceApplicationSecurityAttackSourceIpThreatIntelligence

[Deprecated] This playbook is deprecated due to the deprecation of the Microsoft Graph Security tiIndicators API and its connector in Logic Apps.

author: Dynatrace

This playbook uses the Dynatrace REST APIs to automatically add an attackers source IP address to Microsoft Threat Intelligence when an alert is generated by Microsoft Sentinel. You need a valid Dynatrace tenant with Application Security enabled. To learn more about the Dynatrace platform Start your free trial

** Prerequisites **

** Post Install Notes:**

The Logic App uses a Managed System Identity (MSI) to read the Microsoft Sentinel Incident.

Assign RBAC 'Microsoft Sentinel Reader' role to the Logic App at the Resource Group level of the Log Analytics Workspace.

Assign access policy on key vault for Playbook to fetch the secret key

To create new Threat Indicators for Microsoft Threat Intelligence we leverage the Microsoft Graph Security connector, please ensure you meet the prerequisites to connect with The Microsoft Graph Security connector

Basic steps for the Microsoft Graph Security connector permissions are as follows :

  1. Perform role assignment for the playbook managed indentity, assign the ThreatIndicators.ReadWrite.OwnedBy permission

    Install the AzureAD PowerShell module

    Install-Module AzureAD

    $TenantID="[YOUR AZURE ACTIVE DIRECTORY TENANT ID]" $GraphAppId = "00000003-0000-0000-c000-000000000000" $DisplayNameOfMSI="[PLAYBOOK IDENTITY NAME]" $PermissionName = "ThreatIndicators.ReadWrite.OwnedBy" Connect-AzureAD -TenantId $TenantID $MSI = (Get-AzureADServicePrincipal -Filter "displayName eq '$DisplayNameOfMSI'") Start-Sleep -Seconds 10 $GraphServicePrincipal = Get-AzureADServicePrincipal -Filter "appId eq '$GraphAppId'" $AppRole = $GraphServicePrincipal.AppRoles | Where-Object {$.Value -eq $PermissionName -and $.AllowedMemberTypes -contains "Application"} New-AzureAdServiceAppRoleAssignment -ObjectId $MSI.ObjectId -PrincipalId $MSI.ObjectId -ResourceId $GraphServicePrincipal.ObjectId -Id $AppRole.Id

  2. Grant Admin Consent for MicrosoftGraphSecurityConnector application 2.1 Navigate to 'https://login.microsoftonline.com/[YOUR AZURE ACTIVE DIRECTORY TENANT ID]/adminconsent?client_id=c4829704-0edc-4c3d-a347-7c4a67586f3c' 2.2 Accept the requested permissions

Initial Setup

A Microsoft Sentinel playbook is utilized by automation rules, therefore to automatically trigger this playbook you must setup a new automation rule. If you have not set permissions yet, review here

Basic steps for setup of the playbook and automation rule are as follows :

  1. Go to the Automation blade in Microsoft Sentinel.
  2. Create a new playbook from the 'Add Dynatrace Application Security Attack Source IP Address to Threat Intelligence' playbook template
  1. Create a new automation rule

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Playbooks · Back to Dynatrace