Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Create Incidents from IronDefense

Back
Id3cf46cb9-99d5-42ee-a43c-7bd88ea394a1
RulenameCreate Incidents from IronDefense
DescriptionCreates incidents based on behavioral detections from IronDefense.
SeverityMedium
Required data connectorsIronNetIronDefense
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/IronNet IronDefense/Analytic Rules/IronDefense_Detection_Query.yaml
Version1.0.1
Arm template3cf46cb9-99d5-42ee-a43c-7bd88ea394a1.json
Deploy To Azure
CommonSecurityLog
| where DeviceProduct == "IronDefense"
| summarize arg_max(TimeGenerated, *) by DeviceCustomString4, DeviceCustomString2
| extend Category = coalesce(column_ifexists("DeviceEventCategory",""),extract(@'cat=([^;]+)(\;|$)', 1, AdditionalExtensions))	
| extend Subcategory = extract(@'subcat=([^;]+)(\;|$)', 1, AdditionalExtensions)
| extend AlertDescription = strcat(Category, ': ', Subcategory)
| extend Status = tostring(DeviceCustomString2)
| extend IronVueUrl = replace(@'\\', @'', tostring(DeviceCustomString3))
relevantTechniques: 
name: Create Incidents from IronDefense
requiredDataConnectors:
- dataTypes:
  - CommonSecurityLog
  connectorId: IronNetIronDefense
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: DestinationIP
  entityType: IP
- fieldMappings:
  - identifier: Address
    columnName: SourceIP
  entityType: IP
- fieldMappings:
  - identifier: FullName
    columnName: DestinationHostName
  entityType: Host
- fieldMappings:
  - identifier: FullName
    columnName: SourceHostName
  entityType: Host
- fieldMappings:
  - identifier: Url
    columnName: RequestURL
  entityType: URL
triggerThreshold: 0
id: 3cf46cb9-99d5-42ee-a43c-7bd88ea394a1
tactics: 
version: 1.0.1
customDetails:
  AnalystRating: LogSeverity
  IronVueUrl: IronVueUrl
  AlertCreatedTime: TimeGenerated
  IronDefenseAlertId: DeviceCustomString4
  AnalystSeverity: DeviceCustomString1
  IronDefenseStatus: Status
alertDetailsOverride:
  alertDisplayNameFormat: |
        {{Category}}: {{Subcategory}} ({{DeviceCustomString4}})
  alertSeverityColumnName: LogSeverity
  alertDescriptionFormat: |
        IronDefense detected suspicious activity on {{TimeGenerated}} and categorized it as "{{AlertDescription}}".  View full details in IronVue: {{IronVueUrl}}
queryPeriod: 5m
kind: Scheduled
eventGroupingSettings:
  aggregationKind: AlertPerResult
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/IronNet IronDefense/Analytic Rules/IronDefense_Detection_Query.yaml
queryFrequency: 5m
severity: Medium
status: Available
description: |
    'Creates incidents based on behavioral detections from IronDefense.'
query: |
  CommonSecurityLog
  | where DeviceProduct == "IronDefense"
  | summarize arg_max(TimeGenerated, *) by DeviceCustomString4, DeviceCustomString2
  | extend Category = coalesce(column_ifexists("DeviceEventCategory",""),extract(@'cat=([^;]+)(\;|$)', 1, AdditionalExtensions))	
  | extend Subcategory = extract(@'subcat=([^;]+)(\;|$)', 1, AdditionalExtensions)
  | extend AlertDescription = strcat(Category, ': ', Subcategory)
  | extend Status = tostring(DeviceCustomString2)
  | extend IronVueUrl = replace(@'\\', @'', tostring(DeviceCustomString3))  
triggerOperator: gt
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/3cf46cb9-99d5-42ee-a43c-7bd88ea394a1')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/3cf46cb9-99d5-42ee-a43c-7bd88ea394a1')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "IronDefense detected suspicious activity on {{TimeGenerated}} and categorized it as \"{{AlertDescription}}\".  View full details in IronVue: {{IronVueUrl}}\n",
          "alertDisplayNameFormat": "{{Category}}: {{Subcategory}} ({{DeviceCustomString4}})\n",
          "alertSeverityColumnName": "LogSeverity"
        },
        "alertRuleTemplateName": "3cf46cb9-99d5-42ee-a43c-7bd88ea394a1",
        "customDetails": {
          "AlertCreatedTime": "TimeGenerated",
          "AnalystRating": "LogSeverity",
          "AnalystSeverity": "DeviceCustomString1",
          "IronDefenseAlertId": "DeviceCustomString4",
          "IronDefenseStatus": "Status",
          "IronVueUrl": "IronVueUrl"
        },
        "description": "'Creates incidents based on behavioral detections from IronDefense.'\n",
        "displayName": "Create Incidents from IronDefense",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "DestinationIP",
                "identifier": "Address"
              }
            ]
          },
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "SourceIP",
                "identifier": "Address"
              }
            ]
          },
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "DestinationHostName",
                "identifier": "FullName"
              }
            ]
          },
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "SourceHostName",
                "identifier": "FullName"
              }
            ]
          },
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "RequestURL",
                "identifier": "Url"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/IronNet IronDefense/Analytic Rules/IronDefense_Detection_Query.yaml",
        "query": "CommonSecurityLog\n| where DeviceProduct == \"IronDefense\"\n| summarize arg_max(TimeGenerated, *) by DeviceCustomString4, DeviceCustomString2\n| extend Category = coalesce(column_ifexists(\"DeviceEventCategory\",\"\"),extract(@'cat=([^;]+)(\\;|$)', 1, AdditionalExtensions))\t\n| extend Subcategory = extract(@'subcat=([^;]+)(\\;|$)', 1, AdditionalExtensions)\n| extend AlertDescription = strcat(Category, ': ', Subcategory)\n| extend Status = tostring(DeviceCustomString2)\n| extend IronVueUrl = replace(@'\\\\', @'', tostring(DeviceCustomString3))\n",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": null,
        "techniques": null,
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}