Analytic rule catalog
Medium severity malicious activity detected
Back
| Id | dfbe3963-42fb-4ebe-a00c-1cc44e2aa9f0 |
| Rulename | Medium severity malicious activity detected |
| Description | Identifies medium severity malicious activity in Azure Firewall IDPS logs. |
| Severity | Medium |
| Tactics | InitialAccess Execution DefenseEvasion Impact |
| Techniques | T1496 T1204 T1036 |
| Required data connectors | AzureFirewall |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 24h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Azure%20Firewall/Analytic%20Rules/Azure%20Firewall%20-%20Medium%20severity%20malicious%20activity%20detected.yaml |
| Version | 1.0.1 |
| Arm template | dfbe3963-42fb-4ebe-a00c-1cc44e2aa9f0.json |
let TimeWindow = 90d;
let HitThreshold = 10;
let MinSeverity = 2;
let EnableCategoryFilter = true;
let EnableDescriptionFilter = false;
let EnableActionFilter = false;
let CategoriesOfInterest = dynamic([
"Possibly Unwanted Program Detected",
"Possible Social Engineering Attempted",
"Crypto Currency Mining Activity Detected",
"A suspicious filename was detected",
"A system call was detected"
]);
let DescriptionsOfInterest = dynamic([
"pup-activity",
"social-engineering",
"coin-mining",
"suspicious-filename-detect",
"system-call-detect"
]);
let MatchActions = dynamic(["Deny", "alert"]);
AZFWIdpsSignature
| where TimeGenerated >= ago(TimeWindow)
| where Severity >= MinSeverity
| where (EnableCategoryFilter == false) or (Category has_any (CategoriesOfInterest))
| where (EnableDescriptionFilter == false) or (Description has_any (DescriptionsOfInterest))
| where (EnableActionFilter == false) or (Action in~ (MatchActions))
| summarize
StartTime = min(TimeGenerated),
EndTime = max(TimeGenerated),
TotalHits = count(),
MaxSeverity = max(Severity),
Actions = make_set(Action, 5),
Signatures = make_set(SignatureId, 20),
Description = make_set(substring(tostring(Description), 0, 120), 3)
by SourceIp, ThreatCategory = Category
| where TotalHits >= HitThreshold
| project
StartTime,
EndTime,
SourceIp,
ThreatCategory,
TotalHits,
MaxSeverity,
Actions,
Signatures,
Description
| order by MaxSeverity desc, TotalHits desc
entityMappings:
- entityType: IP
fieldMappings:
- columnName: SourceIp
identifier: Address
query: |
let TimeWindow = 90d;
let HitThreshold = 10;
let MinSeverity = 2;
let EnableCategoryFilter = true;
let EnableDescriptionFilter = false;
let EnableActionFilter = false;
let CategoriesOfInterest = dynamic([
"Possibly Unwanted Program Detected",
"Possible Social Engineering Attempted",
"Crypto Currency Mining Activity Detected",
"A suspicious filename was detected",
"A system call was detected"
]);
let DescriptionsOfInterest = dynamic([
"pup-activity",
"social-engineering",
"coin-mining",
"suspicious-filename-detect",
"system-call-detect"
]);
let MatchActions = dynamic(["Deny", "alert"]);
AZFWIdpsSignature
| where TimeGenerated >= ago(TimeWindow)
| where Severity >= MinSeverity
| where (EnableCategoryFilter == false) or (Category has_any (CategoriesOfInterest))
| where (EnableDescriptionFilter == false) or (Description has_any (DescriptionsOfInterest))
| where (EnableActionFilter == false) or (Action in~ (MatchActions))
| summarize
StartTime = min(TimeGenerated),
EndTime = max(TimeGenerated),
TotalHits = count(),
MaxSeverity = max(Severity),
Actions = make_set(Action, 5),
Signatures = make_set(SignatureId, 20),
Description = make_set(substring(tostring(Description), 0, 120), 3)
by SourceIp, ThreatCategory = Category
| where TotalHits >= HitThreshold
| project
StartTime,
EndTime,
SourceIp,
ThreatCategory,
TotalHits,
MaxSeverity,
Actions,
Signatures,
Description
| order by MaxSeverity desc, TotalHits desc
id: dfbe3963-42fb-4ebe-a00c-1cc44e2aa9f0
queryFrequency: 1h
status: Available
version: 1.0.1
severity: Medium
relevantTechniques:
- T1496
- T1204
- T1036
name: Medium severity malicious activity detected
kind: Scheduled
tactics:
- InitialAccess
- Execution
- DefenseEvasion
- Impact
requiredDataConnectors:
- dataTypes:
- AZFWIdpsSignature
connectorId: AzureFirewall
description: |
Identifies medium severity malicious activity in Azure Firewall IDPS logs.
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Azure%20Firewall/Analytic%20Rules/Azure%20Firewall%20-%20Medium%20severity%20malicious%20activity%20detected.yaml
triggerOperator: gt
triggerThreshold: 0
queryPeriod: 24h
{
"$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/dfbe3963-42fb-4ebe-a00c-1cc44e2aa9f0')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/dfbe3963-42fb-4ebe-a00c-1cc44e2aa9f0')]",
"properties": {
"alertRuleTemplateName": "dfbe3963-42fb-4ebe-a00c-1cc44e2aa9f0",
"customDetails": null,
"description": "Identifies medium severity malicious activity in Azure Firewall IDPS logs.\n",
"displayName": "Medium severity malicious activity detected",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "SourceIp",
"identifier": "Address"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Azure%20Firewall/Analytic%20Rules/Azure%20Firewall%20-%20Medium%20severity%20malicious%20activity%20detected.yaml",
"query": "let TimeWindow = 90d; \nlet HitThreshold = 10;\nlet MinSeverity = 2;\nlet EnableCategoryFilter = true;\nlet EnableDescriptionFilter = false;\nlet EnableActionFilter = false;\nlet CategoriesOfInterest = dynamic([\n \"Possibly Unwanted Program Detected\",\n \"Possible Social Engineering Attempted\",\n \"Crypto Currency Mining Activity Detected\",\n \"A suspicious filename was detected\",\n \"A system call was detected\"\n]);\nlet DescriptionsOfInterest = dynamic([\n \"pup-activity\",\n \"social-engineering\",\n \"coin-mining\",\n \"suspicious-filename-detect\",\n \"system-call-detect\"\n]);\nlet MatchActions = dynamic([\"Deny\", \"alert\"]);\nAZFWIdpsSignature\n| where TimeGenerated >= ago(TimeWindow)\n| where Severity >= MinSeverity\n| where (EnableCategoryFilter == false) or (Category has_any (CategoriesOfInterest))\n| where (EnableDescriptionFilter == false) or (Description has_any (DescriptionsOfInterest))\n| where (EnableActionFilter == false) or (Action in~ (MatchActions))\n| summarize\n StartTime = min(TimeGenerated),\n EndTime = max(TimeGenerated),\n TotalHits = count(),\n MaxSeverity = max(Severity),\n Actions = make_set(Action, 5),\n Signatures = make_set(SignatureId, 20),\n Description = make_set(substring(tostring(Description), 0, 120), 3)\n by SourceIp, ThreatCategory = Category\n| where TotalHits >= HitThreshold\n| project\n StartTime,\n EndTime,\n SourceIp,\n ThreatCategory,\n TotalHits,\n MaxSeverity,\n Actions,\n Signatures,\n Description\n| order by MaxSeverity desc, TotalHits desc\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT24H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"DefenseEvasion",
"Execution",
"Impact",
"InitialAccess"
],
"techniques": [
"T1036",
"T1204",
"T1496"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}