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

PulseConnectSecure - Large Number of Distinct Failed User Logins

Back
Id1fa1528e-f746-4794-8a41-14827f4cb798
RulenamePulseConnectSecure - Large Number of Distinct Failed User Logins
DescriptionThis query identifies evidence of failed login attempts from a large number of distinct users on a Pulse Connect Secure VPN server
SeverityMedium
TacticsCredentialAccess
TechniquesT1110
Required data connectorsPulseConnectSecure
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Pulse Connect Secure/Analytic Rules/PulseConnectSecureVPN-DistinctFailedUserLogin.yaml
Version1.0.1
Arm template1fa1528e-f746-4794-8a41-14827f4cb798.json
Deploy To Azure
let threshold = 100;
PulseConnectSecure
| where Messages startswith "Login failed"
| summarize dcount(User) by Computer, bin(TimeGenerated, 15m)
| where dcount_User > threshold
| extend timestamp = TimeGenerated, HostCustomEntity = Computer
queryFrequency: 1h
tactics:
- CredentialAccess
queryPeriod: 1h
kind: Scheduled
relevantTechniques:
- T1110
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Pulse Connect Secure/Analytic Rules/PulseConnectSecureVPN-DistinctFailedUserLogin.yaml
description: |
    'This query identifies evidence of failed login attempts from a large number of distinct users on a Pulse Connect Secure VPN server'
requiredDataConnectors:
- dataTypes:
  - Syslog
  connectorId: PulseConnectSecure
version: 1.0.1
triggerThreshold: 0
severity: Medium
triggerOperator: gt
id: 1fa1528e-f746-4794-8a41-14827f4cb798
entityMappings:
- entityType: Host
  fieldMappings:
  - columnName: HostCustomEntity
    identifier: FullName
status: Available
name: PulseConnectSecure - Large Number of Distinct Failed User Logins
query: |
  let threshold = 100;
  PulseConnectSecure
  | where Messages startswith "Login failed"
  | summarize dcount(User) by Computer, bin(TimeGenerated, 15m)
  | where dcount_User > threshold
  | extend timestamp = TimeGenerated, HostCustomEntity = Computer  
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/1fa1528e-f746-4794-8a41-14827f4cb798')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/1fa1528e-f746-4794-8a41-14827f4cb798')]",
      "properties": {
        "alertRuleTemplateName": "1fa1528e-f746-4794-8a41-14827f4cb798",
        "customDetails": null,
        "description": "'This query identifies evidence of failed login attempts from a large number of distinct users on a Pulse Connect Secure VPN server'\n",
        "displayName": "PulseConnectSecure - Large Number of Distinct Failed User Logins",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "HostCustomEntity",
                "identifier": "FullName"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Pulse Connect Secure/Analytic Rules/PulseConnectSecureVPN-DistinctFailedUserLogin.yaml",
        "query": "let threshold = 100;\nPulseConnectSecure\n| where Messages startswith \"Login failed\"\n| summarize dcount(User) by Computer, bin(TimeGenerated, 15m)\n| where dcount_User > threshold\n| extend timestamp = TimeGenerated, HostCustomEntity = Computer\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess"
        ],
        "techniques": [
          "T1110"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}