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

Trust Monitor Event

Back
Id8dcf7238-a7d0-4cfd-8d0c-b230e3cd9182
RulenameTrust Monitor Event
DescriptionThis query identifies when a new trust monitor event is detected.
SeverityMedium
TacticsCredentialAccess
TechniquesT1528
T1555
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Detections/DuoSecurity/TrustMonitorEvent.yaml
Version1.0.4
Arm template8dcf7238-a7d0-4cfd-8d0c-b230e3cd9182.json
Deploy To Azure
let timeframe = ago(5m);
DuoSecurityTrustMonitor_CL
| where TimeGenerated >= timeframe
| extend AccountName = tostring(split(surfaced_auth_user_name_s, "@")[0]), AccountUPNSuffix = tostring(split(surfaced_auth_user_name_s, "@")[1])
metadata:
  source:
    kind: Community
  categories:
    domains:
    - Security - Others
  author:
    name: SecurityJedi
  support:
    tier: Community
queryPeriod: 5m
version: 1.0.4
tactics:
- CredentialAccess
queryFrequency: 5m
id: 8dcf7238-a7d0-4cfd-8d0c-b230e3cd9182
triggerOperator: gt
requiredDataConnectors: []
severity: Medium
entityMappings:
- entityType: Account
  fieldMappings:
  - columnName: surfaced_auth_user_name_s
    identifier: FullName
  - columnName: AccountName
    identifier: Name
  - columnName: AccountUPNSuffix
    identifier: UPNSuffix
- entityType: IP
  fieldMappings:
  - columnName: surfaced_auth_access_device_ip_s
    identifier: Address
triggerThreshold: 0
relevantTechniques:
- T1528
- T1555
query: |
  let timeframe = ago(5m);
  DuoSecurityTrustMonitor_CL
  | where TimeGenerated >= timeframe
  | extend AccountName = tostring(split(surfaced_auth_user_name_s, "@")[0]), AccountUPNSuffix = tostring(split(surfaced_auth_user_name_s, "@")[1])  
kind: Scheduled
name: Trust Monitor Event
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Detections/DuoSecurity/TrustMonitorEvent.yaml
description: |
    'This query identifies when a new trust monitor event is detected.'
{
  "$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/8dcf7238-a7d0-4cfd-8d0c-b230e3cd9182')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/8dcf7238-a7d0-4cfd-8d0c-b230e3cd9182')]",
      "properties": {
        "alertRuleTemplateName": "8dcf7238-a7d0-4cfd-8d0c-b230e3cd9182",
        "customDetails": null,
        "description": "'This query identifies when a new trust monitor event is detected.'\n",
        "displayName": "Trust Monitor Event",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "surfaced_auth_user_name_s",
                "identifier": "FullName"
              },
              {
                "columnName": "AccountName",
                "identifier": "Name"
              },
              {
                "columnName": "AccountUPNSuffix",
                "identifier": "UPNSuffix"
              }
            ]
          },
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "surfaced_auth_access_device_ip_s",
                "identifier": "Address"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Detections/DuoSecurity/TrustMonitorEvent.yaml",
        "query": "let timeframe = ago(5m);\nDuoSecurityTrustMonitor_CL\n| where TimeGenerated >= timeframe\n| extend AccountName = tostring(split(surfaced_auth_user_name_s, \"@\")[0]), AccountUPNSuffix = tostring(split(surfaced_auth_user_name_s, \"@\")[1])\n",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "Medium",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess"
        ],
        "techniques": [
          "T1528",
          "T1555"
        ],
        "templateVersion": "1.0.4",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}