Back
IdA22B2ECF-1478-4400-877E-07A32E53A897
RulenameRemovable storage ONLINE event from secRMM
DescriptionDetect when a removable storage device is plugged in by the end-user.
SeverityHigh
TacticsCollection
TechniquesT1025
KindNRT
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Squadra%20Technologies%20SecRmm/Analytic%20Rules/Removable_Storage_ONLINE.yaml
Arm templateA22B2ECF-1478-4400-877E-07A32E53A897.json
Deploy To Azure
secRMM_CL | where Event_s == "ONLINE" | 
extend AccountCustomEntity = User_s |
extend HostCustomEntity = Computer
subTechniques: []
suppressionDuration: PT5H
name: Removable storage ONLINE event from secRMM
createIncident: true
suppressionEnabled: false
query: |
  secRMM_CL | where Event_s == "ONLINE" | 
  extend AccountCustomEntity = User_s |
  extend HostCustomEntity = Computer
description: Detect when a removable storage device is plugged in by the end-user.
id: A22B2ECF-1478-4400-877E-07A32E53A897
kind: NRT
groupingConfiguration:
  groupByAlertDetails: []
  groupByCustomDetails: []
  lookbackDuration: PT5H
  enabled: false
  reopenClosedIncident: false
  matchingMethod: AllEntities
  groupByEntities: []
displayName: Removable Storage ONLINE
apiVersion: 2025-09-01
alertDetailsOverride: 
customDetails: 
relevantTechniques:
- T1025
alertRuleTemplateName: 
eventGroupingSettings: 
severity: High
aggregationKind: AlertPerResult
incidentConfiguration: 
enabled: true
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Squadra%20Technologies%20SecRmm/Analytic%20Rules/Removable_Storage_ONLINE.yaml
tactics:
- Collection
entityMappings:
- fieldMappings:
  - identifier: AadUserId
    columnName: User_s
  entityType: Account
- fieldMappings:
  - identifier: HostName
    columnName: Computer
  entityType: Host
{
  "$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/A22B2ECF-1478-4400-877E-07A32E53A897')]",
      "kind": "NRT",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/A22B2ECF-1478-4400-877E-07A32E53A897')]",
      "properties": {
        "aggregationKind": "AlertPerResult",
        "alertDetailsOverride": null,
        "alertRuleTemplateName": "A22B2ECF-1478-4400-877E-07A32E53A897",
        "apiVersion": "2025-09-01",
        "createIncident": true,
        "customDetails": null,
        "description": "Detect when a removable storage device is plugged in by the end-user.",
        "displayName": "Removable storage ONLINE event from secRMM",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "User_s",
                "identifier": "AadUserId"
              }
            ]
          },
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "Computer",
                "identifier": "HostName"
              }
            ]
          }
        ],
        "eventGroupingSettings": null,
        "groupingConfiguration": {
          "enabled": false,
          "groupByAlertDetails": [],
          "groupByCustomDetails": [],
          "groupByEntities": [],
          "lookbackDuration": "PT5H",
          "matchingMethod": "AllEntities",
          "reopenClosedIncident": false
        },
        "incidentConfiguration": null,
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Squadra%20Technologies%20SecRmm/Analytic%20Rules/Removable_Storage_ONLINE.yaml",
        "query": "secRMM_CL | where Event_s == \"ONLINE\" | \nextend AccountCustomEntity = User_s |\nextend HostCustomEntity = Computer\n",
        "severity": "High",
        "subTechniques": [],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "Collection"
        ],
        "techniques": [
          "T1025"
        ],
        "templateVersion": "1.0.0"
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}