Rules for T1496
How the 37 rules tagged with T1496 are built: the tables they read, what they filter, how they join, and when they run. The most used of each; every rule is listed below.
Tables and parsers
AzureActivity 14CyfirmaIndicators_CL 4ADOAuditLogs 3DnsEvents 3SQLEvent 3VMwareESXi 2AWSCloudTrail 1AZFWIdpsSignature 1AzureNetworkAnalytics_CL 1Cisco_Umbrella 1FinanceOperationsActivity_CL 1OCILogs 1Syslog 1WindowsEvent 1_Im_Dns 1
Filtered columns
AzureActivity.OperationNameValuewrite3Microsoft.Subscription/updateTenant/action1deployments/write1firewallrules1ipfilterrules1AzureActivity.ActivitySubstatusValueCreated5OK4Accepted2AzureActivity.ActivityStatusValueSucceeded2Accepted1Accepted1Succeeded1CyfirmaIndicators_CL.ConfidenceScoreCyfirmaIndicators_CL.RecommendedActionsBlock2Monitor2CyfirmaIndicators_CL.RolesTrojan4CyfirmaIndicators_CL.patternAzureActivity.CategoryValueAdministrative2Security1ADOAuditLogs.OperationNameLibrary.ServiceConnectionExecuted2AzureActivity.CategoryAdministrative2AzureActivity.ResourceProviderValueMICROSOFT.MACHINELEARNINGSERVICES2DnsEvents.Name.21gh.com2abcxyz.stream2asiapool.io2backup-pool.com2VMwareESXi.SyslogMessageMatched discovered VM2ADOAuditLogs.AuthenticationMechanismPAT1AWSCloudTrail.EventNameRunInstances1
Joins
(derived) ⋈ ADOAuditLogsAzureActivity ⋈ AzureActivityADOAuditLogs ⋈ ADOAuditLogsAzureActivity ⋈ AzureNetworkAnalytics_CLFinanceOperationsActivity_CL ⋈ FinanceOperationsActivity_CLVMwareESXi ⋈ VMwareESXi
Idioms
make_set 7mv-expand (unpack arrays) 5join with no kind= (innerunique: duplicate left keys collapse) 3dcount 2make-series (time series, anomaly) 2
Severity
Low 14Medium 10High 3
Schedules (analytic rules)
every 1d over 1d 4every 5m over 5m 4every 1d over 14d 2every 1h over 1h 2every 15m over 15m 1every 15m over 1d 1every 1d over 7d 1every 1h over 14d 1every 1h over 24h 1every 5m over 20m 1every 6h over 14d 1every 6h over 6h 1
Look-back windows in ago()
24h 17d 1
Every rule tagged with it
- DNS events related to mining pools (ASIM DNS Schema)
- AWSCloudTrail - Suspicious AWS EC2 Compute Resource Deployments
- Possible Container Miner related artifacts detected
- Suspicious number of resource creation or deployment activities
- Azure Machine Learning Write Operations
- Suspicious Resource deployment
- Subscription moved to another tenant
- Microsoft Sentinel Analytics Rules Administrative Operations
- Azure Network Security Group NSG Administrative Operations
- Microsoft Sentinel Connectors Administrative Operations
- Microsoft Sentinel Workbooks Administrative Operations
- Azure Virtual Network Subnets Administrative Operations
- Common deployed resources
- Creation of an anomalous number of resources
- Azure Machine Learning Write Operations
- Port opened for an Azure Resource
- Medium severity malicious activity detected
- Azure DevOps Service Connection Addition/Abuse - Historic allow list
- Azure DevOps Personal Access Token (PAT) misuse
- Azure DevOps Service Connection Abuse
- Cisco Cloud Security - Crypto Miner User-Agent Detected
- Azure Resources Assigned Public IP Addresses
- CYFIRMA - High severity Trojan Network Indicators - Block Recommended Rule
- CYFIRMA - Medium severity Trojan Network Indicators - Block Recommended Rule
- CYFIRMA - High severity Trojan Network Indicators - Monitor Recommended Rule
- CYFIRMA - Medium severity Trojan Network Indicators - Monitor Recommended Rule
- F&O - Reverted bank account number modifications
- SQL User deleted from Database
- User removed from SQL Server SecurityAdmin Group
- User removed from SQL Server Roles
- OCI - Multiple instances launched
- VMware ESXi - Unexpected disk image
- VMware ESXi - List of virtual disks (images)
- Chia_Crypto_Mining IOC - June 2021
- DNS events related to mining pools
- NRT DNS events related to mining pools
- DNS Domains linked to WannaCry ransomware campaign
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.