Detection rules › Kusto
Removable storage ONLINE event from secRMM
Detect when a removable storage device is plugged in by the end-user.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Collection | T1025 Data from Removable Media |
Rule body kusto
id: A22B2ECF-1478-4400-877E-07A32E53A897
name: Removable storage ONLINE event from secRMM
description: Detect when a removable storage device is plugged in by the end-user.
severity: High
kind: NRT
apiVersion: 2025-09-01
displayName: Removable Storage ONLINE
enabled: true
query: |+
secRMM_CL | where Event_s == "ONLINE" |
extend AccountCustomEntity = User_s |
extend HostCustomEntity = Computer
suppressionDuration: PT5H
suppressionEnabled: false
tactics:
- Collection
relevantTechniques:
- T1025
subTechniques: []
alertRuleTemplateName:
incidentConfiguration:
createIncident: true
groupingConfiguration:
enabled: false
reopenClosedIncident: false
lookbackDuration: PT5H
matchingMethod: AllEntities
groupByEntities: []
groupByAlertDetails: []
groupByCustomDetails: []
eventGroupingSettings:
aggregationKind: AlertPerResult
alertDetailsOverride:
customDetails:
entityMappings:
- entityType: Account
fieldMappings:
- identifier: AadUserId
columnName: User_s
- entityType: Host
fieldMappings:
- identifier: HostName
columnName: Computer
Stages and Predicates
Stage 1: source
secRMM_CL
Stage 2: where
| where Event_s == "ONLINE"
Stage 3: extend
| extend AccountCustomEntity = User_s
Stage 4: extend
| extend HostCustomEntity = Computer
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Event_s | eq |
|
Output fields
Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.
| Field | Source |
|---|---|
AccountCustomEntity | extend |
HostCustomEntity | extend |