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

New High Severity Vulnerability Detected Across Multiple Hosts

Back
Id84cf1d59-f620-4fee-b569-68daf7008b7b
RulenameNew High Severity Vulnerability Detected Across Multiple Hosts
DescriptionThis creates an incident when a new high severity vulnerability is detected across multilple hosts
SeverityMedium
TacticsInitialAccess
TechniquesT1190
Required data connectorsQualysVulnerabilityManagement
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Detections/QualysVM/NewHighSeverityVulnDetectedAcrossMulitpleHosts.yaml
Version1.0.2
Arm template84cf1d59-f620-4fee-b569-68daf7008b7b.json
Deploy To Azure
let threshold = 10;
QualysHostDetection_CL
| mv-expand todynamic(Detections_s)
| extend Status = tostring(Detections_s.Status), Vulnerability = tostring(Detections_s.Results), Severity = tostring(Detections_s.Severity)
| where Status =~ "New" and Severity == "5"
| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), dcount(NetBios_s) by tostring(Detections_s.QID)
| where dcount_NetBios_s >= threshold
| extend timestamp = StartTime
metadata:
  author:
    name: chicduong
  support:
    tier: Community
  source:
    kind: Community
  categories:
    domains:
    - Security - Threat Intelligence
severity: Medium
description: |
    'This creates an incident when a new high severity vulnerability is detected across multilple hosts'
triggerOperator: gt
queryPeriod: 1h
requiredDataConnectors:
- dataTypes:
  - QualysHostDetection_CL
  connectorId: QualysVulnerabilityManagement
queryFrequency: 1h
triggerThreshold: 0
tactics:
- InitialAccess
query: |
  let threshold = 10;
  QualysHostDetection_CL
  | mv-expand todynamic(Detections_s)
  | extend Status = tostring(Detections_s.Status), Vulnerability = tostring(Detections_s.Results), Severity = tostring(Detections_s.Severity)
  | where Status =~ "New" and Severity == "5"
  | summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), dcount(NetBios_s) by tostring(Detections_s.QID)
  | where dcount_NetBios_s >= threshold
  | extend timestamp = StartTime  
kind: Scheduled
relevantTechniques:
- T1190
version: 1.0.2
id: 84cf1d59-f620-4fee-b569-68daf7008b7b
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Detections/QualysVM/NewHighSeverityVulnDetectedAcrossMulitpleHosts.yaml
name: New High Severity Vulnerability Detected Across Multiple Hosts
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/84cf1d59-f620-4fee-b569-68daf7008b7b')]",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/84cf1d59-f620-4fee-b569-68daf7008b7b')]",
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
      "kind": "Scheduled",
      "apiVersion": "2022-11-01-preview",
      "properties": {
        "displayName": "New High Severity Vulnerability Detected Across Multiple Hosts",
        "description": "'This creates an incident when a new high severity vulnerability is detected across multilple hosts'\n",
        "severity": "Medium",
        "enabled": true,
        "query": "let threshold = 10;\nQualysHostDetection_CL\n| mv-expand todynamic(Detections_s)\n| extend Status = tostring(Detections_s.Status), Vulnerability = tostring(Detections_s.Results), Severity = tostring(Detections_s.Severity)\n| where Status =~ \"New\" and Severity == \"5\"\n| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), dcount(NetBios_s) by tostring(Detections_s.QID)\n| where dcount_NetBios_s >= threshold\n| extend timestamp = StartTime\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0,
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1190"
        ],
        "alertRuleTemplateName": "84cf1d59-f620-4fee-b569-68daf7008b7b",
        "customDetails": null,
        "entityMappings": null,
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Detections/QualysVM/NewHighSeverityVulnDetectedAcrossMulitpleHosts.yaml",
        "templateVersion": "1.0.2"
      }
    }
  ]
}