Trusted Developer Utilities Proxy Execution
Id | 5c2bb446-926f-4160-a233-21e335c2c290 |
Rulename | Trusted Developer Utilities Proxy Execution |
Description | This detection looks at process executions - in some cases with specific command line attributes to filter a lot of common noise. |
Severity | Medium |
Tactics | DefenseEvasion |
Techniques | T1127 |
Required data connectors | MicrosoftThreatProtection |
Kind | Scheduled |
Query frequency | 1h |
Query period | 1h |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/FalconFriday/Analytic Rules/TrustedDeveloperUtilitiesProxyExecution.yaml |
Version | 1.0.0 |
Arm template | 5c2bb446-926f-4160-a233-21e335c2c290.json |
let Timeframe = 1h;
DeviceProcessEvents
| where Timestamp > ago(Timeframe)
| where (FileName has_any ("msbuild.exe", "msxsl.exe")
or (FileName has_any ("vbc.exe","csc.exe","jsc.exe") and ProcessCommandLine has_any ("/exe","/dll","/pe64","-exe","-dll","-pe64"))
or (FileName == ("ilsasm.exe") and ProcessCommandLine has_any ("out","target","t:","reference","r:")))
// Filter initations by Visual Studio since this is expected behavior.
and not(FolderPath startswith "C:\\Program Files (x86)\\Microsoft Visual Studio"
or InitiatingProcessFolderPath startswith "C:\\Program Files (x86)\\Microsoft Visual Studio"
and (InitiatingProcessFileName == "devenv.exe" or InitiatingProcessFileName == "WDExpress.exe"))
version: 1.0.0
status: Available
queryFrequency: 1h
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
dataTypes:
- DeviceProcessEvents
entityMappings:
- fieldMappings:
- columnName: DeviceName
identifier: FullName
entityType: Host
- fieldMappings:
- columnName: AccountSid
identifier: Sid
- columnName: AccountName
identifier: Name
- columnName: AccountDomain
identifier: NTDomain
entityType: Account
- fieldMappings:
- columnName: ProcessCommandLine
identifier: CommandLine
entityType: Process
kind: Scheduled
queryPeriod: 1h
severity: Medium
query: |
let Timeframe = 1h;
DeviceProcessEvents
| where Timestamp > ago(Timeframe)
| where (FileName has_any ("msbuild.exe", "msxsl.exe")
or (FileName has_any ("vbc.exe","csc.exe","jsc.exe") and ProcessCommandLine has_any ("/exe","/dll","/pe64","-exe","-dll","-pe64"))
or (FileName == ("ilsasm.exe") and ProcessCommandLine has_any ("out","target","t:","reference","r:")))
// Filter initations by Visual Studio since this is expected behavior.
and not(FolderPath startswith "C:\\Program Files (x86)\\Microsoft Visual Studio"
or InitiatingProcessFolderPath startswith "C:\\Program Files (x86)\\Microsoft Visual Studio"
and (InitiatingProcessFileName == "devenv.exe" or InitiatingProcessFileName == "WDExpress.exe"))
triggerOperator: gt
id: 5c2bb446-926f-4160-a233-21e335c2c290
description: |
This detection looks at process executions - in some cases with specific command line attributes to filter a lot of common noise.
triggerThreshold: 0
name: Trusted Developer Utilities Proxy Execution
relevantTechniques:
- T1127
tactics:
- DefenseEvasion
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/FalconFriday/Analytic Rules/TrustedDeveloperUtilitiesProxyExecution.yaml
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/5c2bb446-926f-4160-a233-21e335c2c290')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/5c2bb446-926f-4160-a233-21e335c2c290')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01",
"properties": {
"displayName": "Trusted Developer Utilities Proxy Execution",
"description": "This detection looks at process executions - in some cases with specific command line attributes to filter a lot of common noise.\n",
"severity": "Medium",
"enabled": true,
"query": "let Timeframe = 1h;\nDeviceProcessEvents\n| where Timestamp > ago(Timeframe)\n| where (FileName has_any (\"msbuild.exe\", \"msxsl.exe\")\nor (FileName has_any (\"vbc.exe\",\"csc.exe\",\"jsc.exe\") and ProcessCommandLine has_any (\"/exe\",\"/dll\",\"/pe64\",\"-exe\",\"-dll\",\"-pe64\"))\nor (FileName == (\"ilsasm.exe\") and ProcessCommandLine has_any (\"out\",\"target\",\"t:\",\"reference\",\"r:\")))\n// Filter initations by Visual Studio since this is expected behavior.\n and not(FolderPath startswith \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\" \n or InitiatingProcessFolderPath startswith \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\" \n and (InitiatingProcessFileName == \"devenv.exe\" or InitiatingProcessFileName == \"WDExpress.exe\"))\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"DefenseEvasion"
],
"techniques": [
"T1127"
],
"alertRuleTemplateName": "5c2bb446-926f-4160-a233-21e335c2c290",
"customDetails": null,
"entityMappings": [
{
"entityType": "Host",
"fieldMappings": [
{
"identifier": "FullName",
"columnName": "DeviceName"
}
]
},
{
"entityType": "Account",
"fieldMappings": [
{
"identifier": "Sid",
"columnName": "AccountSid"
},
{
"identifier": "Name",
"columnName": "AccountName"
},
{
"identifier": "NTDomain",
"columnName": "AccountDomain"
}
]
},
{
"entityType": "Process",
"fieldMappings": [
{
"identifier": "CommandLine",
"columnName": "ProcessCommandLine"
}
]
}
],
"status": "Available",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/FalconFriday/Analytic Rules/TrustedDeveloperUtilitiesProxyExecution.yaml",
"templateVersion": "1.0.0"
}
}
]
}