let threshold = 10;
QualysHostDetection
| extend Status = tostring(Status), Vulnerability = tostring(QID), Severity = tostring(Severity)
| where Status =~ "New" and Severity == "5"
| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), dcount(NetBios) by tostring(QID)
| where dcount_NetBios >= threshold
| extend timestamp = StartTime
name: New High Severity Vulnerability Detected Across Multiple Hosts
query: |
let threshold = 10;
QualysHostDetection
| extend Status = tostring(Status), Vulnerability = tostring(QID), Severity = tostring(Severity)
| where Status =~ "New" and Severity == "5"
| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), dcount(NetBios) by tostring(QID)
| where dcount_NetBios >= threshold
| extend timestamp = StartTime
queryFrequency: 1h
triggerOperator: gt
requiredDataConnectors:
- dataTypes:
- QualysHostDetection
connectorId: QualysVMLogsCCPDefinition
status: Available
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/QualysVM/Analytic Rules/NewHighSeverityVulnDetectedAcrossMulitpleHostsV2.yaml
description: |
'This creates an incident when a new high severity vulnerability is detected across multilple hosts'
version: 1.0.2
id: 6116dc19-475a-4148-84b2-efe89c073e27
kind: Scheduled
relevantTechniques:
- T1190
severity: Medium
tactics:
- InitialAccess
queryPeriod: 1h