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

Trend Micro CAS - Infected user

Back
Id3649dfb8-a5ca-47dd-8965-cd2f633ca533
RulenameTrend Micro CAS - Infected user
DescriptionDetects when malware was detected for user account.
SeverityHigh
TacticsInitialAccess
TechniquesT1566
Required data connectorsTrendMicroCAS
KindScheduled
Query frequency10m
Query period10m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Cloud App Security/Analytic Rules/TrendMicroCASVAInfectedUser.yaml
Version1.0.1
Arm template3649dfb8-a5ca-47dd-8965-cd2f633ca533.json
Deploy To Azure
TrendMicroCAS
| where EventType has_all ('virtual', 'analyzer')
| where isnotempty(VirusName)
| extend AccountCustomEntity = DstUserName, MalwareCustomEntity = VirusName
status: Available
id: 3649dfb8-a5ca-47dd-8965-cd2f633ca533
name: Trend Micro CAS - Infected user
requiredDataConnectors:
- connectorId: TrendMicroCAS
  dataTypes:
  - TrendMicroCAS
severity: High
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Cloud App Security/Analytic Rules/TrendMicroCASVAInfectedUser.yaml
kind: Scheduled
description: |
    'Detects when malware was detected for user account.'
relevantTechniques:
- T1566
queryPeriod: 10m
triggerOperator: gt
queryFrequency: 10m
query: |
  TrendMicroCAS
  | where EventType has_all ('virtual', 'analyzer')
  | where isnotempty(VirusName)
  | extend AccountCustomEntity = DstUserName, MalwareCustomEntity = VirusName  
version: 1.0.1
tactics:
- InitialAccess
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
- fieldMappings:
  - identifier: Name
    columnName: MalwareCustomEntity
  entityType: Malware
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/3649dfb8-a5ca-47dd-8965-cd2f633ca533')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/3649dfb8-a5ca-47dd-8965-cd2f633ca533')]",
      "properties": {
        "alertRuleTemplateName": "3649dfb8-a5ca-47dd-8965-cd2f633ca533",
        "customDetails": null,
        "description": "'Detects when malware was detected for user account.'\n",
        "displayName": "Trend Micro CAS - Infected user",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "Name"
              }
            ]
          },
          {
            "entityType": "Malware",
            "fieldMappings": [
              {
                "columnName": "MalwareCustomEntity",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Cloud App Security/Analytic Rules/TrendMicroCASVAInfectedUser.yaml",
        "query": "TrendMicroCAS\n| where EventType has_all ('virtual', 'analyzer')\n| where isnotempty(VirusName)\n| extend AccountCustomEntity = DstUserName, MalwareCustomEntity = VirusName\n",
        "queryFrequency": "PT10M",
        "queryPeriod": "PT10M",
        "severity": "High",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1566"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}